Food Storage & Shelf Life

How long everything actually keeps, in the fridge, the freezer and the pantry — and the rules that decide when to throw it out.

Food Storage and Shelf Life: The Rules Behind the Chart

The calculator above is a searchable table of refrigerator, freezer and pantry windows for common ingredients, and its figures come from the USDA's FoodSafety.gov cold food storage chart. What a chart cannot tell you is why the windows differ so much, or what to do when your kitchen does not match the assumptions it was written on. That is what this page is for.

One idea runs through everything below. Food safety is about time and temperature, not about appearance. Get those two right and most of the rest follows. Get them wrong and the food will not warn you.

The 2-Hour Rule

Perishable food left between 4 °C and 60 °C is in what food safety agencies call the danger zone, and the rule that follows from it is short. Discard perishable food that has been in that band for more than 2 hours. If the air temperature is above 32 °C — a hot car, a picnic table in full sun, a kitchen without air conditioning in a heatwave — the limit drops to 1 hour. This covers cooked food, raw meat and fish, cut fruit, dairy and anything else that would normally live in the fridge.

The two-hour figure comes from multiplication. In that temperature band, bacteria double roughly every 20 minutes. Two hours is about six doublings, enough to turn a few cells into a population that can make someone ill. Four hours is roughly twelve doublings, which is why reheating does not rescue food left out that long: heat kills the bacteria but does not reliably remove the toxins they have already produced.

Temperature What Is Happening Practical Limit
Below 4 °CGrowth is slowed, not stoppedThe chart's windows apply
4–60 °CThe danger zone; bacteria double about every 20 minutes2 hours maximum, or 1 hour above 32 °C air temperature
Above 60 °CGrowth is haltedHold hot food here until serving
−18 °CGrowth stops; the bacteria surviveSafe indefinitely, though quality falls
Working rule: the clock starts when the food leaves the heat or the fridge, not when you notice it. If you cannot remember how long the rice has been sitting on the counter, that uncertainty is your answer.

What Fridge Life Actually Means

The windows in the USDA chart are not expiry dates and they are not guarantees in either direction. They estimate how long a food keeps acceptable quality while retaining a safety margin, and they assume the refrigerator runs at or below 4 °C. That assumption is where most home kitchens part company with the chart.

Buy a fridge thermometer and keep it on the middle shelf. Most domestic fridges run warmer than their dial suggests — a dial set to 4 often delivers 6 or 7 °C — and a fridge at 7 °C is not doing the job a fridge at 3 °C does, because Listeria and other pathogens multiply considerably faster at the higher figure. Adjust the dial until the thermometer reads 4 °C or below, and check it again when the weather turns warm.

Date Labels: Best Before, Use By and Sell By

"Best before" is about quality. Food past its best-before date may be stale, dry or less pleasant to eat, but the date is not a safety line. "Use by" is a safety date, and it is the one to respect: it is applied to foods where the risk is real, and eating past it is a genuine gamble rather than a judgement call. "Sell by" is aimed at the retailer, telling staff when to rotate stock. It means nothing to you at home.

There is no federal rule in the United States requiring date labels on most food, with the exception of infant formula. A date on a packet is therefore a manufacturer's judgement rather than the result of a government test. The consequence runs both ways: food can spoil before its date if it has been mishandled on the way to you or left warm in your kitchen, and it can be perfectly good long after. Treat a date as one input alongside storage temperature and elapsed time, never as the whole answer.

Why the Sniff Test Is Not a Safety Test

Spoilage is not the same thing as contamination. The organisms that make food smell sour, look slimy or grow mould are mostly harmless in themselves; they are simply better at competing for the food than the ones that cause illness. The pathogens that matter — Listeria, Salmonella, E. coli, Clostridium botulinum — generally do not change the taste, smell or appearance of food at all. A stew carrying Listeria looks, smells and tastes exactly like a stew that is not.

Listeria is worth naming on its own because it grows at refrigerator temperature, which very few other foodborne pathogens do. That is why the safe answer and the convenient answer diverge so sharply here. The USDA's guidance is the correct one: if in doubt, throw it out. Tasting suspect food to check is the one test that can make you ill all by itself.

Freezer Reality

A freezer at −18 °C stops bacteria growing but does not kill them. They are dormant and they are still there, which is why frozen food is safe indefinitely from a microbiological point of view. The freezer times in the USDA chart are about quality, not safety: texture, colour and flavour degrade, but the food will not make you ill. A freezer that has thawed in a power cut is a different case, judged on how long it stayed warm.

Freezer burn is dehydration, not spoilage. Ice migrates out of the food and re-forms as frost on the inside of the packaging, leaving dry, pale, leathery patches. The food is still safe; it will simply eat dry and tough. Wrap tightly, press the air out, label and date everything, and freeze in portions you will actually use. Thaw in the fridge rather than on the counter, and remember that once thawed, the fridge clock restarts.

Food Fridge Freezer
Fresh poultry, whole1–2 days1 year
Fresh poultry pieces1–2 days9 months
Ground meat1–2 days3–4 months
Steaks and roasts, raw3–5 days6–12 months
Fresh fish1–2 days3–6 months
Cooked leftovers, soups, stews3–4 days2–3 months
Bacon, opened7 days1 month
Eggs, in shell3–5 weeksNot in the shell
Milkabout 1 week3 months

Cooling Leftovers Properly

A large pot of hot stew put straight into the fridge does not cool quickly. It warms the air and the shelves around it, and the middle of the pot can sit in the danger zone for hours. Divide the food into shallow containers so the depth is no more than about 5 cm, or stand the pot in an ice bath and stir until the temperature drops, then refrigerate.

The clock is the same two hours as before, counted from the moment the food comes off the heat. A shallow container of stew in a cold fridge passes through the danger zone well within that; a deep stockpot does not. When you reheat, bring the food to at least 74 °C right through the middle, which is a rolling simmer rather than a warm-through, and reheat only the portion you are about to eat.

What Lasts Far Longer Than People Expect, and What Does Not

Several pantry staples are effectively shelf-stable for years, because they hold almost no water for bacteria to use. Honey, white rice, white flour, granulated sugar and dried pasta all keep for years in a sealed container in a cool, dry place. Honey is the extreme case: it is acidic and very low in water activity, so it does not spoil in the ordinary sense. If it crystallises, that is a physical change rather than spoilage, and standing the jar in warm water reverses it. One safety exception applies — honey should not be given to children under 12 months, because it can carry Clostridium botulinum spores.

The foods that turn go the other way because of their fats. Whole wheat flour, brown rice, nuts and cooking oils contain oils that oxidise, and oxidation makes them rancid. Rancidity is a quality problem rather than a safety one, and unlike pathogen growth it is detectable: the smell of old paint or crayons is the signal. But it arrives within months rather than years. Keep whole wheat flour and brown rice in the fridge or freezer, store nuts and oils cool, dark and sealed, and buy them in quantities you will finish.

Pantry Item Realistic Life Why
HoneyEffectively indefiniteAcidic and very low in water activity
White riceYears, sealedThe oily bran has been removed
White flourYears, sealedBran and germ, and their oils, are gone
Granulated sugarIndefiniteNo water available for microbes
Dried pastaYearsDry, with little water activity
Whole wheat flourMonthsGerm oils oxidise and turn rancid
Brown riceMonthsBran oils oxidise
NutsMonthsHigh oil content; walnuts go first
Cooking oilsMonthsOxidation, faster with heat and light
Working rule: the pantry life of a dry staple is decided by its fat content. If it still contains bran, germ or oil, count in months. If it does not, count in years.

Frequently Asked Questions

How long can cooked food sit out before it is unsafe?+

Two hours between 4 °C and 60 °C, or one hour if the air temperature is above 32 °C. This is a cumulative limit, not a single stretch: if the food has already spent an hour on the counter and goes back in the fridge, only an hour remains. Past that, discard it. Reheating to a safe temperature kills bacteria but does not reliably remove toxins they have already produced.

Is it safe to eat food after its best-before date?+

Often yes. A best-before date is a quality statement, not a safety one, and food past it may be stale without being harmful. A use-by date is different and should be respected, because it is applied where the safety risk is real. A sell-by date is for the retailer and means nothing to you. No federal rule in the United States requires these labels on most foods.

Does freezing kill bacteria?+

No. A freezer at −18 °C stops bacteria growing and multiplying, but they survive and become active again as the food thaws. That is why frozen food is safe indefinitely while its quality still declines, and why thawing needs handling with the same care as fresh food. Once thawed in the fridge, it keeps for roughly the same window the chart gives for the fresh version.

Is freezer burn dangerous?+

No. Freezer burn is dehydration — ice leaving the food and re-forming as frost on the packaging — and it affects texture and flavour rather than safety. The dry, pale patches will eat tough and taste flat, but the food can still be cooked and eaten. You can cut the affected areas away. Preventing it is a matter of wrapping tightly, pressing out the air and using the food within the quality window in the chart.

Can I put hot food straight into the fridge?+

Not a large pot of it, no. A deep pot of hot stew warms everything around it and holds its own middle in the danger zone for hours, which risks the rest of the fridge as well. Divide it into shallow containers about 5 cm deep, or cool it in an ice bath first, so it passes through 4–60 °C quickly. Small portions in shallow dishes are the practical answer.

How do I know if my fridge is cold enough?+

Put a thermometer on the middle shelf and read it, rather than trusting the dial. Most domestic fridges run warmer than their setting suggests, and a fridge sitting at 7 °C lets Listeria and other pathogens grow much faster than one at 3 °C. The USDA windows assume 4 °C or below. Adjust the dial until the thermometer agrees, and re-check it in warm weather.

Why do the storage times vary so much between foods?+

The windows reflect how much water the food holds and how hospitable it is to bacteria. Ground meat gets 1–2 fridge days because grinding spreads surface bacteria through the whole mass, while a whole steak gets 3–5 days because the contamination stays on the outside. The chart's figure is a safety margin for a fridge at 4 °C or below, not a target to reach.

Does honey really never spoil?+

Sealed honey keeps essentially indefinitely, because it is acidic and holds so little available water that microbes cannot grow in it. Crystallisation is a physical change and not a sign of spoilage, and a warm water bath reverses it. It can ferment if it absorbs moisture from the air, so keep the lid on. The important exception is infants: honey should not be given to children under 12 months because it can carry Clostridium botulinum spores.