Skip to content

How Long Do Whole Coffee Beans Keep?

How long a bag of roasted whole beans stays at its peak, how storage changes that, and why old beans decline in quality instead of spoiling on a set day.

Checked November 25, 2026

There isn't one number. A bag of whole beans doesn't spoil on a set day. It slowly gets duller, and how fast depends on how it's packaged and where you keep it.

Fresh is a short window

The National Coffee Association (NCA), a U.S. trade group, says it plainly: "Coffee begins to lose freshness almost immediately after roasting."1 That sounds alarming, but the loss is gradual. A research review from the Specialty Coffee Association found that "the greatest rate of freshness loss occurred in the first month of coffee storage".2

Wikipedia gives a rough figure too. It says roasted coffee has "an optimal typical shelf life of two weeks".3 Read that as a guide to when beans taste their liveliest, not as a deadline.

How a bag of beans changes over timeBeans are roastedFreshness starts to fadeBag is openedAroma and flavor decline
Quality slides gradually, and opening the bag speeds the slide up.

What the trade association lists

The NCA gives a quick guide to how long coffee keeps its freshness, assuming opened coffee has been moved into an airtight container.1

Form of coffee Keeps its freshness
Unopened bag of roasted beans Until the best-by date1
Roasted beans, room temperature 1–3 weeks1
Roasted beans, refrigerated 2 weeks1
Roasted beans, frozen 3–4 months1

Notice the gap between an unopened bag and an opened one. Researchers describe a "secondary shelf life" that "begins once that packaging has been opened by the consumer".2 Once you open the bag, the clock runs faster.

Why a range and not a date

Every kitchen is different. A warm cupboard and a bag left half open can each age beans at a different pace. The figures above are guides, so treat them as a starting point and trust your nose.

Whole beans also keep better than ground coffee. The SCA review notes that grinding raises the surface-to-volume ratio of coffee. That "accelerates degassing and staling."2 In plain words, grinding opens up far more surface for air to reach. The NCA's table backs this up, giving ground coffee at room temperature a shorter window than whole beans: "1–2 weeks" against "1–3 weeks".1

Stale isn't the same as spoiled

The NCA says that "over time, roasted coffee beans will decline in quality", and that they'll lose aroma and may taste stale.1 The one exception it names is moisture. Most roasted beans won't expire in the sense of being unsafe, "unless they have been exposed to moisture and develop mold".1 If beans look or smell moldy, don't brew them.

Wikipedia puts the problem in one line: "Without some sort of preservation method, coffee becomes stale."3

What this means for your shelf

  • Buy amounts you'll finish soon. The NCA suggests batches that last "enough for one or two weeks".1
  • Keep the bag sealed until you need it.
  • After opening, pour the beans into an airtight container. Our guide to jars and canisters covers what to look for.
  • Read the date on the bag, but know which date it is. The guide to bag dates explains the difference.
  • Want to hold beans longer? The freezing page looks at that option.

The reasons behind all this are on the staling page.

Where the facts come from

  1. Storage and shelf life, National Coffee Association USA
  2. What is the Shelf Life of Roasted Coffee? A Literature Review on Coffee Staling, Specialty Coffee Association
  3. Coffee roasting, Wikipedia