Hard-boiled eggs in their shells in a saucepan and on a wicker plate

How Long Do Hard-Boiled Eggs Last in the Fridge?

Hard-boiled eggs keep for up to 1 week in the fridge, according to the USDA. That’s the same whether they’re in the shell or peeled. Refrigerate them within 2 hours of cooking, and keep them at 40°F (4°C) or below. Don’t freeze them: the whites turn tough and watery.

Hard-boiled eggs in their shells in a saucepan and on a wicker plate
Hard-boiled eggs keep up to a week in the fridge; leaving the shells on keeps them fresher.
Hard-boiled eggsHow long
In the shell, in the fridgeUp to 1 week
Peeled, in the fridge, coveredUp to 1 week; best within a few days
Room temperatureNo more than 2 hours (1 hour above 90°F)
Egg salad3 to 4 days in the fridge
FreezerNot recommended

In the shell or peeled?

The USDA gives the same 1-week limit for both. Unpeeled eggs keep their quality better: the shell stops them drying out and absorbing fridge smells. If you peel them ahead, keep them in an airtight container with a damp paper towel, and change the towel daily.

How to store hard-boiled eggs

  1. Cool them quickly in cold or iced water.
  2. Dry them and refrigerate them within 2 hours of cooking.
  3. Keep them in a covered container or the egg carton, on a shelf, not in the door, where the temperature changes each time it opens.
  4. Write the cooking date on the container, or mark the shells with a pencil.

Why only a week, when raw eggs last 3 to 5 weeks?

Raw eggs in the shell keep 3 to 5 weeks in the fridge, but cooked eggs don’t. The USDA explains that hard-cooking leaves a thin layer of water under the shell that helps bacteria grow.

How to tell if hard-boiled eggs have gone bad

  • A sulphur or sour smell that’s stronger than usual, especially once peeled
  • A slimy or sticky surface on the white
  • Mould or dark spots
  • They’re more than a week old, or you’re not sure when you cooked them

When in doubt, throw them out. Don’t rely on the float test: UK food safety guidance says it shows an egg’s age, not whether it’s safe.

A green or grey ring around the yolk is safe. The USDA says it’s caused by overcooking or iron in the cooking water. It doesn’t mean the egg has gone off.

Can you freeze hard-boiled eggs?

Not whole. The USDA advises against freezing hard-cooked eggs, because the whites become tough, rubbery and watery. If you have spare cooked yolks, they freeze better on their own, for crumbling over salads.

Deviled eggs and egg salad

  • Egg salad keeps 3 to 4 days in the fridge, according to FoodSafety.gov.
  • Deviled eggs are best treated the same way: covered, in the fridge, and eaten within 3 to 4 days. Don’t leave them out for more than 2 hours at a party.

Tips for easy-to-peel eggs

The USDA notes that older eggs peel more easily than very fresh ones, because the white sticks less to the shell membrane as the egg ages. Eggs that are a week or two old make better hard-boiled eggs.

Quick answers

Are hard-boiled eggs good after 2 weeks in the fridge?

No. Throw them away after 1 week.

Should hard-boiled eggs be refrigerated peeled or unpeeled?

Unpeeled is best. They stay moist and fresh-tasting longer.

How long do hard-boiled eggs last out of the fridge?

No more than 2 hours. See how long hard-boiled eggs can sit out.

Are store-bought peeled hard-boiled eggs different?

Follow the date and storage instructions on the pack. Once opened, eat them within a few days.

Sources: USDA Food Safety and Inspection Service, Shell Eggs from Farm to Table (hard-cooked eggs: 1 week, do not freeze; green ring; peeling); FoodSafety.gov, Cold Food Storage Chart (egg salad 3 to 4 days; raw eggs 3 to 5 weeks); GOV.UK, Home food fact checker (float test).

Related: Do Eggs Go Bad If You Lose Power?