← Beverages

How long does coffee last?

Storage times from the U.S. government's USDA FoodKeeper data.

Short answer: Coffee (whole beans) keeps 3–4 months once opened in the fridge and 3–5 months in the pantry.

Storage chart

TypePantryFridgeFreezer
whole beans3–5 months; 3–5 months (after opening)3–4 months (after opening)—
home ground, non-vacuum3–5 months; 3–5 weeks (after opening)—1–2 years
instant1 year; 2–3 months (after opening)——
commercial ground, non-vacuum2 years; 2 weeks (after opening)1 month (after opening)6–12 months

Fridge at 40°F (4°C) or colder, freezer at 0°F (−18°C). Freezer times are for best quality; food kept frozen stays safe indefinitely.

Storage tips

Keep it longer

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.

Common questions

How long does coffee last in the fridge?

3–4 months once opened in the refrigerator at 40°F (4°C) or below, according to USDA FoodKeeper data.

How long does coffee last at room temperature?

3–5 months in a cool, dry pantry.

How can I tell if coffee has gone bad?

Throw it out if you see mold, a slimy texture, an off smell or an odd color. For anything perishable, go by the storage time rather than smell: bacteria that cause food poisoning don't usually change how food looks or smells.

More beverages

Source: USDA FoodKeeper data (USDA Food Safety and Inspection Service). Updated 2026-10-13. General information, not medical advice. When in doubt, throw it out.