How Long Eggs Stay Safe at Room Temperature
Eggs are safe to leave out for up to two hours at room temperature, or one hour if the room is above 90°F
Once an egg is cooked, the clock starts ticking. Bacteria grow fastest between 40°F and 140°F — the danger zone — and cooked eggs sitting on your counter are moving through it. Two hours is the outside limit for food safety; after that, harmful bacteria like Salmonella can multiply to unsafe levels even though the egg looks and smells fine.
Raw eggs that have been washed (which includes nearly all store-bought eggs in the United States) should not sit out at all. They've lost the protective bloom that keeps bacteria out, so they belong in the refrigerator from the moment you bring them home. If a raw egg has been left out for more than two hours, cook it thoroughly before eating — high heat kills pathogens that may have entered through the shell.
The two-hour window assumes a normal kitchen temperature of around 70°F. If your kitchen is warmer — say you're cooking during summer or your oven has been running — cut that time in half. At 90°F or above, cooked eggs are only safe for one hour.
Key Takeaways
- Cooked eggs left at room temperature are safe for two hours, or one hour if the temperature is above 90°F.
- Raw store-bought eggs should go straight into the refrigerator because they've been washed and can no longer rely on their natural protective coating.
- The danger zone for bacterial growth is 40°F to 140°F, and eggs move through it quickly once removed from cold storage.
- If you're unsure how long an egg has been sitting out, the safest choice is to throw it away rather than risk foodborne illness.
Why the Two-Hour Rule Matters for Cooked Eggs
Bacteria don't announce themselves. An egg that's been out for three hours looks identical to one that's been out for one hour, but the bacterial load inside may be very different. Salmonella and Staphylococcus aureus are the main culprits in eggs left at room temperature, and they produce toxins that heat won't destroy once they've formed.
This is why timing matters more than appearance. A cooked egg can look perfectly fine and still harbor enough bacteria to cause food poisoning. The safest approach is to set a timer the moment the egg comes off heat. If you're not going to eat it within two hours, refrigerate it immediately.
The two-hour rule applies whether the egg is whole, scrambled, hard-boiled, or part of a dish like a quiche. If the dish contains eggs and has been sitting out, the same clock applies.
Raw Eggs and the Refrigerator Requirement
Store-bought eggs in the United States are washed during processing, which removes the natural protective layer (called the cuticle or bloom) that keeps bacteria out. Once that layer is gone, the porous shell becomes a highway for pathogens. This is why raw eggs must be refrigerated from purchase onward.
Unwashed eggs from a farmers market or backyard chickens are different — they still have their bloom and can sit out longer. But unless you know the source and that the eggs were never washed, treat them like store-bought eggs and refrigerate them.
If a raw egg has been left out for more than two hours, don't use it raw. Cook it thoroughly — scrambled, fried, or baked — until both the white and yolk are firm. High heat kills pathogens that may have entered through the shell during the time it sat out.
What Happens During the Danger Zone
Between 40°F and 140°F, bacteria reproduce by splitting in half. Under ideal conditions, some bacteria can double every 20 minutes. An egg that starts with a small number of bacteria can reach dangerous levels in just a few hours, even though nothing about it has changed visibly.
Refrigeration slows this process dramatically. At 40°F or below, bacteria still grow, but much more slowly — which is why cooked eggs last about three to four days in the refrigerator. Freezing stops growth almost entirely, which is why frozen cooked eggs can last for months.
The danger zone is also why you should never leave eggs out while you're cooking or preparing other foods. Move them to the refrigerator as soon as they're done cooking, even if you're still working on the rest of the meal.
Storing Cooked Eggs in the Refrigerator
Once cooked eggs have cooled to room temperature, transfer them to an airtight container and refrigerate within two hours. Cooked eggs will keep for three to four days in the refrigerator at 40°F or below. Label the container with the date so you know when you cooked them.
Hard-boiled eggs are a common exception people wonder about. They follow the same rule: two hours at room temperature, then into the refrigerator where they'll last three to four days. The shell doesn't extend their shelf life — it just makes them easier to store and peel.
If you want cooked eggs to last longer, freeze them. Scrambled eggs, fried eggs, and hard-boiled eggs all freeze well and will keep for up to four months. Thaw them in the refrigerator overnight before reheating.
Pickling and Preserving Eggs at Room Temperature
There is one way to keep eggs at room temperature long-term: pickling. When eggs are submerged in vinegar and spices, the acidity creates an environment where harmful bacteria cannot grow. Pickled eggs can sit on a shelf for months without refrigeration, though many people still refrigerate them for best quality.
If you're making pickled eggs at home, use a tested recipe that specifies the correct vinegar concentration and processing method. Homemade pickled eggs made without proper acid levels can develop botulism, a serious foodborne illness. Recipes from the USDA or a tested source like the National Center for Home Food Preservation are safe to follow.
Pickled eggs are the exception, not the rule. For all other cooked eggs, the two-hour window applies.
Frequently Asked Questions
Can I leave eggs out overnight if I'm going to cook them in the morning?
No. Raw eggs should stay refrigerated, and cooked eggs should not sit out longer than two hours. If you're planning to cook eggs in the morning, take them from the refrigerator just before cooking. If they've been out overnight, throw them away.
Do eggs in the shell last longer at room temperature than peeled eggs?
The shell provides some protection, but it doesn't change the two-hour rule for cooked eggs. Both shelled and unshelled hard-boiled eggs are safe for two hours at room temperature, then must be refrigerated. The shell makes storage easier but doesn't extend the safe time window.
What if I left eggs out and forgot about them — how do I know if they're safe?
If you can't remember how long they've been out, don't eat them. Foodborne illness isn't worth the risk, and eggs are inexpensive. When in doubt, throw them out. There's no smell test or visual check that reliably tells you whether bacteria have multiplied to dangerous levels.
Are room-temperature eggs safer if they're in a sealed container?
No. A sealed container doesn't slow bacterial growth — it just traps the bacteria inside. The two-hour rule applies whether eggs are in an open dish, a sealed container, or wrapped in foil. Temperature is what matters, not air exposure.
Can I leave eggs out while I'm eating breakfast?
Yes, as long as you eat them within two hours of cooking. If you're having a leisurely breakfast and the eggs have been sitting out for an hour, you still have time. Just don't leave them out after you're done eating — move them to the refrigerator right away.