How Long Eggs Stay Fresh in Your Refrigerator
Raw eggs last three to five weeks from the packing date
The shelf life of raw eggs in your refrigerator depends on when they were packed, not when you bought them. Most eggs sold in stores were packed within the last week, which means you typically have three to five weeks from that packing date before they decline in quality. The packing date is printed on the carton as a three-digit number (called the Julian date), where 001 is January 1st and 365 is December 31st.
Store eggs in their original carton on a shelf inside the refrigerator, not in the door. The carton protects them from absorbing odors and flavors from other foods, and the shelf keeps them at a more stable temperature than the door, where temperature fluctuates every time you open it. Keep your refrigerator at 40°F or below—this temperature slows the growth of bacteria and keeps eggs safe.
Key Takeaways
- Raw eggs last three to five weeks from the packing date printed on the carton, not from the purchase date.
- Store eggs in their original carton on a refrigerator shelf, where temperature stays stable and consistent.
- Cooked eggs (hard-boiled, scrambled, or baked into dishes) last three to four days when stored in an airtight container.
- Eggs with cracked or damaged shells should be used immediately or discarded, as bacteria can enter through the break.
- A simple float test in water tells you whether an older egg is still safe to use before you crack it open.
How to tell if an egg is still good to eat
The most reliable way to check an older egg before cooking is the float test. Fill a bowl with cold water and gently place the egg in it. A fresh egg sinks and lies flat on the bottom. An older egg stands upright or floats because air has entered through the porous shell over time. A floating egg is still safe to eat, but the yolk and white will be thinner and less flavorful. If the egg floats to the surface, discard it—that means too much air has entered and bacteria may have grown inside.
You can also crack the egg into a bowl and look at it. A fresh egg has a thick white that clings to the yolk and a yolk that sits high and round. An older egg has a thin, watery white that spreads across the bowl and a yolk that flattens. Neither is unsafe to eat if the egg passed the float test, but older eggs work better in baking or scrambled dishes where texture matters less than in fried eggs or omelets.
Never eat a raw or cooked egg that smells sulfurous or off. A bad smell means bacteria have grown inside, and cooking will not make it safe. Trust your nose—if something seems wrong, throw it out.
Cooked eggs and egg dishes last three to four days
Hard-boiled eggs, scrambled eggs, and baked egg dishes (like quiches or frittatas) last three to four days in the refrigerator when stored in an airtight container. Hard-boiled eggs keep longest if you leave the shell on until you eat them—the shell acts as a barrier against bacteria and odor absorption. Once you peel a hard-boiled egg, use it within one day.
Scrambled eggs and omelets should be stored in a shallow airtight container so they cool quickly and stay at a safe temperature. Thick egg dishes like quiches or casseroles also last three to four days. If you are unsure whether a cooked egg dish is still good, smell it first. Cooked eggs that have gone bad develop a sulfurous or sour smell that is hard to miss.
Damaged or cracked eggs need immediate use
An egg with a crack or hole in the shell should be used right away or thrown out. The shell is your egg's main defense against bacteria. Once it is broken, bacteria can enter through the crack and contaminate the inside, even if the egg looks and smells fine on the outside. If you crack an egg and notice a crack in the shell, cook it immediately rather than storing it.
If you buy eggs and notice a cracked one in the carton, ask the store to replace it. Do not take it home and store it, even if you plan to cook it soon. The risk is not worth the small amount of time you might save.
Freezing eggs extends storage to four months
If you have eggs nearing the end of their shelf life and you will not use them in time, you can freeze them. Raw eggs do not freeze well in the shell—the contents expand and crack the shell. Instead, crack the eggs into a bowl, beat them lightly, and pour them into ice cube trays or a freezer container. Label the container with the date and the number of eggs. Frozen raw eggs last about four months.
Thaw frozen eggs in the refrigerator overnight before cooking. Use thawed eggs only in dishes where they will be fully cooked, such as baked goods, scrambled eggs, or omelets. Do not use thawed raw eggs in dishes that call for raw or lightly cooked eggs, like Caesar dressing or soft-boiled eggs, because freezing changes the texture of the yolk and white.
Hard-boiled eggs do not freeze well—the white becomes rubbery and the yolk becomes grainy. Stick to the three to four day refrigerator storage for cooked eggs instead.
Organizing your refrigerator to keep eggs fresh longer
Where you store eggs matters as much as how long you keep them. Place eggs on a middle or lower shelf where the temperature stays between 35°F and 40°F. The door is warmer and experiences temperature swings every time you open the refrigerator, which shortens egg shelf life. Keep eggs away from strong-smelling foods like onions, garlic, or fish—eggs absorb odors through their porous shells even inside the carton.
If you buy eggs in bulk, rotate them so you use the older ones first. Write the purchase date on the carton with a marker if the packing date is hard to read. This simple step prevents you from accidentally keeping eggs too long. Keep your refrigerator clean and free of spills, which can harbor bacteria and shorten the shelf life of everything stored inside, including eggs.
Frequently Asked Questions
Can you eat eggs after the expiration date on the carton?
The date on the carton is usually a "sell by" date, not an expiration date. Eggs are often safe to eat for several days or even weeks after that date if they have been stored properly in the refrigerator. Use the float test or the appearance test to check whether an older egg is still good before you cook it.
Do eggs need to be washed before storing them?
No. Eggs come from the farm with a protective coating called the bloom that helps keep bacteria out. Washing removes this coating and can actually increase the risk of bacteria entering through the shell. Store eggs as they come, unwashed, in their original carton.
Is it safe to eat a runny yolk from an older egg?
If the egg passed the float test and smells fine, a runny yolk is safe to eat. However, older eggs have thinner whites and flatter yolks, so they may not cook the way you expect. If you want a runny yolk, use a fresher egg. Older eggs are better for hard-boiling or scrambling.
How do you know if a hard-boiled egg has gone bad?
A hard-boiled egg that has gone bad will smell sour or sulfurous when you peel it or crack it open. The yolk may also develop a gray-green ring around it, which is a harmless chemical reaction that happens when eggs are overcooked or stored too long. If the smell is off, discard it.
Can you store eggs in a different container instead of the carton?
You can, but the original carton is best. Eggs absorb odors and flavors from their surroundings, and the carton provides insulation and protection. If you must transfer eggs, use an airtight container and keep them away from strong-smelling foods. Never store eggs in a container that previously held raw meat or fish.