حفظ الطعام والمشروبات

How Long Do Hard-Boiled Eggs Last in the Fridge? 7 Days, and the 2-Hour Rule That Starts the Clock

Peeled hard-boiled eggs in the fridge, stored in an open glass container on a refrigerator shelf

By Rawia Younis · Last reviewed November 2026

Hard-boiled eggs last 7 days in the fridge, peeled or still in the shell. That is USDA's number, and the week starts the day you cook them, not the day you peel them.

The part most people skip is what happens before the fridge. Cooked eggs need to go in within 2 hours of coming out of the pot, or within 1 hour if the kitchen is above 90°F (32°C). Miss that window and the 7 days no longer applies.

As an Amazon Associate we earn from qualifying purchases.

Anchor Hocking 2-cup glass storage containers with lids, set of 4

What we'd keep them in

Anchor Hocking 2-cup glass storage containers, set of 4. The dish itself is glass, you can see what's inside without opening it, and the small size suits a few eggs at a time. The lids are plastic.

See the Anchor Hocking glass set on Amazon

How long hard-boiled eggs last: the chart

These are USDA's storage times for a fridge at 40°F (4°C) or below and a freezer at 0°F (-18°C).

USDA storage times for eggs

Egg Fridge Freezer
Hard-boiled, in the shell 1 week Do not freeze
Hard-boiled, peeled 1 week Do not freeze
Egg salad 3 to 4 days Does not freeze well
Cooked egg dishes, such as deviled eggs 3 to 4 days Not given
Home-pickled eggs 7 days Not given
Raw eggs in the shell, for comparison 3 to 5 weeks Do not freeze in the shell
Hard-boiled, left out at room temperature 2 hours (1 hour above 90°F (32°C)) -

USDA's Agricultural Research Service says hard-cooked eggs "can be properly stored in the refrigerator for up to 7 days." The FSIS egg chart and FoodSafety.gov both say 1 week.

One small conflict: FoodSafety.gov gives egg salad 3 to 4 days, while an FSIS refrigeration page says 3 to 5. We went with the shorter time.

Why they don't last as long as raw eggs

A raw egg in its carton keeps 3 to 5 weeks. Boil it and you get one. That surprises a lot of people, since cooking kills bacteria.

FSIS explains it this way. Hard-cooking leaves a thin layer of water on the egg's surface, just under the shell, and that moisture is a good place for bacteria to grow, including the kind that cause spoilage. So cooking doesn't protect the egg for long. It spoils more easily afterward.

If an egg cracks while it boils, it is still safe, according to FSIS. Store it the same way and keep to the same week.

Peeled or unpeeled: the same week

Peeled and unpeeled hard-boiled eggs side by side on a cutting board; USDA gives one fridge time for both

Shell on or off, USDA's limit is one week from cooking.

USDA lists one time for hard-cooked eggs. It does not split peeled from unpeeled. You will find other sites saying peeled eggs last only 3 to 5 days. We couldn't find a USDA source for that figure, so we don't use it.

There is still a practical case for leaving the shell on. Without the shell, the white is exposed, so it can dry out and take on smells from other food. If you peel a batch ahead for the week, put them in a container with a lid rather than an open bowl.

The 2-hour rule: when the clock starts

Hard-boiled eggs left out on the kitchen counter beside a timer set to two hours, the limit before chilling

Two hours on the counter is the limit, including the time they spend cooling.

The 7 days count from cooking. Before that week even starts, the eggs have to reach the fridge within 2 hours. On a hot day above 90°F (32°C), you get 1 hour.

You don't need to wait for them to cool to room temperature first. A bowl of ice water takes the heat out fast, and then they can go straight in. We covered why warm food can go into the fridge in can you put hot food in the fridge.

A packed lunch counts too. If a boiled egg rides in a bag with no ice pack from 8 a.m. until noon, it has been out longer than USDA allows. The same goes for a bowl of eggs left on a brunch table.

How to store hard-boiled eggs

Most of this comes down to the fridge itself. USDA's whole storage chart assumes 40°F (4°C) or below, and the dial inside your fridge is a setting, not a reading. FSIS recommends checking with an appliance thermometer. We go through the options in best refrigerator thermometer.

Fridge thermometer on a shelf beside a glass container of boiled eggs; USDA says keep it at 40°F (4°C) or below

USDA's 1-week time assumes a fridge at 40°F (4°C) or colder.

Where in the fridge? USDA tells you to keep raw eggs off the door, because it warms up every time you open it. It does not give a separate rule for boiled eggs. FSIS also says a fridge at 40°F or below throughout is safe in any spot. A shelf is still the steadier place, and it is where we would put them.

A few habits that help:

  • Use a container with a lid, especially for peeled eggs.
  • Write the cooking date on the lid or on a strip of tape. A soft pencil works on the shell itself.
  • Boil only what you'll eat in a week. Freezing the extras isn't an option, as you'll see below.

Glass is our choice for this. The egg sits in a glass dish, and Anchor Hocking says the glass won't keep odors. If you are deciding between materials for leftovers in general, we compared both in glass vs plastic food storage containers.

As an Amazon Associate we earn from qualifying purchases.

Anchor Hocking 2-cup glass food storage containers with lids, set of four

Anchor Hocking 2-cup glass containers, set of 4

Why it fits: the dish is glass, and you can see how many eggs are left without lifting the lid. The 2-cup size suits a few peeled eggs, which is the batch you'd want to finish within the week anyway.

The drawback: the lids are plastic, and at 2 cups each the dishes hold a few eggs at a time, not a full dozen in one.

Check it on Amazon

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

A spoiled egg has an unpleasant smell when you open it, raw or cooked. FSIS says so plainly, and with a boiled egg you'll usually notice it as soon as you peel it.

The smell test only catches spoilage, though. FSIS also points out that you can't see, smell or taste the bacteria that cause foodborne illness. An egg that smells fine on day 10 is still past USDA's limit. Count the days, and if you can't remember when you boiled them, throw them out.

Hard-boiled egg cut in half showing a greenish-gray ring around the yolk, a sign of overcooking

A greenish ring around the yolk comes from cooking, not from age in the fridge.

The greenish-gray ring around some yolks is not a spoilage sign, and FSIS says the green color is safe to eat. It says the ring can be a result of overcooking. Sulfur and iron compounds in the egg react on the yolk's surface. A lot of iron in the cooking water can cause it too. Shorter cooking and a fast ice bath make it less likely.

Can you freeze hard-boiled eggs?

No. USDA's egg chart and FoodSafety.gov both say not to freeze hard-cooked eggs. The FSIS food safety basics page words it as "does not freeze well", which is about quality rather than safety. Cooked whites turn tough and watery once they thaw.

Turning extra eggs into egg salad doesn't buy time either. Egg salad keeps 3 to 4 days, which is shorter than the eggs themselves. The better fix is boiling a smaller batch.

Deviled eggs and egg salad

USDA doesn't list deviled eggs by name. The closest lines are egg salad and cooked egg dishes, both 3 to 4 days in the fridge, so that is the time to use. To be safe, count from when you boiled the eggs, not from when you filled them.

On a party table, the same 2-hour limit applies. USDA's Agricultural Research Service gives prepared foods like deviled eggs no more than 2 hours at room temperature. FSIS cuts that to 1 hour when it's above 90°F (32°C). At a long holiday dinner, put out half the tray and keep the other half cold until the first plate is gone.

For taking deviled eggs to someone else's house, a carrier with a lid keeps them covered on the way and goes straight into their fridge when you arrive.

As an Amazon Associate we earn from qualifying purchases.

Snapware two-layer deviled egg carrier with a clear lid and egg trays

Snapware 2-layer deviled egg carrier

Why it fits: the listing says its two trays hold up to 24 eggs, with a lid, so a full party batch travels covered and goes straight into the host's fridge.

The drawback: it is plastic. We'd use it for carrying, not for the week-long store.

Check it on Amazon

Questions people ask

Can you eat hard-boiled eggs after 7 days?

USDA's guidance stops at one week from cooking. After that, throw them out, even if they smell fine. The bacteria that cause foodborne illness don't change how an egg smells or looks.

Do peeled hard-boiled eggs go bad faster?

USDA gives the same time, 1 week, for hard-cooked eggs with or without the shell. Peeled eggs can dry out and pick up fridge smells, so keep them in a container with a lid.

How long can hard-boiled eggs sit out?

No more than 2 hours at room temperature, or 1 hour if it is above 90°F (32°C). After that, USDA says to throw them out.

Why do hard-boiled eggs spoil faster than raw eggs?

FSIS says hard-cooking leaves a thin layer of water on the egg's surface under the shell, and bacteria grow well in it. Raw eggs in the shell keep 3 to 5 weeks; hard-boiled eggs keep 1 week.

Are eggs that cracked while boiling safe to eat?

Yes. FSIS says eggs that crack during hard cooking are safe. Refrigerate them within 2 hours and eat them within the same week.

Is the green ring on a hard-boiled egg safe?

Yes. FSIS says the green color is safe to eat. It comes from overcooking, when sulfur and iron in the egg react on the yolk's surface, or from a lot of iron in the cooking water. It is not a sign the egg has gone bad.

How long do pickled eggs last?

Home-pickled eggs must stay in the fridge and be eaten within 7 days, according to FSIS. Store-bought pickled eggs keep for months unopened, but once opened they go in the fridge and should be eaten within 7 days.

How we checked this

On 7 November 2026 we read the egg, refrigeration and food-safety basics pages from the USDA's Food Safety and Inspection Service (FSIS), the FoodSafety.gov cold storage chart and the USDA Agricultural Research Service egg safety sheet. Product details come from the Amazon listings and Amazon's product data on the same date.

Written by Rawia Younis. Rawia writes Cupindy's cooking guides. This page is general food-safety information, not medical advice.

Sources

As an Amazon Associate we earn from qualifying purchases. Cupindy earns a commission if you buy through the Amazon links on this page, at no extra cost to you. No brand paid to be included.

Get new guides by email

We'll email you when we publish or update a guide. No set schedule.