Skip to content
Roasted coffee beans spread over a wooden surface.

Coffee Degassing Explained: Why Fresh Coffee Releases CO₂ After Roasting

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?

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.

Why Roasted Coffee Releases CO₂

Cutaway illustration of a roasted bean releasing carbon dioxide.

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

Smrke and colleagues measured gas release from whole and ground coffees across roast degrees and roasting speeds in a 2018 study. It explains differences in release rates and the effect of grinding. The phase comparison below describes a process, with timing dependent on the coffee, roast and storage.

Coffee releases carbon dioxide most rapidly soon after roasting, but there is no single degassing timetable that applies to every coffee. That variability also affects how long coffee stays fresh.

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 across the coffee freshness timeline.

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.


Coffee degassing phases and what to observe
Phase What changes What to do for espresso
Early after roasting Gas release is generally faster while substantial CO₂ remains in the beans. Record how the shot flows and tastes. Additional rest may help if the coffee is difficult to brew consistently.
As the coffee rests CO₂ release generally slows. Aroma changes and oxidation can happen at the same time. Keep a reference recipe and compare sweetness, aroma and repeatability.
Later storage Gas can continue escaping as aromatic character gradually changes. Adjust the recipe if needed and evaluate whether you still enjoy the coffee.

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.

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.

An espresso shot with crema in a clear glass.

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?

Gas release is generally fastest soon after roasting and then slows. The rate and duration vary with the coffee, roast profile, grinding and storage. There is no universal day when degassing ends or espresso becomes ready to brew.

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 also strengthens your understanding of coffee freshness and storage, including why timing and brewing methods affect the flavor of freshly roasted coffee.

Managing this balance between freshness and degassing is an important part of achieving consistent brewing performance

Previous article Espresso Tamping: How to Tamp Level and Consistently

Similar Articles

Clicky
Title
Subtitle
Content here