← Food database

How long grains, beans & pasta last

22 foods. Times from the U.S. government's USDA FoodKeeper data.
FoodFridgeFreezerPantry
Amaranth—8 months4 months
Barley—12 months6 months
Beans——1–2 years (1 year once opened)
Buckwheat—4 months2 months
Dry egg noodles——2 years (1–2 months once opened)
Farro—12 months6 months
Fresh pasta1–2 days2 months—
Lentils——1 year
Millet—4 months2 months
Mung bean4–6 weeks——
Oats—8 months4 months
Pasta——2 years (1 year once opened)
Peas——1 year
Quinoa——2–3 years
Refried beans2–3 days once opened—3 years
Rice6 months once opened—2 years (1 year once opened)
Rye—12 months6 months
Sorghum—8 months4 months
Spelt—12 months6 months
Teff—8 months4 months
Tortillas3 months once opened6 months3 months
Whole wheat bread—3 months3–5 days

Keep the fridge at 40°F (4°C) or colder and the freezer at 0°F (−18°C). Write the date on containers when you open or cook something.

Source: USDA FoodKeeper data. Updated 2026-10-13.