COFFEE SCIENCE

What is the role of CO2 in coffee?

Quick answer

CO2 is a natural byproduct of the coffee roasting process that becomes trapped within the bean's structure. Its role is twofold: it preserves freshness by acting as a barrier against oxidation, but it also creates turbulence during brewing. Proper degassing—allowing the coffee to rest after roasting—is essential to ensure that excess CO2 does not negatively impact extraction or flavor.

The real story

Carbon dioxide (CO2) is one of the most misunderstood elements in coffee science. During roasting, the chemical reactions that create flavor also produce large amounts of CO2, which remains locked inside the bean’s cellular matrix. Immediately after roasting, the concentration of CO2 is at its peak. This is why fresh coffee is often sealed in bags with a one-way degassing valve; the beans are literally "breathing" out gas, and without a valve, the pressure could burst the bag.

In the context of brewing, CO2 is a double-edged sword. When hot water hits fresh coffee grounds, the CO2 is released rapidly—a process we see as the "bloom" in pour-over or the thick, rich crema in espresso. This release is beneficial because it creates bubbles that gently agitate the grounds, facilitating an even extraction. However, if the coffee is too fresh, the CO2 release is so aggressive that it creates a barrier between the water and the grounds, essentially pushing the water away and leading to uneven or "channeling" extraction, which often manifests as a sour or metallic taste.

This is why roasters recommend a "rest" period for their coffee. Degassing allows the internal pressure of the beans to stabilize, moving from an excess of gas to an optimal level where the CO2 can assist in extraction without overpowering it. For filter coffee, a few days of rest is usually sufficient. For espresso, which relies on high pressure to force the CO2 out, a longer rest—often a week or more—is typically required to ensure a balanced, consistent shot.

In practice, understanding the role of CO2 helps you troubleshoot your daily cup. If your pour-over brew seems to "stall" or flow slower than usual, or if your espresso shots are spraying and uneven, your coffee might simply need a few more days to degas. Managing CO2 is part of the art of freshness; it reminds us that coffee is not a static product, but a dynamic, evolving material that continues to change even after it has left the roaster.

Sources we lean on
  • · https://sca.coffee/
  • · https://www.ncausa.org/