How Long Do Hard Boiled Eggs Last in the Fridge?
Updated November 2026
One week in the fridge, the 2 hour rule, and what changes when the eggs come from your own hens.
Hard-boiled eggs are safe to keep in the refrigerator for about one week, whether they are still in the shell or already peeled. That is the figure the USDA Food Safety and Inspection Service (FSIS) gives for hard-cooked eggs, and it counts from the day you cook them, not from the day the hen laid them. If you keep your own hens, the same week applies to every egg you boil, but a few backyard details change how you cook, cool and peel them.
Short answer: refrigerate hard-boiled eggs within 2 hours of cooking (1 hour if the room or the picnic is above 90°F), keep the fridge at 40°F or below, and eat them within 7 days. Peeled eggs dry out faster, so keep them in a covered container. Do not count on the freezer for whole hard-cooked eggs.
How long hard-boiled eggs last in the fridge
FSIS says hard-cooked eggs should be refrigerated and used within one week. FoodSafety.gov, the federal food-safety site, carries the same one-week limit in its storage chart, and university extension services repeat it for home cooks. A week is the safe limit, not a quality promise: an egg on day seven is safe if it has been kept cold the whole time, but it will have a drier white and a stronger smell than one on day two.
| Situation | Safe storage | Practical note |
|---|---|---|
| Hard-boiled, in the shell, refrigerated | Up to 1 week | The shell is the best wrapper; leave it on until you need the egg. |
| Hard-boiled, peeled, refrigerated | Up to 1 week | Keep in a covered container so the white does not dry out or pick up fridge smells. |
| Left out at room temperature | No more than 2 hours | Throw them out after 2 hours, or after 1 hour above 90°F. |
| Fridge temperature | 40°F (4°C) or below | Check with a fridge thermometer, not by feel. |
| Whole hard-cooked eggs in the freezer | Not recommended | The whites turn rubbery and watery after thawing. |
People often ask how long hard-boiled eggs are good for after the date on a carton. The carton date does not matter once the egg is cooked. Write the cooking date on the shell in pencil, or keep boiled eggs in a labeled container, and count seven days from that date.
The 2 hour rule and the 1 hour rule
Cooked eggs are perishable food. Food safety agencies, including FSIS and the CDC, say perishable food should not sit out for more than 2 hours, and for no more than 1 hour when the temperature is above 90°F. That covers a boiled egg on a counter, in a lunch box without a cold pack, or in the sun at a barbecue. Bacteria multiply fastest in the range between 40°F and 140°F, so cool the eggs promptly after boiling: run them under cold water, then put them straight into the fridge.
Easter egg hunts are where this rule gets broken most often. Food safety guidance says the total time eggs spend hidden and waiting should stay under 2 hours, that eggs that have been out longer should not be eaten, and that cracked or dirty eggs should be thrown away. Many families hide plastic eggs for the hunt and keep the real eggs in the fridge for eating. Eggs hidden on bare ground or near pets are a poor choice for eating later.
Fresh eggs from your own hens are harder to peel
If you have ever fought with a boiled egg that tore its white to shreds, there is a reason, and it favors the eggs you are most proud of. A very fresh egg has a low pH in the white, and the inner shell membrane clings tightly to the white. As an egg ages, carbon dioxide leaves through the shell pores, the white becomes more alkaline, and the membrane lets go more easily. That is why store-bought eggs, which are usually several weeks old by the time you cook them, often peel cleanly, while eggs gathered this morning do not.
The practical fix is patience. Eggs that have sat in the refrigerator for a week to ten days usually peel far better. Many keepers boil their oldest eggs and keep the freshest ones for frying and baking. If you are not sure how old an egg is, the egg float test gives a rough idea: an egg that stands on end or floats has an enlarged air cell and is older. The float test shows age, not safety, so it is no replacement for keeping eggs cold and boiling them until firm.
Other things that help peeling: start with boiling water or steam instead of cold water, cool the eggs fully in an ice bath, crack the shell all over, and peel under a thin stream of water starting at the wide end, where the air cell is.
Washed or unwashed backyard eggs, and the fridge
A hen coats each egg with a natural layer called the bloom. Eggs sold in US stores have been washed and must be kept refrigerated. Eggs from a home flock are a different case, and our page on storing eggs covers it in more detail. US food safety agencies advise refrigerating eggs, and Penn State Extension does not recommend room-temperature storage of eggs from a home flock. For boiled eggs the question mostly disappears: once an egg is cooked it should be refrigerated, whatever its history.
There is one wrinkle worth knowing. If you wash a dirty backyard egg, use water warmer than the egg, wash it briefly and do not soak it. Soaking in cool water can draw bacteria through the shell. Boiling dirty eggs is not a shortcut, because a dirty shell can still contaminate your hands, the pot and the water. Wash your hands after handling raw eggs, and boil only eggs that are intact and free of cracks.
How to hard-cook eggs safely
- Start with clean, uncracked eggs. A hairline crack lets cooking water into the egg.
- Cover the eggs with water by about an inch, bring to a boil, then turn the heat off, cover the pot and let them stand. FSIS describes hard-cooking as cooking until the white and yolk are firm; the exact standing time depends on egg size and how many eggs are in the pot.
- Move the eggs to cold water or an ice bath right away.
- Dry them, refrigerate within 2 hours and write the date on the carton or container.
- Peel just before eating if you can.
Cooking eggs until both the white and the yolk are firm is also the food-safety standard recommended by the FDA and FSIS. Soft-boiled and runny eggs carry more risk, so keep that in mind if you are cooking for a crowd, and cook eggs until firm for everyone.
Signs a hard-boiled egg has gone bad
Your nose is the quickest test. A spoiled boiled egg has a sulfur or rotten smell that is stronger than the faint sulfur smell of a normal boiled egg. Other signs are a slimy or sticky surface on a peeled egg, a chalky or powdery film on the white, and any visible mold. If you see any of these, throw the egg out. Do not taste it to find out.
Smell and sight cannot tell you whether an egg is safe, because the bacteria that cause illness often change nothing you can see or smell. If an egg is past the week, was left out for more than 2 hours or has been in a warm car, throw it away even if it looks fine. When in doubt, throw it out.
The green ring around the yolk
A gray-green ring around the yolk is not a sign of spoilage. It forms when the egg is cooked too long or too hot: sulfur in the white reacts with iron in the yolk and makes a harmless gray-green layer. Fresh eggs from your flock can show it too if the pot boiled hard for a long time or the eggs cooled slowly. The cure is to stop the cooking sooner, move the eggs to an ice bath and avoid a rolling boil. The ring affects looks and texture, not the one-week storage limit.
Freezing hard-boiled eggs
Whole hard-cooked eggs do not freeze well. The white absorbs water, then turns tough, rubbery and watery when it thaws. That is a quality problem rather than a safety one, but it is reason enough to keep boiled eggs in the fridge and cook only what you will eat within the week. Hard-cooked yolks are the one exception some cooks use, as they hold up better than the whites. If you have a large surplus of raw eggs from your hens, the better way to bank them is to beat them and freeze them in portions, as described on our storing eggs page and in the National Center for Home Food Preservation guidance. Our preserving section has more ways to deal with a glut.
Storage tips for a backyard flock
- Cook eggs in small batches, so none sit near the end of the week.
- Store boiled eggs in the main body of the fridge, not the door, where temperatures swing.
- Keep boiled and raw eggs apart and label boiled ones, so nobody cracks a boiled egg into a cake batter.
- Collect eggs daily and keep nest boxes clean so fewer eggs need washing. See the chickens hub for flock care, and chicken health if your hens' eggs have shell problems or odd contents.
- Check your state's rules before selling or giving away eggs from a home flock, which differ from state to state.
Most backyard keepers find that a dozen eggs boiled on a Sunday last comfortably through the week for lunches and snacks. If your hens are laying more than your household can eat, a hard-boiled egg is not the way to store the surplus. Refrigerate raw eggs in the carton, boil them as needed and freeze beaten eggs for baking.
Questions
How long do hard boiled eggs last in the fridge?
About one week, peeled or unpeeled, counted from the day you cooked them. The fridge must be at 40 degrees F or below, and the eggs should go in within 2 hours of cooking.
How long are hard boiled eggs good for at room temperature?
No more than 2 hours, or 1 hour if the temperature is above 90 degrees F. After that, throw them away, including eggs from an Easter hunt.
Do peeled hard boiled eggs go bad faster than unpeeled ones?
The safe limit is the same one week, but peeled eggs dry out and pick up fridge smells faster. Keep them in a covered container and leave the shell on if you can.
Can you freeze hard boiled eggs?
Whole hard-cooked eggs are not recommended for the freezer, because the whites turn rubbery and watery when thawed. Beaten raw eggs freeze better and are the usual way to bank a surplus.
Why are my fresh eggs so hard to peel?
Very fresh eggs have a low-pH white that clings to the inner shell membrane. After a week or so in the fridge the white loosens and the egg peels more cleanly.
Is the green ring around the yolk a sign the egg is bad?
No. It comes from overcooking or slow cooling, when sulfur in the white reacts with iron in the yolk. It changes looks and texture, not safety.
