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 depends on when they were packed, not when you bought them. Look at the carton for a three-digit number called the Julian date — this is the day of the year the eggs were packed, starting with 001 for January 1st. Raw eggs remain safe to use for about four weeks after that packing date, which means eggs packed on day 001 are good through roughly day 035. If you bought eggs without a visible packing date, assume they are a week old already and use them within three weeks.
The exact timing varies slightly depending on how cold your refrigerator runs. Eggs stored at 35°F last longer than eggs stored at 40°F, though most home refrigerators sit somewhere between 37°F and 40°F. The key is consistency — temperature swings from opening and closing the door do not spoil eggs quickly, but a refrigerator that drifts above 45°F will shorten shelf life noticeably.
Store eggs in their original carton rather than in the refrigerator door. The carton protects them from absorbing odors and flavors from other foods, and it keeps them at a steadier temperature than the door, which warms up every time you open it. The carton also tells you the packing date, which you will need to track freshness.
Key Takeaways
- Raw eggs are safe to use for about four weeks after the packing date printed on the carton, not from the date you bought them.
- Store eggs in their original carton on a refrigerator shelf, not in the door, to keep them at a stable temperature and protect them from odors.
- Cooked eggs last three to four days in an airtight container, while hard-boiled eggs in the shell last up to one week.
- Eggs that float in water, smell sulfurous, or have a runny white when cracked are past their prime and should not be eaten.
- Freezing raw eggs extends their life to four months, but you must crack them into a container first — do not freeze eggs in the shell.
How to tell if an egg has gone bad
The float test works because an older egg develops an air pocket as moisture escapes through the porous shell. Fill a bowl with cold water and gently place the egg in it. If the egg sinks and lies flat, it is fresh. If it stands upright on the bottom, it is older but still safe. If it floats, discard it — the air pocket has grown large enough to lift it, which means the egg is too old to eat safely.
Smell is the most reliable sign. Crack the egg into a small bowl or cup before adding it to your recipe. A fresh egg has almost no smell. An egg that smells sulfurous, rotten, or off in any way should be thrown away immediately. Do not taste it to check — smell alone is enough to decide. If you crack an egg and the white is runny and watery rather than thick and clear, or if the yolk breaks easily, the egg is past its prime, though it may still be safe if it passed the smell test and the packing date is recent.
Cooked eggs and hard-boiled eggs have shorter shelf lives
Scrambled eggs, fried eggs, and omelets last three to four days in the refrigerator when stored in an airtight container. The cooked white and yolk dry out over time, and bacteria can grow if the container is not sealed. Store them on a shelf, not in the door, and eat them within the window. If you are unsure how long they have been in the refrigerator, smell them before eating — cooked eggs that smell off should be discarded.
Hard-boiled eggs in the shell last up to one week in the refrigerator. The shell provides some protection, but the cooked egg inside is more vulnerable to bacterial growth than a raw egg. Peeled hard-boiled eggs last three to four days. If you have peeled hard-boiled eggs and cannot remember when you made them, the safest choice is to discard them after four days. Eggs that have been left at room temperature for more than two hours should not be eaten, whether they are raw, cooked, or hard-boiled.
Freezing eggs extends their life to four months
You can freeze raw eggs to use later, which is useful if you have more eggs than you can eat before they expire. Never freeze eggs in the shell — the contents expand as they freeze and will crack the shell, creating a mess and risking contamination. Instead, crack the eggs into a bowl, stir them gently to combine the white and yolk, and pour them into ice cube trays or a freezer-safe container. Label the container with the date and the number of eggs. Frozen eggs last about four months.
Thaw frozen eggs in the refrigerator overnight before using them. Do not thaw them at room temperature, as this allows bacteria to grow. Once thawed, use the eggs within one day. Thawed eggs work well in baked goods, scrambled eggs, and omelets, but they are not ideal for frying because the texture changes slightly during freezing.
You can also freeze hard-boiled egg yolks separately from the whites. Yolks freeze well and last up to four months. Whites become rubbery and are not worth freezing. If you have leftover hard-boiled eggs, separate the yolks, freeze them in a container, and use them for salads or deviled eggs later.
Organize your refrigerator to use eggs before they expire
Place new eggs toward the back of the shelf and move older eggs toward the front. This rotation system ensures you use the oldest eggs first and reduces waste. Keep eggs away from strong-smelling foods like onions, garlic, and fish — eggs absorb odors through their porous shells, even in the carton. A dedicated shelf or bin for eggs makes it easier to see what you have and prevents them from getting buried under other items.
If you buy eggs regularly, write the purchase date on the carton with a marker as a backup to the packing date. This gives you a quick reference without having to decode the Julian date number. Some people also take a photo of the packing date on their phone so they can check it while shopping for recipes.
What happens if you eat an expired egg
Eggs that are a few days past the four-week mark are usually still safe if they passed the float test and smell normal. The risk increases as time goes on. Eggs that are significantly older can carry Salmonella, a bacteria that causes food poisoning. Symptoms include diarrhea, fever, and abdominal cramps, and they typically appear six to 72 hours after eating contaminated food.
Certain groups face higher risk from Salmonella: young children, older adults, pregnant people, and anyone with a weakened immune system. These groups should stick to the four-week guideline strictly and avoid eating raw or undercooked eggs. Everyone else can use the float test and smell test as additional safety checks, but the packing date remains the most reliable guide.
Frequently Asked Questions
Can I eat an egg that floats?
No. A floating egg has developed a large air pocket, which means it is too old to eat safely. Discard it. An egg that stands upright on the bottom is older but still safe if it passed the smell test and is within the four-week window from the packing date.
Do eggs need to be washed before storing them?
No. Washing removes the protective coating on the shell and can actually increase bacterial growth. Store eggs in their original carton as they come from the store. If an egg is visibly dirty, wipe it gently with a dry cloth rather than washing it.
How do I know the packing date if the carton is damaged?
If you cannot read the Julian date, assume the eggs are at least a week old and use them within three weeks. When possible, buy eggs from a store with good turnover so the eggs are fresher. If the carton is damaged in a way that exposes the eggs, do not buy that carton.
Can I store eggs in the freezer door instead of the back?
No. The freezer door is warmer than the back of the freezer because it opens frequently. Eggs thaw and refreeze, which damages the texture and increases bacterial risk. Store frozen eggs in the back of the freezer in an airtight container.
What is the difference between brown and white eggs in terms of shelf life?
There is no difference. Shell color does not affect how long eggs stay fresh. Shelf life depends on the packing date, storage temperature, and how the eggs are handled — not on whether the shell is brown or white.