Food · Guide

How to Store and Preserve Food Safely: A Shelf-Life Guide

Published:

Food lab scientist packages food for spaceflight.
Image credit: Bill Stafford · Public domain · Wikimedia Commons

In brief

Food stays safe longest when refrigerated at 40°F (4°C) or below, frozen at 0°F (-18°C) or below, and never left at room temperature for more than two hours. Freezing, canning, drying and proper pantry storage can each extend shelf life further, according to FDA guidance, USDA-linked research and university extension sources.

Food-safety agencies and university extension services converge on a few basic principles: keep cold food cold, keep hot food hot, and don't let perishable items sit in between for too long. Refrigeration, freezing, canning and drying are the main tools for extending how long food can be safely eaten, and each has specific temperature and time requirements.

Keep perishable food refrigerated or frozen promptly

The U.S. Food and Drug Administration (FDA) advises keeping refrigerators at 40°F (4°C) or below and freezers at 0°F (-18°C) or below. At room temperature, bacteria that cause foodborne illness can multiply rapidly — in some cases doubling in as little as 20 minutes, according to the FDA. The Partnership for Food Safety Education, the nonprofit behind the 'Core Four Practices of Food Safety' campaign (Clean, Separate, Cook, Chill) developed with federal food-safety agencies, recommends refrigerating perishable food within two hours of cooking or buying it, or within one hour if the air temperature is above 90°F (32°C).

A step-by-step storage checklist

  1. Refrigerate or freeze perishable food within two hours of cooking or buying it — within one hour if the temperature is above 90°F (32°C).
  2. Set the refrigerator to 40°F (4°C) or below and the freezer to 0°F (-18°C) or below, checking with an appliance thermometer rather than relying on the built-in dial.
  3. Store raw meat, poultry and seafood in sealed containers on a lower shelf, separate from ready-to-eat food, to prevent cross-contamination.
  4. Divide hot leftovers into shallow containers so they cool quickly before going into the refrigerator.
  5. Thaw frozen meat, poultry or fish in the refrigerator, under cold running water, or in the microwave — never on the counter at room temperature.
  6. For storage beyond a few days, freeze, dry or can the food using a tested method rather than relying on refrigeration alone.
  7. Label containers with the date; frozen food stays safe indefinitely at 0°F, but its taste and texture decline the longer it is stored.
  8. Keep pantry staples such as flour, rice, oils and spices in airtight containers, away from heat, light and moisture.

How long food actually lasts

Refrigerator and freezer storage times vary by food type. The figures below come from food-safety guidance published by Virginia Cooperative Extension and the University of Nebraska–Lincoln Extension, both of which base their recommendations on USDA data.

Typical refrigerator and freezer storage times
FoodRefrigerator (≤40°F / 4°C)Freezer (0°F / -18°C)
Raw poultry1–2 days9 months (pieces) to 1 year (whole)
Ground meat1–2 days3–4 months
Raw beef, pork or lamb cuts3–5 days4–12 months, depending on the cut
Fish and shellfish1–2 daysAbout 3–6 months; shrimp around 2–3 months
Eggs in the shell3–5 weeksSources disagree — see note below
Deli or lunch meat2 weeks unopened; 3–5 days once opened1–2 months
Cooked leftovers3–4 days2–3 months

The two extension sources diverge on two points. For opened milk in the refrigerator, the University of Nebraska–Lincoln lists about 7 days, while Virginia Cooperative Extension gives a wider range of roughly 8 to 20 days depending on processing and the date on the carton. For eggs still in the shell, Virginia Cooperative Extension lists a freezer storage time of about 1 year, while the University of Nebraska–Lincoln Extension advises against freezing eggs in the shell at all.

Freezing, canning and drying for longer storage

Freezing does not sterilize food; it slows the growth of microorganisms and the chemical changes that cause spoilage, according to the National Center for Home Food Preservation (NCHFP), a USDA-funded program based at the University of Georgia. For vegetables, the center recommends blanching — a brief scald in boiling water or steam — before freezing, because it slows enzyme activity that would otherwise degrade flavor, color and texture, and it helps retain vitamins.

Canning works by heating sealed jars enough to destroy microorganisms and inactivate enzymes; as the jars cool, a vacuum seal forms that keeps out air and new contamination, the NCHFP says. The center distinguishes two methods: boiling-water canning, suitable for high-acid foods such as tomatoes, fruit and pickles, and pressure canning, required for low-acid foods including meat, poultry, seafood and most vegetables. The reason is temperature — plain boiling water reaches 212°F (100°C) at sea level, not hot enough to destroy spores of Clostridium botulinum, while a pressure canner reaches roughly 240–250°F (116–121°C). The NCHFP states that using a boiling-water bath for low-acid foods creates a genuine botulism risk, and that even a small taste of food containing the resulting toxin can be fatal.

Drying removes moisture so microorganisms cannot grow. The NCHFP describes it as one of the oldest preservation methods, still used at home with food dehydrators to make items such as fruit leather, dried vegetables and jerky. Because dried foods are lightweight and shelf-stable, they do not require refrigeration, though the center notes that proper technique is still needed to dry foods safely.

Pantry staples: shelf life without refrigeration

Not everything needs cold storage. Penn State Extension recommends keeping flour in an airtight container away from heat and humidity; white and bread flour can last up to two years if refrigerated at 40°F, or indefinitely if frozen, while whole wheat flour turns rancid faster because of its oil content and benefits from year-round refrigeration.

Cooking oils last about 6 to 12 months unopened and 1 to 6 months after opening, best kept in a cool, dark place, according to Penn State Extension. Honey, because of its low water content, can be stored at room temperature for an extended period and should not be refrigerated, since cold temperatures cause it to crystallize. Ground spices are generally best used within about six months for peak flavor, stored in airtight containers away from sunlight and heat.

Questions

What is the correct refrigerator and freezer temperature for food safety?
The FDA recommends keeping the refrigerator at 40°F (4°C) or below and the freezer at 0°F (-18°C) or below.
How long can food safely sit out at room temperature?
No more than two hours, or one hour if the air temperature is above 90°F (32°C), according to FDA and Partnership for Food Safety Education guidance.
Is food that has been frozen for a long time still safe to eat?
Yes — the FDA states food stays safe indefinitely in the freezer at 0°F, although its taste and texture decline the longer it is stored.
Why do green beans or meat need a pressure canner instead of a boiling-water bath?
The National Center for Home Food Preservation explains that low-acid foods like vegetables and meat need the higher temperature of a pressure canner (about 240–250°F) to destroy Clostridium botulinum spores; a boiling-water bath only reaches 212°F, which does not destroy those spores and risks botulism.
What's the safest way to thaw frozen meat or poultry?
In the refrigerator, under cold running water, or in the microwave — never left out on the counter at room temperature, according to the NCHFP and the Partnership for Food Safety Education.

Sources

  1. FDA — Refrigerator Thermometers: Cold Facts About Food Safety
  2. National Center for Home Food Preservation — Freezing
  3. National Center for Home Food Preservation — Canning
  4. National Center for Home Food Preservation — For Safety's Sake (pressure canning and botulism)
  5. National Center for Home Food Preservation — Drying
  6. Partnership for Food Safety Education — Four Food Safety Practices to Follow at Home
  7. Nutrition.gov (USDA) — Safe Food Storage
  8. Virginia Cooperative Extension — Food Storage Guidelines For Consumers
  9. University of Nebraska–Lincoln Extension — Home Food Storage
  10. Penn State Extension — Storing Staple Ingredients in the Kitchen

This piece was prepared with artificial intelligence and passed an automated source check before publication. If you see an error, ask for a correction. Request a correction or reply · How we make this

Related