# Chocolate making

> From fermented seed to chocolate

- Date: c. 3,300 BCE
- Era: Prehistory
- Domain: [Food & Preservation](https://lastcodex.org/en/domains/food/)
- Rebuild stage: III (Crafts & cities)
- Difficulty: 3/5
- URL: https://lastcodex.org/en/inventions/chocolate-making/

Chocolate is made from the seeds of the cacao tree. They are fermented in their pulp, dried, roasted, shelled and ground into a fatty brown paste, which can be drunk, pressed into cocoa butter and cocoa powder, or mixed with sugar and extra butter into a bar. The oldest traces of cacao, in pottery from Ecuador, are about 5,300 years old.

![Chocolate making · From fermented seed to chocolate](https://lastcodex.org/_astro/plate.BJd40PIn_Z2c1XjM.webp)

## Legend

1. Cacao pod cut open, seeds in white pulp
2. Roasted bean split open: thin shell around the nib
3. Stone metate and its grinding stone
4. Cocoa liquor, the ground paste
5. Pot of a hydraulic cocoa press, cut away
6. Cocoa butter running from the press

## What it is

Chocolate begins as the seeds of the cacao tree, _Theobroma cacao_. The ripe pods are cut from the tree and split open, and inside the seeds sit packed in a sweet white pulp. Each seed, or cocoa bean, is a thin shell around a nib. The nib is rich in a fat, cocoa butter, but raw it tastes sharp and astringent.

Making chocolate is a chain of steps. On the farm the seeds are fermented and dried. In the workshop they are roasted, shelled and ground into a paste called cocoa liquor or cocoa mass, the base of every chocolate product. Mesoamerican cooks ground it by hand on a stone [metate](/en/inventions/quern/) warmed by a small fire and drank it beaten to a froth. Since the nineteenth century, factories have also pressed the paste to separate cocoa butter from cocoa powder, or refined it with sugar into bars.

## How it works

![A wooden fermentation box on two beams, with a row of holes along the foot of its sides, filled with fresh cacao seeds in white pulp and partly covered with banana leaves, pale juice dripping from below, with a whole orange-yellow pod and a wooden paddle beside it](https://lastcodex.org/_astro/v1.CEdUMwdg_ImQmG.webp)
_The pulp ferments around the seeds under banana leaves, and its juice drains away._

Fermentation happens on the farm. Seeds and pulp are piled in heaps covered with leaves, in leaf-lined pits, or in wooden boxes with holes in the bottom. Yeasts turn the sugars of the pulp into alcohol, then bacteria turn the alcohol into acetic acid. Within two days the mass warms to 40–45 °C, the pulp breaks down and drains away, and the acid and heat kill the seed. Inside it, reactions begin that later give the flavour and colour of chocolate. Turning the mass lets air in and evens out the heat. The more common Forastero beans ferment for about five to seven days, the Criollo type for one to three.

The beans are then dried in the sun or in dryers, from about 60% water down to 6 to 7.5%. Drying must be slow, with the beans no hotter than 65 °C: too fast and they stay acid and bitter, too slow and mould sets in.

Roasting develops the flavour, lowers acidity and astringency, deepens the colour and loosens the shell. Most factories blow air at 110 to 150 °C through rotating drums for 20 minutes to 2 hours, until the beans hold only about 1% water. A cracking and winnowing machine then breaks the beans and blows the light shells away from the heavier nibs, much as chaff is cleared after [coffee roasting](/en/inventions/coffee-processing/).

Grinding tears open the cells of the nib and releases its fat. Cocoa butter melts just below body temperature, so the warm ground nibs turn into a thick brown liquid, the cocoa liquor, which sets hard as it cools. In a hydraulic press, warm liquor is squeezed until much of its butter runs out, leaving a hard cake that is milled into cocoa powder. Treating the nibs, liquor or powder with an alkali such as potassium carbonate darkens the colour and mellows the flavour; the method is called Dutch processing after its Dutch inventor.

Eating chocolate is liquor mixed with sugar, extra cocoa butter and, for milk chocolate, milk powder. The mixture is ground fine, then conched: worked and aired in a warm machine for 4 to 72 hours at 55 to 88 °C, which develops the flavour and smooths the texture. Last comes tempering. Cocoa butter can set in six crystal forms, each melting at its own temperature. Only one, form V, which melts at about 34 °C, gives a glossy bar that snaps cleanly; the others make it soft, waxy or crumbly. Tempering uses carefully controlled heating and cooling so that the chocolate sets in form V.

## How to do it

A small batch of drinking-chocolate tablets needs cocoa nibs sold roasted and ready to eat, sugar, and a stone mortar or a sturdy food processor. Check the label: raw beans and raw nibs are not suitable, because a home oven gives no proof that the roast has killed the bacteria they may carry.

![A clay pot with a handle full of hot chocolate topped with foam, a turned wooden whisk with loose carved rings on its head standing in it, and three small round matt chocolate tablets and a few beans on a leaf beside it](https://lastcodex.org/_astro/v2.BXJQxkty_1374ut.webp)
_A wooden beater whips the drink into a foam._

Warm the mortar with hot water and dry it well. Grind a few spoonfuls of nibs at a time. They first turn to a dry, sandy powder, then, as the cocoa butter melts, to a glossy paste. Grind in sugar to taste. Shape the paste into small round tablets on baking paper and leave them to set in a cool place. Without tempering they will look dull or streaked, which does not matter for a drink.

To serve, melt one tablet in a cup of hot milk or water over low heat and whisk until it foams. Before eating chocolate existed, Europeans bought chocolate in solid pieces and made their drink in much the same way.

## History and evolution

Cacao is native to the upper Amazon basin. At Santa Ana-La Florida, in southeastern Ecuador, cacao starch grains, theobromine and ancient DNA have been found in pottery, including stirrup-spout bottles, about 5,300 years old. This find shows that people there prepared cacao seeds as well as the pulp and kept them in vessels, but not how, and the researchers think the result was probably not chocolate.

![A rounded clay jar without a neck, its rim turned inwards around a wide mouth](https://lastcodex.org/_astro/v3.Kar-q18K_1YbKmW.webp)
_The oldest cacao residue in Mesoamerica comes from a neckless jar like this one._

In Mesoamerica, the oldest cacao residue comes from a neckless [pottery](/en/inventions/pottery/) jar at Paso de la Amada, on the Pacific coast of southern Mexico, dated 1900–1500 BCE. Theobromine, the compound that marks cacao, then appears in many vessels at the Olmec centre of San Lorenzo. The chemistry cannot tell whether these pots held a drink of ground seeds or a beer fermented from the pulp. At Puerto Escondido in Honduras, where cacao appears in a spouted bottle from shortly after 1150 BCE, John Henderson and his colleagues argue that the first cacao drinks were of the second kind and that chocolate made from the seeds came later; Terry Powis and his colleagues point out that fermenting the pulp is not a necessary step. Neither the Ecuadorian nor the Mexican find proves the whole chain of fermenting, roasting and grinding that makes chocolate.

A vessel from an Early Classic Maya tomb at Río Azul, in Guatemala, held cacao residue and bears glyphs read as kakaw, "cacao"; such inscriptions helped scholars decipher Maya writing. When the Spanish reached Mexico in 1519, the Aztec drink was made from sun-dried beans whose nibs were roasted in clay pots and ground on a metate over a small fire, with vanilla, spices or maize. The paste was shaped into small cakes, which were later broken up in hot water and beaten to a foam.

Cacao beans reached Spain in the sixteenth century, and the first recorded shipment arrived from Veracruz in 1585. Sweetened with sugar and flavoured with cinnamon and vanilla, the hot drink spread from the Spanish court across Europe in the seventeenth century.

In 1828 a Dutch patent was granted for pressing much of the cocoa butter out of the liquor, leaving a cake that could be ground into cocoa powder. The Metropolitan Museum's catalogue of early American silver credits it to Casparus van Houten, while the Dutch National Archives give the pressing method to his son, Coenraad Johannes. The butter this freed made solid chocolate possible: in 1847 the English firm of Fry and Sons mixed cocoa butter back into liquor with sugar to make a moulded eating chocolate. In the 1870s Daniel Peter, in Switzerland, added milk. Rodolphe Lindt, who opened a factory in Bern in 1879, invented the conche, a machine with shell-shaped troughs in which the chocolate is worked for hours.

## Key facts

- Oldest traces of cacao in vessels: Santa Ana-La Florida, Ecuador, about 3300 BCE
- Fermenting the beans: 1 to 7 days, depending on the variety
- Dried beans: About 6 to 7.5% moisture
- Pressing of cocoa butter patented: Van Houten, Netherlands, 1828
- First eating chocolate: Fry and Sons, England, 1847

## Requires

- [Pottery](https://lastcodex.org/en/inventions/pottery/): Clay turned to stone by fire (20,000 years ago)
- [Querns and grinding](https://lastcodex.org/en/inventions/quern/): A stationary stone and a handstone turn grain into meal (23,000 years ago)
- [Control of Fire](https://lastcodex.org/en/inventions/control-of-fire/): Light, heat and cooked food (1 million years ago)

## Sources

- [The use and domestication of Theobroma cacao during the mid-Holocene in the upper Amazon (S. Zarrillo et al., Nature Ecology & Evolution 2, 2018)](https://doi.org/10.1038/s41559-018-0697-x), Nature Ecology & Evolution
- [How Old is Cacao? New Research Pushes Back Date (Associated Press, 2018)](https://www.voanews.com/a/how-old-is-cacao-new-research-pushes-back-date/4634693.html), Voice of America
- [Cacao use and the San Lorenzo Olmec (T. G. Powis et al., PNAS 108, 2011)](https://pmc.ncbi.nlm.nih.gov/articles/PMC3102397/), Proceedings of the National Academy of Sciences, via PubMed Central
- [Chemical and archaeological evidence for the earliest cacao beverages (J. S. Henderson et al., PNAS 104, 2007)](https://pmc.ncbi.nlm.nih.gov/articles/PMC2141886/), Proceedings of the National Academy of Sciences, via PubMed Central
- [Cacao Residues in Ancient Maya Vessels from Rio Azul, Guatemala (G. D. Hall et al., American Antiquity 55, 1990)](https://doi.org/10.2307/281499), Society for American Archaeology, Cambridge University Press
- [Cocoa (L. Russell Cook and the editors)](https://www.britannica.com/topic/cocoa-food), Encyclopaedia Britannica
- [Chocolate (Nathan Myhrvold and the editors)](https://www.britannica.com/topic/chocolate), Encyclopaedia Britannica
- [Harvesting and post-harvest](https://www.icco.org/harvesting-post-harvest-new/), International Cocoa Organization
- [Processing cocoa](https://www.icco.org/processing-cocoa/), International Cocoa Organization
- [The impact of roasting on cocoa quality parameters (R. F. Peña-Correa, B. Ataç Mogol and V. Fogliano, 2022)](https://doi.org/10.1080/10408398.2022.2141191), Critical Reviews in Food Science and Nutrition
- [Effects of roasting on alkylpyrazin compounds and properties of cocoa powder (N. Asefi et al., 2023)](https://pmc.ncbi.nlm.nih.gov/articles/PMC9873847/), Journal of Food Science and Technology, via PubMed Central
- [Physicochemical Exploration of Cocoa Butter During Spontaneous Fermentation (C. R. Balcázar-Zumaeta et al., Fermentation 11, 2025)](https://mdpi-res.com/d_attachment/fermentation/fermentation-11-00507/article_deploy/fermentation-11-00507.pdf), MDPI
- [An Easier Way to Temper Chocolate (Meeri Kim, 2021)](https://www.aip.org/inside-science/an-easier-way-to-temper-chocolate), Inside Science, American Institute of Physics
- [A Brief History of Chocolate (Amanda Fiegl, 2008)](https://www.smithsonianmag.com/arts-culture/a-brief-history-of-chocolate-21860917/), Smithsonian Magazine
- [Lindt, Rudolf (Hans Rudolf Schmid, Neue Deutsche Biographie 14, 1985)](https://www.deutsche-biographie.de/sfz51640.html), Historische Kommission bei der Bayerischen Akademie der Wissenschaften
- [Kill step complexity for Salmonella in cocoa products (Rob Limburn, 2026)](https://www.campdenbri.co.uk/blogs/complexity-in-cocoa.php), Campden BRI
- [Early American Silver in The Metropolitan Museum of Art (Beth Carver Wees with Medill Higgins Harvey, 2013), chocolate pots, note 9](https://resources.metmuseum.org/resources/metpublications/pdf/Early_American_Silver_in_The_Metropolitan_Museum_of_Art.pdf), The Metropolitan Museum of Art
- [Koninklijke Cacao- en Chocoladefabrieken C.J. van Houten & Zoon NV te Weesp, 1828-1971 (archive creator record)](https://actorenregister.nationaalarchief.nl/node/22613), Nationaal Archief (Dutch National Archives), actorenregister
- [Evaluation of the Thermal Inactivation of a Salmonella Serotype Oranienburg Strain During Cocoa Roasting at Conditions Relevant to the Fine Chocolate Industry (R. Yan et al., 2021)](https://pmc.ncbi.nlm.nih.gov/articles/PMC7982832/), Frontiers in Microbiology, via PubMed Central

Fact-checked on 2026-10-18.

---

The Last Codex · https://lastcodex.org/en/inventions/chocolate-making/ · © The Last Codex. Texts, plates and figures: CC BY-NC-ND 4.0.
