How Long Eggs Last in the Refrigerator and How to Store Them Properly
Eggs stay fresh in the refrigerator for three to five weeks from the day you bring them home, not from the date on the carton
The date printed on an egg carton is a sell-by date, not an expiration date. It tells the store when to pull the eggs from shelves, usually three to four weeks after packing. You can safely refrigerate eggs for one to three weeks after that date passes. The real limit is how long the egg's protective coating—called the cuticle—keeps bacteria out. In a cold refrigerator, this barrier holds up for about five weeks total from packing day.
The safest approach is to write the purchase date on your carton with a marker when you get home. This gives you a clear reference point. Eggs stored at a steady 35 to 40 degrees Fahrenheit will stay safe to eat for three to five weeks from that day. If your refrigerator runs warmer than 40 degrees, the window shrinks to two to three weeks.
Key Takeaways
- Eggs last three to five weeks in the refrigerator from the day you purchase them, not from the carton date.
- Store eggs in their original carton on a shelf, not in the door, because the door temperature fluctuates too much.
- A floating egg in water or a cloudy white when cracked means the egg is old but still safe; discard only if it smells or looks slimy.
- Hard-boiled eggs last only three to four days in the refrigerator and should be stored in a covered container on a shelf.
- Raw eggs should never be left at room temperature for more than two hours, or one hour if the room is above 90 degrees Fahrenheit.
Why the carton matters more than you think
The cardboard carton is not just packaging—it protects eggs from absorbing odors and flavors from other foods in your refrigerator. Eggs are porous, and they will pick up the smell of onions, fish, or garlic if stored directly on a shelf. The carton also cushions them against cracks, which expose the inside to bacteria.
Keep eggs in their original carton throughout storage. If you transfer them to a plastic egg holder or basket, you lose both the odor barrier and the printed date for reference. The carton also lists the packing date in code (a number from 1 to 365 representing the day of the year), which helps you track age if you have multiple cartons.
The refrigerator shelf location makes a real difference
Store eggs on a middle or lower shelf of your refrigerator, never in the door. The door is the warmest part of the fridge because it opens and closes constantly, letting warm air in each time. Temperature swings cause the egg's contents to expand and contract, breaking the seal between the shell and the membrane inside. This lets bacteria creep in faster.
A shelf in the main body of the refrigerator stays at a steady temperature. If your fridge has a dedicated egg shelf or compartment, use it. If not, place the carton toward the back of a shelf, where it is coldest and furthest from the door.
How to tell if an egg is still good
The most reliable test is the float test. Fill a bowl with cold water and gently place an egg in it. A fresh egg sinks and lies flat on the bottom. An older egg stands upright or floats because the air cell inside has grown larger as moisture escapes through the shell. A floating egg is still safe to eat—it just means the egg is near the end of its shelf life. Discard it only if it floats to the surface and bobs.
When you crack an egg, look at the white and yolk. A fresh egg has a thick, cloudy white that clings to the yolk. An older egg has a thin, watery white that spreads across the plate. The yolk may also flatten instead of sitting in a dome. These changes are normal and do not mean the egg is unsafe. Discard an egg only if it smells sour or sulfurous, or if the yolk or white looks slimy or discolored.
Hard-boiled eggs have a much shorter window
Once you boil an egg, the shelf life drops sharply. Hard-boiled eggs last three to four days in the refrigerator, compared to three to five weeks for raw eggs. The cooking process breaks down the protective cuticle, and peeling the shell removes it entirely. Store hard-boiled eggs in a covered container on a shelf, not in the door.
If you peel a hard-boiled egg but do not eat it right away, store the peeled egg in a container of cold water. Change the water daily. Peeled hard-boiled eggs still last three to four days, but the water keeps the surface from drying out. Label the container with the date you boiled them so you do not lose track.
Raw eggs left out of the refrigerator spoil fast
Never leave raw eggs at room temperature for more than two hours. If the room is warmer than 90 degrees Fahrenheit—which happens in summer or in a warm kitchen—the safe window shrinks to one hour. Bacteria multiply rapidly in the danger zone between 40 and 140 degrees Fahrenheit, and eggs are a protein-rich food that bacteria love.
If you are cooking with eggs and crack them into a bowl, use them right away or keep the bowl in the refrigerator. If you are separating whites from yolks, store them in separate covered containers. Egg whites last up to four days in the refrigerator; yolks last three to four days but must be covered with a thin layer of cold water to keep them from drying out.
Freezing eggs extends storage to nearly a year
If you have eggs nearing the end of their shelf life and you will not use them soon, freezing is a good option. 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 an ice cube tray or freezer container. Label the container with the date and the number of eggs. Frozen raw eggs last about nine months.
You can also freeze just the whites or just the yolks. Whites freeze as-is and thaw cleanly. Yolks need a small amount of salt or sugar mixed in before freezing to prevent them from becoming thick and gelatinous. Hard-boiled eggs do not freeze well—the whites become rubbery and the yolk becomes grainy. Stick to refrigerating hard-boiled eggs if you plan to eat them within four days.
Frequently Asked Questions
Can I eat an egg that floats in the float test?
Yes. A floating egg is old but still safe to eat. The air cell has simply grown larger as the egg ages. Discard it only if it floats to the very top and bobs, or if it smells bad when you crack it open.
What does the number on the egg carton mean?
The number is the packing date, shown as a day of the year from 1 to 365. January 1 is day 1, and December 31 is day 365. This helps you track how old the eggs are. The sell-by date is usually three to four weeks later.
Are brown eggs fresher than white eggs?
No. Brown and white eggs have the same shelf life. The color depends on the breed of chicken that laid it and has nothing to do with age, nutrition, or how long the egg lasts in the refrigerator.
Can I store eggs in the freezer door instead of the refrigerator door?
No. Freezer doors are even warmer than refrigerator doors because they open more often. If you freeze eggs, store them in the main freezer compartment in a covered container or ice cube tray.
How do I know if a raw egg has gone bad without cracking it?
The float test is the most reliable way. A fresh egg sinks; an older egg stands upright or floats. You can also hold the egg up to a light source and look through it—a fresh egg looks mostly opaque, while an old egg shows a larger air cell at the wide end.