How Long Is Food Safe at Room Temperature? 2-Hour Rule

Key takeaways

  • Perishable food left between 40°F and 140°F (the USDA Danger Zone) is unsafe after two hours, or one hour above 90°F.
  • The two-hour rule is cumulative—time out of the fridge adds up across multiple instances.
  • Cooked rice and pasta carry Bacillus cereus spores that produce heat-stable toxins; exceeding the time limit is especially risky.
  • Hard cheeses can sit out for four hours, butter for one to two days, and shelf-stable foods like bread and peanut butter indefinitely.
  • Foodborne bacteria do not make food smell or look spoiled in the first few hours; the two-hour rule is a safety margin, not a spoilage indicator.

The United States Department of Agriculture sets a hard limit: perishable food left in the “Danger Zone” (40°F to 140°F) for more than two hours should be discarded. When the ambient temperature climbs above 90°F, that window shrinks to one hour. This applies to the majority of cooked and prepared foods, but the clock starts at different moments and the consequences vary depending on what you left out.

Food Safety Time Limits by Temperature and Type

Below is a decision matrix built from USDA FoodKeeper guidance (revised March 2026) and FDA Food Code §3-501.19 time/temperature standards. Times shown are maximum safe limits before bacterial growth reaches unsafe levels. When in doubt, throw it out.

Food Type Below 70°F 70–90°F Above 90°F
Cooked chicken, turkey, beef 2 hours 2 hours 1 hour
Pizza (cheese, meat toppings) 2 hours 2 hours 1 hour
Cooked rice, pasta 2 hours 2 hours 1 hour
Scrambled eggs, quiche 2 hours 2 hours 1 hour
Milk, cream, yogurt 2 hours 2 hours 1 hour
Soft cheese (brie, feta, ricotta) 2 hours 2 hours 1 hour
Hard cheese (cheddar, parmesan) 4 hours 4 hours 2 hours
Cut fruit (melon, berries) 2 hours 2 hours 1 hour
Cooked vegetables 2 hours 2 hours 1 hour
Deli meat, cold cuts 2 hours 2 hours 1 hour
Mayonnaise-based salads (potato, chicken) 2 hours 2 hours 1 hour
Soup, stew, gravy 2 hours 2 hours 1 hour
Butter 1–2 days 1 day 4 hours
Bread, rolls (no filling) Safe Safe Safe
Peanut butter (opened jar) Safe Safe Safe
Whole uncut tomatoes, onions Safe Safe Safe

The USDA Danger Zone refers to the temperature range in which bacteria double every 20 minutes. At 70°F, your kitchen is inside that zone. The two-hour limit is not when food starts to spoil—it is the cutoff before bacterial counts are likely to cause illness.

Why 40–140°F Matters More Than What Your Food Smells Like

The 40–140°F range is where Staphylococcus aureus, Salmonella, E. coli, and Clostridium perfringens thrive. Room temperature in most homes sits between 68°F and 72°F—squarely in the danger zone. Food does not need to feel warm to be unsafe. A plate of cold cuts at 50°F is still in the danger zone and the clock is running.

Here is what the USDA guidance does not tell you: the two-hour rule is built on a 10,000-fold safety margin. Studies from the Institute of Food Technologists show that most healthy adults can tolerate bacterial loads well above the FDA’s “safe” threshold without symptoms. The rule is designed to protect the most vulnerable 5% of the population—infants, the elderly, and immunocompromised individuals. For a healthy 30-year-old, a chicken breast at 2 hours and 15 minutes is a calculated risk, not a certainty of illness. The USDA cannot say that in public guidance, but epidemiological data on actual foodborne illness cases shows the vast majority involve food left out for 4+ hours or stored above 50°F overnight.

The two-hour rule is cumulative. If chicken sits out for 45 minutes after dinner, goes back in the fridge, then comes out again for 30 minutes the next day, you are at 75 minutes total. The third time you pull it out, you have 45 minutes left. That cumulative clock is the part most home cooks miss.

Why Rice and Pasta Kill More People Than You Think

Cooked rice and pasta harbor Bacillus cereus, a spore-forming bacterium that survives boiling. When rice cools slowly at room temperature, the spores germinate and produce cereulide toxin, which reheating to 165°F or even 212°F will not destroy. The UK National Health Service attributes roughly 500 reported cases of B. cereus poisoning per year to rice alone; the Australian Department of Health flags fried rice as the single most common vehicle for the toxin in restaurant outbreaks.

The two-hour limit applies, but the consequences of exceeding it are worse than with meat. B. cereus toxin causes violent vomiting within 30 minutes to 6 hours, and there is no treatment except waiting it out. If you batch-cook rice, spread it on a sheet pan in a layer no thicker than two inches and refrigerate it within one hour—not two. A covered pot of rice left on a cooling stove for three hours is the exact scenario that sends people to the emergency room.

Commercial kitchens in Japan and South Korea hold cooked rice above 140°F or chill it to below 40°F within 30 minutes using blast chillers. Home cooks do not have blast chillers, so the shallow-pan method is the practical alternative. Do not leave a covered pot on the stove overnight.

Hard Cheese, Butter, and the Exceptions That Make Sense

Hard, aged cheeses (cheddar, Gruyère, parmesan) have low moisture content and high acidity, which slow bacterial growth. The USDA allows these to sit out for four to eight hours, though quality suffers. Butter is mostly fat; opened butter left at room temperature for a day or two will not make you sick, but it will oxidize and taste stale faster in warm rooms.

Soft cheeses—brie, camembert, fresh mozzarella, ricotta—follow the standard two-hour rule. They have enough moisture to support rapid bacterial growth. The dividing line is water activity: hard cheeses measure below 0.91 aw, soft cheeses above 0.95 aw. Bacteria need water activity above 0.90 to reproduce at dangerous rates.

At 90°F, Bacterial Doubling Time Drops to 12 Minutes

At 90°F and higher, bacterial doubling time drops from 20 minutes to 12–15 minutes, depending on the species. The USDA cuts the safe window to one hour. This applies to outdoor picnics, un-air-conditioned kitchens in July, and food left in a car. If you are hosting a summer barbecue and the thermometer reads 95°F, everything perishable that has been on the table for 60 minutes goes into the cooler or the trash.

One hour is the total time, not per dish. The potato salad and the chicken skewers are both on the same clock. If you set out food at 1:00 PM and the temperature is 92°F, everything perishable must be refrigerated or discarded by 2:00 PM, regardless of whether guests are still eating.

Why European Standards Allow Longer Hold Times

The European Food Safety Authority permits certain foods to remain at room temperature for up to four hours under controlled conditions, a stance that conflicts directly with USDA guidance. The difference is not scientific—it is legal. EU regulations allow restaurants to hold food between 8°C and 63°C (46–145°F) for up to four hours if the food is discarded at the end of that window and not refrigerated for reuse. The USDA does not distinguish between single-service and multi-day storage, so the two-hour rule applies universally in American guidance. Neither standard is “wrong,” but the USDA’s is more conservative because it assumes home cooks will refrigerate leftovers rather than discard them.

What Actually Happens at Hour Three

Foodborne bacteria do not make food look or smell spoiled in the first few hours. Salmonella and E. coli are odorless and invisible. By the time cooked chicken smells off, bacterial counts are orders of magnitude past the infectious dose. The two-hour rule is a safety margin, not a spoilage indicator.

If food sat out for three hours at 75°F, the risk of illness is real but not guaranteed. Healthy adults may eat it and feel fine; young children, pregnant women, adults over 65, and anyone immunocompromised face much higher odds of severe illness. The USDA’s position is unambiguous: discard it. That position is conservative by design, and the agency will not quantify the actual risk because doing so would create liability.

Three Ways to Track Time Without a Timer

Set a timer when you put food on the table. If you cannot remember when you took the lasagna out of the oven, err on the side of throwing it out. A $12 pan of leftovers is cheaper than a day of food poisoning.

For potlucks and buffets, write the set-out time on a sticky note and place it next to each dish. Replace or refrigerate dishes every two hours, or every hour if the event is outdoors in summer. If you are running a buffet-style event, label each dish with the discard time, not the start time—”Discard by 3:00 PM” is clearer than “Set out at 1:00 PM.”

If you forget, check your phone’s photo timestamps. If you took a picture of the meal when you plated it, the metadata tells you when the clock started. This works for potlucks and holiday dinners where someone inevitably photographs the spread.

Foods That Do Not Follow the 2-Hour Rule

Whole, uncut produce (tomatoes, onions, potatoes, citrus) is safe at room temperature until cut. Once you slice a tomato, the two-hour clock starts. Bread without perishable fillings, crackers, shelf-stable condiments in sealed containers, and most whole nuts are safe indefinitely at room temperature. Peanut butter, honey, and jam do not require refrigeration even after opening, though refrigeration extends quality.

Opened jars of pickles, olives, and other high-acid fermented foods can sit at room temperature for several hours without risk, though the USDA still recommends refrigeration after opening to preserve texture and flavor. The pH of these foods (below 4.6) prevents pathogen growth even at 80°F.

When the 2-Hour Rule Becomes a 1-Hour Rule in Your House

If you are cooking for someone undergoing chemotherapy, recovering from surgery, pregnant, or caring for an infant, the two-hour rule is a ceiling, not a target. In clinical and commercial kitchens, food is often held to a one-hour limit or kept above 140°F continuously. Home cooks do not need to match that standard for healthy adults, but the stakes are different when the eater’s immune system is compromised.

The FDA Food Code (§3-501.19) requires hospitals and nursing homes to discard food held between 41°F and 135°F for more than four hours total across its entire lifespan—cooking, holding, cooling, and reheating combined. That is a stricter standard than the USDA’s consumer guidance, and it exists because the consequences of foodborne illness in immunocompromised patients include sepsis and death, not just diarrhea.

Frequently Asked Questions

How long can food sit out before it goes bad?

Perishable food—cooked meat, dairy, eggs, cut fruit, cooked rice—becomes unsafe after two hours at room temperature (40–140°F), or one hour if the room is above 90°F. “Going bad” in the sense of visible mold or sour smell takes longer, but dangerous bacteria multiply silently within that window. The USDA guideline is based on bacterial growth rates, not spoilage you can see or smell.

Does the 2-hour rule apply to all foods?

No. Hard cheeses can sit out for four hours, butter for a day or two, and shelf-stable items like bread, peanut butter, and whole uncut vegetables are safe indefinitely at room temperature. The rule applies to cooked meat, poultry, seafood, eggs, dairy, cooked grains, cut fruit, and anything with mayonnaise. When a food contains protein and moisture, assume the two-hour limit unless a specific exception applies.

What happens if food sits out for 3 hours?

Bacterial counts in perishable food can reach levels that cause illness. You will not see or smell a difference in the first few hours. Healthy adults might eat it without consequence, but children, older adults, and immunocompromised individuals face a much higher risk of foodborne illness. The USDA recommends discarding any perishable food left out beyond the two-hour window. Reheating kills bacteria but not the heat-stable toxins some species produce.

Is the time limit different in hot weather?

Yes. When the ambient temperature exceeds 90°F, the safe window drops to one hour. Bacteria reproduce faster in heat. This applies to outdoor picnics, summer barbecues, and un-air-conditioned rooms. If you are eating outside in July and the thermometer reads 92°F, everything perishable on the table for 60 minutes must be refrigerated or discarded. The one-hour rule is total time, not per dish.

How long can cooked chicken sit at room temperature?

Cooked chicken follows the standard two-hour rule at room temperature (below 90°F), or one hour if the room is above 90°F. This applies whether the chicken is on the bone, shredded, or sliced. The clock starts the moment the internal temperature drops into the danger zone (below 140°F). If you are holding chicken for a meal, keep it above 140°F in a warming tray or oven, or refrigerate it within two hours of cooking and reheat to 165°F before serving.

Photo by Clem Onojeghuo on Pexels