Rewind the bar
Rewind the process chain
Back to the tree
Slide back one step at a time. What was the bar before it was a bar?
Step back through paste, nibs, fermented beans and pod to the tree.
Slide back. What was the chocolate before?
Your turn
Each lab is one step from the video. Change things and see what happens.
Each lab isolates one step of chocolate making. The models are simplified to show the idea.
Tap the buttons and see what happens.
Slide back one step at a time. What was the bar before it was a bar?
Step back through paste, nibs, fermented beans and pod to the tree.
Slide back. What was the chocolate before?
Drag the little tree around the map. Where can it grow, and where is it too cold?
Drag the sapling: commercial cacao needs warmth and year-round rain within about 20° of the equator.
Move the little tree. Where is it warm enough?
A simplified map: real growing also depends on rain, soil and shade.
Slide the days. When do the beans turn from purple to brown?
Too short a fermentation leaves grey (slaty) or purple beans; about 5–7 days gives well-fermented brown beans.
Slide it. When do the beans turn brown?
Change the liquor, cocoa butter and milk. When do you get dark, milk or white chocolate?
Vary liquor, added cocoa butter and milk solids; white chocolate has no cocoa solids.
Try dark, milk and white!
A simplified model: real recipes also set exact legal minimums.
Drag the three dots on the curve. Can you make a bar that snaps and shines?
Typical for dark chocolate: melt above ~50 °C, cool to ~27 °C, re-warm to 30–32 °C: only Form V survives.
Tap the buttons. Which bar is shiny?
Pick fermenting days, roast, recipe and temper. What bar did you make?
Fermentation time, roast level, recipe and temper each change the bar.
Pick and see your chocolate!
A picture of the idea: real flavour also depends on the beans and the farm.
Chocolate comes from a tree! The cacao tree grows in warm, rainy places. Its fruit, called a pod, grows right on the trunk. Inside are seeds in sweet white goo. The seeds are cocoa beans.
A fresh bean is bitter and purple. Farmers pile the beans in a box under banana leaves. Tiny helpers called yeasts and bacteria eat the sweet goo. The pile gets warm, and the beans change inside. Then the beans dry in the sun.
Next the beans are roasted, like toast. The shells come off, and the broken bits are called nibs.
The nibs are ground into a runny brown paste. Add sugar, and sometimes milk. Then stir, and stir, and stir, until it is smooth.
Last, the chocolate is warmed, cooled, and warmed a little again. That trick makes a bar shiny, with a big snap!
Chocolate is made from the seeds of the cacao tree, called cocoa beans.2 Farmers ferment the beans for about five to seven days and dry them in the sun.510 A factory then roasts them, cracks off the shells, and grinds the inside bits (nibs) into a runny paste called cocoa liquor.1 Mix that paste with sugar, extra cocoa butter and sometimes milk, grind it very fine, stir it for hours (conching), temper it so it sets shiny and snappy, and pour it into moulds.14
Two of those steps are the real magic, and most people have never heard of them: fermentation, where microbes help create the chocolate flavour, and tempering, where you coax the fat into exactly the right crystal.
The cacao tree (Theobroma cacao, Greek for "food of the gods") first grew wild in the lowland rainforests of the Amazon and Orinoco river basins in South America.3 It's a fussy tree that grows in the shady forest understory, needs warmth and rain all year, so it's grown only in a belt within about 20 degrees of the equator.23
Today most cocoa comes from West Africa. Côte d'Ivoire and Ghana together produce nearly 60% of the world's cocoa; the ICCO lists them as the two largest producers.715
| Country | Share of world cocoa (2021) |
|---|---|
| Côte d'Ivoire | 39.4% |
| Ghana | 14.7% |
| Indonesia | 13% |
| Brazil | 5.4% |
| Ecuador | 5.4% |
Source: FAO data, summarised in a 2023 review.11
Cacao flowers, and so the pods, grow straight out of the trunk and older branches (botanists call this cauliflory). The tiny flowers are pollinated by midges, flies only a few millimetres long.317 A pod can be up to 35 cm (14 inches) long, ribbed, and yellow, orange, red or purple. Inside are 20 to 60 seeds wrapped in sweet white pulp.3 A tree starts bearing fruit after about four years and can grow up to 70 pods a year.3 Most cacao is grown on small farms of less than two hectares (five acres).3
A fresh cocoa bean doesn't taste like chocolate. Cut one open and it's purple and bitter. The chocolate flavour doesn't exist yet. It gets built, starting on the farm.
Farmers pile the beans, still covered in pulp, into heaps, holes or wooden boxes and cover them with banana leaves.2 Then wild microbes move in, in a relay:89
All this activity heats the pile to about 40–52 °C. The acid soaks into the bean, kills the seed's embryo so it can't sprout, and sets the bean's own enzymes loose. The enzymes chop proteins and sugars into small pieces (amino acids, peptides and simple sugars). These are the flavour building blocks that turn into chocolate flavour when the beans are roasted later.910 Purple pigments also break down into brown ones.10
Fermentation usually takes about five to eight days, depending on the farm.59 Want to know more about the helpers? See how enzymes work and how bacteria reproduce. The same kind of microbe teamwork turns milk into cheese and makes bread rise: see how cheese is made and where yeast comes from.
Next the beans are spread out to dry, usually in the sun. Drying takes their moisture from about 60% down to 7% or less, so they don't go mouldy on their trip to the factory. It takes about 3 days in the dry season and up to 15 days when it's rainy.10
Roasting. In the factory the beans tumble in a drum roaster at about 110–160 °C. Heat drives the Maillard reaction (the same browning that happens to toast), which turns the flavour building blocks from fermentation into the rich, roasted taste of chocolate.11
Cracking and winnowing. The roasted beans are cracked, and a stream of air blows the light shells away. What's left are crunchy pieces called cocoa nibs.5
Grinding. Nibs are about half cocoa butter. Grinding releases the fat, which melts, and the tiny ground bits float in it as a thick brown paste called cocoa liquor or cocoa mass. Despite the name, it has no alcohol at all: here "liquor" just means liquid, and US food rules define chocolate liquor simply as finely ground cacao nibs.122
Everything in chocolate comes from the liquor, plus a few extras:45
| Type | Recipe | Typical rule of thumb |
|---|---|---|
| Dark chocolate | Liquor + sugar + extra cocoa butter | Usually at least 35% total cocoa content (cocoa solids + cocoa butter)11 |
| Milk chocolate | Liquor + sugar + cocoa butter + milk powder | At least about 12–14% milk solids11 |
| White chocolate | Cocoa butter + sugar + milk (no liquor) | At least 20% cocoa butter11 |
| 100% chocolate | Just liquor (sometimes with extra cocoa butter) | No sugar at all |
Because white chocolate has no cocoa solids, Britannica notes that it's "technically not a chocolate".4
The mixture is ground again until the solid bits are smaller than about 0.04 mm (40 micrometres). Any bigger and your tongue feels them as grit.11 Then comes conching: big machines stir and air the warm chocolate for anywhere from a few hours to several days. This turns a gritty paste into something silky and smooths out harsh flavours.1
Have you ever melted a chocolate bar in a hot car and let it harden again? It comes out dull, soft and streaky. The ingredients are the same. What changed is the crystals.
Cocoa butter can crystallise in six different forms, named Form I to Form VI.1213 Each one packs its fat molecules differently and melts at a different temperature.5 Only Form V gives chocolate its gloss, its crisp snap and a melting point close to that of your mouth.12
| Crystal form | Melts at about | What the chocolate is like |
|---|---|---|
| I, II | 17 °C, 21 °C | Soft, crumbly, melts too easily |
| III | 26 °C | Firm, poor snap |
| IV | 28 °C | Firm, good snap, melts too easily |
| V | 34 °C | Glossy, firm, best snap, melts in the mouth |
| VI | 36 °C | Hard, takes weeks to form |
Melting points from the standard textbook table, as summarised on Wikipedia.14
Tempering is a three-step temperature routine that gets rid of every crystal except Form V:11
The surviving Form V crystals act as seeds: as the chocolate sets in the mould, the rest of the fat copies their shape. Chocolate makers can also add ready-made Form V seed crystals to melted chocolate, which is how the "seeding" method works at home.1214
People in Mesoamerica have used cacao for thousands of years. Cacao was cultivated in Mesoamerica more than 3,000 years ago; the Olmec, the Maya and later the Aztecs all used it, and the word kakaw ("cacao") may come from the Olmec.4 Traces of cacao on pottery found in Honduras may date back as far as 1400 BCE.6
For about 90% of its history, chocolate was a drink, not a sweet.6 The Aztecs roasted and ground the beans on a stone, added spices, and whipped it with water into a foamy, bitter drink.2 Cacao beans were so valuable they were used as money. One Aztec document says 100 beans could buy a turkey hen.6 When the drink reached Spain in the 1500s, Europeans found it too bitter and sweetened it with sugar or honey.26
Chocolate bars for eating are new. (Earlier, cacao was pressed into solid cakes, but only to make drinks.) In 1847, the English firm of Joseph Fry mixed cocoa butter back into cocoa and sugar to make a paste that could be moulded into bars. In 1876, Daniel Peter in Switzerland added dried milk to make milk chocolate.26
Most cocoa grows on small family farms, and the work is hard. The US Department of Labor estimates that 1.56 million children do child labour on cocoa farms in Côte d'Ivoire and Ghana. A 2020 study by NORC at the University of Chicago for the US Department of Labor found that most of these children do hazardous work, such as using sharp tools or carrying heavy loads.16 The International Labour Organization defines child labour as work that is dangerous, too long, or done by children who are too young, and that gets in the way of school.18 Since 2010, the governments of those countries, the US Department of Labor and the chocolate and cocoa industry have worked together through a group called the CLCCG to reduce it.7 Certification schemes such as Fairtrade and Rainforest Alliance ban child labour on certified farms and run systems to find and help children at risk, though no label can promise a farm is perfect.19
A safety note for pet owners: chocolate is poisonous to dogs. It contains theobromine (plus some caffeine), and dogs clear theobromine from their bodies very slowly. Dark chocolate, baking chocolate and cocoa powder are the most dangerous. If a dog eats chocolate, call a vet.2021
Farmers cut ripe cacao pods from the trunk by hand, scoop out the seeds (cocoa beans) in their white pulp and ferment them for about five to seven days, then dry them in the sun. At the factory the beans are roasted, cracked and winnowed to get nibs, which are ground into a paste called cocoa liquor (no alcohol: 'liquor' just means liquid). Some liquor is pressed into cocoa butter and cocoa powder. For chocolate, liquor is mixed with sugar, extra cocoa butter and sometimes milk, ground very fine, conched for hours, tempered, then poured into moulds.
Chocolate comes from the seeds of the cacao tree (Theobroma cacao), which first grew wild in the Amazon rainforest. Its flowers and pods grow straight from the trunk, and tiny flies called midges pollinate the flowers. Today it's grown within about 20 degrees of the equator. Côte d'Ivoire and Ghana in West Africa grow nearly 60% of the world's cocoa, according to the US Department of Labor; the ICCO lists them as the two biggest producers.
100% chocolate is only cocoa beans: ground cocoa nibs (cocoa liquor), sometimes with some extra cocoa butter, which also comes from the bean. There's no sugar or milk, so it tastes very bitter.
No. Chocolate comes from cacao (also called cocoa), a tropical tree. Coca is a completely different plant. The names only sound alike.
White chocolate is made of cocoa butter, sugar and milk solids, often with vanilla. It has no cocoa solids (the brown part of the bean), which is why it's pale and why some people say it isn't really chocolate.
Tempering is a heat-cool-warm routine that makes the cocoa butter set in its best crystal shape, called Form V. For dark chocolate it is typically: melt above about 50 °C, cool to about 27 °C, then warm to about 31 °C so only Form V crystals survive (milk and white chocolate use slightly lower numbers). That gives chocolate its shine, its clean snap and its smooth melt. Chocolate that is just melted and cooled sets dull, soft and streaky.
For thousands of years people in Mesoamerica, including the Olmec, Maya and Aztecs, used cacao, mostly as a frothy, bitter drink; the Aztecs even used the beans as money. Europeans sweetened it with sugar in the 1500s. In 1847 the English firm of Joseph Fry mixed cocoa butter back into cocoa and sugar to make a paste that could be moulded into bars. In 1876 Daniel Peter in Switzerland added dried milk to make milk chocolate.
No. Chocolate contains theobromine (and some caffeine), which dogs break down very slowly, so it can make them seriously ill. Dark chocolate, baking chocolate and cocoa powder are the most dangerous. Keep chocolate out of reach, and call a vet if a dog eats some.
On some farms in West Africa, yes. A 2020 study for the US Department of Labor estimated that about 1.5 million children in Côte d'Ivoire and Ghana do child labour on cocoa farms, much of it hazardous, like using sharp tools or carrying heavy loads. Governments, chocolate companies and certification groups such as Fairtrade and Rainforest Alliance are working to find these children and help families keep them in school.