# Coffee processing and roasting

> From red cherry to roasted bean

- Date: c. 1450
- Era: Renaissance
- Domain: [Food & Preservation](https://lastcodex.org/en/domains/food/)
- Rebuild stage: III (Crafts & cities)
- Difficulty: 2/5
- URL: https://lastcodex.org/en/inventions/coffee-processing/

Coffee processing turns the ripe fruit of the coffee shrub into a dry green bean, and roasting turns that bean brown, brittle and fragrant. The fruit is either dried whole or stripped of its pulp and sticky coating before drying, then hulled. Written accounts place the first coffee drinking among Sufis in Yemen in the fifteenth century.

![Coffee processing and roasting · From red cherry to roasted bean](https://lastcodex.org/_astro/plate.BrFG-ZlI_Z1zXWqk.webp)

## Legend

1. Skin and pulp of the coffee cherry
2. Mucilage, the sticky layer under the pulp
3. Parchment around each seed
4. Green bean with its silverskin
5. Sheet-iron roasting cylinder turned by hand
6. Charcoal embers in the brazier

## What it is

The coffee shrub bears small fleshy fruits called cherries, red or yellow when ripe. Each usually holds two seeds lying flat face against flat face; about one cherry in twenty holds a single rounder seed, the peaberry. These seeds are the coffee beans. Around them lie several layers: a thin skin, a soft pulp, a slippery coat of mucilage, a papery husk called the parchment and, pressed against the seed, a very fine silverskin. Fresh from the tree, the fruit is about two thirds water.

Processing strips these layers away and dries the seed until it keeps. The result, called green coffee, is hard and pale and can be stored and shipped for months. Roasting comes last: it needs only [fire](/en/inventions/control-of-fire/) and a vessel that keeps the beans moving, such as the hand-turned cylinder of sheet [iron](/en/inventions/iron-smelting/) used in European homes from the seventeenth to the nineteenth century.

## How it works

![A raised wooden drying bed with a woven mat covered by a single layer of coffee cherries, a few still red and most shrivelled dark brown, with a wooden rake laid across it](https://lastcodex.org/_astro/v1.oerLbqbK_1Dt8CP.webp)
_In the dry method, whole cherries dry in the sun and are turned several times a day._

The dry or natural method is the oldest. Whole cherries are spread thinly in the sun on a patio or a raised mat and raked several times a day so that every side dries. Depending on the weather, this takes from several days to about four weeks. Cherries left in heaps heat up and ferment, and mould can spoil them. Once the fruit has shrivelled into a hard husk, it is broken off the beans by pounding or in a hulling machine.

The wet method needs water and machinery. A pulper squeezes fresh cherries between a turning drum or disc and a slotted plate, so that the beans slip out of the skin and pulp. The mucilage still clings to the parchment. Left in tanks, it is broken down by microbes and the fruit's own enzymes in roughly 12 hours to 3 days, then washed off. The beans dry in their parchment, which a huller removes afterwards. Other variants dry the pulped beans with their mucilage still on, or scrub it off by machine instead of fermenting it.

Either way, the bean is dried to about 12% moisture. Below about 12.5%, coffee is safe from the moulds that can produce the toxin ochratoxin A, which is why damp or re-wetted coffee is a risk. Beans dried much further turn brittle and break in the huller.

Green beans still hold about a tenth of their weight in water. In the roaster they first lose most of it, then turn yellow and brown as sugars and amino acids react together. From about 150 °C they give off steam, carbon dioxide and carbon monoxide and begin to swell, and somewhere between 180 and 200 °C they crack audibly. A roast lasts 7 to 20 minutes, with the heat raised from about 180 to 250 °C depending on the machine and on how dark the coffee should be. The beans lose 14 to 23% of their weight and their volume grows by a third or more, up to double.

A turning drum keeps every bean tumbling, so that none rests against the hot metal while others stay pale. At the end the beans must be cooled quickly with a stream of air or a spray of water; otherwise they keep darkening and lose aroma.

## How to do it

![A turned wooden mortar with a wooden pestle resting in it, holding dried dark brown coffee cherries, several cracked open on pale green beans, with a few husk fragments and loose green beans beside it](https://lastcodex.org/_astro/v3.guyu4l5F_Z2hAQf3.webp)
_Light pounding in a wooden mortar cracks the dry husks._

If you can get fresh ripe cherries, a handful is enough to see the dry method. Spread them in a single layer on a fine mesh raised off the ground, in sun and moving air, and turn them several times a day. Cover them at night and whenever rain threatens, and throw out any that grow mould. After about three weeks the husks are hard and dark. Pound them lightly in a wooden mortar to crack the husks, then pour the mixture from one bowl to another in a breeze so that the husk fragments blow away.

Roasting is easier to try with green coffee bought from a supplier. Put a small batch, no more than a thin layer, in a hand-turned roasting cylinder over a gas ring, or in a heavy dry frying pan stirred with a wooden spoon, over medium heat. Keep the beans moving all the time. They turn yellow, then light brown, and after a few minutes more they start to crack. Stop when they reach the colour you want; darker roasts take longer.

Tip the beans at once into a metal colander and toss them in the open air, or in front of a fan, until they are cool enough to hold. Do this outdoors, as the silverskin flakes off as light chaff. Freshly roasted coffee keeps releasing gas for some time, so leave it to rest in a ventilated place before closing the jar.

> **Safety.** Roasting gives off smoke and carbon monoxide, a poisonous gas with no smell, and freshly roasted beans go on releasing it: roast outdoors or under a strong extractor hood, and never store a large quantity of roasted coffee in a small closed room. Never leave beans over the heat, since they can scorch and catch fire.

## History and evolution

The coffee shrub grows wild in the highlands of Ethiopia, but nobody knows when people first used it. The story of Kaldi, a goatherd whose animals grew lively after eating the berries, is a legend. The oldest written accounts point to Yemen. In the sixteenth century, ʿAbd al-Qadir al-Jaziri recorded that al-Dhabhani, a jurist of Aden who died in 1470, had come to know coffee in Africa and brought it to the Sufis, who drank it to stay awake during night prayers. In another passage he credits al-Shadhili, a Sufi master who died in 1418, with making it popular at Mocha. Encyclopaedia Iranica dates the arrival of coffee in Yemen to the fourteenth or fifteenth century, while Michel Tuchscherer argues that Yemen was producing coffee beans by the thirteenth century at the latest.

Early Yemeni drinks were brewed from the beans or from the dried husks, which are still infused in Yemen today as qishr. A husk drink reached Mecca towards the end of the fifteenth century, and Istanbul had its first coffeehouse in 1554. Until the end of the seventeenth century, nearly all the world's coffee came from Yemen, where the cherries were dried whole. Cultivation then spread to Java and, in the eighteenth century, to the Americas.

![A shallow iron roasting pan resting on a small copper brazier of embers, its long handle propped on a stone, holding brown coffee beans, with a long-handled metal spatula beside it](https://lastcodex.org/_astro/v2.ynH9IdwQ_137uK9.webp)
_Before closed drums, beans were roasted in open pans and stirred by hand._

Seventeenth-century travellers described the roasting. In Turkey, Jean de Thévenot described beans roasted in a pan over the fire and pounded into a fine powder. In Persia, Engelbert Kaempfer watched a coffeehouse roast them in a flat vessel over charcoal, stirred until they were brownish black. In Europe, closed cylinders turned over the fire appeared around the middle of the century. A Dutch type, a sheet-iron drum on a long rod with a wooden handle, was used at the hearth from about 1670 into the nineteenth century. The Henry Ford museum in Michigan keeps a sheet-iron roaster of this kind, made between 1800 and 1850.

The wet method came later, on plantations with plenty of water; trade books of the early twentieth century call it the West Indian process. From the late eighteenth century, engineers in Britain and the United States patented pulpers, hullers and driers, and roasting moved into factories with large rotating drums heated by coal and later by gas. Many modern roasters blow hot air through the turning drum, and small-batch roasters have brought older types of drum back into use.

## Key facts

- Oldest written accounts: Sufi circles in Yemen, 15th century
- Dried green coffee: About 12% moisture
- Wet-method fermentation: From about 12 hours to 3 days
- Roasting: About 180 to 250 °C for 7 to 20 minutes
- Weight lost in roasting: 14 to 23%

## Requires

- [Control of Fire](https://lastcodex.org/en/inventions/control-of-fire/): Light, heat and cooked food (1 million years ago)
- [Iron Smelting](https://lastcodex.org/en/inventions/iron-smelting/): Wider adoption around 1200 BCE; ore, charcoal and a bloomery (c. 1,200 BCE)

## Leads to

- [Coffee pulper](https://lastcodex.org/en/inventions/coffee-depulper/): A rasping roller that strips the skin and pulp from fresh coffee cherries (1765)
- [Pressure coffee maker](https://lastcodex.org/en/inventions/pressure-coffee-maker/): Coffee pushed up by steam (1822)

## Sources

- [Coffee, Encyclopaedia Iranica vol. V fasc. 8 (Sayyed ʿAlī Al-e Dāwūd, 1992, updated 2013)](https://www.iranicaonline.org/articles/coffee), Encyclopaedia Iranica Foundation
- [History of coffee (Nathan Myhrvold and the editors)](https://www.britannica.com/topic/history-of-coffee), Encyclopaedia Britannica
- [Coffee production (René Coste, Nathan Myhrvold and the editors)](https://www.britannica.com/topic/coffee-production), Encyclopaedia Britannica
- [Coffee roasting (Nathan Myhrvold and the editors)](https://www.britannica.com/topic/coffee-roasting), Encyclopaedia Britannica
- [Code of practice for the prevention and reduction of ochratoxin A contamination in coffee (CAC/RCP 69-2009)](https://ico.org/documents/ed-2074p-ota.pdf), Codex Alimentarius Commission (FAO/WHO), circulated by the International Coffee Organization
- [Arabica coffee manual for Lao PDR, chapter 6: harvesting and processing](https://www.fao.org/4/ae939e/ae939e08.htm), Food and Agriculture Organization of the United Nations
- [All About Coffee (William H. Ukers, 1922)](https://www.gutenberg.org/ebooks/28500), The Tea and Coffee Trade Journal Company, via Project Gutenberg
- [Use of colour parameters for roasted coffee assessment (N. C. Bicho et al., Ciência e Tecnologia de Alimentos 32 (3), 2012)](https://www.redalyc.org/pdf/3959/395940113004.pdf), Sociedade Brasileira de Ciência e Tecnologia de Alimentos
- [Critical roasting level determines bioactive content and antioxidant activity of Robusta coffee beans (D. Herawati et al., 2019)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6365344/), Food Science and Biotechnology, via PubMed Central
- [Carbon monoxide emission rates from roasted whole bean and ground coffee (R. F. LeBouf and M. Aldridge, 2019)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6430709/), Journal of the Air & Waste Management Association (NIOSH authors), via PubMed Central
- [The Ethiopian and Yemeni Roots of Coffee (Michel Tuchscherer, 2024)](https://doi.org/10.1093/acrefore/9780197762530.013.25), Oxford Research Encyclopedia of Food Studies, Oxford University Press
- [A Chapter in the History of Coffee: A Critical Edition and Translation of Murtada az-Zabidi's Epistle on Coffee (Heather M. Sweetser, MA thesis, 2012)](https://etd.ohiolink.edu/acprod/odb_etd/ws/send_file/send?accession=osu1339184075&disposition=inline), The Ohio State University
- [Coffee Roaster, 1800-1850, object 30.297.5](https://www.thehenryford.org/collections/explore/artifact/2633), The Henry Ford
- [Hand-operated rotary coffee roasting machine, 1880-1920, object 1974-489](https://collection.sciencemuseumgroup.org.uk/objects/co49280), Science Museum Group

Fact-checked on 2026-10-18.

---

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