Roasted coffee is not shelf-stable in any sense your palate cares about. It is a food at the peak of a slow decline, and the window where it tastes like what the roaster intended is measured in weeks. The good news: the decline is chemistry, chemistry is predictable, and predictable things can be managed with nothing more exotic than a valve bag and a calendar.
What roasting sets in motion
Roasting drives hundreds of reactions — the Maillard browning, caramelization, the physical cracking that gives this site its name — and leaves the bean loaded with dissolved CO₂ and volatile aromatic compounds. From the moment the beans leave the drum, two clocks start:
Clock one: degassing (days)
CO₂ escapes the bean structure over roughly one to three weeks, fastest at first. This matters for brewing because gas physically interferes with extraction — it pushes water away from the coffee. Brew a two-day-old coffee and the bloom erupts like soda, espresso shots run strangely and gush, and cups taste oddly hollow no matter what you adjust. This is the “too fresh” phenomenon, and it is real, not connoisseur theater. Espresso, which forces water through the bed under pressure, is far more sensitive to it than pour-over.
Clock two: staling (weeks to months)
The volatile aromatics — the compounds that distinguish this Kenyan from that Brazilian — evaporate and oxidize. Oxygen slowly turns the bean’s oils rancid; the papery, cardboard flavor of old coffee is oxidation you can taste. Unlike degassing, staling never plateaus. It only accelerates once the CO₂ (which was, usefully, an oxygen barrier puffing outward from the bean) has departed.
The freshness window, roughly
- Days 0–5
- Degassing chaos — rest, especially for espresso
- Days 5–21
- The sweet spot for most roasts and methods
- Weeks 3–6
- Still good; brightness fading, adjust grind finer
- Beyond
- Drinkable, diminishing; papery notes arriving
Dark roasts (more porous, oilier) age faster; very light roasts often improve for two or three weeks. Ground coffee runs this whole table in hours, not weeks — surface area is oxygen’s best friend.
Reading the bag like it matters
- Roast date, not “best before.” A best-before date twelve months out tells you the legal shelf life, and nothing else. Roasters who print the roast date are making a claim you can verify; those who don’t are asking you not to check. This single label habit separates coffee worth grinding from supermarket ballast.
- The one-way valve on a proper coffee bag isn’t decoration — it lets the bag vent CO₂ pressure without letting oxygen in. A sealed valve bag is genuinely good packaging; a resealed folded bag with a clip is a compromise; an open bag is a countdown.
Storage: what works and what’s furniture
Works
- The bag it came in, air pressed out, sealed tight, in a cupboard — dark, cool, dry. For a bag you’ll finish in two or three weeks, this is honestly sufficient, and everything fancier is marginal.
- An airtight opaque container, sized so it’s full — headspace is just stored oxygen. Vacuum-pump canisters that actively remove that headspace are the one container category with a real mechanism behind the price.
- The freezer, done properly — the enthusiast’s pantry. Cold slows staling chemistry dramatically, and frozen coffee stored airtight keeps remarkably well for months. The rules that make it work: portion into small airtight containers before freezing (no repeated in-and-out), and grind straight from frozen or let a portion warm fully sealed — condensation on cold beans is the failure mode, not the cold itself. Bonus: frozen beans grind slightly more evenly. This is settled practice at this point, not a gamble.
Furniture
- The fridge. Worst of all worlds: not cold enough to slow chemistry much, humid, full of odors that coffee absorbs enthusiastically. The fridge is where beans go to become the smell of the fridge.
- Decorative glass jars on a sunny shelf. Light and warmth are staling accelerants; clear jars are display cases for decay. If it must be glass, keep it in the cupboard.
- Buying the 1 kg bag “because it’s cheaper.” Per gram, yes. Per gram of coffee that still tastes like the label, the 250 g bag usually wins for a one-brew-a-day household. Buy to your consumption rate, or split the big bag into the freezer on day one.
Adjusting the brew as coffee ages
Because degassing changes the bed’s resistance, the same coffee needs a slightly finer grind at week four than week one to hold the same contact time — you will see espresso shot times drift and pour-over drawdowns speed up. One grind step tighter per couple of weeks is the usual maintenance. If a coffee has drifted past its window, extend the ratio slightly and lower expectations gracefully: old coffee makes a fine milk drink long after it stops making an interesting filter cup.
The habit that covers 90% of this article: buy roast-dated coffee in bag sizes you finish within three weeks, keep it sealed in the dark, and freeze anything you can’t drink in time — in portions, airtight, on day one.
Freshness isn’t a purity test; a week either side of the window won’t ruin your morning. But if you have ever wondered why the same beans that sang at the roastery mumble at home a month later — now you know both clocks, and how to slow the one that matters.