How Long Can Cooked Food Sit Out?

Cooked food should go into the refrigerator or freezer within 2 hours of cooking. When the air is above 90°F (32°C), such as in a hot car or at a picnic, that window shrinks to 1 hour.

The basic limit

The FDA sets a 2-hour limit, counted from cooking or purchasing, for getting meat, poultry, eggs, seafood and other perishables into the refrigerator or freezer. When it is above 90°F (32°C) outside, the limit is 1 hour. The CDC's wording is that perishable food should never stay out longer than 2 hours, or 1 hour when it is exposed to temperatures above 90°F (32°C).

Cooked leftovers also count as perishable, along with meat, seafood, dairy and cut fruit, so the same clock runs on them. Speed is the stated reason: at room temperature the bacteria behind foodborne illness can double in number every 20 minutes, and food left standing for 2 hours or longer gives them the chance to multiply rapidly.

How the limit applies in common situations
SituationLimitSource
Cooked food on the counter or tableRefrigerate or freeze within 2 hours FDA
The same food when it is above 90°F (32°C) outsideRefrigerate within 1 hour FDA
Food in a hot car or at a picnicRefrigerate within 1 hour CDC
Leftovers from take-out or restaurant mealsInto the refrigerator within 2 hours at most FDA
Refrigerated food after a power lossSafe to eat if the refrigerator is still at or below 40°F (4°C), or the food was above 40°F (4°C) for only 2 hours or less FDA

Cooling leftovers quickly

  • Divide large batches of leftovers into shallow containers so they cool quickly in the refrigerator.
  • Do not wait for hot food to go cold first. Putting it in the refrigerator does not damage the appliance, and small portions of hot food chill faster.
  • Keep the refrigerator at 40°F (4°C) or below and the freezer at 0°F (-18°C) or below so the food stays out of the danger zone.
  • Keep leftovers covered or sealed in storage bags, and check them daily for spoilage.
  • Food businesses follow a written cooling schedule in the Food Code: cooked food moves from 135°F (57°C) to 70°F (21°C) within 2 hours, and to 41°F (5°C) or less within 6 hours in total. The Food Code is a model for retail and food service, so it is a standard for kitchens that serve the public.

Take-out, doggie bags and picnics

Carry-home food follows the same limit. Take-out and restaurant leftovers must reach the refrigerator in 2 hours or less, and the advice is to skip the doggie bag when the trip home will take longer than 2 hours after the meal.

The CDC gives a hot car or a picnic as examples of exposure above 90°F (32°C), where the food goes into the refrigerator within 1 hour.

When the time is up

Spoilage cannot be judged by eye: the FDA says food can make you very sick without looking, smelling or tasting spoiled. Its rule for questionable food is "when in doubt, throw it out." For a refrigerator that lost power, it says to throw food out when you cannot tell how long it sat above 40°F (4°C).

The FDA warns, in its thawing advice, that organisms in unrefrigerated food can make toxins that survive cooking, even when the food reaches temperatures that kill the bacteria themselves.

Reheating has limits as a rescue. The Food Code says proper reheating kills most organisms of concern but cannot inactivate some toxins, such as the one produced by Staphylococcus aureus.

Food safety

  • Perishable food at room temperature: refrigerate perishable food within 2 hours, or within 1 hour when it is above 90°F (32°C).
  • Refrigerator and freezer: keep the refrigerator at 40°F (4°C) or below and the freezer at 0°F (-18°C) or below.
  • Leftovers and casseroles (reheating): safe minimum internal temperature 165°F (74°C).

Questions people ask

Can cooked food sit out overnight?

The published limits are 2 hours, or 1 hour above 90°F (32°C), and none of the pages read for this guide allows longer. Overnight is far past both.

When does the 2-hour clock start?

The limit is worded as within 2 hours of cooking or purchasing. For restaurant meals, the advice is to skip the doggie bag when the trip home would take more than 2 hours after the meal.

Can I put hot food straight into the refrigerator?

Yes. Hot food in the refrigerator does not harm the appliance, and small portions chill faster. Dividing leftovers into shallow containers speeds cooling further.

How long can leftovers stay in the refrigerator?

The pages read for this guide give the sit-out limits but no day count for the refrigerator. They do say that even at the right temperature there are limits to how long food can be stored safely there, while food in the freezer stays safe indefinitely, though quality may suffer.

Does the same limit apply to raw food?

Yes. The limit is worded for raw meat, poultry, seafood, eggs and produce that needs refrigeration, with the shorter 1-hour limit when the air is above 90°F (32°C).

Does reheating fix food that sat out too long?

Not reliably. Proper reheating kills most organisms of concern, but some toxins, such as the one produced by Staphylococcus aureus, survive it.

Related pages

All guides

Sources

  1. U.S. Food and Drug Administration. Safe Food Handling. Accessed November 24, 2026.
  2. Centers for Disease Control and Prevention. Preventing Food Poisoning. Accessed November 24, 2026.
  3. U.S. Food and Drug Administration. Refrigerator Thermometers - Cold Facts about Food Safety. Accessed November 29, 2026.
  4. U.S. Food and Drug Administration. Food Code 2022: Recommendations of the United States Public Health Service. Accessed November 29, 2026.

By Cooking Timers editorial team. Last reviewed . How we verify cooking times.