How Long Can Food Sit Out?
Perishable food can sit out for 2 hours, and only 1 hour once the room is above 90°F. The clock runs between 40°F and 140°F, the range where bacteria double about every 20 minutes. Bread, cookies and whole fruit are exempt. Chilling food after the window never fixes it, so the USDA advice is to throw it out.
| Time out so far | |
| Safe window at this temperature | |
| Verdict | |
| Time left to be safe |
Enter how long your food has been out and how warm the room is, and see whether it is still inside the USDA 2-hour safety window.
Key takeaways
- Perishable food gets 2 hours at room temperature, and 1 hour above 90°F
- The danger zone is 40°F to 140°F, where bacteria roughly double every 20 minutes
- Meat, eggs, dairy, cooked rice, cut fruit and creamy salads all count as perishable
- Bread, cookies, crackers and whole fruit are shelf-stable, so no clock applies
- Reheat leftovers to 165°F and eat them within 3 to 4 days
On this page
The 2-hour rule, in plain terms
The USDA food safety rule is short. Perishable food can sit at room temperature for up to 2 hours. After that, refrigerate it or throw it away. When the air temperature is above 90 F, the safe window drops to 1 hour.
The rule exists because of bacteria. Between 40 F and 140 F, the range food safety experts call the danger zone, bacteria multiply fast. Two hours is the point where enough of them can build up to make a healthy person sick. Above 90 F, the heat speeds that growth, so the safe window halves.
This applies to meat, poultry, fish, eggs, dairy, cooked rice, casseroles, cut melon and anything with a creamy dressing or filling. It does not apply to shelf-stable foods like bread, cookies, crackers, chips and whole fruit, which can sit out far longer. The calculator above checks your time and temperature against the rule and tells you whether the food is still safe.
What counts as perishable food
The 2-hour rule only matters for food that can grow bacteria. Sorting your spread into two groups makes the whole thing simple.
- Perishable, follow the rule: raw and cooked meat, poultry, seafood, eggs and egg dishes, milk and cheese, yogurt, cooked rice and pasta, potato and pasta salad, casseroles, cut fruit and vegetables, and anything with mayonnaise or cream.
- Shelf-stable, no clock: bread, crackers, cookies, chips, pretzels, nuts, whole fruit, whole vegetables, honey, jam and vinegar-based pickles.
A few items sit in between. A butter-based cake with no cream is fine for hours. A cream cheese frosting is not. A jar of opened mayonnaise is acidic enough to be shelf-stable, but a bowl of potato salad made with it is not, because the potatoes and the moisture give bacteria a place to grow.
When you are not sure which group an item belongs to, ask whether it would spoil on a warm counter. If it would, treat it as perishable and start the clock the moment it comes out of the fridge or off the heat.
Worked example: a picnic at 95 F
Say you set out a potluck at 1:00 pm on a 95 F day and you are deciding what to keep at 2:15 pm.
- Temperature is above 90 F, so the safe window is 1 hour.
- By 2:00 pm the food had been out for 1 hour, which is the limit.
- At 2:15 pm, potato salad, deviled eggs, sliced ham and the creamy coleslaw have all been out for 1 hour and 15 minutes, which is past the window.
The shelf-stable items are a different story. The bread, the chips and the cookies can stay out. The cut watermelon cannot, because once you cut it, it becomes perishable and the 1-hour limit applies.
Here is the part people resist: moving the salads into the fridge at 2:15 does not rescue them. The bacteria have already grown. The USDA advice is to throw the food out. On a hot day, the safer plan is to set out small portions and keep the rest in a cooler, refilling as you go. That way nothing crosses the 1-hour mark.
The clock on common foods
This table shows how long different foods can stay out, based on the USDA rule. The limit depends on the air temperature, not the food, so the last two columns are the ones to read.
| Food | Under 90 F | Above 90 F |
|---|---|---|
| Cooked meat, poultry, fish | 2 hours | 1 hour |
| Egg dishes and casseroles | 2 hours | 1 hour |
| Milk, cheese, yogurt | 2 hours | 1 hour |
| Cooked rice and pasta | 2 hours | 1 hour |
| Cut fruit and vegetables | 2 hours | 1 hour |
| Bread, cookies, crackers | No limit | No limit |
| Whole fruit | No limit | No limit |
After the food is chilled, most cooked leftovers keep for 3 to 4 days in the fridge, and reheat to 165 F. The USDA page on handling take-out and leftover food covers the 2-hour rule and the 4-day limit together.
The danger zone: 40 F to 140 F
The 2-hour rule is a rule about temperature. Bacteria that cause food poisoning grow fastest between 40 F and 140 F. Inside that band they can double roughly every 20 minutes, so a small number becomes a large number in a few hours.
Cold slows them down. Your fridge should hold 40 F or below, and the freezer should be at 0 F. Heat above 140 F stops them, which is why hot food on a buffet is kept hot rather than just warm. The safest setup at a party is to keep cold food on ice and hot food in a chafing dish, so nothing sits in the middle.
A food thermometer removes the guesswork. Keep one in the fridge to confirm it holds 40 F, and use a probe thermometer to check that reheated leftovers reach 165 F. The FDA guide to cutting food waste safely explains how to tell the difference between food you can save and food you should toss, and the CDC food safety pages walk through the four steps of clean, separate, cook and chill.
What to do when food has sat out too long
If the calculator says your food is past the window, the safe answer is to throw it out. That is a hard rule to follow when the food looks and smells fine, but looks are not a test. The bacteria that cause most food poisoning do not change the taste, smell or texture of food.
A few practical habits cut down on waste without taking a risk.
- Chill fast. Split big pots of soup or chili into shallow containers so they cool quickly. A deep pot can sit warm for hours in the fridge.
- Serve in smaller amounts. Put out what people will eat in an hour, and keep the rest cold or hot until you refill.
- Use a cooler for the drive. Food on the way home from the store or a party counts toward the clock.
- Label and date leftovers. Eat them within 3 to 4 days, and reheat to 165 F.
If you are ever unsure whether an item crossed the line, the cost of tossing it is small next to a day or two of food poisoning. When in doubt, throw it out.
Frequently asked questions
How long can food sit out at room temperature?
Two hours for perishable food, according to the USDA. That covers meat, poultry, eggs, dairy, cooked rice, cut fruit and casseroles. After 2 hours in the danger zone, bacteria can multiply to levels that make the food unsafe, so the rule is to refrigerate it or throw it out.
What is the 2-hour rule in food safety?
It is the USDA guidance that perishable food should not sit in the temperature range of 40 F to 140 F for more than 2 hours. Above 90 F, the limit drops to 1 hour because bacteria multiply faster in the heat.
Is food safe if it sat out for 3 hours?
No. Three hours is past the 2-hour limit at room temperature, and the USDA advice is to discard the food rather than risk it. Cooking it later does not undo the toxins some bacteria leave behind, so the safe choice is to toss it.
Can I put food back in the fridge after 2 hours?
No. Once perishable food has been out more than 2 hours, or 1 hour above 90 F, refrigerating it does not make it safe again. The bacteria have already multiplied. Throw the food away.
How long can pizza sit out?
Two hours at room temperature, or 1 hour if the room is above 90 F. Pizza with meat toppings counts as perishable, so the 2-hour clock applies. After that, the USDA advice is to discard it.
How long can food sit out at 90 degrees?
One hour. At 90 F and above, the USDA cuts the safe window in half because warm air speeds up bacterial growth. A summer picnic at 95 F gives perishable food only 1 hour before it should be refrigerated or tossed.
Does the 2-hour rule apply to bread and cookies?
No. The USDA lists cookies, crackers, bread and whole fruit as exceptions. These are shelf-stable and do not need refrigeration within 2 hours. Anything with meat, eggs, dairy or a creamy filling does fall under the rule.
How long can cooked rice sit out?
Two hours, then refrigerate it. Cooked rice can grow Bacillus cereus, which survives reheating. Get rice into the fridge within 2 hours, or within 1 hour if the room is above 90 F, and eat leftovers within 3 to 4 days.
How long can food sit out in a slow cooker on warm?
A slow cooker on the warm setting holds food near 165 F to 175 F, which is above the danger zone, so the 2-hour clock does not run. Once you turn it off, start the clock. Food left on warm for more than 2 hours can dry out, but it stays safe.
How long do leftovers last in the fridge?
Three to four days for most cooked leftovers, according to the USDA. Reheat them to 165 F before eating. If you are unsure how long they sat out before they were chilled, the 2-hour rule decides whether they are safe to keep at all.
Does reheating food kill the bacteria?
Reheating to 165 F kills most live bacteria, but it does not remove the toxins some bacteria produce while the food sits out. That is why the 2-hour rule is about prevention, not about fixing food after the fact.
What temperature is the danger zone?
The danger zone is 40 F to 140 F. In that range bacteria multiply fastest, roughly doubling every 20 minutes in ideal conditions. Keep cold food below 40 F and hot food above 140 F to stay out of it.
Spotted a wrong number or a broken result?
More Kitchen tools
- Air Fryer Conversion Calculator
- Air Fryer Time and Temperature Calculator
- Air Fryer to Oven Converter
- Alcohol Dilution Calculator
- BBQ Grill Size Calculator
- BBQ Party Calculator
- Baby Milk Intake Calculator
- Baking Powder Substitute Calculator
- Bread Hydration Calculator
- Bread Machine Recipe Ratio Calculator
- Bread Spread Calculator: Butter and Cream Cheese
- Brine Calculator
- Brown Sugar Cups to Grams
- Brown Sugar Substitute Calculator
- Butter Calculator
- Butter Stick to Grams Converter
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.