How Long Are Hard-Boiled Eggs Good For?

Hard-boiled eggs are good for up to 1 week in the refrigerator, whether you keep them in the shell or peel them, as long as they go into the fridge within 2 hours of cooking. At room temperature the limit is 2 hours, or 1 hour when it is above 90°F.

In the fridge

Up to 1 week

Room temperature

2 hours max

Above 90°F

1 hour max

Freezer

Not recommended

How Long Hard-Boiled Eggs Last in the Fridge

A hard-boiled egg keeps for up to 1 week in a refrigerator set to 40°F (4°C) or below. That figure comes from USDA, and FDA gives the same 1 week window for hard-cooked eggs in the shell or peeled. The clock starts on the day you cook the eggs, not the date printed on the carton, so a batch boiled on Sunday should be eaten by the following Sunday.

The week only applies if the eggs were chilled promptly. USDA advises getting hard-cooked eggs into the refrigerator within 2 hours of cooking. Running them through an ice bath right after boiling, as the site method does, cools them quickly and gets them ready for the fridge in about 5 minutes. A fridge thermometer is worth having, because many home refrigerators drift above 40°F (4°C) in the door or on the top shelf.

Food Safety

USDA recommends refrigerating hard-cooked eggs within 2 hours of cooking and using them within 1 week. Keep your refrigerator at 40°F (4°C) or below. Do not freeze whole hard-cooked eggs.

Storage Times at a Glance

The table below collects the USDA and FDA storage figures that apply to hard-boiled eggs and the dishes most often made with them. Every refrigerator time assumes the eggs were chilled within 2 hours of cooking and kept at 40°F (4°C) or below.

Egg or dishRefrigeratorFreezer
Hard-boiled egg, in the shellUp to 1 weekDo not freeze
Hard-boiled egg, peeledUp to 1 weekDo not freeze
Egg salad3–4 daysDoes not freeze well
Deviled eggs and other cooked egg dishes3–4 daysNot recommended
Any of the above at room temperature2 hours max (1 hour above 90°F)Not applicable

When two limits overlap, the shorter one wins. Egg salad made from eggs that were boiled 5 days earlier should not be stretched to another 3 or 4 days, because the eggs themselves reach their 1 week limit first.

In the Shell vs Peeled

USDA and FDA treat shell-on and peeled hard-boiled eggs the same way: both are good for up to 1 week in the refrigerator. The difference is quality, not safety. The shell and its thin membrane slow down moisture loss and keep the egg from picking up smells from other food, so eggs left in the shell stay tender and taste fresher toward the end of the week.

Storing Eggs in the Shell

Dry the eggs after the ice bath, then store them in a covered container or in a clean egg carton on a shelf inside the fridge rather than in the door, where the temperature swings every time it opens. Label the container with the cooking date. If an egg cracked while boiling, USDA notes it is still safe, but treat it like a peeled egg and keep it covered.

Storing Peeled Eggs

Peeled eggs dry out and turn rubbery on the surface faster than shell-on eggs. Keep them in a sealed container lined with a damp paper towel, or submerge them in cold water in a covered container and change the water every day. Either way, the 1 week limit still applies, and most people find peeled eggs taste best within the first few days.

How Long Hard-Boiled Eggs Can Sit Out

Hard-boiled eggs can sit at room temperature for no more than 2 hours. When the air temperature is above 90°F (32°C), as at a summer picnic or in a hot car, the limit drops to 1 hour. These limits come from USDA and FDA guidance for cooked eggs and egg dishes, and they count all the time the eggs spend out of the fridge, added together.

Once an egg has passed that limit, USDA guidance is to throw it out rather than return it to the refrigerator, because bacteria can multiply quickly between 40°F and 140°F. Chilling it again does not undo that growth. For a buffet, brunch or lunch box, put out small portions and keep the rest cold, or set the platter over ice. FDA advises keeping cold egg dishes on ice if they will be out longer than 2 hours.

Room temperature

2 hours

Above 90°F (32°C)

1 hour

Easter Eggs and Decorated Eggs

Decorated eggs follow the same 2 hour rule as any hard-boiled egg. USDA advises dyeing hard-cooked eggs and returning them to the refrigerator within 2 hours, and using a food-safe coloring if you plan to eat them. Kept cold and handled that way, dyed eggs last the usual 1 week.

Eggs used in an egg hunt are a different story. USDA does not recommend eating hard-cooked eggs after hiding them or playing with them, because bacteria on the shell can get into the egg, and FDA gives the same advice. A simple approach is to boil one batch for decorating and hiding and a separate batch for eating, or to use plastic eggs for the hunt. Any egg that has sat out longer than 2 hours, or that has a cracked shell after a hunt, should be discarded.

Can You Freeze Hard-Boiled Eggs?

Whole hard-boiled eggs do not freeze well. USDA lists hard-cooked eggs as “do not freeze” in its storage charts, because cooked egg whites turn tough, rubbery and watery once frozen and thawed. Freezing raw eggs in the shell is also not advised. If you have more hard-boiled eggs than you can eat in a week, the egg white is the part that suffers.

The better plan is to boil only as many eggs as you will eat within a week. USDA gives no freezer time for hard-cooked eggs, whole or in parts, so any eggs still in the fridge after 7 days should be thrown out rather than frozen.

How to Tell If a Hard-Boiled Egg Has Gone Bad

The most reliable sign of a spoiled hard-boiled egg is its smell. USDA notes that a spoiled egg has an unpleasant odor when you open it, whether raw or cooked. A normal hard-boiled egg has a mild sulfur smell, especially if it was slightly overcooked, but a sharp, rotten or sour smell means it should go straight in the trash.

  • An unpleasant or rotten smell when the shell is cracked or the egg is cut.
  • A slimy, sticky or chalky film on the white or the shell.
  • Pink, iridescent or unusual discoloration in the white, which USDA links to spoilage bacteria.
  • Any egg kept longer than 1 week in the fridge, or more than 2 hours at room temperature, even if it looks fine.

A gray-green ring around the yolk is not a sign of spoilage. It comes from overcooking or slow cooling, and USDA notes it is safe to eat. The float test used for raw eggs is not a safety check either, and it does not apply to eggs that are already cooked. When in doubt, throw it out, because harmful bacteria do not always change how an egg looks or smells.

Deviled Eggs and Egg Salad Storage

Egg salad keeps for 3 to 4 days in the refrigerator, according to the FoodSafety.gov cold storage chart, which groups it with chicken, ham, tuna and macaroni salads. Deviled eggs fall under the FDA guidance for leftover cooked egg dishes, which also gives 3 to 4 days. Both should be made with eggs that are well within their 1 week window.

Keep both dishes covered and cold until serving, and do not leave them out longer than 2 hours, or 1 hour above 90°F (32°C). Mayonnaise-based fillings do not freeze well, so make only as much as you can use in a few days. For a party, you can boil and peel the eggs a day or two ahead, store the whites and the yolk filling separately, and assemble the deviled eggs shortly before guests arrive.

Tips for Making Hard-Boiled Eggs Last the Full Week

Good storage starts in the pot. Cook large eggs for the site standard of 12 minutes in boiling water, then move them straight to an ice bath for 5 minutes so they cool fast and do not keep cooking. Fully set eggs hold their texture better over a week than soft or jammy eggs, which are best eaten within a day or two.

  • Refrigerate the eggs within 2 hours of cooking, sooner if the kitchen is warm.
  • Store them in the shell until you are ready to eat them.
  • Use a covered container and write the cooking date on it.
  • Keep the eggs on a middle or lower shelf, not in the fridge door.
  • Take out only the eggs you plan to eat and return the rest right away.

Frequently Asked Questions

These are the most common questions about how long hard boiled eggs last and how to store them safely.

How long are hard-boiled eggs good for in the fridge?

Hard-boiled eggs are good for up to 1 week in a refrigerator at 40°F (4°C) or below, counted from the day they were cooked. This applies to eggs in the shell and peeled eggs.

Do hard-boiled eggs last longer in the shell?

Not for safety purposes. USDA and FDA give the same 1 week limit for both. Eggs kept in the shell do hold their moisture and flavor better, so they taste fresher toward the end of the week.

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

No. Hard-boiled eggs should not sit out for more than 2 hours, or 1 hour above 90°F. An egg left out overnight should be discarded, even if it is put back in the fridge.

Are hard-boiled eggs good after 10 days?

No. The USDA limit for refrigerated hard-cooked eggs is 1 week. After 7 days, throw them out even if they look and smell normal.

Can you eat dyed Easter eggs?

Yes, if they were colored with food-safe dye, returned to the fridge within 2 hours, and not used in a hunt. USDA does not recommend eating eggs that have been hidden or played with.

Sources: USDA Food Safety and Inspection Service; FoodSafety.gov; U.S. Food and Drug Administration.