How Long Hard Boiled Eggs Last in the Refrigerator
Hard boiled eggs stay safe to eat for up to one week in the refrigerator
Hard boiled eggs keep for three to seven days when stored in the refrigerator at 40°F or below. The exact length depends on how fresh the eggs were before cooking, how quickly you refrigerated them after cooking, and whether the shell is still on. Eggs in their shell last longer than peeled eggs because the shell acts as a barrier against bacteria and moisture loss.
The safest approach is to eat them within three to four days if you want to be conservative, especially if you're not certain when they were cooked. After seven days, the risk of bacterial growth increases enough that discarding them is the smarter choice. Hard boiled eggs don't last as long as raw eggs because the cooking process breaks down some of the protective structures in the white and yolk.
Key Takeaways
- Hard boiled eggs in their shell last three to seven days in the refrigerator; peeled eggs should be eaten within three to four days.
- Store hard boiled eggs in a covered container on a shelf, not in the door where temperature fluctuates.
- Cool hard boiled eggs completely before refrigerating them, and refrigerate within two hours of cooking.
- Discard any hard boiled egg that smells sulfurous, has a greenish-gray ring around the yolk, or shows visible mold or slime.
Why the shell makes a difference in storage time
The eggshell is porous but still provides meaningful protection. It slows down moisture evaporation from the white and yolk, and it creates a physical barrier that keeps bacteria from entering the egg. Once you peel the shell away, the egg's surface is exposed directly to air and any bacteria in your refrigerator.
Peeled hard boiled eggs also lose moisture faster, which changes their texture and makes them less pleasant to eat. If you peel eggs ahead of time, store them in a sealed container with a damp paper towel to slow moisture loss, and plan to use them within three to four days. Unpeeled eggs can stretch to five to seven days because the shell slows all these processes down.
How to store hard boiled eggs so they last the full week
Place cooled hard boiled eggs in a covered container—a glass container with a lid or even a sealed plastic bag works well. Store them on a middle or lower shelf of your refrigerator, not in the door. Door storage exposes eggs to temperature swings every time you open and close the refrigerator, which shortens their shelf life and can allow bacteria to multiply.
If you're storing unpeeled eggs, you can also leave them in their original carton and cover it loosely with plastic wrap. The carton provides cushioning and some protection from odor absorption. Keep hard boiled eggs away from strong-smelling foods like onions, fish, or garlic—eggshells are porous enough to absorb odors, which affects flavor.
Cool hard boiled eggs completely before putting them in the refrigerator. Warm eggs release steam inside a sealed container, which creates condensation and speeds up bacterial growth. If you've just finished cooking, place eggs in an ice bath for five to ten minutes, then pat them dry before storing.
How to tell if a hard boiled egg has gone bad
A bad hard boiled egg will smell noticeably sulfurous or rotten—much stronger than the normal mild sulfur smell of a fresh hard boiled egg. If you crack open a peeled egg and see a greenish-gray ring around the yolk, that's not spoilage; it's a harmless chemical reaction from overcooking or storing the egg too long. However, if the ring is very thick or the yolk looks dark gray, the egg is past its prime and should be discarded.
Look for visible mold, slime, or any discoloration on the white or yolk. If the egg feels slimy to the touch or the white has become translucent or cloudy in an unusual way, throw it out. When in doubt, discard it—the cost of a single egg is far less than the risk of foodborne illness.
Refrigerator temperature and timing matter more than you think
Hard boiled eggs stored at exactly 40°F will last longer than eggs stored at 45°F. If your refrigerator runs warmer than 40°F, reduce the storage time to three to four days. Check your refrigerator's temperature with an inexpensive thermometer—many people assume their fridge is cold enough when it's actually a few degrees too warm.
The clock starts the moment you finish cooking. If you leave hard boiled eggs sitting on the counter for more than two hours before refrigerating them, bacteria can begin to multiply, and you should reduce the storage time to two to three days. In warm kitchens (above 90°F), don't leave them out for more than one hour.
What happens if you freeze hard boiled eggs
Freezing hard boiled eggs is not recommended. The white becomes rubbery and the yolk becomes grainy and unpleasant to eat when thawed. The texture changes are permanent and make the eggs unsuitable for most uses. If you have leftover hard boiled eggs approaching the end of their refrigerator life, it's better to discard them than to freeze them.
The one exception is if you plan to use thawed hard boiled eggs in a dish where texture matters less—like egg salad or a chopped mixture. Even then, the quality loss is significant enough that most people find it not worth the effort. Stick to the refrigerator storage window instead.
Planning ahead so you don't waste eggs
Hard boil only as many eggs as you'll realistically eat within four days. If you cook a dozen eggs on Sunday and it's now Thursday with eight still in the container, you're likely to waste them. A better approach is to cook six eggs on Sunday and another six on Wednesday, so you always have fresh eggs available.
Label your container with the date you cooked the eggs using a piece of tape and a marker. This takes five seconds and removes all guesswork about whether an egg is safe to eat. If you live with other people, labeling also prevents someone else from eating an egg that's been stored longer than they realize.
Frequently Asked Questions
Can I eat a hard boiled egg that's been in the fridge for 10 days?
No. After seven days, the risk of bacterial growth is high enough that eating the egg is not worth the risk. Bacteria like Salmonella can grow without producing obvious signs of spoilage—no smell, no visible change. Discard it and cook fresh eggs instead.
Is the greenish-gray ring around the yolk a sign the egg is bad?
No, the ring is harmless. It forms when the yolk is exposed to heat and iron in the yolk reacts with sulfur in the white. It's purely cosmetic and doesn't affect safety or taste. However, a very thick dark gray ring suggests the egg was cooked too long or stored too warm, so use it soon.
Do hard boiled eggs last longer if I keep them in water?
No. Storing hard boiled eggs submerged in water actually shortens their shelf life because water can carry bacteria into the egg through the porous shell. Keep them in a dry, covered container instead. A damp paper towel is fine for peeled eggs, but don't submerge unpeeled eggs.
What if I'm not sure how long the eggs have been in the fridge?
When in doubt, throw it out. A single hard boiled egg costs very little compared to the risk of food poisoning. If you can't remember when you cooked them, assume it's been longer than three days and discard them. Always label your container with the cooking date going forward.
Can I store hard boiled eggs in the same container as raw eggs?
No. Raw eggs can carry Salmonella on their shells, and storing them with cooked eggs risks cross-contamination. Keep hard boiled eggs in a separate, clearly labeled container. Wash your hands after handling raw eggs and before handling cooked ones.