How Long Eggs Stay Safe at Room Temperature
Eggs can sit out safely for up to two hours at room temperature, or one hour if the room is above 90°F
Once an egg leaves the refrigerator, bacteria begin to multiply inside the shell. The two-hour window is the standard safety guideline from the USDA and FDA because it marks the point where bacterial growth becomes risky. If your kitchen is warm—above 90°F—that window shrinks to one hour. After that time, the risk of foodborne illness from bacteria like Salmonella rises enough that the eggs should be thrown away, not cooked and eaten.
This applies to raw eggs and cooked eggs equally. A hard-boiled egg left on the counter follows the same rules. The shell does not protect the inside from bacteria that have already begun multiplying in the moist environment inside the egg. Temperature is what slows bacterial growth, and room temperature does not slow it enough.
Key Takeaways
- Raw or cooked eggs left at room temperature for more than two hours (or one hour above 90°F) should be discarded, not eaten.
- The danger comes from bacteria multiplying inside the egg, not from the shell cracking or the egg looking bad.
- Eggs in the shell are not safer than cracked eggs once they have been at room temperature—bacteria grow inside either way.
- If you are unsure how long eggs have been out, throw them away; the cost of an egg is far less than the cost of food poisoning.
- Refrigeration slows bacterial growth dramatically, which is why eggs stored at 40°F or below last three to five weeks.
Why the two-hour rule matters for eggs specifically
Eggs are a high-protein food, and bacteria thrive on protein in warm, moist environments. The inside of an egg—whether raw or cooked—is exactly that kind of environment. Salmonella, the bacterium most commonly associated with eggs, does not make the egg smell bad or look different. You cannot tell by sight or smell that bacteria have multiplied to dangerous levels. This is why time and temperature are your only reliable guides.
The shell itself does not keep bacteria out once the egg has warmed up. In fact, eggs are porous—bacteria can move through the shell if conditions are right. Refrigeration works because cold temperatures slow bacterial reproduction to a crawl. At 40°F, the bacteria that might be present grow so slowly that eggs remain safe for weeks. At room temperature, the same bacteria can double in number every 20 minutes or so.
What counts as "room temperature" and when the clock starts
Room temperature means anywhere between 68°F and 72°F in most homes. The two-hour rule applies from the moment the egg leaves the refrigerator—not from when you crack it or cook it. If you take eggs out to make breakfast and leave them on the counter while you prepare other ingredients, that time counts. If you hard-boil eggs and forget them on the cooling rack, the clock started when you removed them from the hot water.
The one-hour rule kicks in when the temperature reaches 90°F or higher. This matters most in summer, in kitchens without air conditioning, or during outdoor events. If you are at a picnic or farmers market where eggs are displayed without refrigeration, assume they have already been out for some time before you buy them. Use them the same day, and refrigerate them as soon as you get home.
Cooked eggs and the same safety rules
Hard-boiled eggs, scrambled eggs, and fried eggs all follow the two-hour rule. Many people assume cooked eggs are safer because they have been heated, but cooking kills bacteria that are present at the time of cooking—it does not prevent new bacteria from growing afterward. Once a cooked egg cools to room temperature, bacterial growth resumes at the same rate as with raw eggs.
If you cook eggs for meal prep and plan to eat them over several days, refrigerate them within two hours of cooking. Cooked eggs stored in the refrigerator at 40°F or below last three to four days. Label them with the date so you know when they were cooked. If you are unsure whether cooked eggs have been refrigerated the whole time, discard them.
Eggs in dishes and mixed foods
Dishes that contain eggs—like quiche, custard, potato salad with mayo, or casseroles—follow the same two-hour rule. The presence of other ingredients does not change how fast bacteria grow in the egg component. Potato salad made with mayonnaise and hard-boiled eggs is particularly risky because mayo is also a high-protein, high-moisture food that bacteria love.
If you have made a dish with eggs and left it on the counter during a meal, set a timer for two hours. When the timer goes off, refrigerate what is left. If you cannot remember when you made the dish, err on the side of caution and throw it away. Food poisoning is not worth the gamble.
Transporting eggs and keeping them cool
If you are bringing eggs somewhere—to a potluck, a picnic, or a camping trip—keep them in a cooler with ice packs or frozen gel packs. The goal is to keep them at 40°F or below for as long as possible. Once you arrive at your destination, keep the cooler closed until it is time to serve. If the event lasts more than two hours and the eggs are not in a cooler, do not eat them.
For short trips to the grocery store or farmers market, eggs in a paper carton or basket can stay safe in a cool car. But if you are running errands for an hour or more on a hot day, bring a small cooler. Eggs are inexpensive insurance against a day spent sick.
When to throw eggs away and when to keep them
Throw eggs away if: they have been at room temperature for more than two hours (one hour if it is above 90°F); you are unsure how long they have been out; they are part of a dish that has been sitting unrefrigerated; or they smell sulfurous or off in any way. A cracked shell is not automatically a reason to discard a raw egg if it has been refrigerated the whole time, but if a cracked egg has been at room temperature, throw it away.
Keep eggs if: they have been refrigerated the whole time and are within three to five weeks of purchase (for raw eggs) or three to four days of cooking (for cooked eggs); they are clean and the shell is intact; and they smell normal. Store them in the coldest part of your refrigerator, usually the back of a shelf rather than the door, where temperature fluctuates more.
Frequently Asked Questions
Can I eat an egg that sat out overnight?
No. An egg left at room temperature overnight has been in the danger zone for far longer than two hours. Bacteria have multiplied to levels that can cause food poisoning. Throw it away, even if it looks and smells normal.
Does washing an egg make it safer to leave out?
No. Washing removes dirt from the outside but does not stop bacteria from growing inside the egg. The two-hour rule still applies. In fact, washing can sometimes introduce bacteria into the shell if you use contaminated water, so wash eggs only if they are visibly dirty, and do it right before cooking.
Are room-temperature eggs safer if they are still in the shell?
No. The shell does not protect the inside from bacterial growth once the egg has warmed up. Cracked eggs and whole eggs follow the same two-hour rule. The shell is porous and does not create a barrier against bacteria multiplying inside.
What if I cooked eggs and forgot about them for three hours?
Throw them away. Cooked eggs left at room temperature for three hours have been in the bacterial growth zone for well over the safe limit. Do not taste them first—bacteria do not change the flavor or smell of eggs at dangerous levels.
Can I refrigerate eggs that have been out for an hour and a half?
Yes. Refrigerating eggs stops bacterial growth, so if you catch them within the two-hour window, put them in the fridge. They are still safe to eat. Refrigeration does not reverse bacterial growth that has already happened, but it prevents further multiplication.