Freshness, Degassing and Storage
What happens to roasted coffee over days and weeks, when it peaks, and how to slow the decline.
Roasted coffee is not shelf-stable in any meaningful sense. It is a dry, porous solid full of volatile aromatics and trapped carbon dioxide, and it starts changing the moment it leaves the roaster1.
Degassing
Roasting produces CO₂ that stays trapped in the cellular structure: a 2014 study measured on the order of a few to ten milligrams of gas per gram of roasted coffee, more in darker roasts2. It escapes over the following weeks, fastest at first; a 2018 gravimetric study tracked that release and found it slows over days to weeks for whole beans3. In the cup, trapped CO₂:
Roasting traps carbon dioxide inside the bean; it leaves over weeks from whole beans and within minutes from grounds. The shaded band is the window where most brewers find the coffee at its best.
Rough resting windows, measured from the roast date. These are practitioner consensus, not measured optima54:
| Filter | Espresso | |
|---|---|---|
| Light roast | 7–21 days | 14–35 days |
| Medium roast | 5–14 days | 10–28 days |
| Dark roast | 3–10 days | 7–21 days |
Dark roasts are more porous and degas faster; light roasts hold onto their (smaller) store of gas longer2.
Staling
After degassing, the enemy is oxidation and the loss of volatiles. Aromatics evaporate, lipids oxidise, and the cup loses brightness and complexity, sliding toward flat, papery, and eventually rancid. Warmth, oxygen, humidity and light all accelerate it1. The timeline most brewers report — whole beans at room temperature noticeably diminished by six to eight weeks and clearly stale by three months — is practice, not a measurement6.
Ground coffee stales far faster. Grinding exposes vastly more surface to air, and the gravimetric study found a large share of the remaining CO₂ leaves within minutes of grinding3; the volatile aromatics go with it. Grind immediately before brewing; it is the single biggest freshness win.
Storage
- Original bag with a one-way valve, sealed, in a cupboard: fine for the first few weeks.
- Airtight, opaque container: a small improvement; less headspace is better, so a container the coffee nearly fills beats a large one.
- Vacuum canisters: helpful for slowing oxidation; they don't stop degassing.
- Fridge: don't. Condensation and absorbed odours.
- Freezer: yes, done properly. Freezing at −18 °C or below sharply slows the reactions behind staling1. Portion into airtight containers (small jars, vacuum bags) so you never re-freeze a thawed batch, and grind straight from frozen. A 2016 study found that colder beans grind finer and more uniformly, with the effect already visible at freezer temperatures7, so adjust a step coarser.
The storage bullets above are Cup Engineering practice, consistent with practitioner guidance5. Freezing single doses in small tubes has become standard in competition and café practice6. A coffee frozen at its peak can be brewed months later with little loss.
Practical timeline
Cup Engineering's summary of the sources above:
- Day 0–3: heavy CO₂. Brew if you must, expect it to be off.
- Day 5–21: the window. Filter coffee peaks early in it, espresso later.
- Week 3–6: gradual decline; still good, especially for immersion and milk drinks.
- Week 6+: freeze anything you haven't opened; use up what you have.
A "best before" date twelve months out is a food-labelling convention, not a description of when the coffee will taste good. Look for the roast date.
Sources
Numbered in order of first citation. Tier follows Cup Engineering's trust hierarchy: 1 peer-reviewed or formal standard, 2 institutional, 3 practitioner data, 4 press, 5 maker or roaster. “Checked” is when we last verified the reference.
- 1.Britta Folmer (ed.). Academic Press (Elsevier), 2017.Tier 2 · InstitutionalChecked 5 Sept 2026ISBN 9780128035207; ~60 contributing domain scientists. General reference across agronomy, processing, roasting, extraction and sensory chapters.
- 2.Xiuju Wang, Loong-Tak Lim. Food Research International, 61, 144-151, 2014. doi:10.1016/j.foodres.2014.01.027.Tier 1 · Peer-reviewed / standardChecked 5 Sept 2026Title corrected (ends 'in coffee', not 'in coffee beans'). Darker/faster roasts retain more CO2 and degas faster; cited in roasting and freshness articles.
- 3.Samo Smrke, Marco Wellinger, Tomonori Suzuki, et al. (senior author Chahan Yeretzian). Journal of Agricultural and Food Chemistry, 66(21), 5293-5300, 2018. doi:10.1021/acs.jafc.7b03310.Tier 1 · Peer-reviewed / standardChecked 5 Sept 2026Date corrected: online Nov 2017, issue 2018. CO2 release kinetics of whole vs ground beans; source for degassing curves in freshness-and-storage.
- 4.Jonathan Gagne (published by Scott Rao; ed. Jean Zimmer). Scott Rao (self-published), 2021.Tier 3 · Practitioner dataChecked 5 Sept 2026Corrected: Gagne is sole author, Rao is publisher; copyright 2020, released Jan 2021 (not 2019). ISBN 9780578246086. Percolation, fines, water and brewer geometry with measured data.
- 5.Matt Perger et al.. baristahustle.com, 2015.Tier 3 · Practitioner dataChecked 5 Sept 2026Founded by Matt Perger, launched Jan 2015; living resource. Used for extraction/TDS course material and the 'Towards a Common Coffee Control Chart' piece. Cite individual lessons where possible.
- 6.The World Atlas of Coffee: From Beans to Brewing - Coffees Explored, Explained and Enjoyed (2nd ed.)James Hoffmann. Mitchell Beazley (Octopus), 2018-10-04.Tier 4 · PressChecked 5 Sept 2026ISBN 9781784724290. General trade reference for origins and processing, not a measurement-based work (tier 4). A 3rd edition (ISBN 9781784729868) was published 4 Nov 2025; consider updating citations.
- 7.Erol Uman, Maxwell Colonna-Dashwood, Lesley Colonna-Dashwood, et al. (senior author Christopher H. Hendon). Scientific Reports, 6, 24483, 2016-04-18. doi:10.1038/srep24483.Tier 1 · Peer-reviewed / standardChecked 5 Sept 2026Colder beans grind finer with a narrower particle distribution; distribution independent of origin/process. Cited in grind-size article.