The chemistry of chocolate flavour
Fermentation does not create chocolate flavour. It creates the ingredients for it — amino acids and sugars inside the bean — and roasting reacts them together. Almost everything recognisable as chocolate aroma is made in that reaction, which is why a bean badly fermented cannot be rescued by roasting.
If you read nothing else
Fermentation builds precursors; roasting converts them. The order is fixed and the second step cannot supply what the first failed to make — which is the chemical reason post-harvest handling outranks everything downstream.
The two-stage structure, and why the order cannot be swapped
A fresh cacao bean tastes of almost nothing you would recognise as chocolate. Bitter, astringent, vegetal — but not chocolate. The aroma is not in the bean; it is manufactured later, in two stages that have to happen in order.
FERMENTATION MAKES THE PRECURSORS. Heat and acid from the pulp kill the seed and break down its storage proteins into free amino acids, while sugars are freed from the surrounding tissue. Neither smells of chocolate. They are reagents.
ROASTING RUNS THE REACTION. Applied heat drives those amino acids and reducing sugars into the Maillard reaction — the same browning chemistry behind bread crust and seared meat — and the products of that reaction are what a person recognises as chocolate.
This is the chemical statement of the rule the whole catalogue is built around: fermentation outranks roasting, because roasting can only work with what fermentation left it. A bean whose proteins were never broken down has no precursors, and applying more heat to a bean with nothing to react produces bitterness and burnt notes rather than flavour. There is no roast profile that recovers it.
Pyrazines: the compounds that smell like chocolate
The most characteristic products of that reaction are pyrazines — nitrogen-containing ring compounds formed when Maillard chemistry runs at roasting temperatures.
They are the reason roasted cocoa smells the way it does, and different pyrazines carry different characters: nutty, roasted, earthy, cocoa-like. Tetramethylpyrazine is the one most often named in the literature on cocoa specifically, and unusually it is also produced during fermentation itself rather than only in the roaster.
Pyrazine formation is strongly temperature-dependent, which is the mechanism behind the whole light-versus-dark roast argument. A light roast generates fewer of them and leaves more of the fruit and floral compounds that survived fermentation; a darker roast generates more, at the cost of the volatiles it drives off. Neither is correct in the abstract, and which one suits a bean depends on what fermentation gave it.
Strecker degradation is the related pathway worth knowing by name: a side branch of Maillard chemistry in which amino acids are converted to aldehydes, contributing malty and honeyed notes among others.
What survives from the bean rather than being made
Not everything in the glass came out of the roaster. A smaller set of compounds is generated during fermentation and drying and then SURVIVES the roast, and that set is where a fine bean's distinctiveness usually lives.
Esters — isoamyl acetate is the standard example — carry fruity character. Linalool, a terpene alcohol, carries the floral note associated with fine Ecuadorian material. 2-phenylethanol contributes rose.
These are volatile, which is exactly the problem: the heat that generates pyrazines also drives them off. That tension is the single most consequential decision in craft roasting. Roast hard enough for full pyrazine development and the floral and fruit character goes with the steam; roast gently to keep it and the chocolate can taste underdeveloped and sour.
A maker choosing a light roast for a fine bean is making that trade deliberately, and it explains why the same roast profile applied to a bulk bean would simply be under-roasted.
Bitterness and astringency are different things with different causes
They are consistently confused, including in professional tasting notes, and they come from different compounds by different mechanisms.
BITTERNESS is a taste, detected by receptors on the tongue. In chocolate it comes chiefly from theobromine and caffeine, both alkaloids present in the bean from the start, and from some peptides generated during fermentation. It is a signal, not a texture.
ASTRINGENCY is not a taste at all. It is a tactile sensation — dryness, roughness, the mouth puckering — produced when polyphenols bind salivary proteins and precipitate them, so the mouth briefly loses its lubrication. Cacao is exceptionally rich in polyphenols, and epicatechin is the one most often named, largely because it is also the compound behind the cardiovascular research.
Fermentation reduces astringency substantially, by oxidising and polymerising those polyphenols. This is where the flavour story and the health story pull against each other, and it is worth stating plainly: the processing that makes cocoa palatable is the same processing that reduces the flavanol content the health claims rest on. The health topics cover what that means for a bar.
How any of this is actually known
Chocolate aroma is measured rather than argued about. The standard method separates the volatile compounds in a sample by gas chromatography and identifies them by mass spectrometry.
The refinement that matters is gas chromatography–olfactometry, where a trained assessor smells the output of the column as compounds emerge. It exists because concentration and importance are not the same thing: a compound present in tiny amounts can dominate an aroma if the nose is sensitive to it, and one present in quantity can be nearly odourless. Instruments measure how much; only a nose measures how much it matters.
That gap is why this page describes mechanisms and names no thresholds. Published figures for aroma compounds in chocolate vary with the bean, the fermentation, the roast and the extraction method used to measure them, and a single number would describe one sample rather than the material.
Covered in this guide
- The microbiology of cacao fermentationThe microbial succession that generates the precursors this page consumes.
- Working backwards from taste to processThe same causation from the other end: a flavour in the mouth traced back to a step.
- RoastingWhere the Maillard chemistry described here actually happens.
- The flavour hierarchy, from bean to bar to shelfThe ranked causes of flavour, of which this page is the chemical account.
Sources
- The Science of Chocolate — Royal Society of Chemistry(citation identity confirmed; passage not re-read)
- Chocolate Science and Technology — Wiley-Blackwell(citation identity confirmed; passage not re-read)
- ChocolateHQ editorial synthesis — ChocolateHQ(citation identity confirmed; passage not re-read)