How Long Eggs Last in the Refrigerator and How to Store Them Safely
Raw eggs keep for three to five weeks in the refrigerator, counting from the packing date on the carton
The shelf life of a raw egg depends on when it was packed, not when you bought it. Look at the three-digit number on the carton — that is the Julian date, which tells you the day of the year the eggs were packed. January 1st is day 1; December 31st is day 365. From that packing date, you have roughly three to five weeks before the egg white begins to thin and the yolk starts to flatten. The exact length depends on storage temperature and how often you open the refrigerator door.
Eggs are porous, so they absorb odors and lose moisture over time. A fresh egg has a thick, cloudy white and a centered yolk that sits high in the shell. As an egg ages, the white becomes thin and watery, and the yolk flattens and moves toward the shell. This does not make the egg unsafe to eat — it just means the texture and cooking behavior change. A very old egg will still be safe to cook with, but it will not poach or fry as neatly as a fresh one.
Key Takeaways
- The packing date on the carton (the three-digit Julian date) is what matters, not the purchase date, and eggs stay safe for three to five weeks from that date.
- Store eggs in their original carton on a shelf inside the refrigerator, not in the door, because the door temperature fluctuates too much.
- A raw egg that floats in water or has a cracked shell should not be used, but an egg that sinks is safe regardless of age.
- Cooked eggs (hard-boiled, scrambled, baked into dishes) last three to four days in the refrigerator and should be stored in an airtight container.
Why the carton matters more than the date you bought them
Grocery stores do not always stock eggs on the day they arrive. An egg carton packed on day 100 of the year might sit in a warehouse for a week, then in a store cooler for another week, before you buy it. The packing date tells you the true age; the sell-by date (which some cartons also show) is just a guideline for the store. You can safely use eggs well past the sell-by date as long as you count from the packing date and stay within the three- to five-week window.
If a carton has no packing date printed on it, write the purchase date on the carton yourself with a marker. This gives you a reference point, though it will be less precise than the official packing date. From that point forward, plan to use the eggs within three weeks.
The right way to store eggs in your refrigerator
Keep eggs in their original carton on a shelf inside the refrigerator — not in the door. The door is the warmest part of the refrigerator because it opens and closes constantly, letting warm air in. Eggs need steady, cold storage. The carton itself protects the eggs from absorbing odors from other foods and prevents them from rolling around and cracking. If you transfer eggs to a decorative bowl or holder, they will pick up smells from nearby foods like onions or fish much faster.
Store the carton on a middle or lower shelf, away from the back wall where the coldest air settles (which can freeze them) and away from the front where temperature swings are largest. A refrigerator set to 40°F (4°C) or below is ideal. If your refrigerator tends to run warmer, eggs will age faster and should be used within three weeks rather than five.
How to tell if an egg is still safe to use
The float test is the quickest way to check an egg's age. 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 up on its pointed end or floats near the surface. A very old egg floats completely. Floating does not mean the egg is spoiled — it just means there is more air inside, which happens naturally as the egg ages and loses moisture through its porous shell. A floating egg is still safe to cook with, though it will not perform as well in recipes that depend on structure (like meringue or angel food cake).
Discard any egg with a cracked or leaking shell, because bacteria can enter through the break. If you crack an egg open and it smells sour or sulfurous, do not use it — that smell means bacterial growth has begun. A normal raw egg has almost no smell. Trust your nose; if something seems off, throw it out.
Cooked eggs have a shorter shelf life than raw ones
Hard-boiled eggs last three to four days in the refrigerator. Store them in an airtight container or a sealed plastic bag to prevent them from drying out and absorbing odors. Scrambled eggs, fried eggs, and eggs baked into dishes (like quiche or casserole) also last three to four days. The moment you cook an egg, the clock resets — the age of the raw egg does not matter anymore.
Egg-based dishes like mayonnaise, custard, or cream pie should be eaten within one to two days if they contain raw or lightly cooked eggs. If the recipe calls for fully cooked eggs mixed into a sauce or filling, follow the three- to four-day rule for the finished dish. When in doubt, smell the dish before eating it; a sour or off smell means bacteria have grown and the food should be discarded.
What happens to eggs in the freezer
Raw eggs can be frozen, but not in the shell — the shell will crack as the contents expand. Crack the eggs into a bowl, beat them lightly to combine the white and yolk, then pour them into ice cube trays or a freezer container. Frozen raw eggs keep for up to one year. Thaw them in the refrigerator overnight before cooking. One ice cube is roughly equivalent to one large egg.
Hard-boiled eggs do not freeze well because the white becomes rubbery and the yolk becomes grainy. If you have leftover hard-boiled eggs you will not eat within four days, it is better to discard them than to freeze them.
Organizing your refrigerator to keep eggs fresher longer
Keep eggs away from strong-smelling foods like onions, garlic, fish, and cured meats. Eggs absorb odors through their porous shells, so proximity matters. If your refrigerator smells like fish, your eggs will taste like fish within a few days, even if they are sealed in a carton. Store eggs on a dedicated shelf or in a corner of a shelf where they are not crowded against aromatic foods.
Do not wash eggs before storing them, even if they look dirty. Eggs have a natural protective coating called the bloom that keeps bacteria out. Washing removes this coating and actually makes the egg more vulnerable to contamination. If an egg is visibly soiled, wipe it gently with a dry cloth just before cooking it.
Frequently Asked Questions
Can I eat an egg that is a week past the sell-by date?
Yes, as long as it is still within three to five weeks from the packing date. The sell-by date is a store guideline, not a safety deadline. Check the Julian packing date on the carton; if it is within the window, the egg is safe. Always do the float test or smell test if you are unsure.
Why do some eggs have a greenish ring around the yolk when I hard-boil them?
That ring is a harmless chemical reaction between the iron in the yolk and sulfur in the white, caused by overcooking or letting the cooked egg sit in hot water too long. It does not affect safety or taste. To prevent it, boil eggs for 10 to 12 minutes, then move them immediately to an ice bath to stop the cooking.
Should I refrigerate eggs if I plan to use them within a week?
Yes. Eggs should be refrigerated as soon as you bring them home, even if you plan to use them quickly. Room temperature speeds up bacterial growth and causes the egg to age much faster. Refrigeration is the only safe storage method for raw eggs in the United States.
What is the difference between brown eggs and white eggs in terms of shelf life?
There is no difference. Shell color does not affect how long an egg lasts. Brown eggs and white eggs have the same shelf life — three to five weeks from the packing date — and should be stored the same way. The color depends only on the breed of chicken that laid it.
Can I use an egg that has been left out on the counter overnight?
No. Eggs left at room temperature for more than two hours (or one hour if the room is above 90°F) should be discarded. Bacteria multiply rapidly at warm temperatures. If an egg has been out overnight, throw it away, even if it looks and smells normal.