The science of coffee roasting: understanding the art and chemistry

Roasting turns a dense, grassy green coffee bean into a brown, porous and aromatic bean. The short explanation is that heat removes water, triggers browning reactions, weakens the bean's structure, releases CO2 and changes the balance among acidity, sweetness, bitterness and aroma.

It is neither simple baking nor a magic formula. Two coffees stopped at the same colour can taste different if their rate of temperature rise, airflow, time after first crack or cooling are not the same. This is why a good roaster talks about the roast profile as much as the final colour.

What happens inside the bean #

A green coffee bean contains water, sugars, acids, proteins, lipids, cellulose and many aroma precursors. During roasting, these compounds do not react one at a time in a perfectly tidy sequence. They change at the same time, with some phases being easier to observe than others.

The landmarks below are useful, but approximate. The temperature displayed by a roaster depends on the probe, batch size, machine and rate of heating.

Phase Common landmark What changes Likely effect in the cup
Drying Start of roasting to roughly 150°C at bean level Moisture falls, the bean turns yellow and the smell becomes cereal-like Few recognisable coffee aromas; the base is still vegetal
Browning Roughly 150 to 190°C Maillard reactions, sugar degradation and aroma-compound formation Bread, hazelnut and light caramel notes; brown colour
First crack Often around 190 to 205°C Internal pressure fractures the bean with an audible pop Acidity may remain clear, aromas become more distinct and the structure more porous
Development After first crack The roaster chooses when to stop the roast More roundness when controlled well; more bitterness if pushed too far
Dark roasting Before or around second crack, depending on style Greater degradation, visible oils and roasted flavours Heavy body, bitterness, dark chocolate and smoke, with fewer origin nuances

The Specialty Coffee Association explains that standards provide a shared framework and vocabulary. As of 1 September 2026, its SCA-131 method for roast level is still listed as being in development. That is a useful reminder that “light”, “medium” and “dark” are not absolute measurements shared by every roaster.

Maillard reactions: a major source of aroma #

Maillard reactions are one of the main reasons roasted coffee can smell of toast, hazelnut, cocoa or caramel. They involve reducing sugars and amino acids, among other compounds, and create families of aromatic molecules as well as brown pigments called melanoidins.

It would be misleading to reduce Maillard chemistry to “hotter means tastier”. A roast that moves too quickly may brown the surface without developing the centre of the bean properly. A roast that runs too long can flatten aromas and produce a dry cup. The right profile depends on the green coffee, the intended use and the brewing method.

To understand why some coffees remain fruit-forward while others become more chocolatey, continue with our guide to fruity notes in coffee.

Acidity, chlorogenic acids and bitterness #

Roasting substantially alters the acids in coffee. A study published in Scientific Reports on roast profiles and titratable acidity found that measured acidity could rise until first crack and then decline. This result helps explain why a light roast may taste lively while a darker roast often seems rounder or more bitter, but it describes the commercial profiles tested in that study rather than every coffee and roaster.

Chlorogenic acids generally decrease during roasting, while their degradation products can contribute to bitterness and astringency. “Light equals acidic” and “dark equals bitter” are therefore too simple as universal rules. Origin, processing, grind size and extraction all change what you perceive. If the finish is dry and harsh, our guide to coffee that tastes too bitter will help you separate a roast problem from an extraction problem.

First crack is not a universal timer #

First crack sounds like a series of small pops. It occurs when residual water and gases create enough pressure to fracture the bean's structure. It is a useful process landmark, not proof that the coffee is properly developed or pleasant to drink.

First crack alone cannot define a good roast. Two periods matter in particular:

  1. The time before first crack, which affects drying and browning.
  2. The development time after first crack, which affects the balance among liveliness, sweetness, body and roasted notes.

Stopping too early can produce vegetal, sharply sour or raw-cereal flavours. Pushing the roast too far can hide the origin, bring oils to the surface and create heavy bitterness.

Which roast suits which brewing method? #

The best choice depends mainly on your method and your preferences.

Method Common starting point Why try it
Filter, V60, Chemex Light to medium Highlights floral and fruity notes and distinct acidity
French press Medium Provides body without necessarily adding excessive bitterness
Moka pot Medium to medium-dark Often works well with concentrated brewing and a denser texture
Espresso Medium to dark, depending on style Can make body, crema and balance easier with or without milk
Cappuccino, latte Medium-dark is often practical Chocolate, nut and caramel notes remain noticeable in milk

Once you have chosen the beans, use our guide to why coffee grind size matters to adjust the grinder. Roast and grind work together: a light coffee often needs more precise extraction, whereas a very dark coffee can quickly become bitter if the grind is too fine or the water too hot.

Does roasting change caffeine content? #

Caffeine is relatively stable at normal roasting temperatures, but the question is often framed in an unhelpful way. By weight, the difference between arabica and robusta matters more than bean colour. By volume, dark-roasted beans are less dense, so a scoop may contain less coffee matter than the same scoop of light-roasted beans.

In practice, weighed dose, botanical species and recipe have more effect than roast colour alone. The practical comparison in our guide to arabica and robusta explains why robusta generally contributes more caffeine.

Degassing and freshness: why the roast date helps #

After roasting, the bean continues to release CO2. This degassing is normal. It explains why extremely fresh coffee can bloom vigorously in filter brewing, behave inconsistently as espresso or need a few grind adjustments. At the other end of the scale, coffee that has aged too far loses volatile aroma compounds and tastes flatter. If you mainly make short coffees, our guide to espresso at home shows how to coordinate dose, grind and extraction time.

There is no single ideal window for every coffee, bag and brewing method. For a household purchase, a useful approach is to choose a bag with a clear roast date, keep it closed as much as possible and protect it from air, moisture, heat and light. The National Coffee Association also recommends an opaque, airtight container to preserve freshness. See our practical guide to storing coffee for the everyday details.

The roast profile matters as much as colour #

Colour is an accessible clue, but it cannot tell the whole story. A recent study using Raman spectroscopy to monitor chlorogenic acid during roasting, published in Chemosensors, notes that colour is mainly measured before and after roasting even though chemical transformations continue throughout the process (MDPI article).

When buying coffee, look for these details on the bag or ask the roaster:

  • origin or blend;
  • variety, or at least arabica, robusta or a blend;
  • processing method, when available;
  • roast date;
  • roast level;
  • recommended method, such as filter, espresso or moka;
  • realistic tasting notes.

A bag promising “the best coffee in the world” without an origin, date or recommended method gives you little useful information. A clear product sheet helps you anticipate how the coffee is likely to behave before you open it.

What to remember #

Roasting reveals coffee, but it can also conceal it. A light roast preserves more liveliness and origin detail when extracted well. A medium roast is often a forgiving compromise at home. A dark roast supplies body and roasted notes, but can lose finesse if taken too far.

The most useful test is a side-by-side tasting. Brew two coffees from the same origin at different roast levels with the same method, then note acidity, sweetness, body and bitterness. It is the simplest way to connect roasting chemistry with what you actually taste in the cup.