Coffee Degassing: Why Fresh Beans Release CO2 and When to Brew Them
Share
Open a bag of freshly roasted coffee and give it a squeeze: the little round valve on the front sighs out a puff of aroma. That is coffee degassing in action. Roasting creates large amounts of carbon dioxide (CO2) inside the beans, and over the following days and weeks they slowly release it.
Degassing matters more than you might think. Too much trapped gas can make brewing uneven; too little means the coffee is getting old. Understanding it explains why pour-over coffee blooms, why espresso crema fades with age, and when your beans taste their best.
Key takeaways
- Freshly roasted coffee contains roughly 1–2% CO2 by weight, created by chemical reactions during roasting.
- Darker roasts hold and release more CO2, and release it faster, than lighter roasts.
- Grinding releases a large share of the trapped gas within seconds to minutes.
- One-way valve bags let CO2 out without letting oxygen in.
- Many roasters suggest a short rest: a few days for filter coffee, about a week or more for espresso.
Where the CO2 comes from
Green coffee contains almost no free CO2. During roasting, sugars, amino acids and other compounds break down and react, including in the Maillard reaction and caramelization. Many of those reactions produce gases, especially CO2. At the same time, the bean expands and becomes porous, and much of the gas gets trapped inside its cell structure.
According to a 2017 study by Smrke and colleagues at Zurich University of Applied Sciences, published in the Journal of Agricultural and Food Chemistry, freshly roasted coffee contains roughly 1–2% CO2 by weight. For a 12 oz (340 g) bag, that is on the order of 3–7 g of gas, an enormous volume when you picture it as a gas rather than a solid.
How fast does coffee degas?
Whole beans
Whole beans release CO2 gradually over days and weeks. The release is fastest just after roasting and slows down over time. In the Zurich study, whole beans were still degassing after 400 hours, and light roasts were still releasing gas after about a month.
Roast level matters
The same study measured how much CO2 whole Arabica beans released over 400 hours:
| Roast level | CO2 released (whole beans, 400 h) |
|---|---|
| Light | About 2.5–2.8 mg per gram |
| Medium | About 4.7–6.6 mg per gram |
| Dark | About 8.5–11.9 mg per gram |
Darker roasts produce more gas and have a more porous structure, so they degas more and faster. Faster roast profiles also released more gas at medium and dark levels. That is one reason dark roasts can be ready to brew sooner and also fade sooner.
Ground coffee
Grinding breaks open the cell structure. In the Zurich measurements, up to about 75% of the trapped gas escaped during and just after grinding, and earlier studies reported losses of roughly 26% to over 70% depending on grind size and method. Aroma compounds escape along with the CO2, which is why coffee ground just before brewing tastes so much more vivid than pre-ground coffee left open for days.
The bloom: degassing you can see
When you pour a little hot water over fresh grounds in a pour-over or French press, the bed swells and bubbles. That is the bloom: trapped CO2 escaping rapidly as hot water hits the coffee.
Why it matters: gas pushing out of the grounds can repel water, causing uneven extraction. Blooming first lets most of that gas escape before the main pour.
- Use about twice the coffee’s weight in water (for 20 g coffee, 40 g water).
- Wait 30–45 seconds, longer for very fresh or dark coffee.
- A lively bloom is a good sign of freshness. Almost no bloom suggests old coffee, though light roasts and coarse grinds bloom less.
Espresso, crema and very fresh beans
Espresso brews under high pressure, and CO2 plays a big role in crema, the foam on top of a shot. The Zurich researchers noted that some CO2 is only released when coffee is wetted and extracted with water, and that this contributes to crema.
Very fresh beans can give a huge, bubbly crema and a shot that runs unevenly or tastes sharp, because so much gas disrupts the coffee puck. Old beans give thin, pale crema that disappears quickly. Somewhere in between is the sweet spot.
How long should you rest coffee?
There is no single scientific answer, and preferences differ. The windows below reflect common roaster guidance, not strict rules. Darker roasts generally need less rest; lighter roasts and dense, high-altitude beans may need more.
| Brew method | Typical rest after roasting | Peak flavor window (whole beans, stored well) |
|---|---|---|
| Pour-over, drip, French press | About 2–7 days | Roughly the first 2–4 weeks |
| Espresso | About 5–14 days | Roughly 1–4 weeks after roasting |
| Cold brew | Can be brewed almost immediately | Flexible; the long steep is forgiving |
| Moka pot | About 3–7 days | Roughly the first 3–4 weeks |
A simple test: brew the same coffee on day 3, day 7 and day 14 after roasting and taste the difference. You will learn more from your own palate than from any chart.
What the one-way valve actually does
Freshly roasted coffee releases so much CO2 that a sealed bag without a valve could puff up or burst. A one-way degassing valve lets gas out but stops outside air from getting in. That matters because oxygen is the main enemy of roasted coffee: it reacts with aroma compounds and oils and makes coffee taste flat and stale.
The CO2 escaping from the beans also helps push out some of the oxygen inside the bag, creating a protective atmosphere around the beans.
How to store coffee as it degasses
- Keep it in the valve bag, pressing out excess air and rolling it closed, or move it to an opaque, airtight container.
- Keep it cool, dark and dry: a cupboard, not next to the stove or in sunlight.
- Skip the fridge. Beans can pick up moisture and odors.
- Freeze only for longer storage, in airtight single-use portions, and let them come to room temperature before opening to avoid condensation.
- Buy whole bean and grind just before brewing to keep CO2 and aroma in the bean until you need them.
Fresh roasting, timed for you
Every Feel Espresso coffee is roasted 1–5 days before delivery and shipped in 2–5 days, so it arrives within days of roasting and enters its best drinking window in your kitchen, not on a warehouse shelf. For filter brewing you can start right away; for espresso, our African Espresso, a medium-dark blend of Kenyan, Tanzanian and Ethiopian coffees with red fruit and chocolate notes, may pull even sweeter shots after a few extra days of rest. Not sure where to start? Our best selling coffees are the favorites our customers reorder most.
Coffee degassing FAQ
How long does coffee take to degas?
Whole beans release most of their CO2 over the first couple of weeks after roasting, but degassing continues for longer, especially in light roasts. Ground coffee loses much of its gas within minutes.
Can you brew coffee right after roasting?
Yes, but very fresh coffee can taste sharp or extract unevenly, especially as espresso. A rest of a few days usually helps.
Why does my coffee bag have a valve?
It lets CO2 out so the bag does not inflate, while stopping oxygen from getting in and staling the coffee.
Does no bloom mean my coffee is stale?
Often, but not always. Light roasts, coarse grinds and decaf can bloom less even when fresh.
Should I let coffee degas in an open container?
No. Leaving beans open exposes them to oxygen. A valve bag or an airtight container lets the gas escape slowly while protecting flavor.
Sources
- Time-resolved gravimetric method to assess degassing of roasted coffee, Smrke et al., Journal of Agricultural and Food Chemistry, 2018 (online 2017).
- Coffee Standards, Specialty Coffee Association.
Facts checked in October 2026.
Keep reading: Fresh roasted vs supermarket coffee · Whole bean vs ground coffee · Best selling coffees