How Long Are Boiled Eggs Good for in the Refrigerator?

Properly refrigerated hard-boiled eggs stay safe to eat for up to one week, whether peeled or still in the shell.

You boiled a batch of eggs for the week, and now they’re sitting in the fridge. Three days later you wonder — are they still good? The instinct to keep them for two weeks because they’re “cooked” actually gets it backward. Boiled eggs go off before raw ones do.

Here’s the short answer. The USDA gives hard-boiled eggs a refrigerator shelf life of about seven days. That applies whether you peel them or leave the shell on, as long as they go into the fridge within two hours of cooking. This guide covers storage methods, spoilage signs, and the best ways to keep your eggs safe for the whole week.

The Seven-Day Rule and Why It Exists

Hard-boiled eggs lose their natural protective coating during cooking. Boiling strips the thin cuticle that keeps bacteria from passing through the shell. That’s why they spoil faster than raw eggs.

Raw eggs often remain good for three to five weeks in the refrigerator. After boiling, the clock drops to one week. The USDA guideline of seven days is considered safe for both peeled and unpeeled eggs.

A common mistake is losing track of when the eggs were cooked. Marking the container with the date helps you avoid the guesswork. If you’re uncertain, the “sniff test” works — a spoiled boiled egg gives off a distinct sulfur-like smell once cracked.

Why People Misjudge Boiled Egg Safety

Many home cooks assume that because hard-boiled eggs are fully cooked, they’re more shelf-stable. The opposite is true. Cooking removes the cuticle, and the brief time between boiling and refrigerating can let bacteria multiply if you don’t cool them fast enough.

Here’s what the experts say about handling boiled eggs after cooking:

  • Cool with an ice bath: Plunging hot eggs into a bowl of ice water stops the cooking process and brings the internal temperature down fast, minimizing time in the danger zone (40°F–140°F). Epicurious recommends this method for food safety and easier peeling.
  • Refrigerate within two hours: After cooling, transfer eggs to the fridge. If you’re taking them to a picnic or leaving them out, the two-hour rule applies — after that, toss them.
  • Keep the shell on until you’re ready: Unpeeled eggs last longer because the shell acts as a barrier. Once peeled, they dry out faster and may absorb fridge odors.
  • Use a closed container, not the egg tray: Store eggs in a covered container or a resealable bag. The egg tray on the door is warmer and subject to temperature fluctuations.
  • Don’t wash eggs before storing: Washing cooked eggs removes any remaining protection and increases the risk of spoilage. Pat them dry after the ice bath and put them straight in the fridge.

These steps help you get the full seven days without cutting it close. Even with proper storage, always check for signs of spoilage before eating.

Signs a Hard-Boiled Egg Has Gone Bad

Your nose is the most reliable tool. A spoiled hard-boiled egg, once cracked, produces a strong rotten-egg odor. If the egg is still in the shell, you may need to crack it open to smell it — the shell can trap the odor.

A greenish-gray ring around the yolk is not a sign of spoilage. That color comes from a chemical reaction between iron and sulfur in the egg, usually from overcooking or high heat. The egg is still safe to eat. Healthline’s one week storage guide clarifies that appearance alone isn’t reliable — texture changes (sliminess or dryness) can also indicate the egg is past its prime.

Indicator Safe or Spoiled? What to Do
Sulfur smell when cracked Spoiled Discard immediately
Green ring around yolk Safe (overcooked) Fine to eat
Slimy or sticky shell Spoiled Discard
Dry, rubbery white Safe but old Edible, not ideal
Mold on shell (rare) Spoiled Discard

Trust the smell test over the date. An egg stored for six days might still be good, while one left at room temperature for three hours can become unsafe. When in doubt, throw it out.

How to Store Peeled and Unpeeled Eggs for Maximum Freshness

Storage method affects how well your boiled eggs hold up. Follow these steps to keep them at their best for the full week.

  1. For unpeeled eggs: After cooling, pat dry and place them in a covered container. Put a damp paper towel on top to prevent the shells from drying out. Refrigerate at 40°F or below.
  2. For peeled eggs: Submerge them in a bowl of cold water and cover tightly. Change the water every day to keep them fresh. Alternatively, wrap each egg in a damp paper towel and store in an airtight container.
  3. Label the container: Write the cooking date on the lid or use a piece of tape. It sounds obvious, but it’s the most common cause of lost time.
  4. Don’t freeze boiled eggs: Freezing makes the whites tough and watery. If you need to preserve eggs longer, freeze raw eggs (scrambled or separated) instead.

Peeled eggs dry out faster, so using moisture — either water or damp paper towels — helps maintain texture. Change the water daily to avoid it absorbing odors from other foods in the fridge.

How Boiled Egg Shelf Life Compares to Raw Eggs

Many people keep raw eggs in the fridge for weeks without issue, so it’s easy to assume boiled eggs last just as long. They don’t. Here’s the breakdown.

Raw eggs in the shell can stay fresh for three to five weeks past the pack date when refrigerated. After cooking, that window shrinks to one week. Martha Stewart notes that boiled eggs do not last as long as uncooked eggs because the cooking process removes the protective cuticle.

For meal-prepping, boil eggs no more than six days before you plan to use them. If you need a longer time frame, Glad recommends storing boiled eggs in their shells and using a covered container — see the Glad storage tips for container and moisture suggestions. For raw eggs, keep them in the original carton in the coldest part of the fridge, not the door.

Egg Type Refrigerator Shelf Life
Raw eggs in shell 3–5 weeks
Hard-boiled (unpeeled) Up to 7 days
Hard-boiled (peeled) Up to 7 days (best texture if eaten sooner)

The raw egg’s longer life doesn’t mean it’s cleaner inside — it’s just better protected. Once you crack that barrier by boiling, the clock speeds up.

The Bottom Line

Hard-boiled eggs stay safe in the refrigerator for up to one week. Cool them quickly in an ice bath, refrigerate within two hours, and store them in a closed container. Unpeeled eggs hold up slightly better, but the same week-long limit applies to both. The green ring around the yolk is harmless, but any sulfur smell means toss it.

For meal prep or Easter leftovers, mark the container with the boiling date. If you ever leave hard-boiled eggs out longer than two hours — or a full hour on a hot day — it’s safer to start fresh than to risk it.

References & Sources