Food storage article

How Long Can Food Sit Out Before It Becomes Unsafe?

Food can become unsafe faster than many people realize, especially when it sits in the temperature danger zone. Here is a simple guide to the 2-hour rule, the 1-hour hot-weather rule, and when food should be thrown away.

Quick answer: Perishable food should generally not sit out for more than 2 hours. If the temperature is above 90°F, the safer limit is 1 hour. Keep cold food at 40°F or below and hot food at 140°F or above when serving for longer periods.

The simple rule: 2 hours, or 1 hour in heat

For most perishable foods, the basic rule is easy to remember: do not leave them out at room temperature for more than 2 hours. If the food is outside, in a hot car, near a warm stove, or in any place above 90°F, reduce that limit to 1 hour.

This rule matters because bacteria can multiply quickly when food stays too long at unsafe temperatures. Once food has spent too much time in that range, putting it back in the refrigerator may not make it safe again.

Important: If perishable food has been left out beyond the safe time limit, do not taste it to decide. When in doubt, throw it out.

What is the temperature danger zone?

The temperature danger zone is the range where bacteria can grow quickly in perishable food. USDA guidance commonly identifies this danger zone as 40°F to 140°F.

That means food should either be kept cold enough, heated hot enough, or moved into the refrigerator or freezer before it has been sitting out too long.

At-a-glance food sit-out guide

Situation Safe timing guidance What to do
Perishable food at normal room temperature Up to 2 hours Refrigerate, reheat, serve safely, or discard before the time limit is passed.
Food above 90°F Up to 1 hour Use the shorter window for outdoor meals, picnics, parties, hot kitchens, and warm cars.
Cold food being served Keep at 40°F or below Use ice, chilled trays, small serving portions, or return food to the refrigerator.
Hot food being served Keep at 140°F or above Use slow cookers, warming trays, chafing dishes, or other safe hot-holding methods.
Leftovers after a meal Refrigerate within 2 hours, or 1 hour above 90°F Divide large amounts into shallow containers so they cool faster.

Which foods need this rule?

The 2-hour rule is most important for perishable foods. These are foods that usually need refrigeration for safety, especially after they are cooked, opened, cut, or prepared.

Common examples include:

  • Cooked meat, chicken, turkey, seafood, and casseroles
  • Cooked rice, pasta, beans, soups, stews, and meal prep dishes
  • Milk, soft cheeses, yogurt, cream-based dishes, and egg dishes
  • Deli meats, prepared salads, sandwiches, and takeout leftovers
  • Cut fruit, cut melon, cooked vegetables, and other prepared produce

What foods can sit out longer?

Some shelf-stable foods can sit out longer under normal conditions, as long as they stay clean, dry, and protected from contamination. Examples may include unopened canned goods, dry pasta, dry rice, crackers, sugar, flour, and many packaged pantry foods.

However, once a food is cooked, cut, mixed with perishable ingredients, opened when the label says to refrigerate after opening, or handled in a way that adds moisture or contamination, it may need refrigeration.

Helpful rule: If the food normally belongs in the refrigerator, treat it as perishable once it is being served or has been opened or prepared.

Does reheating make food safe again?

Reheating is important for safely prepared leftovers, but it is not a magic fix for food that has already been left out too long. Some bacteria can produce toxins or reach unsafe levels while food sits in the danger zone.

If the food has already passed the safe sit-out window, the safer choice is to discard it instead of reheating and serving it later.

What about parties, buffets, and holidays?

Large gatherings make the timing rule easier to forget because food may sit on the table while people eat slowly, talk, or come back for seconds. For a safer setup, serve smaller portions and keep extra food in the refrigerator or safely hot-held until needed.

Cold foods can be placed over ice or served in smaller bowls that are replaced often. Hot foods can be held in slow cookers, warming trays, or chafing dishes that keep food at 140°F or above.

How to handle takeout and delivery food

Takeout and delivery count toward the same time limits. The clock does not start only when the food reaches your table; it matters how long the food has been outside safe temperatures after cooking or preparation.

If you plan to save takeout leftovers, refrigerate them promptly. If delivery food will not be eaten right away, put it in the refrigerator instead of letting it sit on the counter.

How to cool leftovers safely

Leftovers should be refrigerated promptly and cooled quickly. Large pots of soup, trays of baked pasta, or big containers of meat can cool slowly if stored in deep containers. Divide large amounts into shallow containers so cold air can reach the food faster.

You do not need to leave food on the counter for a long time before refrigerating it. The bigger concern is letting perishable food remain in the danger zone too long.

When should food be thrown away?

  • It was left out for more than 2 hours at room temperature.
  • It was left out for more than 1 hour in temperatures above 90°F.
  • You do not know how long it has been sitting out.
  • It was served at a party or buffet without temperature control for too long.
  • It smells bad, looks moldy, feels slimy, or has an unusual texture.
  • The food is for someone at higher risk and you are unsure about its handling history.

Who should be extra careful?

Everyone benefits from safe food handling, but some people are more likely to get seriously sick from foodborne illness. Extra caution is especially important for young children, older adults, pregnant people, and people with weakened immune systems.

For higher-risk situations, it is better to be strict with time and temperature limits instead of trying to stretch food storage rules.

Best practices to remember

  1. Keep hot food hot: 140°F or above.
  2. Keep cold food cold: 40°F or below.
  3. Do not leave perishable food out for more than 2 hours.
  4. Use the 1-hour rule when the temperature is above 90°F.
  5. Refrigerate leftovers in shallow containers.
  6. Label leftovers so you know when they were stored.
  7. Throw food away when the timing or handling history is uncertain.

Bottom line

Perishable food should usually be refrigerated, reheated, safely held, or thrown away within 2 hours. In hot conditions above 90°F, use a 1-hour limit. The safest habit is to watch the clock, control the temperature, and avoid guessing when food has been sitting out too long.

Check storage times for common foods

Use the food storage checker to look up fridge, freezer, and pantry guidance for leftovers, cooked rice, raw meat, seafood, eggs, deli foods, and more.

Open the food storage checker