A Sunday cook-up or a holiday dinner leaves a fridge full of containers, and the question follows a few days later: is this still good? The U.S. Department of Agriculture's Food Safety and Inspection Service answers it with a short set of rules, and most of them happen before the food ever reaches the fridge.

The number: 3 to 4 days

The USDA says cooked leftovers can be kept in the refrigerator for 3 to 4 days, or frozen for 3 to 4 months. Frozen food stays safe indefinitely, but it loses moisture and flavor the longer it sits. For meal prep, that means cooking about four days ahead at most and freezing the portions meant for later in the week or the month.

Why the clock starts at the stove

Bacteria grow fastest between 40°F and 140°F, which the USDA calls the danger zone. Cooked food should be refrigerated within 2 hours of cooking or of coming off a warming appliance, and within 1 hour if the air is above 90°F. Perishable food left out longer than that should be thrown away. The 3 to 4 day count assumes that window was kept; a dish that sat on the counter through a long evening has already used up some of its margin.

Cool it fast

A big pot of soup or chili cools slowly in the middle, which gives bacteria time to multiply. The USDA's fix is to divide large amounts into shallow containers so they reach 40°F or below quickly, and to cut large items such as roasts, hams or a turkey into smaller pieces before refrigerating. Hot food can go straight into the fridge, or be chilled first in an ice or cold-water bath. Cover or seal each container, which keeps bacteria out, keeps moisture in and stops the food from picking up other smells.

Reheat to 165°F

Leftovers should reach 165°F, checked with a food thermometer, when reheated. Sauces, soups and gravy should be brought to a rolling boil. In a microwave, cover the dish, stir or rotate it, and check the temperature in several places, because microwaves heat unevenly and leave cold spots. Frozen leftovers can be reheated without thawing first in a saucepan, oven or microwave; it simply takes longer.

When it goes wrong

Perishable food that sat out past the 2-hour mark, or 1 hour in heat above 90°F, goes in the trash under the USDA guidance, however it looks. Writing the cooking date on each container makes the 3 to 4 day count easy to keep. For leftovers that were frozen and then thawed in the refrigerator, the USDA says to use them within 3 to 4 days, and any portion reheated to 165°F can be refrozen.

Sources