Skip to content
Origin & Cup

BREW

How Long Do Coffee Beans Last? Freshness, Storage and the Freezer Question

How long coffee beans stay fresh after roasting, why ground coffee goes stale faster, and how to store beans: airtight, cool, dark, and when freezing helps.

By Origin & Cup Editors · Published November 12, 2026 · 3 min read

Whole roasted coffee beans spilling from a glass jar next to a white ceramic canister on a wooden counterFree calculatorCoffee to Water Ratio Calculator

Whole coffee beans taste best within about 1 to 4 weeks of their roast date, kept in an airtight container somewhere cool and dark. After that they're still safe to drink for months, but they slowly lose aroma and taste flat. Ground coffee goes stale much faster, so buy whole beans and grind right before you brew. The freezer helps only for longer storage, and only if you do it right.

How long coffee stays fresh

CoffeeBest withinStill drinkable
Whole beans, unopened valve bagabout 1–4 weeks after roasting (often longer in nitrogen-flushed bags)a few months
Whole beans, opened, airtight containerabout 2–4 weeks1–2 months
Ground coffee, openeda few days to about a weeka few weeks
Whole beans, frozen in airtight portionsseveral monthslonger, but quality fades

These are practical ranges, not hard limits: darker roasts tend to taste stale sooner, and how much it matters depends on how you brew. Espresso shows staleness quickly; milky drinks and cold brew hide it better.

Why coffee goes stale

Roasting fills beans with aroma compounds and carbon dioxide. After roasting:

  • CO₂ escapes (degassing). Very fresh coffee can taste a bit sharp and bubbles a lot in the bloom; a few days' rest helps, especially for espresso.
  • Aromas evaporate and oils oxidize when the coffee meets air, which is what makes old coffee taste flat, papery or cardboard-like.
  • Heat, light and moisture speed it all up.

Grinding makes everything faster. It hugely increases the surface area exposed to air. The Specialty Coffee Association's literature review on staling notes that grinding raises porosity and surface area, which accelerates both degassing and staling. That's the single best reason to own a grinder; see our manual grinder guide.

How to store coffee beans

  1. Keep them airtight. Reseal the original bag if it has a zip and valve, or move the beans to an airtight canister. A 2022 study on storage after opening found the storage method changed how fast coffee lost freshness.
  2. Keep them cool and dark. A pantry or cupboard away from the stove, oven and sunny windows. Clear jars on the counter look nice but let light in.
  3. Skip the fridge. It's humid and full of smells that coffee absorbs.
  4. Buy smaller amounts. A bag you'll finish in 2–3 weeks is ideal.
  5. Grind just before brewing.

The freezer: when it helps

Freezing slows staling a lot, but done carelessly it adds moisture and freezer smells. If you buy in bulk or want to keep a special coffee:

  • freeze soon after you buy, in small airtight portions (a week's worth each);
  • take out one portion at a time and let it reach room temperature before opening, so condensation doesn't form on the beans;
  • don't refreeze a thawed portion.

For coffee you'll drink within a few weeks, the freezer isn't worth it.

How to tell if your beans are stale

  • The smell is weak when you open the bag or grind.
  • The bloom barely bubbles in pour over or French press.
  • The cup tastes flat, hollow or papery, with little sweetness.
  • Espresso runs fast with thin, pale crema.

Stale beans aren't wasted: they're fine for cold brew, which is forgiving. Our cold brew ratio guide shows how much to use.

Reading a coffee bag

  • Roast date: the most useful date. Freshness is counted from here.
  • Best-by date: often many months after roasting; it tells you little about flavor.
  • One-way valve: lets CO₂ out without letting air in.
  • Roast level: darker roasts show their age sooner. More in light roast vs. dark roast.

Useful for this

Airtight coffee canister

Keeps beans away from air and light so they stay fresh longer after opening.

As an Amazon Associate, Origin & Cup earns from qualifying purchases.

Frequently asked questions

How long do coffee beans last after roasting?

Whole beans taste their best roughly 1 to 4 weeks after the roast date if they're kept airtight, cool and dark. They're still fine to drink for a couple of months, but they slowly lose aroma and taste flatter. Ground coffee goes stale much faster, so grind just before brewing.

Do coffee beans go bad?

Roasted coffee is dry and doesn't spoil like fresh food, so old beans are usually safe, just stale and flat-tasting. Throw them out if they smell musty or rancid, show mold, or got damp.

Should you store coffee beans in the freezer?

Only for longer storage. Freezing slows staling, but moisture is the risk: freeze beans in small, airtight portions soon after you buy them, take out one portion at a time, let it come to room temperature before opening, and don't refreeze it. For beans you'll finish within a few weeks, a sealed container in the pantry is better.

Is the 'best by' date the same as the roast date?

No. A best-by date is often many months after roasting. Look for a roast date on the bag: it tells you how fresh the coffee actually is.

Why do some bags have a little valve?

Freshly roasted coffee releases carbon dioxide for days. The one-way valve lets that gas out without letting air in, so the bag doesn't puff up and the beans stay protected from oxygen.

Sources

  1. What is the Shelf Life of Roasted Coffee? A Literature Review on Coffee Staling — Specialty Coffee Association
  2. Effects of different coffee storage methods on coffee freshness after opening of the packages (Smrke et al., 2022) — ZHAW / Food Packaging and Shelf Life

Keep reading