How Long Can Hard-Boiled Eggs Sit Out?

Written by Staff Writer

A young brown-haired woman sitting at a table peels a hard-boiled egg over a bowl.

Hard-boiled eggs are easy to make ahead, pack for lunch or serve as a quick snack. But once they leave the refrigerator, the clock starts ticking. 

As a general rule, both peeled and shelled hard-boiled eggs should not sit at room temperature for more than two hours. Any longer than that, and the safest choice is to throw them away. 

If you know an egg has been sitting out longer than the recommended time, don’t just rely on a quick sniff test. Throw it away. 

How to Store Hard-Boiled Eggs Safely 

After cooking eggs, make sure to cool them promptly and refrigerate them within two hours. They can safely be kept in the fridge for up to one week.  

If you are making a batch for the week, store the eggs in a covered container so they stay protected from other foods and refrigerator odors. Keeping them together also makes it easier to track when they were cooked and use them within the recommended one-week storage period. 

Peeled hard-boiled eggs, especially, benefit from being covered in the refrigerator. Because the shell is no longer there to protect the surface, a sealed container keeps them from drying out or picking up odors. 

Keep them in the refrigerator until you are ready to eat or serve them. Try to take out only the number of eggs you plan to use at that time. Safe unrefrigerated time is cumulative. Repeatedly leaving hard-boiled eggs at room temperature, allowing them to warm up, and then returning them to the refrigerator can make it harder to know how long they have been outside safe storage conditions. 

Can You Leave Hard-Boiled Eggs Out Overnight? 

No. A hard-boiled egg that has been left on the counter overnight should be discarded. 

Leaving an egg out for several hours at room temperature puts it well beyond the recommended two-hour limit. Even if the shell is intact and the egg looks perfectly normal when you peel it, that doesn’t mean it is safe to eat. 

It is better to judge by time rather than by appearance. If you wake up and realize the eggs from last night never made it back into the refrigerator, don’t try to save them. 

How Long Can Hard-Boiled Eggs Stay in a Lunchbox? 

A hard-boiled egg packed in a regular lunchbox without a cold source is still subject to the two-hour rule. That means if you pack it early in the morning and don’t eat lunch until several hours later, that can be too long without refrigeration. 

For school or work lunches, use an insulated lunch bag with a frozen gel pack or another cold source. This will chill the egg properly until it is time to eat. 

Keeping Hard-Boiled Eggs Safe at Picnics and Parties 

Outdoor meals make food safety harder because eggs might be left to sit out while people eat or socialize. 

Keep hard-boiled eggs refrigerated or in a cooler until you are ready to serve them. If possible, put out a smaller number at a time rather than leaving every egg on the table for the entire event. 

Consider ambient temperature when planning for outdoor events. On a hot day, where temperatures climb above 90 degrees Fahrenheit, the safe window drops from two hours to only one. 

Incorporating these habits can help ensure safety during a get-together: 

  • Keep eggs in a cooler with ice or cold packs. 
  • Avoid placing food in direct sunlight. 
  • Serve smaller batches and refill as needed. 
  • Note the time when the eggs are set out. 

Keeping track of time can save you from having to guess later, which can put partygoers at risk. There is no worse party favor than foodborne illness. 

What About Easter Eggs? 

Hard-boiled easter eggs need the same temperature controls as any other hard-boiled eggs if you plan to eat them. 

If cooked eggs are used for an egg hunt or displayed for an extended period, pay attention to how long they remain outside the refrigerator — including time spent dyeing and decorating. Eggs that exceed the recommended time at room temperature should be discarded, no matter how pretty they are. 

If you want to decorate eggs and eat them afterward, keep food safety in mind from the beginning. Refrigerate them as soon as possible and avoid leaving them out for long periods. 

How Can You Tell if a Hard-Boiled Egg Has Gone Bad? 

A strong or unpleasant odor can be a sign that a hard-boiled egg has spoiled. A slimy or tacky texture can also be a warning sign. 

A green or gray ring around the yolk doesn’t necessarily signify spoilage. That discoloration can happen when an egg is cooked too long or at too high a temperature. That discoloration may affect the appearance or texture, but it doesn’t, by itself, make the egg unsafe. 

More importantly, do not use smell or appearance to overrule the time limits. An egg that sat out overnight should still be discarded even if it looks fine. 

Build Your Food Safety Knowledge 

Hard-boiled eggs are just one example of foods that requires careful handling and storage. Safe food handling is easier when good habits become part of your routine. That includes knowing what foods require extra attention and recognizing when it is safer to throw something away. 

If you prepare or serve food at work, StateFoodSafety’s Food Handler courses can help you understand the practices behind safer food service. Find a course that meets your state requirements and start building on your knowledge today!