Pantry Shelf Life: How Long Canned and Dry Goods Really Last (and How to Rotate Them)

Every pantry has a back row: the can of pumpkin from two Thanksgivings ago, the second bag of rice someone bought because the first one was hidden. Knowing how long shelf-stable food actually lasts, and setting the shelf up so the oldest item is always in front, is how you stop throwing food away and stop buying doubles.

By Avery Linden · Updated October 2026 · Kitchen & Pantry

Woman reaching for food in a clean white pantry
Photograph by Cabri Caldwell / Unsplash.
The short version

USDA guidance puts low-acid canned goods like soup, beans and vegetables at 2 to 5 years, and high-acid cans like tomatoes and fruit at 12 to 18 months. Store everything somewhere below 85°F and away from the stove, the sink and the garage. Toss cans that bulge, leak, are deeply dented or rusted inside. Then put new purchases behind old ones, every time.

How long pantry staples keep

These storage times come from the USDA Food Safety and Inspection Service. They’re for unopened products stored in a cool, dry place.

ItemUnopened, in the pantryAfter opening
Low-acid canned goods (meat, poultry, stews, most soups, beans, corn, peas, potatoes)2 to 5 yearsRefrigerate, use in 3 to 4 days
High-acid canned goods (tomatoes, most fruit, juice, pickles, sauerkraut)12 to 18 monthsRefrigerate, use in 5 to 7 days
Rice and dried pasta2 yearsCooked: refrigerate, use in 3 to 4 days
Tuna and seafood in pouches18 monthsRefrigerate after opening
Commercial jerky12 monthsFollow the package
Dates on the label: “Best by” and “use by” dates on most shelf-stable foods are the manufacturer’s estimate of peak quality, not a safety deadline. A can of beans a month past its date is usually fine if the can is in good shape. Use the table above, and the can itself, to judge.

Which cans to throw away

USDA advises discarding cans that are:

  • Deeply dented, meaning you can lay a finger in the dent, especially on a seam. Small dents on an otherwise sound can are generally safe.
  • Bulging, swollen or leaking.
  • Heavily rusted. Surface rust that wipes off with a paper towel isn’t serious, but rust inside the can is.
  • Frozen and thawed, or that spurt or hiss loudly when opened.

Where the pantry should (and shouldn’t) be

USDA says temperatures below 85°F are best for canned and shelf-stable foods, and that spoilage risk rises sharply above 100°F. It specifically advises against storing them above or beside the stove, under the sink, or in damp garages and basements. If your only spare shelf is in the garage, keep it for paper goods and drinks, not food.

Set up a first-in, first-out shelf

“First in, first out” just means you always reach for the oldest item first. The trick is making that the easiest thing to do:

  • Load from the back. When you unpack groceries, slide older items forward and put new ones behind them.
  • Group by type, in lanes. One lane for each kind of can, front to back, so you can see at a glance how many you have.
  • Mark the date. A quick marker note of the month and year bought on the lid makes rotation obvious.
  • Keep a “use soon” spot. One small bin at eye level for anything close to its date.
Worked example: a standard 15-ounce can is about 3 inches across and about 4½ inches tall. On a 12-inch-deep shelf, that’s four cans per lane. A 30-inch-wide shelf fits about nine lanes if you leave a little room to grab each one. If you keep six cans of black beans, give them a lane and a half, not two lanes stacked on top of each other, where the bottom row never moves. A tiered can rack or shelf riser on the back half lets you read the labels in the back row.

Keep dry goods sealed

Flour, rice, cereal, pasta and nuts last longest and stay free of pantry moths in airtight containers. Clear, square containers also use shelf space better than round ones. Write the product and the date on a piece of tape on the lid, and keep cooking instructions by cutting them off the original bag and taping them to the back. Our small pantry reset walks through measuring shelves for containers.

Pantry rotation supplies

Affiliate disclosure: As an Amazon Associate I earn from qualifying purchases. These links open Amazon search results for each type of item, not recommendations for a specific model we’ve tested. Check dimensions against your shelf depth and height before ordering.

Pantry check checklist
  • Everything pulled off one shelf at a time.
  • Bulging, leaking, deeply dented or rusted-inside cans thrown out.
  • Items past their storage window used or discarded.
  • Cans grouped into lanes by type.
  • Oldest items in front, dates marked.
  • Dry goods moved into sealed containers.
  • “Use soon” bin set at eye level.

Questions

Can I store canned food in the garage?

USDA advises against damp garages, and many garages swing well above 85°F in summer or freeze in winter. Both shorten shelf life, and freezing can damage cans.

How long do opened canned foods last in the fridge?

USDA says 3 to 4 days for low-acid foods and 5 to 7 days for high-acid foods like tomatoes and fruit. Move them into a covered container rather than leaving them in the open can.

How do I keep pantry moths out?

Store grains, flour, nuts, dried fruit and pet food in airtight containers, wipe up spills promptly, and check new bags before putting them away.

Sources: USDA Food Safety and Inspection Service, Shelf-Stable Food Safety. General guidance; follow package instructions. See our editorial policy.

Related: Get baking supplies ready for the holidays

How long pantry food really lasts: canned and dry goods, and how to rotate them
Save this guide to your Pinterest board.

Keep reading

More guides for your space

THE KINDRED JOURNAL

Latest from the journal