Skip to main content

How Long Cooked Food Stays Safe in Your Refrigerator

The Basic Rule: Three to Four Days for Most Cooked Foods

Most cooked foods are safe to eat for three to four days when stored in the refrigerator at 40°F or below. This window applies to cooked chicken, beef, pork, vegetables, rice, pasta, and most prepared dishes. The clock starts the moment the food cools to room temperature and goes into the fridge — not when you cooked it.

The reason for this timeframe is bacterial growth. Even at refrigerator temperature, bacteria multiply slowly but steadily. After three to four days, the bacterial load reaches a point where the risk of foodborne illness rises noticeably. Some foods spoil faster because of their moisture content or ingredients; others last slightly longer because they're more acidic or have natural preservatives.

The safest approach is to eat cooked food within three days. If you're uncertain whether something is still good on day four, the general rule is: when in doubt, throw it out. Foodborne illness is not worth the risk, and the cost of replacing food is far less than a trip to urgent care.

Key Takeaways

  • Most cooked foods last three to four days in a refrigerator kept at 40°F or below, with the timer starting when the food cools and is stored.
  • Soups, stews, and gravies can last up to four days because their liquid content and cooking method kill more bacteria, but ground meat dishes should be eaten within three days.
  • Store cooked food in shallow, airtight containers within two hours of cooking to slow bacterial growth and prevent cross-contamination with raw foods.
  • Freeze cooked food within three to four days if you want to keep it longer; most cooked foods remain safe in the freezer for two to three months.
  • Reheat leftovers to 165°F before eating to kill any bacteria that may have grown during storage.

Which Cooked Foods Last Longer or Shorter

Not all cooked foods follow the three-to-four-day rule exactly. Soups, stews, and gravies often last the full four days or even slightly longer because the liquid environment and the cooking process kill more bacteria, and the liquid itself slows new bacterial growth. Cooked vegetables alone — carrots, broccoli, green beans — can last three to five days if stored properly in an airtight container.

Ground meat dishes — hamburger, ground turkey, ground chicken — should be eaten within three days, not four. Ground meat has more surface area exposed during cooking, which means more opportunity for bacteria to survive the cooking process. The same applies to cooked poultry that has been shredded or chopped.

Cooked whole pieces of meat — a roasted chicken breast, a steak, a pork chop — can sometimes last up to four days if they were cooked thoroughly and stored immediately. However, if the meat was cooked rare or medium-rare, eat it within two days. Undercooked meat harbors more bacteria, and the cold refrigerator slows but does not stop their growth.

Cooked rice and pasta last three to four days if stored in airtight containers. Rice is particularly prone to a bacterium called Bacillus cereus, which produces spores that survive cooking. These spores can germinate during storage, so rice should be cooled quickly and refrigerated within two hours. Reheating rice thoroughly before eating kills most of these bacteria, but the safest approach is to eat it within three days.

How to Store Cooked Food So It Lasts as Long as Possible

The way you store cooked food directly affects how long it remains safe. Cool the food first, but do not leave it sitting on the counter for more than two hours. Bacteria multiply fastest between 40°F and 140°F — the "danger zone." If the room is warm (above 70°F), cut this time to one hour. You can speed cooling by spreading food on a shallow plate or dividing it into smaller portions.

Use shallow, airtight containers rather than deep ones. Shallow containers cool faster and allow cold air to circulate around the food more evenly. Airtight containers prevent the food from absorbing odors from other items in the fridge and stop moisture loss, which keeps the food from drying out. Glass containers with locking lids work well; so do disposable takeout containers with fitted lids.

Store cooked food on the middle or lower shelves of your refrigerator, never on the top shelf. Cold air sinks, so the bottom is coldest. Storing cooked food below raw meat, poultry, or seafood prevents drips from contaminating your leftovers. If you do not have space, keep raw foods in a separate drawer or on the lowest shelf.

Label containers with the date you stored the food, using a permanent marker or a piece of tape. This removes guesswork and helps you use older food first. If you are not sure what something is, do not eat it.

When to Freeze Instead of Refrigerate

If you know you will not eat the cooked food within three to four days, freeze it instead. Freezing stops bacterial growth almost entirely. Most cooked foods remain safe in the freezer for two to three months, though quality (texture, flavor) may decline after that point.

Freeze cooked food in the same shallow, airtight containers you would use for the refrigerator. Leave a small amount of headspace — about half an inch — because food expands as it freezes. Flat containers or freezer bags take up less space and thaw faster than tall containers. Label everything with the contents and the date you froze it.

Thaw frozen cooked food in the refrigerator overnight, never on the counter. Thawing on the counter brings the food back into the danger zone, where bacteria can multiply again. Once thawed, eat the food within one to two days. Do not refreeze cooked food after it has thawed, because thawing allows bacteria to multiply, and refreezing does not kill them.

Signs That Cooked Food Has Gone Bad

Before you eat leftovers, check for obvious signs of spoilage. Smell is the most reliable indicator. If the food smells sour, off, or simply wrong, do not eat it. Trust your nose — it is detecting volatile compounds produced by bacteria and mold.

Look for visible mold, which appears as fuzzy growth, usually green or white. Mold can grow on the surface or throughout the food, and some molds produce toxins that cooking will not destroy. If you see mold, throw the entire container away; do not try to cut it off.

Unusual texture or color is also a warning sign. Cooked chicken that has turned gray, rice that feels slimy, or vegetables that have become mushy beyond what you would expect are all signs of bacterial growth or mold. When in doubt, throw it out.

Reheating Leftovers Safely

Reheating does not make unsafe food safe, but it does kill bacteria that have grown during storage — if you reheat to the right temperature. Reheat all leftovers to 165°F before eating, measured with a food thermometer in the thickest part of the food. This temperature kills most bacteria that cause foodborne illness.

Reheat in the oven, stovetop, or microwave — the method does not matter as long as you reach 165°F throughout. Microwaves can create cold spots, so stir the food halfway through and let it stand for a minute after heating to allow the temperature to equalize. Do not reheat food more than once; each reheating cycle brings it back into the danger zone and allows bacteria to multiply again.

If you are reheating a large batch of leftovers and will not eat it all at once, remove only the portion you plan to eat and reheat that. Leave the rest in the refrigerator until you are ready to eat it again.

Frequently Asked Questions

Can I eat cooked food that has been in the fridge for five days?

It may not make you sick, but the risk rises significantly after four days. Bacteria are multiplying steadily, even at refrigerator temperature. If the food smells and looks normal, the risk is lower, but it is not zero. Most food safety experts recommend throwing it out.

Does reheating food kill all the bacteria?

Reheating to 165°F kills most bacteria that cause foodborne illness, but not all. Some bacteria produce toxins that survive heating. This is why storage time matters — the longer food sits in the fridge, the more toxins may accumulate, and reheating cannot destroy them.

Is it safe to leave cooked food on the counter overnight?

No. Bacteria multiply rapidly between 40°F and 140°F. After two hours on the counter (one hour if the room is warm), the bacterial load becomes unsafe. Put leftovers in the refrigerator within two hours of cooking, even if they are still warm.

Can I eat cooked food straight from the freezer without thawing?

Yes, you can reheat frozen cooked food directly — it will just take longer. Thawing in the refrigerator overnight is faster and more convenient, but thawing is not required for safety. Never thaw on the counter.

What is the difference between "best by" and "use by" dates on packaged leftovers?

Those dates apply to unopened, commercially packaged foods stored under specific conditions. Once you open a package or cook food at home, those dates no longer apply. Follow the three-to-four-day rule for homemade leftovers instead.