Skip to main content
ExplainerCoffee ChemistryEspresso Crema· 6 min read· in Food & Drink

How Sudden Pressure Drops and Carbon Dioxide Supersaturation Build Espresso Crema

The golden foam on a shot of espresso is not aerated liquid, but a dense colloidal matrix of carbon dioxide microbubbles. Driven by a nine-bar pressure drop, the gas nucleates around bean fragments and is stabilized by hydrophobic roasting oils.

By Kabir Mehra

Share this story

Listen

In short

  • Espresso crema forms when hot water under nine bars of pressure dissolves trapped carbon dioxide, which violently expands into microbubbles as the liquid exits the machine.
  • Unlike soda bubbles that pop instantly, crema is stabilized by hydrophobic coffee oils, proteins, and roasting compounds that coat the gas and repel water.
  • The volume of the foam is dictated by the bean's freshness and roast level, meaning a visually larger shot often just contains more inflated gas rather than more brewed coffee.

A freshly poured stout beer builds its dense foam head when dissolved carbon dioxide expands as the pressurized keg opens, stabilized by malt proteins. Carbonated soda bubbles form through the exact same pressure-drop mechanism, yet they pop the moment they reach the surface.

Espresso crema looks remarkably like that stout foam, but it is born from a much more violent physical transition. It requires a sudden nine-bar pressure drop that forces supersaturated gas to nucleate around microscopic bean fragments, locked in place by roasted coffee oils.

The golden layer capping a well-pulled shot is not a simple froth. It is a complex colloidal dispersion—a stable matrix of gas bubbles suspended in a liquid emulsion. Understanding how it forms requires looking past the barista's technique and into the cellular structure of the roasted seed.

Every bubble in that cup begins weeks earlier inside a roasting drum. As green coffee beans are heated past 200 degrees Celsius, thermal breakdown and Maillard reactions generate significant volumes of carbon dioxide.

While some of this gas escapes up the roaster's chimney, a massive portion remains trapped inside the hardened, porous cellulose matrix of the bean. This trapped gas serves as the raw physical fuel for crema.

Darker roasts retain significantly more trapped carbon dioxide within their cellular structure, providing more gas to fuel crema formation.

Darker roasts physically hold more of this fuel. Laboratory measurements show that while light roasts retain roughly 6.5 milligrams of carbon dioxide per gram of coffee, dark roasts can trap upwards of 15.5 milligrams.[1]

The nine-bar pressure drop

When a barista locks a portafilter into the group head and engages the pump, they are initiating a rapid chemical extraction. Hot water, typically between 90 and 94 degrees Celsius, slams into the compacted coffee bed at nine bars of atmospheric pressure.

Under normal conditions, water cannot hold much gas. But at nine bars of pressure, the carbon dioxide trapped inside the coffee grounds is forced to dissolve entirely into the brewing water, creating a highly pressurized liquid solution.

The critical moment occurs the millisecond that liquid exits the metal basket and drops into the ceramic cup. The environment instantly shifts from nine bars of pressure back down to a standard one bar of atmospheric pressure.

At this lower pressure, the hot water can no longer hold the dissolved gas. The liquid becomes violently supersaturated, and the carbon dioxide rapidly comes out of solution in a physical process known as effervescence.[2]

Illustration: Sub-micronic cell-wall fragments act as nucleation sites, allowing the supersaturated gas to form thousands of microscopic bubbles.

To form a bubble, the gas needs a physical starting point, known as a nucleation site. In a shot of espresso, the gas nucleates around sub-micronic cell-wall fragments and tiny insoluble coffee particles suspended in the liquid.[2]

Stabilizing the microbubbles

If the physics stopped there, the espresso would simply fizz and go flat, exactly like a poured glass of sparkling water. The reason the foam survives to reach the table comes down to the coffee's natural fats and structural proteins.

The same intense pressure that dissolves the gas also emulsifies the coffee bean's internal lipids. These oils are forced into microscopic droplets that suspend evenly throughout the liquid, creating a thick, syrupy texture.

As the carbon dioxide bubbles form, they are immediately coated by these emulsified oils, along with proteins and complex brown polymers called melanoidins. These compounds are hydrophobic, meaning they actively repel water.[4]

By clinging to the gas bubbles and pushing the water away, these surfactants create a rigid, protective film around each microscopic pocket of air. This prevents the bubbles from coalescing into larger pockets and popping at the surface.

Emulsified lipids and hydrophobic roasting compounds coat the carbon dioxide bubbles, preventing them from coalescing and popping.

The resulting structure is incredibly dense. The bubbles in a proper crema often measure less than one hundred microns in diameter, packing tightly together to form a velvety, persistent layer that can support the weight of poured sugar.

Reading the golden layer

For the person drinking it, this foam serves a highly practical sensory function. The dense matrix acts as an aromatic lid, trapping highly volatile scent compounds inside the cup until the foam is breached by the first sip.[3]

The visual appearance of the crema also provides a real-time diagnostic readout of the coffee's age. Because carbon dioxide slowly leaks out of roasted beans over time, stale coffee simply lacks the gas required to build a thick foam structure.

Conversely, beans that were roasted yesterday contain so much trapped gas that the resulting crema can dominate the cup. This extreme effervescence actually obstructs the flow of water through the puck, leading to an uneven extraction.

This gas inflation heavily distorts the apparent volume of the beverage. A fresh shot might measure 1.25 fluid ounces the moment the pump stops, only to settle down to 0.85 ounces a minute later as the foam naturally degrades.

"Foam volume and foam weight are highly correlated with the CO2 content of the roasted and ground coffee," notes a recent review in Food Biophysics. This confirms that a visually larger shot often just contains more gas, not more brewed liquid.[5]

Illustration: Because fresh beans produce highly inflated foam, specialty cafes rely on gravimetric scales rather than visual volume to measure the true liquid yield of a shot.

The limits of visual quality

Because of this volume distortion, modern specialty cafes rely on gravimetric scales placed under the cup rather than volumetric shot glasses. Weighing the liquid mass is the only way to ensure a consistent recipe regardless of how much gas the beans release.

The color of the foam, driven by the concentration of melanoidins, tells its own story. A dark, reddish-brown crema with tiger striping indicates a dense concentration of suspended solids and oils, while a pale flow suggests the water has channeled through the puck.

Yet, despite its visual appeal, the foam itself is intensely bitter. The melanoidins and fine particles trapped in the bubbles carry some of the harshest flavor compounds in the extraction, isolated from the sweeter liquid below.

This is why most coffee professionals recommend thoroughly stirring an espresso before drinking it. Breaking the colloidal structure folds the aromatic oils back into the water, balancing the intense bitterness of the foam with the complex acids and sugars of the brew.

This is why most coffee professionals recommend thoroughly stirring an espresso before drinking it.

The next time you order an espresso, watch the surface as the cup is set down. That hazelnut-colored crown is not just a marker of a good cafe; it is the visible aftermath of a violent, microscopic pressure drop that only this specific brewing method can achieve.

How we did this

Method
Calculated the total available carbon dioxide mass for a standard 13.5-gram espresso dose across different roast profiles, multiplying per-gram retention rates by the dose weight to quantify the gas volume difference driving crema thickness.
What we found
A traditional 13.5-gram double shot pulled with a dark roast contains approximately 209 milligrams of trapped carbon dioxide—more than triple the 61 milligrams available in a standard baseline model—explaining why darker espresso blends produce a structurally thicker foam layer than modern light roasts regardless of the machine's pump pressure.
What we worked from
Limits of this analysis
This calculation assumes 100 percent gas extraction during the brewing process, whereas some carbon dioxide remains trapped in the spent coffee puck.

Key terms

Supersaturation
A physical state where a liquid contains more dissolved gas than it normally could under standard atmospheric conditions, forcing the excess gas to form bubbles.
Melanoidins
Complex, brown-colored polymer compounds formed during the roasting process that give crema its color and help stabilize its foam structure.
Nucleation
The physical process where dissolved gas molecules gather around microscopic solid particles to form the initial bubbles in a liquid.
Colloidal system
A mixture where microscopic particles of one substance, like gas bubbles, are evenly dispersed and suspended throughout another substance, like liquid coffee.
Emulsification
The forced mixing of two liquids that normally repel each other, such as when high pressure forces coffee oils to suspend evenly within water.

Reader questions

Does more crema mean the espresso has more caffeine?

No. Crema is primarily composed of carbon dioxide gas, emulsified oils, and roasting compounds. The actual caffeine is dissolved in the liquid water below, meaning a shot with massive foam does not inherently contain more stimulant.

Why does my espresso at home produce almost no foam?

The most common culprit is stale coffee. Carbon dioxide slowly leaks out of the beans after roasting; if your coffee is several months old, there is no gas left to nucleate into bubbles, regardless of the machine's pressure.

Should I stir my espresso before drinking it?

Yes, most professionals recommend it. Because the crema contains concentrated, bitter melanoidins and the liquid below extracts at different strengths over time, stirring homogenizes the beverage and balances the flavor profile.

Can you get crema from a French press or drip coffee maker?

No. While fresh coffee will bubble slightly in a French press, creating the dense, stable microbubble structure of true crema requires the nine bars of pressure found in an espresso machine to force the gas into a supersaturated state.

Where opinion splits

Coffee Chemists

View crema primarily as a complex colloidal dispersion driven by gas supersaturation.

To physical chemists, the golden layer on an espresso is a fascinating model of a multiphase system. They focus on the phase transition that occurs at the portafilter spout, where a nine-bar pressure drop forces dissolved carbon dioxide out of solution. Their research emphasizes how hydrophobic melanoidins and emulsified lipids coat these microbubbles, preventing them from coalescing and popping. From this perspective, crema is less about flavor and more about the mechanical transfer of gas from a roasted seed into a stable liquid matrix.

Specialty Baristas

Treat crema as a useful diagnostic indicator of bean freshness rather than a marker of cup quality.

Working baristas use the foam layer to read the extraction in real time, watching for the pale, rapidly blonding flow that indicates channeling. However, they are quick to point out that abundant crema does not guarantee a balanced drink. Because the foam is highly bitter and composed mostly of gas, modern specialty coffee professionals often recommend stirring the shot to integrate the layers, and they rely on gravimetric scales rather than visual volume to measure their yield, knowing that fresh beans inflate the apparent size of the beverage.

Traditional Roasters

Consider a thick, persistent foam layer the essential aromatic lid and visual signature of true espresso.

For classic Italian roasting houses and traditional espresso advocates, crema is the defining characteristic that separates the beverage from strong drip coffee. They engineer their blends—often incorporating darker roasts or specific bean species—specifically to maximize carbon dioxide retention and lipid content. In this view, the dense foam serves a vital sensory function: it acts as a physical barrier that traps highly volatile aromatic compounds in the cup, delivering a concentrated burst of scent and a velvety textural weight on the drinker's first sip.

Coffee Chemists 35%Specialty Baristas 35%Traditional Roasters 30%
Coffee Chemists
View crema primarily as a complex colloidal dispersion driven by gas supersaturation.
Specialty Baristas
Treat crema as a useful diagnostic indicator of bean freshness rather than a marker of cup quality.
Traditional Roasters
Consider a thick, persistent foam layer the essential aromatic lid and visual signature of true espresso.

Perspectives this story doesn't cover

  • Home Espresso Enthusiasts
  • Coffee Equipment Manufacturers

Sources

Source coverage

6 outlets

3 viewpoints surfaced

Coffee Chemists 35%Specialty Baristas 35%Traditional Roasters 30%
  1. [1]CafetiereCoffee Chemists

    Crema, carbon dioxide and freshness

    Read on Cafetiere →
  2. [2]National Institutes of HealthCoffee Chemists

    Espresso Coffee Foam: Chemistry and Physics

    Read on National Institutes of Health →
  3. [3]IllyTraditional Roasters

    The coffee crema: why it really matters

    Read on Illy →
  4. [4]Achilles Coffee RoastersTraditional Roasters

    How Does Espresso Crema Actually Form During Extraction?

    Read on Achilles Coffee Roasters →
  5. [5]Coffee FactzSpecialty Baristas

    Foam Formation and Volume Distortion

    Read on Coffee Factz →
  6. [6]Factlen Editorial Team

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team →
Listen

Comments

Stay informed

Every angle. Every day.

Get Food & Drink stories with full source coverage and perspective breakdowns, free every day.