Roasting Chemistry: The Maillard Reaction and Beyond
From green bean to first crack — discover the chemical reactions that create coffee's 1,000+ flavor compounds, and why roast level changes everything about your cup.
A green coffee bean smells like grass and straw. It tastes like nothing you’d voluntarily drink. Yet inside that pale, dense seed lies the potential for over 1,000 aromatic compounds — more complex than wine, chocolate, or vanilla. The key that unlocks all of it? Heat.
Roasting is where coffee becomes coffee. In roughly 10–15 minutes, a series of overlapping chemical reactions transforms an agricultural commodity into one of the most aromatically complex foods on Earth. Understanding what happens inside that roaster — and when — explains why your morning cup tastes the way it does, why light and dark roasts taste so different, and why the same bean roasted two different ways can seem like two different coffees.
What’s Inside a Green Bean
Before roasting begins, let’s inventory the raw materials. A green coffee bean is roughly:
| Component | Percentage | Role in Roasting |
|---|---|---|
| Carbohydrates | 50–55% | Fuel for caramelization, Maillard substrates |
| Water | 10–12% | Must evaporate before browning begins |
| Lipids (oils) | 12–18% | Carriers of aromatic compounds |
| Proteins and amino acids | 10–13% | Maillard reaction partners |
| Chlorogenic acids | 6–8% | Bitter/acidic precursors, antioxidants |
| Caffeine | 1–2.5% | Remarkably heat-stable |
| Trigonelline | ~1% | Degrades into niacin (vitamin B3) and pyridines |
| Minerals | 3–5% | Potassium, calcium, magnesium |
These aren’t just ingredients — they’re reactants waiting for activation energy. The story of roasting is the story of how heat rearranges these molecules into something entirely new.
Phase 1: Drying (Ambient to ~150°C)
When green beans enter the hot roaster drum (typically pre-heated to 180–220°C), the first task is mundane but essential: drive off moisture. Green beans contain 10–12% water by weight. During the drying phase, this water absorbs heat and evaporates, causing beans to transition from deep green to pale yellow over roughly 4–6 minutes. No browning occurs, minimal aroma develops, and a significant investment of thermal energy produces mostly steam.
What is happening, though, is structural. The cellular matrix of the bean is loosening under heat. Proteins are beginning to denature. Chlorogenic acids — the bitter compounds that make green coffee unpleasant to taste — start breaking down into quinic and caffeic acid. Early Maillard precursors are forming as amino acids and reducing sugars encounter each other in the increasingly hot, increasingly dry bean interior. The stage is being set. What you smell at this point is hay, bread dough, or toasted grain — nothing recognizably “coffee” yet.
Phase 2: The Maillard Reaction (150–200°C)
This is where everything changes.
The Maillard reaction is not a single reaction but a cascade of hundreds of reactions between amino acids and reducing sugars that begins when temperatures exceed roughly 150°C. Named after French chemist Louis-Camille Maillard, who first described the mechanism in 1912, this reaction family is responsible for the brown color and complex flavors of seared steak, toasted bread, roasted nuts — and, most impressively, coffee. The Maillard reaction generates more aromatic diversity in a 12-minute coffee roast than nature generates through any other single cooking process.
The mechanism unfolds in stages. First, an amino acid and a reducing sugar combine to form a glycosylamine compound, which rearranges into an Amadori product — still colorless, but the reaction cascade has begun. In the intermediate stage, Amadori compounds degrade through multiple parallel pathways involving dehydration, fragmentation, and amino acid interaction (Strecker degradation). This is where the complexity explodes: hundreds of intermediate compounds form simultaneously, react with each other, and branch into further pathways. In the final stage, highly reactive intermediates polymerize into melanoidins — the large, brown, polymeric compounds that give roasted coffee its color — while the volatile intermediates from the middle stage become the aromatic compounds you smell.
The Flavor Payoff
The Maillard reaction is responsible for producing over 600 volatile aromatic compounds in roasted coffee. Key compound classes include pyrazines (nutty, earthy, roasted aromas), furans and furanones (caramel, butterscotch, burnt sugar), pyrroles (sweet, caramel-like, slightly bread-like), thiophenes and thiols (savory, meaty “roasted” character in small concentrations), and aldehydes (green apple, almond, malty). The specific proportions and concentrations of these compounds vary with roast temperature, duration, and the amino acid and sugar composition of the green bean — which is why variety, terroir, and processing all influence the roasted flavor. Different raw materials feed different Maillard pathways.
Strecker Degradation
A critical sub-reaction within the Maillard cascade: when amino acids react with dicarbonyl intermediates produced by the Maillard reaction, they lose a CO2 molecule and produce Strecker aldehydes — highly aromatic compounds that punch far above their concentration weight in the final cup. The amino acid determines which aldehyde results: leucine produces 3-methylbutanal (malty, chocolate notes), valine produces 2-methylpropanal (fruity, cocoa), methionine produces methional (savory at low concentrations, potato-like at high ones), and phenylalanine produces phenylacetaldehyde (honey, floral). This is why the amino acid profile of green coffee — which varies meaningfully by variety, growing conditions, and processing method — influences the roasted flavor profile even under identical roasting conditions.
Phase 3: Caramelization (170–200°C)
Overlapping with the Maillard reaction but mechanistically distinct, caramelization is the thermal decomposition of sugars in the absence of amino acids. Where the Maillard reaction requires both sugars and proteins, caramelization is sugar chemistry proceeding on its own under heat.
Sucrose — the dominant sugar in green coffee at 6–9% by weight — begins breaking down around 170°C. It decomposes into glucose and fructose, which then undergo dehydration, fragmentation, and polymerization into new compounds. Diacetyl produces the buttery, butterscotch character associated with medium roasts. Hydroxymethylfurfural (HMF) contributes caramel and slightly burnt notes. Maltol creates the cotton candy and toasted marshmallow impression that appears in well-developed light-to-medium roasts. Caramel polymers provide the deep brown coloring and bittersweet complexity that distinguishes medium from light roasted coffee.
The critical tradeoff of caramelization is this: at lighter roast levels, incomplete caramelization creates sweetness and toffee complexity. As temperatures climb and duration extends, those same sugars break down further into increasingly bitter compounds. This is the fundamental sacrifice of dark roasting — you gain roasty depth and body, but you’re paying for it with the destruction of caramelized sweetness.
First Crack (~196°C)
If roasting has a dramatic moment, this is it.
As internal bean temperature approaches 196°C, water remaining inside the bean (now superheated steam) and CO2 generated by decomposition reactions build pressure within the rigid cellular structure. When that pressure exceeds the bean’s structural integrity — crack. The bean fractures along its center crease, expanding in volume by 50–100% and releasing a burst of steam and CO2.
First crack sounds like popcorn popping — a sharp, distinct snapping sound audible even over the noise of a commercial roaster. It’s the most important sensory marker in the roasting process, representing a phase transition: before first crack, the bean is endothermic, absorbing heat. At first crack, it briefly becomes exothermic, releasing energy stored in expanding gases and exothermic reaction products. A skilled roaster must manage this energy release carefully to prevent the roast from “running away” in the exothermic phase.
Beans pulled at or shortly after first crack are light roasts (City or City+). They preserve more of the bean’s origin character — the terroir-driven acids and delicate aromatics that high heat would destroy — because fewer of the delicate compound families have been degraded.
Development Time: The Critical Window
Development time — the period between first crack and the end of the roast — is arguably the most important phase for flavor quality and where roasters genuinely earn their craft. Too short a development time produces “underdeveloped” coffee: grainy, vegetal, with unresolved raw-grain flavors and harsh acidity because the Maillard reactions haven’t reached completion. Too long a development time pushes the roast past the sweet spot, destroying delicate aromatics and developing increasingly roasty, carbon-forward flavors.
Most specialty roasters target a Development Time Ratio (DTR) of 20–25% of total roast time. For a 12-minute roast with first crack at 9:30, that means approximately 2:00–2:30 of development — a narrow window where small decisions create large flavor differences. The exact DTR depends on the green coffee’s density, moisture content, and the flavor target: Ethiopian naturals often benefit from shorter development to preserve delicate fruit aromatics, while dense Colombian washed coffees may need longer development to fully resolve their potential sweetness.
Second Crack (~224°C)
If heat application continues past first crack, a second acoustic event occurs around 224°C. Second crack sounds different — quieter, more continuous, like Rice Krispies crackling. What’s happening is more structurally violent: the cellulose of the bean’s cell walls is breaking down, not just expanding. Oils trapped inside the bean migrate to the surface, giving dark-roasted beans their characteristic sheen. CO2 production increases dramatically, which is why freshly roasted dark beans off-gas visibly.
Beyond second crack, pyrolysis dominates — the thermal decomposition of organic compounds under heat. The bean is no longer primarily reacting; it’s breaking down. Origin characteristics that distinguish Ethiopian from Colombian or Kenyan beans are obliterated. What remains is roast-derived flavor: smoky, carbon-heavy, ashy, with a bitter intensity that tastes similar regardless of the green bean’s provenance. This explains why two dark roasts from completely different origins taste similar, while two light roasts from Kenya and Colombia taste completely different — the light roast preserves origin; the dark roast replaces it.
The Caffeine Myth
One of coffee’s most persistent misconceptions is that dark roast has less caffeine. The reality is more nuanced and largely wrong.
Caffeine is remarkably heat-stable. Its sublimation point of 178°C at atmospheric pressure is rarely sustained long enough during roasting to cause significant loss. Measured caffeine content drops only 2–3% even at the darkest roast levels — a change too small to matter physiologically.
The confusion arises from how you measure. If you measure by weight, dark roast beans weigh less (moisture and organic matter has been driven off), so there’s slightly more caffeine per gram of dark roast than light roast. If you measure by volume — a scoop — dark roast beans are physically larger (expanded by cracking), so a scoop of dark roast contains slightly fewer beans and slightly less caffeine. If you count beans, the difference is negligible.
If you measure your coffee by weight as recommended by specialty coffee practice, a dark roast will deliver marginally more caffeine per gram than a light roast of the same bean.
The Final Tally
By the time roasted beans cool in the collection tray, their chemical profile has been completely rewritten. Water content drops from 10–12% to 1–5%. Weight is 12–20% lighter from moisture loss and organic compound volatilization. Volume has increased by 50–100%. Aromatic compounds have gone from near zero to over 1,000. CO2 is still generating internally for days after roasting, which is why fresh-roasted beans need a 24–72 hour degassing period before they’re ideal for espresso brewing.
The Maillard reaction, caramelization, Strecker degradation, pyrolysis, and a dozen other named reactions have taken a simple agricultural seed and turned it into one of the most chemically complex beverages humans consume. The roaster’s job is to orchestrate those reactions so the right products dominate in balance. The brewer’s job is to dissolve them into water efficiently and evenly. Together, chemistry meets craft — and the result, at its best, is extraordinary.
Understanding roasting is half the equation. To learn how brewing dissolves these flavor compounds from the bean into your cup, read The Science of Coffee Extraction.
References
- Maillard, Louis-Camille. “Action des acides aminés sur les sucres: formation des mélanoidines par voie méthodique.” Comptes Rendus de l’Académie des Sciences, 1912.
- Flament, Ivon. Coffee Flavor Chemistry. Wiley, 2002.
- Farah, Adriana, and Donangelo, Carmen M. “Phenolic compounds in coffee.” Brazilian Journal of Plant Physiology, vol. 18, 2006.
- Yeretzian, Chahan, et al. “Unveiling the Chemical Reactivity during Roasting of Coffea arabica.” Food Chemistry, 2002.
- Rao, Scott. The Coffee Roaster’s Companion. Scott Rao Publications, 2014.
- Specialty Coffee Association. Roasting Levels and Quality Standards. sca.coffee, 2021.
- Hofmann, Thomas, and Schieberle, Peter. “Formation of Aroma-Active Strecker Aldehydes by a Direct Oxidative Degradation of Amadori Compounds.” Journal of Agricultural and Food Chemistry, 2000.
- Folmer, Britta, ed. The Craft and Science of Coffee. Academic Press, 2016.
- Czerny, M., and Grosch, W. “Potent Odorants of Raw Arabica Coffee.” Journal of Agricultural and Food Chemistry, 2000.
Continue Reading
More articles you might enjoy

Coffee Processing Methods: From Cherry to Green Bean
Explore how washed, natural, honey, and experimental processing methods transform coffee cherries into green beans—and why processing shapes up to 30% of your cup's flavor.

The Science of Coffee Extraction: Understanding Solubility
Learn how extraction yield, TDS, grind size, and water chemistry determine whether your cup is perfectly balanced or painfully sour — and how to fix it every time.

Water Chemistry: The Hidden Variable in Your Cup
Coffee is 98% water — learn how mineral content, TDS, pH, and simple DIY recipes can transform your brew from flat to extraordinary.