Coffee degassing is the process by which roasted coffee beans release carbon dioxide (CO₂) after roasting. This happens because roasting creates gases inside the bean structure. As coffee rests after roasting, CO₂ gradually escapes, which changes how the coffee extracts and how flavors develop during brewing.
What Is Coffee Degassing?
Coffee degassing refers to the natural release of carbon dioxide from roasted coffee beans after roasting.
During roasting, high temperatures trigger chemical reactions inside the coffee bean. These reactions create gases that become trapped inside the porous structure of the roasted bean.
Once roasting ends, the pressure inside the bean begins to equalize with the surrounding air, and carbon dioxide slowly escapes from the beans over time.
Degassing is one of the reasons freshly roasted coffee behaves differently from older coffee. The amount of gas inside the beans influences how coffee extracts during brewing and how stable the brewing process becomes.
If you want a deeper explanation of how freshness affects brewing and flavor development, see our guide to fresh roasted coffee.
Why Roasted Coffee Releases CO₂

Roasting transforms green coffee beans into roasted coffee through a series of chemical reactions triggered by heat.
During roasting:
-
water evaporates from the beans
-
the internal structure expands
-
organic compounds break down
-
gases form inside the bean
One of the main gases produced during roasting is carbon dioxide (CO₂).
Because roasted coffee beans become porous during roasting, these gases become trapped inside microscopic pockets throughout the bean structure.
After roasting ends, the gas slowly begins to escape. This gradual release of CO₂ is what we refer to as coffee degassing.
How Coffee Degassing Changes After Roasting
Coffee releases carbon dioxide most rapidly soon after roasting, but there is no single degassing timetable that applies to every coffee.
The rate and duration of degassing vary with factors including:
- roast development;
- bean structure;
- coffee density;
- grinding;
- storage temperature;
- and packaging.
CO₂ release is generally fastest soon after roasting and then progressively slows.
Grinding greatly accelerates gas release because it exposes much more of the coffee’s internal structure.
As coffee continues to age, degassing becomes only one part of the freshness picture. Aromatic compounds are also gradually lost or altered, while oxygen exposure can contribute to flavour deterioration.
For that reason, coffee freshness should not be judged from the number of days after roasting alone.

How Degassing Affects Brewing
The amount of carbon dioxide inside coffee beans has a direct effect on brewing behavior.
Extraction Behaviour
Carbon dioxide can influence how water interacts with freshly ground coffee during brewing.
Coffee containing substantial retained gas may behave differently from coffee that has rested longer, particularly when hot water first contacts the grounds.
As coffee degasses, its brewing behaviour can change.
However, there is no universal point at which extraction suddenly becomes “stable.” Roast development, grind size, dose, puck preparation, brewing method and the coffee itself all influence extraction.
For espresso, this is one reason the same coffee may require small dialing adjustments as it ages.
This release of trapped gas is also what causes coffee to bloom during brewing, where CO₂ escapes rapidly when hot water first contacts the grounds, visibly expanding the coffee bed.
Crema formation in espresso
In espresso brewing, carbon dioxide contributes to the formation of crema. Freshly roasted coffee often produces more crema because more gas is present in the beans.

Flavor and Sensory Perception
Degassing can influence brewing behaviour and therefore affect what we perceive in the cup, but clearer or more balanced flavour should not be attributed to CO₂ loss alone.
Coffee is changing in several ways after roasting.
At the same time that carbon dioxide is escaping:
- aromatic compounds are changing;
- oxidation is occurring;
- the coffee’s extraction behaviour can shift;
- and the brewing recipe may need adjustment.
Resting coffee can therefore improve espresso performance in some cases, but there is no universal point at which a coffee becomes perfectly balanced simply because a particular amount of gas has escaped.
Why Fresh Coffee May Benefit From Resting
Freshness does not necessarily mean brewing coffee immediately after roasting.
Recently roasted coffee can contain substantial retained carbon dioxide, and allowing some of that gas to escape may make the coffee easier to brew consistently.
This is particularly relevant for espresso, where relatively small changes in coffee behaviour can affect flow and extraction.
However, the ideal resting period is not universal.
It varies with:
- the coffee;
- roast development;
- packaging;
- storage;
- and the espresso recipe being used.
The useful principle is therefore not to follow a fixed number of days, but to allow freshly roasted coffee appropriate resting time and then evaluate how it behaves in the espresso machine.
How Roast Development Influences Degassing
Roasting changes the internal structure of coffee, and those structural changes influence how carbon dioxide is retained and released.
More extensively developed coffees generally have a more porous cellular structure, which can allow gas to escape differently from less-developed coffees.
But roast colour alone does not determine degassing behaviour.
The complete roast profile, bean density, coffee variety, processing and storage conditions can all influence how quickly CO₂ leaves the coffee.
Grinding also has a major effect because breaking the bean dramatically increases the pathways through which gas can escape.
For that reason, degassing should be understood as a property of the specific coffee and roast rather than as a fixed timetable for “light,” “medium” and “dark” coffee.
FAQ
What is coffee degassing?
Coffee degassing is the process where roasted coffee beans release carbon dioxide gas after roasting.
Why does roasted coffee release CO₂?
Roasting produces gases inside the bean structure during chemical reactions triggered by heat. After roasting ends, these gases gradually escape.
How long does coffee degas after roasting?
Most degassing occurs during the first few days after roasting, although small amounts of gas may continue escaping for several weeks.
Can coffee be brewed immediately after roasting?
Coffee can be brewed immediately after roasting, but excessive gas release may lead to unstable extraction. Many coffees benefit from a short resting period.
Does degassing affect espresso crema?
Yes. Carbon dioxide contributes to crema formation in espresso. Freshly roasted coffee often produces more crema because more gas remains inside the beans.
Why can older coffee taste flat?
As coffee ages, aromatic compounds gradually decline and oxidation affects flavor clarity, which can lead to flatter tasting cups.
Final Thoughts
Coffee degassing is a natural stage in the life of roasted coffee. The gradual release of carbon dioxide after roasting influences how coffee extracts and how flavors develop in the cup.
Understanding degassing helps explain why timing, storage, and brewing methods all play a role in preserving the flavor of freshly roasted coffee.
Managing this balance between freshness and degassing is an important part of achieving consistent brewing performance
Leave a comment