DeparturesThe Complete Chemistry And Physics Of Espresso Extraction

Carbon Dioxide Degassing

Espresso extraction chemistry — a brass portafilter chamber with dark coffee droplets, Victorian botanical illustration style.
The Complete Chemistry and Physics of Espresso Extraction

In our previous look at the crema emulsion, we explored how oils and water mix. But what gives crema its physical structure? The answer is carbon dioxide (CO2). This gas acts as the invisible engine of espresso extraction, dictating how water flows and how foam forms.

During roasting, coffee beans undergo pyrolysis, which is the intense chemical breakdown of sugars and carbohydrates at high temperatures. This process generates massive amounts of CO2. Because the coffee cell wall is rigid, much of this gas gets trapped inside the bean's porous structure. When you grind the coffee, you increase the surface area, which lets some gas escape. However, the bimodal grind used for espresso leaves many intact cell fragments that still hold pressurized gas.

When pressurized hot water hits the coffee puck, the real physics of degassing begins. As water enters the espresso bed, it forces the trapped CO2 out of the cells. Because the water is under high pressure—usually 9 bars, which is nine times the pressure of the air around us—the gas dissolves directly into the hot liquid.

This rapid release of gas creates serious physical resistance. The expanding CO2 fights against the incoming water, acting as a barrier that slows down the flow rate. This is why freshly roasted coffee, which is packed with CO2, extracts much slower than older, stale coffee. To manage this resistance, baristas often use a "pre-infusion" step. By gently soaking the espresso bed with low-pressure water first, they allow some trapped gas to vent. This prevents the gas from violently disrupting the coffee bed, reducing the chance of channeling and uneven extraction.

The most visible role of CO2 happens at the very end of the extraction. When the dark liquid finally pushes through the metal basket and drops into your cup, the pressure instantly drops from 9 bars back to normal atmospheric pressure (1 bar). Just like twisting the cap off a shaken soda bottle, this sudden pressure drop causes the dissolved CO2 to violently expand. Millions of tiny bubbles burst into existence, creating the thick layer of crema.

In plain terms, espresso foam is not just trapped air. It is a messy, beautiful mix of tiny coffee bean shards, rapidly cooling liquids, and microscopic oil droplets floating in water. This makes it much more complicated than the foam on your average glass of beer. As noted in research , espresso foam is a complex system containing solid particles, like tiny cell-wall fragments, and is subjected to a significant temperature difference.

Scientists have even experimented with replacing CO2 to see how it changes the drink. In a method called Caffè Firenze, researchers used 20 bars of pressure to brew coffee with different injected gases . They tested air, argon, nitrogen, carbon dioxide, and nitrous oxide. They found that swapping CO2 for other gases completely changed the volume, color, and persistence of the foam . The specific chemical nature of carbon dioxide is uniquely suited to creating the traditional espresso crema we expect.

These CO2 bubbles do more than just look appetizing. They act like tiny vaults, capturing lightweight aromatic oils. Think of them as microscopic balloons that hold fragrance inside until the right moment. As these bubbles slowly pop, they release the scents that we will explore next in our study of molecular flavor compounds.

Explore related books & resources on Amazon ↗As an Amazon Associate I earn from qualifying purchases. #ad

Verified Sources

1Europe PMC

Neglected Food Bubbles: The Espresso Coffee Foam.

Illy E, Navarini L. · 2011 · Europe PMC

2Europe PMC

Physical and Chemical Effects of Different Working Gases in Coffee Brewing: A Case Study of Caffè Firenze.

Angeloni G, Masella P, Guerrini L et al. · 2020 · Europe PMC