How Long Eggs Stay Safe at Room Temperature
Eggs last about two hours at room temperature, or one hour if the room is above 90°F
Once an egg is removed from the refrigerator, the clock starts. A raw or cooked egg sitting on your counter will stay safe to eat for roughly two hours at normal room temperature (68–72°F). If your kitchen is warmer — say 90°F or higher on a summer day — that window shrinks to just one hour. After that point, bacteria begin multiplying fast enough to make the egg unsafe, even if it looks and smells fine.
This two-hour rule applies whether the egg is raw, hard-boiled, or cooked any other way. The shell itself does not keep bacteria out once the egg has warmed up. What matters is the internal temperature of the egg and how long it has been in the danger zone — the range between 40°F and 140°F where harmful bacteria grow most rapidly.
The reason eggs are stored in the refrigerator in the first place is that cold slows bacterial growth to a crawl. Once you remove that protection, time becomes your only defense, and it is a short one.
Key Takeaways
- Raw or cooked eggs left at room temperature (68–72°F) remain safe for about two hours; above 90°F, the safe window is only one hour.
- The shell does not protect the inside of the egg from bacteria once it has warmed up, so appearance and smell are not reliable guides to safety.
- Eggs that have been left out should be discarded rather than returned to the refrigerator, because the bacteria that grew during that time will not be killed by chilling.
- Hard-boiled eggs follow the same two-hour rule as raw eggs, despite the cooked yolk and white.
- Deviled eggs, egg salad, and other prepared dishes with mayonnaise or dairy should be thrown away after one hour at room temperature, regardless of whether they contain eggs.
Why the two-hour window matters for food safety
Bacteria such as Salmonella and Staphylococcus aureus live on and inside raw eggs naturally. They also contaminate cooked eggs if the egg touches a surface or utensil that harbored bacteria before cooking. At refrigerator temperature (below 40°F), these bacteria are dormant — they are still there, but they are not multiplying.
The moment an egg reaches room temperature, dormant bacteria wake up and begin dividing. They double in number every 20 to 30 minutes in the danger zone. After two hours, the bacterial population has grown large enough to cause food poisoning if you eat the egg. You will not taste or smell the difference; the egg can look and taste completely normal while carrying enough bacteria to make you sick.
This is why the U.S. Department of Agriculture and the Food and Drug Administration both recommend the two-hour rule. It is not a suggestion — it is the point at which the risk becomes unacceptable.
What happens if you put a warm egg back in the refrigerator
Putting a room-temperature egg back in the refrigerator does not undo the damage. The bacteria that grew while the egg was warm will not die when you chill it again. They will simply slow down and go dormant, but they remain in the egg and can start multiplying again if the egg warms up.
This is why the safest choice is to discard any egg that has been left out past the two-hour mark. It may feel wasteful, but the cost of a single egg is far less than the cost of treating food poisoning — which can mean a hospital visit, lost wages, and days of illness.
Hard-boiled eggs and the same two-hour rule
Many people assume that because hard-boiled eggs are cooked, they can sit out longer than raw eggs. This is not true. Hard-boiled eggs follow the same two-hour rule as raw eggs. The cooking process kills most bacteria, but it does not make the egg immune to new bacterial growth once it cools and sits at room temperature.
Hard-boiled eggs also pick up bacteria from the water they were boiled in, from your hands, and from any surface they touch. Once they reach room temperature, those bacteria begin multiplying at the same rate as bacteria in a raw egg.
Store hard-boiled eggs in the refrigerator within two hours of cooking. Peeled or unpeeled, the rule is the same. In the refrigerator, a hard-boiled egg will keep for about three to four days.
Egg dishes with mayo, cream, or dairy are riskier
Deviled eggs, egg salad, and scrambled eggs mixed with cream or cheese have a shorter safe window than plain eggs. These dishes contain mayonnaise, sour cream, or other dairy products that support bacterial growth even faster than plain eggs do. The USDA recommends discarding these dishes after just one hour at room temperature, or 30 minutes if the room is above 90°F.
If you are bringing egg salad or deviled eggs to a picnic or potluck, keep them on ice or in an insulated cooler the entire time they are out of the refrigerator. Once the event is over, do not put them back in the refrigerator if they have been sitting out — throw them away.
How to tell if an egg has gone bad (and why you should not rely on it)
A bad egg may smell sulfurous or rotten, and the yolk or white may look discolored or slimy. But here is the catch: an egg can be unsafe to eat long before it shows any of these signs. Salmonella and Staph do not produce obvious odors or visible changes in most cases. You can eat a perfectly normal-looking, normal-smelling egg and still get food poisoning.
This is why the two-hour rule exists. It is a safety margin based on how fast bacteria grow, not on how well you can see or smell them. Never taste an egg to check if it is safe — that is how people get sick. If an egg has been out of the refrigerator for more than two hours (or one hour in heat), throw it away without tasting it.
Storing eggs properly to extend their refrigerator life
The best way to keep eggs safe is to store them in the refrigerator from the moment you bring them home. Keep them in their original carton on a shelf, not in the door. The door is the warmest part of the refrigerator because it opens and closes constantly, exposing eggs to temperature swings.
Raw eggs in the shell will keep for three to five weeks in the refrigerator. Hard-boiled eggs last three to four days. Raw egg whites and yolks (separated) keep for about four days. Once you crack an egg or cook it, use it within the timeframes above.
If you are unsure how long an egg has been in your refrigerator, write the date on the carton with a marker. This simple step removes the guesswork and helps you use eggs before they age past their peak.
Frequently Asked Questions
Can I eat an egg that was left out overnight?
No. An egg left out overnight has been in the danger zone for far longer than the safe two-hour window. Bacteria have multiplied to levels that can cause food poisoning. Discard it, even if it looks and smells normal.
What if I left eggs out for three hours by accident?
Throw them away. The two-hour rule is a safety boundary, not a suggestion. Once an egg has been out longer than that, the bacterial population is too large to risk eating, even if you cook it thoroughly afterward.
Do room-temperature eggs cook faster than cold eggs?
Yes, a room-temperature egg will cook slightly faster than one straight from the refrigerator. However, this does not change the two-hour rule for eggs that have already been left out. If an egg has been at room temperature for two hours, cooking it will not make it safe.
Is it safe to leave eggs out if I am going to cook them right away?
If you are cooking them within a few minutes, it is fine. The risk only becomes significant after about two hours. But if you crack an egg and then get distracted, the two-hour clock is still running.
Can I freeze an egg that has been left out?
No. Freezing does not kill bacteria; it only pauses their growth. An egg that has been left out too long and then frozen will still be unsafe to eat when thawed. Discard it instead.