Hard-Boiled Eggs

Hard-boiled eggs keep for about one week in the fridge, whether in the shell or peeled — the USDA guideline. Never leave them out for more than two hours.
Why about a week
Boiling an egg removes its natural protective coating, so a cooked egg is actually more perishable than a raw one in some ways. In the United States, eggs are already washed before sale, and once cooked they should be refrigerated within two hours and used within about a week — the USDA guideline, whether the eggs are still in the shell or peeled.
What matters most is keeping them cold and not leaving them at room temperature. Bacteria multiply quickly between about 40 and 140 °F, so a hard-boiled egg left out on the counter for more than two hours should be discarded. Kept in the fridge in a covered container, a week is a safe rule of thumb.
It also helps to keep cooked and raw eggs apart in the fridge — one more reason to label the boiled ones with a date. If you batch-cook eggs for the week, cool them and refrigerate them promptly rather than leaving them on the counter for hours, because even firm egg white feeds bacteria at room temperature. The two-hour rule is the simple guide here: anything that sat out longer is better discarded than risked, especially in a warm kitchen. And the fresher the egg was when boiled, the longer it will keep afterwards.
Around a third of the food produced worldwide is thrown away. Hard-boiled eggs, especially after Easter, are often binned early — yet kept cold they are good for about a week. A quick smell test after peeling settles it.
Source: FAO / USDAHow do I spot a bad hard-boiled egg?
A spoiled cooked egg gives itself away mostly by smell:
A foul, sharp sulphur smell after peeling is the clearest sign — discard it at once.
A slippery, slimy or sticky surface on the white points to bacterial growth.
A faint green ring around the yolk is harmless (an iron-sulphur reaction). Clear stains or discolouration are not.
Shelf life at a glance
How you store them decides how long they keep:
| State | Shelf life |
|---|---|
| Refrigerated, in shell | about 1 week |
| Refrigerated, peeled | about 1 week (covered) |
| Left out over 2 hours | discard |
| Frozen | not recommended |
Store them right
The right storage keeps hard-boiled eggs safe for the full week:
Refrigerate within 2 hours — do not leave cooked eggs out on the counter.
Keep them covered — peeled eggs in a covered container, or a bowl with a damp paper towel.
Store below 40 °F (4 °C) — toward the back of the fridge, not the door.
Keep away from strong odours — the porous shell picks up smells.
Common myths
A few myths surround hard-boiled eggs:
No — about a week refrigerated. Boiling does not preserve them long term.
Wrong — it is a harmless iron-sulphur reaction from cooking, not spoilage.
Not safely — more than two hours at room temperature and they should be discarded.
To tell a cooked egg from a raw one, spin it: a hard-boiled egg spins fast and evenly, a raw one wobbles and stops slowly because the liquid inside drags. Tip — pencil the boil date on the shell to keep track.