Degassing is the release of carbon dioxide that builds up inside coffee beans during roasting, and it starts strong before tapering off over weeks. For filter brewing, a rest of a few days usually works well, while espresso benefits from a somewhat longer wait, and either way, grind just before you brew. Research from ZHAW and guidance from the Specialty Coffee Association back this timing, and it is the same logic Purelight Coffee applies when deciding how to package fresh batches.
TL;DR:
- Most of the CO2 a bean releases occurs within the first 24 to 48 hours after roasting, significantly affecting flavor and brewing quality.
- Resting for three to seven days is ideal for filter brewing, while seven to fourteen days benefits espresso by reducing channeling and improving crema stability.
- Grinding immediately before brewing is crucial since it speeds up CO2 loss, drastically reducing degassing time compared to whole beans.
- Storing beans in valve-sealed bags in a cool, dark place slows degassing and oxidation, with freezing extending freshness for months.
- Relying on smell, sound, and shot pull observations during tasting better indicates bean readiness than fixed calendar guidelines.
Table of Contents
- What happens chemically when coffee releases gas
- Why resting time changes how your coffee tastes
- How long you should actually rest your beans
- How storage and cooling method affect degassing speed
- A step-by-step routine from roast to cup
- How Purelight Coffee handles roasting and packaging for freshness
- What actually tells you a batch is ready
- Ready-to-brew options if you’d rather skip the waiting
- FAQ
- Sources
What happens chemically when coffee releases gas
Roasting triggers the Maillard reaction and Strecker degradation, the same browning and flavor-building reactions that give coffee its aroma. A side effect is carbon dioxide, which gets physically trapped inside the porous cell structure of the bean as it cools. That trapped gas has nowhere to go immediately, so it escapes gradually once the bean is exposed to air.
Gravimetric research from ZHAW found that up to about 2% of a roasted bean’s weight can be trapped CO2, with the fastest release happening in the first 24 to 48 hours and smaller amounts continuing to escape for weeks afterward. That CO2 is not just a byproduct to wait out. In the short term, it does two useful things:
- It displaces oxygen inside the bag, slowing oxidation before the seal is opened.
- It carries volatile aroma compounds that contribute to the smell and early flavor of fresh coffee.
That dual role is why timing matters. Too little rest and the gas interferes with brewing. Too much, and the protective CO2 envelope has mostly dissipated, leaving the beans more exposed to oxygen.
Why resting time changes how your coffee tastes
Espresso is the method most sensitive to leftover gas. Machine pressure forces water through the puck fast, and if there is still a lot of CO2 trying to escape at the same time, it disrupts even extraction. The result is often channeling, where water finds a path of least resistance through the coffee bed instead of flowing evenly, plus an unstable, overly thick crema that looks good but can mask uneven flavor underneath.
Filter brewing is more forgiving because the open bed lets gas vent naturally during blooming. That is why a pour-over made with beans roasted yesterday can still taste fine, while the same beans in an espresso machine might sputter and spray.
Most of the CO2 a bean will ever lose escapes in the first 24 to 48 hours after roasting, according to ZHAW’s gravimetric data. This front-loaded curve explains why a one-day-old bag tastes noticeably different from a one-week-old bag, but a three-week-old bag and a four-week-old bag taste closer together. Letting that initial rush pass before brewing espresso gives you steadier extraction and a cleaner shot.

How long you should actually rest your beans
The right rest window depends on brew method and how dark or how fast the beans were roasted. As a starting point:
- Filter and drip methods: rest three to seven days. The open brew bed vents gas well, so you get good flavor early without the sourness that sometimes shows up in beans that are too fresh.
- Espresso: rest seven to fourteen days. This gives the sharpest initial CO2 release time to settle, which reduces channeling and produces steadier crema.
- Cold brew: rest five to ten days. Cold extraction is slower and less pressure-dependent, so it tolerates a middle ground.
- Cupping or quick tasting: a same-day or next-day taste is fine for evaluating roast development, just know it will not represent the coffee’s full flavor potential.
Darker and faster roasts tend to release more CO2 more quickly right after roasting, so they may hit their best flavor window a little sooner than slower, lighter roasts. Grind size matters just as much as rest time. SCA guidance notes that grinding dramatically speeds up CO2 loss, meaning whole beans that would take weeks to fully degas can lose much of that gas within minutes of grinding. Grind right before brewing, not the night before.
Pro Tip: Keep a small notebook or app log of roast date, rest time, and tasting notes for each batch, since the ideal window shifts slightly by origin and roast level.

How storage and cooling method affect degassing speed
Temperature is one of the biggest levers you have. Research on CO2 sorption and release kinetics in coffee indicates that a 10°C rise in storage temperature can roughly double the degassing rate, which means a bag left near a warm stove or in direct sun ages faster than one kept in a cool pantry.
Packaging plays a similar role. One-way valve bags let CO2 escape without letting oxygen back in, which is why most specialty bags use them instead of sealing beans airtight right after roasting. Vacuum sealing and freezing are longer-term options: SCA’s reporting on freshness notes that freezing vacuum-sealed beans slows both degassing and aging substantially, which can stretch usable freshness out to months if moisture stays controlled.
Cooling method right after roasting matters too. Research published in the Journal of Agricultural and Food Chemistry found that water-quench cooling changes moisture content and causes faster degassing compared to air cooling, though aroma stability across most compounds was similar between the two methods, with some sulfur compounds behaving differently.
- Store beans in a cool, dark spot away from stove heat or sunlight.
- Use valve-sealed bags for anything you are not freezing.
- Reserve freezing for beans you will not use within a few weeks.
A step-by-step routine from roast to cup
A simple sequence removes most of the guesswork:
- Cool the beans quickly and evenly right after roasting, spreading them thin rather than leaving them in a deep pile.
- Bag them in a one-way valve bag once they are fully cool to the touch.
- Rest three to seven days for filter brewing or seven to fourteen days for espresso before grinding.
- Freeze any portion you will not use within three weeks, in a vacuum-sealed or airtight container.
- Grind immediately before brewing rather than ahead of time.
If espresso shots spray, gush, or produce an unusually thick, fast-collapsing crema, that usually points to too much residual gas. Try resting a few more days or grinding slightly coarser. If filter coffee tastes flat or sour, the beans may be past their best window. Try brewing earlier in the rest cycle or stepping down to a lighter roast, which tends to hold brighter acidity longer.
Pro Tip: Roast or buy in small batches and taste at day one, day three, and day seven to find your own preferred window, since bean density and origin shift the curve.
How Purelight Coffee handles roasting and packaging for freshness
Purelight Coffee is an independent specialty coffee brand with coffee roasted in small batches by a roasting partner in Bend, Oregon. Product pages provide roast level and tasting notes to help match a bean to your brew method and rest preference.
Format changes the degassing picture. Whole bean holds CO2 and aroma longest, ground coffee loses it within minutes of grinding, and formats like pods and instant coffee are built around consistency rather than a resting schedule at home.
- Whole bean and ground options across Single Origin and House Blends suit readers who want to control their own rest window.
- The Trapper Peak Decaf, an Indonesian decaf, follows the same small-batch roasting and resting logic as our caffeinated lines.
- Flathead Valley Dark Roast pods and Mt. Siyeh instant coffee are made for convenience, with freshness handled during production rather than left to the buyer.
What actually tells you a batch is ready
In practice, I rely on smell, sound, and a quick espresso pull more than a calendar. A bag that still hisses faintly when opened, or smells sharp and slightly sour up close, usually needs another day or two. Watching how a shot pulls, whether it gushes, chokes, or settles into a steady stream, tells you more than any fixed rule.
Every bean behaves a little differently, so run your own small tests and write down what you notice. Preference varies too: some people like the brighter edge of a slightly younger roast, others prefer the rounder cup that shows up after two full weeks.
— Shawn Lee
Ready-to-brew options if you’d rather skip the waiting
If tracking rest windows and grind timing is not how you want to spend your mornings, formats built for convenience take that step off your plate. Mt. Siyeh instant coffee and Flathead Valley pods are ready whenever you are, no resting schedule required. For those who still want whole bean or ground coffee but with the freshness math handled, our Single Origin and Decaf lines ship free across every U.S. Browse the full lineup at Purelightcoffee and pick the format that matches how you actually drink coffee.
FAQ
How long should you let coffee beans degas?
A few days works well for filter and drip methods, while espresso generally benefits from about a week or two of rest. The fastest CO2 release happens in the first 24 to 48 hours after roasting, with smaller amounts continuing to escape for weeks.
What is the 15-15-15 coffee rule?
This is an informal home-roasting shorthand rather than an official standard, and definitions vary depending on who you ask. It generally refers to resting beans for a set period, often interpreted as about one to two weeks, though no single source fixes it as a formal rule, so it is best treated as a rough starting point rather than a precise guideline.
Why is coffee offgassing?
Roasting traps carbon dioxide inside the bean’s cell structure through the Maillard and Strecker reactions, and that gas needs somewhere to go once roasting ends. SCA guidance notes this release is front-loaded, happening fastest in the weeks right after roasting, and much faster still once the beans are ground.
What brand of coffee has no mold?
Coffee quality and safety depend on sourcing, roasting, and storage practices rather than any single brand claim, and no legitimate coffee seller markets itself this way. Buying from a roaster that roasts in small batches and stores beans properly, away from moisture and heat, is a more reliable way to judge freshness and quality than looking for a mold-free label.
Sources
- ZHAW gravimetric degassing research (PubMed entry)
- Influence of Water Quench Cooling on Degassing and Aroma Stability of Roasted Coffee (J. Agric. Food Chem., 2007)
- Coffee Decoded: What is ‘freshly roasted’ coffee? — Specialty Coffee Association
Recommended
- Roast 2 kg at a Time: Small Batch Roasting for Home Roasters
- Coffee Brew Ratio: Practical Ratios and Recipes to Try
- Freshly Roasted Coffee: When to Drink It, How to Buy It
This article was produced by the Purelight Coffee team. It’s general coffee and brewing information, not professional or medical advice - results will vary with your equipment, water, and beans.