Guides / Food Shelf Life Chart: How Long Staples Last

Food Shelf Life Chart: How Long Staples Last

How long rice, beans, flour, oats, pasta, sugar, oils, cans, powdered milk, MREs and more last, how to store each, and a free one-page PDF.

Last reviewed: December 5, 2026

We may earn a commission from qualifying purchases. Details

The short answer: most dry staples last far longer than the date on the bag, as long as they stay cool, dry, dark, sealed and away from pests. In the original package, white rice and dry pasta keep about 2 years for best quality, flour about 6 to 12 months and cooking oil about 6 to 12 months (USDA FoodKeeper). Sealed in low-oxygen packaging and stored cool, BYU food scientists estimate 30+ years for white rice, sugar and salt, 25 years for pasta and dry beans, and 20 years for rolled oats. Foods with oil (brown rice, nuts, whole-wheat flour, peanut butter) go rancid much sooner, and moist foods must never be sealed with oxygen absorbers because of the botulism risk.

Download the one-page PDF, or print this page.

Two numbers: best quality vs. safe to eat

  • Best quality is how long food keeps its normal taste, texture and nutrition. USDA's Food Safety and Inspection Service (FSIS) says "best if used by" dates are about quality, not safety (infant formula is the exception).
  • Safe to eat usually lasts longer for dry and canned foods, as long as the package is intact and the food shows no signs of spoilage. Quality fades slowly: older rice and beans take longer to cook, and old oil tastes stale.
  • Long-term numbers assume ideal storage: an airtight, moisture-proof container with low oxygen, at room temperature or below. BYU notes that food kept in attics or garages has a much shorter shelf life.

Heat is the big one. Utah State University (USU) Extension, citing USDA, says that for every 10.8°F rise in temperature, the shelf life of stored food is cut roughly in half. USU calls a steady 40 to 60°F the best range.

The chart: grains, beans and baking staples

"Pantry" is the original package, unopened, on a cool shelf (USDA FoodKeeper unless noted). "Long-term" is sealed low-oxygen packaging such as Mylar bags with oxygen absorbers or #10 cans, stored cool (BYU estimates unless noted).

Food Pantry (best quality) Long-term (sealed, low oxygen, cool) Store it in; watch for
White rice About 2 years 30+ years Mylar + absorber in a bucket. Moisture, pests
Brown rice Up to about 6 months (USU) Not long-term Airtight; fridge or freezer. Rancid oil
Dry beans, lentils, split peas 1 to 2 years 25 years Mylar + absorber or #10 can. Moisture, light
White flour 6 to 12 months Rotate it Airtight; freeze to stretch. Pests, oxygen
Whole-wheat flour 3 to 6 months Not long-term Airtight and cold. Rancid oil
Rolled oats About 12 months 20 years Mylar + absorber or #10 can. Moisture
Dry pasta (no egg) About 2 years 25 years Box for rotation; Mylar for long-term. Pests
Granulated sugar Never spoils 30+ years Airtight, no absorber. Moisture, odors
Salt (iodized) Keeps indefinitely 30+ years Airtight, no absorber. Moisture
Honey About 2 years for best quality Indefinite (USU) Original jar, tight lid. Water getting in

Notes on this table:

  • White rice: USU says up to 30 years in cool storage, but only about 10 years at a steady 70°F.
  • Brown rice and whole-wheat flour: the natural oils go rancid, so they aren't long-term foods. Cold storage stretches them.
  • Beans: USU says best color and flavor within 12 months. Old beans cook slower; BYU suggests 1/8 teaspoon of baking soda per cup of beans to soften them.
  • Flour: milling exposes the grain to oxygen. Whole wheat kernels are the long keeper (30+ years per BYU).
  • Oats: BYU found 28-year-old canned oats still acceptable to most tasters for emergency use.
  • Sugar: FoodKeeper says it never spoils; use it within about 2 years of opening for best quality. If it turns into a brick, it's still safe.
  • Honey: it may crystallize. Set the jar in hot water to melt it.

The chart: fats, cans, milk, drinks and ready meals

Food Pantry (best quality) Long-term Store it in; watch for
Cooking oil (vegetable, olive) 6 to 12 months; 3 to 5 months opened About 1 year Dark cupboard. Light, heat
Peanut butter 6 to 9 months; 2 to 3 months opened About 1 year Original jar. Heat, rancid smell
High-acid cans (tomatoes, fruit, juice, pickles) 12 to 18 months (FSIS) Rotate Cool, dry shelf. Bulging, rust, seam dents
Low-acid cans (meat, fish, most vegetables, soups, beans) 2 to 5 years (FSIS) Rotate Cool, dry shelf. Bulging, rust, seam dents
Nonfat dry milk 3 to 5 years cool (as little as 3 months in hot storage, USU) 15 years Sealed pouch or #10 can. Heat
Coffee and tea Instant coffee about 1 year; tea bags 18 to 36 months Rotate Sealed; airtight jar once open. Moisture
Spices and dried herbs Ground 2 to 3 years; whole 3 to 4; herbs 1 to 2 Flavor fades Airtight, away from the stove. Heat
Freeze-dried meals Maker's date Maker's date Factory pouch or can. Heat, punctures
MREs 3 1/2 years at 81°F; 9 months at 100°F Colder lasts longer Original pack; don't let it freeze
Home-canned food Best within 1 year (NCHFP) Not long-term Jars without rings, 50 to 70°F

Notes on this table:

  • Oil and peanut butter: BYU lists both as about 1-year items even in good storage. Follow the jar's date; some peanut butters list longer.
  • Nonfat dry milk: USU says it can lose quality in as little as 3 months in hot storage. The 15 years is BYU's estimate for sealed low-oxygen packaging.
  • Coffee: opened ground coffee loses flavor within weeks.
  • Spices: USU says hot spots such as garages and attics cut spice shelf life at least in half. Old spices are safe, just weak.
  • Freeze-dried meals: Mountain House says 30 years from the date of manufacture for its meals.
  • MREs: these are the military's minimum shelf-life requirements, per USU Extension. Freezing can crack the foil layer.
  • Home-canned food: the National Center for Home Food Preservation (NCHFP) says to store jars between 50 and 70°F and never above 95°F, and to can only what you'll eat in a year.

Which container for which food

  • Original packaging: fine for anything you eat and replace within its pantry time. Keep it off the floor and away from the stove, dishwasher and outside walls.
  • Airtight bins and jars: keep out pests and humidity for opened bags of flour, sugar, rice and oats. A clear jar needs a dark cupboard.
  • Mylar bags with oxygen absorbers, inside a bucket: the home method for decades of storage of dry, low-fat foods. USU says plain buckets and plastic bags don't hold an oxygen-free atmosphere on their own, so the bucket is the rodent- and crush-proof outer shell. Full method: long-term food storage.
  • #10 cans: what commercial long-term food comes in. Just buy them ready-made.
  • Fridge or freezer: stretches brown rice, whole-wheat flour, nuts and opened peanut butter, as long as the power stays on.

What not to seal with oxygen absorbers

  • Anything moist. USU says only food that is dry, at about 10% moisture or less, should be sealed with oxygen absorbers or vacuum-packed. Low oxygen plus moisture is the condition botulism needs. If home-dried fruit or jerky bends instead of snapping, don't seal it with absorbers.
  • High-oil foods for the long haul: brown rice, nuts, seeds, granola, trail mix and whole-wheat flour. Low oxygen slows rancidity, but these won't last decades. Rotate them.
  • Sugar and salt: they don't need absorbers at all. USU notes that sugar doesn't oxidize, and some say an absorber in sugar makes it set hard. Just keep them dry and sealed.
  • Not instead of canning: a vacuum-sealed or Mylar bag is never a substitute for pressure canning or commercial processing of wet foods. USU points out that tuna in a pouch is heat-processed like a can, not just vacuum-sealed.

The five enemies of stored food

Enemy What it does Fix
Heat Speeds every kind of breakdown; roughly halves shelf life with each 10.8°F rise Interior closet or basement shelf, not the garage or attic
Moisture Clumps, mold, rust on cans, and a botulism risk in sealed moist food Airtight containers, off concrete floors
Oxygen Rancid oils, stale flavor, lost vitamins Mylar with absorbers for long-term; rotate oily foods
Light Fades color and some vitamins, speeds oil rancidity Opaque bags and buckets, dark shelves
Pests Rodents chew bags; weevils hatch in grain Buckets with lids, sealed bins, a regular look

A small thermometer-hygrometer shows whether your storage spot really is cool and dry.

Worksheet: check your own pantry in 10 minutes

  1. Pick a spot and read its temperature for a week. If it runs above about 75°F, expect shorter lives than the chart.
  2. Sort into two groups: rotate-soon (oil, peanut butter, flour, brown rice, nuts, coffee, spices, home-canned jars) and long-keepers (white rice, sugar, salt, sealed beans, oats and pasta).
  3. Write the month and year on everything that comes home. A label like "11/26" is enough.
  4. Set a check date: every month for the rotate-soon group, once a year for sealed long-term buckets.
  5. Toss without debate: bulging, leaking, badly dented or rusted cans, unsealed home-canned jars, rancid-smelling oil, and anything with pests or mold.

The monthly count method is in rotating food storage. For what to buy in the first place, see what food to stock first.

Buy these locally instead

Rice, beans, flour, oats, pasta, sugar, salt, honey, oil, peanut butter, canned goods, powdered milk, coffee, tea and spices all come from a grocery or warehouse store, usually cheaper than online. We don't link groceries.

Specs are the makers' listed specs. We don't lab-test. Skip the Mylar gear if you eat through your rice, beans and pasta within a year or two: the original bags inside a lidded bucket are enough.

What Pick Notes
Inner bags for long-term staples 1-gallon Mylar food storage bags (40-pack)Check on Amazon 1-gallon, 16 mil total thickness per the listing. Heat-sealable
Oxygen absorbers Wallaby 2000cc oxygen absorbers (20-pack, individually sealed)Check on Amazon 2,000cc each, individually packed. Size them to your bags with the maker's chart
Outer buckets food-grade 5-gallon buckets with lids (3-pack)Check on Amazon Food-grade 5-gallon buckets with lids. The rodent-proof shell
Sealer Metronic 12-inch impulse heat sealerCheck on Amazon 12-inch impulse sealer for Mylar bags
Date labels removable food labels (1,000 count)Check on Amazon Removable, water- and oil-resistant
Check your storage spot mini digital thermometer-hygrometer, 4-packCheck on Amazon Small thermometer-hygrometers

FAQ

What food has the longest shelf life? White rice, wheat, sugar, salt, dried onions, baking soda and baking powder top BYU's list at 30+ years in sealed low-oxygen storage. Pasta and dry beans are close at about 25 years.

Is food safe after the best-by date? FSIS says those dates are about quality, not safety, except on infant formula. Dry and canned foods stored well generally stay safe past the date unless the package is damaged or the food shows signs of spoilage.

Can I put brown rice in Mylar bags? You can for a year or so of quality, but don't count on decades. Brown rice has oil in its bran layer that goes rancid. USU puts it at up to about 6 months at room temperature; the fridge or freezer stretches that.

Do sugar and salt need oxygen absorbers? No. They don't oxidize. Keep them dry and sealed.

How long does home-canned food last? The National Center for Home Food Preservation says to use it within a year for best quality and to store jars between 50 and 70°F. Never eat from a jar with a broken seal or signs of spoilage.

How long do MREs last? It depends on heat. USU Extension says military MREs must hold at least 3 1/2 years at 81°F but only 9 months at 100°F. Cooler storage lasts longer.


Read next: Long-term food storage · Rotating food storage · What food to stock first

Free: a fillable household binder (contacts, medical info, your plan) and an offline kit for a USB drive. Get the free Household Binder + Offline USB Kit.

Sources: USDA FoodKeeper (FoodSafety.gov) for pantry times; BYU Department of Nutrition, Dietetics, and Food Science, An Approach to Longer-Term Food Storage (revised June 2024) for long-term estimates; BYU, Effects of long-term storage on quality of regular and quick rolled oats; Utah State University Extension, Food Storage booklet (temperature rule, brown rice, beans, dry milk, sugar, honey, spices, MREs, moisture and botulism); USU Extension, Storing White Rice; USDA FSIS, Food Product Dating; USDA FSIS, Shelf-Stable Food Safety; National Center for Home Food Preservation, Storing Home Canned Foods; Mountain House FAQ. Checked December 5, 2026. Product details from the makers' Amazon listings.

Get the free kit by email