Two hours. That is the answer for eggs left at room temperature, whether they are raw, hard-boiled, or part of a dish. The clock starts the moment you take them out of the refrigerator, not when you notice them sitting on the counter.
This two-hour rule comes from food safety guidance used by public health agencies, including the USDA. It applies to the eggs themselves and to any food made with them, like egg salad or a quiche. Once that window closes, bacteria can multiply to levels that make the food risky to eat, and you cannot see, smell, or taste the difference.
There is one important exception. When the outdoor temperature is above 90°F (32°C), the safe window shrinks to one hour. This matters for picnics, cookouts, and any food left in a hot car.
Why Do Eggs Have a Two-Hour Limit?
Bacteria multiply fastest in the temperature range between 40°F and 140°F (4°C and 60°C). Food safety professionals call this the “danger zone.” Eggs are a protein-rich, moist food, which makes them a favorable environment for bacterial growth once they warm up.
The main concern is Salmonella. This bacterium can be present on eggshells and, less commonly, inside eggs themselves. The CDC estimates that Salmonella causes about 1.35 million infections in the United States each year, though not all of these come from eggs. When eggs sit in the danger zone, any Salmonella present can multiply. Cooking kills the bacteria, but if the egg is already heavily contaminated or if it is eaten raw or undercooked, the risk rises.
Refrigeration slows bacterial growth dramatically. That is why eggs are stored cold from the moment they are purchased. The two-hour rule is not about freshness in the culinary sense. It is about safety. An egg can look and smell perfectly fine after three hours on the counter and still carry enough bacteria to make someone sick.
Does It Matter If the Eggs Are Raw or Cooked?
The two-hour rule applies to both, but the reasons differ slightly.
Raw eggs in the shell have natural defenses. The shell and inner membranes help keep bacteria out. But once an egg is cracked, those defenses are gone. A cracked raw egg left out will allow bacteria to grow on the exposed contents. Raw eggs also carry the same Salmonella risk as cooked ones if they are not handled properly.
Hard-boiled eggs are a different case. Boiling removes the protective coating on the shell, which is called the bloom. That coating normally helps seal the shell against bacteria. Without it, hard-boiled eggs are more vulnerable to contamination than raw eggs in the shell. This is why hard-boiled eggs should be refrigerated within two hours of cooking and eaten within about one week.
Cooked egg dishes, like scrambled eggs, omelets, frittatas, and egg salad, follow the same two-hour rule. If a dish contains eggs and has been sitting out, treat it the same way. Do not assume that because it was cooked, it is safe indefinitely.
What About Eggs Left in a Hot Car or at a Picnic?
When the temperature is above 90°F, the safe window drops to one hour. This is not a suggestion. It reflects how quickly bacteria multiply in warm conditions.
A car interior can reach well above 90°F even on a mild day. If you leave eggs in a hot car while running errands, the one-hour rule applies. The same goes for a picnic table in direct summer sun.
For potlucks and outdoor gatherings, keep egg dishes on ice or in a cooler until serving. Do not leave them out for the duration of the event. If you are unsure how long something has been sitting out, the safest choice is to throw it away. The cost of wasted food is lower than the cost of a foodborne illness.
Can You Put Eggs Back in the Fridge After They Sit Out?
No. Once eggs have been at room temperature for more than two hours, putting them back in the refrigerator does not make them safe again. Refrigeration slows bacterial growth, but it does not reverse it. The bacteria that multiplied during those hours are still there.
This is a common misunderstanding. Some people think that if they catch the mistake quickly enough, chilling the eggs will “reset” them. It will not. The two-hour mark is a threshold, not a suggestion that can be undone.
If the eggs were out for less than two hours, they can go back in the fridge. If they were out longer, discard them. This applies to raw eggs, hard-boiled eggs, and egg dishes alike.
How Should You Store Eggs to Maximize Safety?
Keep eggs refrigerated at 40°F (4°C) or below. In the United States, commercially sold eggs are washed before packaging, which removes the protective bloom and makes refrigeration necessary. This is different from many other countries, where eggs are often stored at room temperature because they are not washed.
Store eggs in their original carton on a shelf inside the refrigerator, not in the door. The door is the warmest part of the fridge and fluctuates in temperature each time it opens. The carton also protects eggs from absorbing odors from other foods.
Here is a quick reference for egg storage:
- Raw eggs in the shell: refrigerate at 40°F or below; use within 3 to 5 weeks of purchase
- Hard-boiled eggs: refrigerate within 2 hours of cooking; use within 1 week
- Egg dishes (casseroles, quiche): refrigerate within 2 hours; use within 3 to 4 days
- Leftover egg salad: refrigerate within 2 hours; use within 3 to 5 days
- Eggs left out at room temperature: discard after 2 hours (1 hour if above 90°F)
These timelines are general guidance from food safety agencies. They assume proper refrigeration and handling. If you are ever uncertain about how long something has been out, err on the side of caution.
What Are the Symptoms of Egg-Related Food Poisoning?
If you eat an egg that has been left out too long, you may develop food poisoning. The most common symptoms are nausea, vomiting, diarrhea, and abdominal cramps. These typically appear within 6 hours to 6 days after eating contaminated food, depending on the organism involved.
For most healthy adults, food poisoning from eggs is unpleasant but not life-threatening. It usually resolves on its own within a few days. Hydration is important. Seek medical care if you have severe symptoms, bloody diarrhea, a high fever, or signs of dehydration.
Some people are at higher risk for serious illness. This includes adults over 65, children under 5, pregnant women, and anyone with a weakened immune system. For these groups, Salmonella infection can be more severe and may require medical treatment.
Does Cooking Eggs Make Them Safe to Leave Out Longer?
Cooking kills Salmonella and other bacteria present in eggs. But it does not make the food safe to leave out indefinitely. Once cooked, eggs can be recontaminated by bacteria in the environment, and any surviving bacteria can multiply during the time the food sits in the danger zone.
The two-hour rule still applies. Cooked eggs left out for more than two hours should be discarded. This is true even if they were fully cooked and even if they were cooked at a high temperature.
One more point: cooking does not destroy all bacterial toxins. Some bacteria produce heat-stable toxins that survive cooking. This is another reason why the two-hour rule matters regardless of how the eggs were prepared.
How Long Can Eggs Sit Out? A Quick Summary
Two hours at room temperature. One hour if the temperature is above 90°F. This applies to raw eggs, hard-boiled eggs, and any dish made with eggs. After that window, the risk of foodborne illness rises, and refrigeration will not make the food safe again.
If you are ever unsure, throw it out. That is the guidance from food safety agencies, and it is the safest approach for you and your family.
Frequently Asked Questions
How long can eggs sit out at room temperature?
Eggs should not be left at room temperature for more than two hours. After that, bacteria can multiply to levels that may cause food poisoning.
Can I put eggs back in the fridge after they sit out for three hours?
No. Once eggs have been out for more than two hours, refrigeration will not make them safe to eat. Discard them instead.
Do hard-boiled eggs have the same two-hour rule?
Yes. Hard-boiled eggs are actually more vulnerable to bacteria because boiling removes the shell’s protective coating. Refrigerate them within two hours of cooking.
What if the eggs were left out but still smell fine?
Smell is not a reliable indicator of safety. Bacteria that cause food poisoning can be present without any visible or olfactory signs. Follow the two-hour rule regardless.

