Food storage

How Long Do Hard-Boiled Eggs Last?

From Your Fridgeschedule5 min read
How Long Do Hard-Boiled Eggs Last?

Hard-boiled eggs keep up to 7 days in the refrigerator, but only if you cool them within 2 hours of cooking and store them in their shells at 40°F (4°C) or below. Peeled eggs have a much shorter window, and eggs left on the counter are unsafe after 2 hours.

This guide covers how to store hard-boiled eggs correctly, how to tell when one has gone bad, whether you can freeze them, and the easiest way to peel them. It is written for eggs you boiled at home; the same timing applies to store-bought pre-cooked eggs kept refrigerated.

Refrigerate within 2 hours, shells on

Refrigerate hard-boiled eggs within 2 hours of cooking, or within 1 hour if your kitchen is above 90°F (32°C). Bacteria grow fastest between 40°F and 140°F, and cooked eggs are no exception. Set a timer when the pot comes off the heat if you tend to forget.

Store them in their shells in a covered container or a sealed bag, in the main body of the fridge rather than the door. The door is the warmest spot and swings in temperature every time it opens. Keep the fridge itself at 40°F (4°C) or below.

Peeled eggs last much less time

Unpeeled hard-boiled eggs keep up to 7 days in the fridge. Once peeled, the clock shortens: eat peeled eggs within 2 days, stored in an airtight container. Some cooks cover peeled eggs with cold water and change it daily, but the container alone does the job.

Peeling also matters for food safety on serving day. Deviled eggs, egg salad, and halved eggs on a buffet follow the same 2-hour rule at room temperature. Keep cold dishes on ice if they will sit out, and return leftovers to the fridge promptly.

How to tell if a hard-boiled egg has gone bad

Your nose is the main test. Crack the egg open: a strong sulfur or rotten smell means it goes straight in the trash. A slimy or chalky film on the white is another bad sign.

Looks alone are unreliable, and so is the float test, which only tells you how old a raw egg is, not whether a cooked one is safe. Hard-boiled eggs that look fine but have been in the fridge longer than 7 days, or sat out past 2 hours, should go. When in doubt, throw it out.

Can you freeze hard-boiled eggs?

Whole hard-boiled eggs freeze badly. The whites turn tough and watery when thawed, and the texture never recovers. If you need to freeze them, separate first: cooked yolks freeze reasonably well for up to 3 months in an airtight container.

For most people the better plan is to use up extra eggs within the 7-day window. Chop them into salads and grain bowls, make egg salad, or halve them over toast. A dozen boiled eggs disappear fast when they are peeled and ready in the fridge.

Warming and serving them safely

Hard-boiled eggs are usually eaten cold, but if you warm them, heat them through to steaming. A peeled egg warms in a minute or two in simmering water; microwaving a whole egg in its shell can make it burst, so always peel first.

Watch the total time at room temperature across the whole day, not just one sitting. An egg that sat out for lunch and goes back in the fridge, then sits out again at dinner, is accumulating its 2 hours. When the total hits 2 hours, it is done.

Frequently asked

Can I eat a hard-boiled egg that was left out overnight?expand_more

No. Cooked eggs are perishable. If a hard-boiled egg has sat at room temperature for more than 2 hours (or 1 hour when it is above 90°F), throw it out rather than risk it.

Why is the yolk of my hard-boiled egg green?expand_more

Yes, it is safe. The green ring comes from iron in the yolk reacting with sulfur in the white when eggs are overcooked. It looks odd but tastes the same. Cooking 10 to 12 minutes and cooling the eggs in ice water right away keeps yolks bright yellow.

Do hard-boiled eggs need to be refrigerated?expand_more

Yes, always. Refrigerate them within 2 hours of cooking and keep the fridge at 40°F (4°C) or below. The shell is their best protection, so store them unpeeled in a covered container.

How do you make hard-boiled eggs easier to peel?expand_more

Use eggs that are a week or so old rather than farm-fresh; they peel much more easily. Cool cooked eggs in ice water for 10 minutes, then crack the shell all over by rolling the egg on the counter and peel under running water.

Does the 7-day rule start when I cook the eggs?expand_more

Yes. Count the 7 days from the day you boil them, not from any date on the carton. Mark the cooking date on the container so you don't have to guess.

hard-boiled eggsegg storagefood safetymeal prepleftovers