There is a difference between a date on a packet and the moment a food actually stops being good. Dry pantry goods rarely become unsafe — they become dull, or their oils turn, or insects get in. Getting this right saves money, because half the jars in a typical cupboard are perfectly usable while a few are quietly past it.

The three ways pantry food actually fails

  1. Oxidation. Fats and oils react with oxygen and go rancid. This is the main failure for nuts, wholemeal flour, and cooking oil. The sign is a paint-like or "old cardboard" smell, not visible mould.
  2. Moisture. Humidity turns crisp things soft and creates the conditions for mould. Once a dry good has absorbed moisture, it will not recover.
  3. Pests. Flour beetles and pantry moths arrive in packaging and spread. Freezing new flour for 48 hours on arrival is the standard prevention.

Flavour loss is a fourth, slower failure: ground spices do not spoil, they simply stop tasting of anything. That is worth knowing, because replacing old spices is usually about flavour, not safety.

The reference table

Sealed, cool, dry and dark. Times are typical ranges, not guarantees — storage conditions move them by a lot.

ItemUsable life, sealedThe sign it is past it
White flour6–12 monthsOff smell, or any sign of insects
Wholemeal flour3–6 months (or freeze)Rancid, bitter smell — it has oils in the germ
White rice1–2 years, longer if sealedInsects, or a musty smell
Brown rice3–6 monthsRancid smell; freeze to extend
Cooking oil6–12 months after openingRancid, sticky, or darkening oil
Whole spices2–4 yearsNo aroma when crushed
Ground spices6–12 monthsFaint or dusty flavour
Dried pasta1–2 yearsWhitened, brittle, or off-smell
Nuts3–6 months, 1 year frozenRancid or soft texture
Canned goods2–5 yearsDented, bulging, or leaking — discard
Sugar, saltIndefiniteHardened into a block from humidity
HoneyIndefiniteCrystallised is normal — warm it, do not bin it
Baking powder6–18 monthsFails the water test below
Dried yeast4–6 months opened, refrigeratedDoes not foam in warm water
Two tests worth knowing

Baking powder: put a teaspoon in half a cup of hot water. Fresh powder bubbles immediately; dead powder does nothing. Dried yeast: a teaspoon in warm (not hot) water with a pinch of sugar should be foamy in ten minutes.

What to actually throw out

This is the short list where the answer is unambiguous:

  • Anything with visible mould that is soft — bread, jam, soft fruit, leftovers. Mould roots run deeper than the surface in moist foods.
  • Any can that is bulging, hissing or leaking. Do not taste it to check.
  • Oil that smells of paint or old nuts. Rancid fat does not improve with cooking.
  • Anything with pantry moth webbing, and everything in the same cabinet — the eggs are already in the other bags.
  • Flour or grain that has been damp. Mould risk is not worth a bag of flour.

Hard cheeses, hard salami and firm vegetables can sometimes be trimmed around mould, but if you are unsure, discard. The money saved is never worth the risk.

How to store so things last

Four moves, in order of impact:

  1. Move flour, rice, nuts and cereals into airtight containers the week they arrive. This blocks moisture and pests at the same time.
  2. Freeze new flour and grain for 48 hours before storing it, to kill any eggs already in the bag.
  3. Keep oil out of light and away from the hob. Warmth and light are what shorten its life; a dark cupboard is better than a shelf beside the oven.
  4. Label the opening date, not the expiry date, on anything you decant. You will not remember when you opened it, and the opening date is the one that matters for oil, spices and coffee.

Rotation, not stockpiling

The one habit that makes all of this unnecessary: shop from the front. New items go behind old ones, and you cook from the front row. With a single shelf-deep pantry this is automatic. With a deep shelf, write the date on the packet and pull old stock forward when you put shopping away. Ten seconds a week, and you stop discovering two-year-old flour behind the rice.

ME
Mara Ellison

Mara has rented in six cities and now owns a 1960s house that leaks in the same place every winter. She writes the cleaning, organizing and maintenance guides here.

More about the team and how we test