Skip to main content
Coffee Roasting August 2, 2024 11 min read

Coffee Roasting Chemistry: What Happens Inside the Bean

Green coffee is a warehouse of potential. It smells of hay and wet grain, and its cell walls hold roughly 1,000 precursor compounds that don't taste like coffee at all—until heat gets to work. During roasting, those precursors collide through the Maillard reaction, caramelization, Strecker degradation, and a cascade of pyrolysis events that create more than 800 volatile aroma compounds, rearrange acids, burn off moisture, and build the brown pigments called melanoidins. The difference between a floral, tea-like light roast and a dark, bittersweet espresso isn't in the origin alone—it's in how far you drove those reactions. This article decodes each stage of the roast from drying to second crack, names the specific chemistry at work, and explains what that means in your cup.

Deep Dive

What Green Coffee Actually Contains

Before a single joule of heat is applied, the composition of a green bean already determines what is possible. Carbohydrates—mostly polysaccharides like cellulose and mannan—account for 50–55% of the bean's dry weight. Simple reducing sugars such as glucose, fructose, and sucrose make up 6–9% and are the primary fuel for the Maillard reaction. Proteins contribute roughly 10–12%, and the free amino acids split off during roasting are the other reactant in Maillard chemistry.

Chlorogenic acids are the headline phenolic compounds, constituting 7–10% of the dry weight of a green Arabica bean. These potent antioxidants break down during roasting into quinic acid and caffeic acid, which directly influence perceived acidity and astringency in the cup. Lipids—mainly diterpenes like cafestol and kahweol—account for 10–15% and will migrate to the bean surface during dark roasts.

Caffeine sits at roughly 1.2–1.5% by dry weight in Arabica and approximately 2.2–2.7% in Robusta. The roasting process barely changes the total caffeine content by mass; apparent increases in "strength" come from the fact that darker, drier beans are less dense, so you grind more beans per tablespoon.

Water content in green beans typically runs 8–12%. This moisture shapes the first minutes of every roast, because until the free water is gone, the bean temperature can't climb past roughly 100°C (212°F).

The Roasting Process: Four Distinct Stages

The journey from green to roasted maps onto four sequential stages. Each has its own temperature range, dominant chemistry, and sensory signature. In professional roasting, every second inside these stages is logged and analyzed against the Rate of Rise (RoR)—the rate of temperature increase in degrees per minute—which signals whether reactions are accelerating, stalling, or crashing.

Roasting Chemistry
Green Bean — ambient tempGreen Beanambient tempDrying Phase — 100–160°C, endothermicDrying Phase100–160°C, endothermicMaillard Window — 160–195°C, yellow → brownMaillard Window160–195°C, yellow → brownCaramelization — 170–200°C, brown sugar aromasCaramelization170–200°C, brown sugar aromasFirst Crack — ~196°C, exothermic popFirst Crack~196°C, exothermic popDevelopment Phase — 196–220°C, oils migrateDevelopment Phase196–220°C, oils migrateSecond Crack — ~224°C, cell wall fractureSecond Crack~224°C, cell wall fracture

Stage 1: Drying Phase (100–160°C)

Heat transfer during the drying phase is almost entirely endothermic—the bean is absorbing energy to drive off water. The bean temperature rises slowly, often appearing as a plateaued Rate of Rise on the roaster's graph. Visually, beans shift from blue-green to pale yellow and emit what cuppers call the "hay note"—the release of water-soluble volatiles and the thermal breakdown of chlorophyll.

A rushed drying phase leaves moisture unevenly distributed. When water-saturated interior cells suddenly hit Maillard temperatures, they flash-steam and crack inconsistently—producing tipping (scorched bean tips), facing (flat brown scorch marks), and baked cup profiles where sweetness never develops. Most specialty roasters target an 8–10 minute drying phase for a 15–20 minute total roast, though drum speed, charge temperature, and batch mass all affect the optimal window.

Stage 2: The Maillard Window (160–195°C)

The Maillard reaction is not a single reaction—it is a branching network of hundreds of simultaneous reactions between reducing sugars and free amino acids. Above roughly 150°C, reducing ends of sugars attack the amino groups of amino acids, forming unstable Amadori products. These rearrange into a maze of intermediates: aldoses, reductones, furfurals, and eventually the brown, high-molecular-weight polymers called melanoidins.

Melanoidins give roasted coffee its color and contribute significantly to its antioxidant activity and its perceived body in the cup. Their formation accelerates with temperature and time; a fast, hot roast can produce similar melanoidin levels to a slow, moderate one, but the aromatic profiles differ because the intermediate pathway compounds—which determine flavor—have less time to build.

The Maillard window is also where Strecker degradation operates. In Strecker reactions, alpha-keto acids (themselves Maillard intermediates) strip an amino group from an amino acid, releasing a volatile aldehyde. Strecker aldehydes include methylpropanal (malty, chocolate), 2-methylbutanal (fruity, green apple), and phenylacetaldehyde (honey, floral). These are among the most impact-ful aroma compounds in the cup—present in sub-ppm concentrations but highly detectable by the human nose.

Stage 3: Caramelization and First Crack (~195–196°C)

Sucrose caramelization begins around 170°C and accelerates through the 190s. Unlike the Maillard reaction, caramelization involves only sugars—no amino acids required. Sucrose hydrolyzes to glucose and fructose, which then undergo dehydration and ring-opening reactions that produce caramelans (brown polymers), diacetyl (buttery), hydroxymethylfurfural (sweet, caramel), and furans that contribute toasted, nutty aromas.

First crack is the audible marker of a major physical transition. As the bean temperature reaches roughly 196°C, the water vapor and CO₂ that have accumulated inside the cell walls create enough pressure to fracture the cellulose structure with a characteristic pop—often compared to the first crackling of popcorn. The bean expands by 50–100% in volume and turns exothermic: it begins producing its own heat. Roasters must respond quickly—if heat isn't modulated after first crack, the exotherm can overshoot the intended development temperature.

The color at first crack corresponds roughly to Agtron 65–75 on the specialty roast-color scale (a spectrophotometric measurement where 100 = unroasted green, 25 = very dark). Most specialty light roasts are pulled within 30–90 seconds after the onset of first crack.

Stage 4: Development Phase and Second Crack (196–230°C+)

Development time—the minutes between first crack onset and the roast's end—is arguably the most scrutinized variable in specialty roasting. A short development of under 60 seconds often leaves the bean's phenolic compounds and acids insufficiently transformed; the cup will taste sharp, astringent, and underroasted. Too long a development degrades aromatic compounds and tips the Maillard products toward pyrazine-heavy, roasted-peanut flavors at the expense of fruit and sweetness.

Most specialty roasters target a development time ratio (DTR) of 20–25%—the development phase occupies 20–25% of the total roast time. A 16-minute roast, for example, would ideally have 3.2–4.0 minutes of development time.

Second crack occurs at approximately 224°C when the now-porous cell matrix of the bean fractures further, releasing oils to the surface. The sound is sharper, more rapid, and continuous compared to the spaced pops of first crack. Roasters aiming for dark espresso profiles may push into or just past second crack. Beyond second crack, pyrolysis dominates and the cup profile becomes predominantly roasty, smoky, and bitter—origin characteristics are largely erased.

Key Reaction Products and Their Cup Impact

The hundreds of reactions described above resolve into a more tractable set of compound classes, each with predictable sensory signatures.

Compound Class Formed By Cup Contribution Light vs. Dark Roast
Melanoidins Maillard (late stage) Body, color, bitterness More in dark
Chlorogenic acid lactones Chlorogenic acid degradation Pleasant bitterness More in medium
Quinic acid Chlorogenic acid breakdown Astringency More in dark
Furans Sugar caramelization Caramel, nutty, sweet Medium roast peak
Pyrazines Strecker / Maillard Earthy, nutty, roasted More in dark
Organic acids (malic, citric) Retained from green bean Brightness, fruit More in light
Acetic acid Fermentation residue → heat Sharp tang Light/medium
Diacetyl Caramelization Buttery Medium
Thiols (e.g. 2-furfurylthiol) Strecker / amino acid pyrolysis Roasted coffee aroma All roasts, peak at medium

Chlorogenic acids deserve particular attention. Their breakdown is a two-step story: in the light-to-medium range, they degrade into chlorogenic acid lactones, which contribute a pleasant, clean bitterness. Continue past medium into dark territory and those lactones further degrade into phenylindanes—compounds associated with the lingering, harsh bitterness of over-roasted coffee.

How Roasting Chemistry Changes Extraction

The structural changes in the bean during roasting directly shape how water interacts with the ground coffee. Denser, less-roasted beans require finer grinds and higher water temperatures to achieve the same extraction yield as a darker roast. Heavily roasted beans are porous and degas aggressively, which is why a coarser grind often works better for dark espresso—tighter grinds channel in porous grindbeds.

The water-solubility of compounds also shifts with roast level. Light roast retains more chlorogenic acids, which are highly water-soluble and extract quickly. This means light-roast espresso at standard brew parameters can over-extract acids while under-extracting the sweeter, later-soluble compounds. Many specialty roasters solve this by lengthening the espresso extraction time or using higher brew temperatures (94–96°C vs. the 91–93°C recommended for darker roasts).

Freshness: The Chemistry Does Not Stop at the Drum

Once beans leave the roaster, two degradation processes compete: degassing (CO₂ loss) and oxidation (lipid and aromatic compound breakdown). For the first 24–72 hours, degassing is dominant and actually protects the bean somewhat—escaping CO₂ creates a positive pressure barrier that slows oxygen ingress.

After degassing slows, oxidation accelerates. The lipid fraction—cafestol, kahweol, and fatty acids—undergoes rancidification, producing cardboard and stale-fat off-notes. Volatile thiols (the key roasted-coffee aromatics) evaporate. The cup profile flattens and loses clarity within 3–4 weeks for whole bean, 24–48 hours for ground coffee exposed to air.

Nitrogen flushing and one-way valve bags slow this degradation but don't stop it. Storing beans in an airtight container at room temperature (not the freezer, which introduces condensation on temperature cycling) preserves freshness better than most alternatives.

Frequently Asked Questions

Does a darker roast have more caffeine?

No—and the opposite is slightly true. Caffeine is thermally stable and doesn't meaningfully degrade during roasting. Dark roasts have slightly less caffeine per volume because the beans are less dense, but by weight the difference is negligible. If you measure by scoop, a light-roast scoop is heavier and more caffeinated than an equivalent dark-roast scoop.

What causes the roasty or burnt flavor in dark coffee?

Primarily phenylindanes—degradation products of chlorogenic acid lactones—along with high concentrations of pyrazines and polycyclic aromatic hydrocarbons from pyrolysis above 230°C. These compounds are stable, bitter, and mask origin character.

What is the Agtron scale and why do roasters use it?

Agtron is a near-infrared spectrophotometric measurement of roast color running from 100 (green, unroasted) to 25 (very dark). Specialty roasters use ground Agtron to calibrate batch consistency—a target Agtron of 72 is far more reproducible than visual judgment alone.

Why does the same bean taste different at different roast speeds?

Because Maillard aroma compounds are kinetically sensitive. A fast roast creates and destroys them quickly. A slow roast allows more intermediate compounds to build, but risks stalling in the Maillard window, baking the coffee and producing flat sweetness. Rate of Rise control is the tool roasters use to navigate this tension.

Conclusion

Coffee roasting is applied thermochemistry. The Maillard reaction, Strecker degradation, and caramelization are not background events—they are the process itself. Every roaster decision, from charge temperature to development time ratio to drum RPM, is an intervention in those reactions, selecting which flavor compounds accumulate and which are degraded or volatilized. The Agtron number on a bag encodes a specific state of chlorogenic acid conversion, melanoidin formation, and volatile retention. Understanding this chemistry doesn't replace sensory skill—but it gives the numbers meaning and transforms roast profiling from trial-and-error into deliberate craft. Browse our roasted coffee selection to taste how different roast philosophies express these reactions across a range of single origins and blends.

← Back to journal