StillSafeFood
USDA/FDA guidance

Can Boiled Eggs Sit Out Overnight?

Last reviewed: May 2026

Quick answer

No. Hard-boiled eggs left out overnight must be discarded. The USDA 2-hour rule applies to all cooked eggs — hard-boiled eggs in and out of the shell must be refrigerated within 2 hours of cooking (1 hour above 90°F/32°C). Overnight (8 or more hours) far exceeds this limit.

Bottom line: discard them

Hard-boiled eggs left out overnight have exceeded the USDA 2-hour safe limit. Discard them whether peeled or unpeeled.

The 2-hour rule for hard-boiled eggs

The USDA recommends refrigerating all cooked eggs — including hard-boiled eggs — within 2 hours of cooking. At temperatures above 90°F (32°C), that window drops to 1 hour. In the temperature danger zone between 40°F and 140°F (4°C–60°C), bacteria can multiply rapidly in cooked egg white and yolk. See the official food-safety sources used by StillSafeFood for references.

For guidance on uncooked eggs left at room temperature, see can eggs sit out overnight.

Does the shell protect hard-boiled eggs?

The shell of a raw egg provides a physical barrier, but once an egg has been boiled that protection is significantly reduced. Boiling can cause micro-cracks in the shell and removes the natural protective coating (the cuticle or bloom) that US eggs have already lost during commercial washing. As a result, hard-boiled eggs in the shell are not meaningfully safer than peeled eggs at room temperature — the 2-hour rule applies to both.

Peeled vs. unpeeled hard-boiled eggs

Peeled hard-boiled eggs have a moist, exposed surface that supports bacterial growth faster than unpeeled. However, both must be refrigerated within 2 hours of cooking. The difference in safety risk at room temperature is negligible — if either has been out overnight, discard it.

Safe storage for hard-boiled eggs

  • Refrigerate hard-boiled eggs within 2 hours of cooking (1 hour above 90°F).
  • Store unpeeled in the refrigerator for up to 1 week.
  • Store peeled eggs in an airtight container, optionally submerged in cold water, for up to 1 week.
  • Do not leave hard-boiled eggs at room temperature during Easter egg hunts or displays for more than 2 hours.

Frequently asked questions

Can hard-boiled eggs sit out overnight?

No. Hard-boiled eggs must be refrigerated within 2 hours of cooking. Discard eggs left out overnight, whether peeled or unpeeled.

Do hard-boiled eggs in the shell last longer at room temperature?

No. The shell provides no meaningful food safety protection once cooked. The 2-hour rule applies to hard-boiled eggs in and out of the shell.

How long are hard-boiled eggs safe in the refrigerator?

Up to 1 week in the refrigerator. Peeled eggs keep best in an airtight container. Unpeeled eggs can be stored in their shells.

Check your eggs

Use StillSafeFood to check hard-boiled eggs, whole eggs, devilled eggs, and other egg dishes.

Check your food →

Related food safety questions

If you think you may have food poisoning or feel seriously ill after eating, contact a healthcare provider or your local poison control center.