Chocolate begins as a tropical fruit seed and ends as one of the most chemically complex foods on the planet. Getting from one to the other takes ten distinct steps, each of which shapes the flavor, texture, and quality of the final bar. Skip one, rush another, or get the temperature wrong at a critical moment, and the result is noticeably worse.

This is how chocolate is made from farm to bar — from the farmer harvesting pods to the chocolate maker molding the finished piece. If you are looking for a hands-on guide to making chocolate yourself, that is a different article: our bean-to-bar beginners guide walks through the home-scale process with equipment, times, and temperatures. This page is the process explainer — what happens at each stage and why it matters.

1. Harvesting

Cacao trees (Theobroma cacao — literally “food of the gods,” a name coined by Linnaeus in 1753) grow only within 20 degrees north and south of the equator. More than 90 percent of the world’s cacao is grown by smallholder farmers on plots of just 2 to 5 hectares. There are roughly 6.5 million cacao farmers globally, with an average age of about 56 years.

The pods grow directly from the trunk and main branches of the tree — a trait called cauliflory. Each football-shaped pod holds 20 to 50 seeds embedded in a white, sweet-sour pulp called mucilage. Those seeds are what the trade calls “beans,” though botanically they are seeds.

Harvesting is done by hand with machetes or long-handled tools. Pods do not ripen all at once, so harvesters return to the same trees repeatedly through the season. Once cut, the pods are opened and the wet beans and pulp scooped out. Interestingly, every bean in a single pod can carry different genetics — the husk and pulp match the parent tree, but each seed is the product of a different grain of pollen carried by the tiny midges that pollinate cacao’s flowers.

2. Fermentation

Fermentation is the single most consequential step for flavor. Unfermented cacao beans taste flat and astringent no matter how they are roasted — this is where fine-flavor cacao starts developing its character, generating the precursor compounds that roasting will later transform into chocolate.

The wet beans and pulp are piled into heaps (common in West Africa, 25 to 2,000 kg) or loaded into wooden boxes (common in Latin America, 200 to 2,000 kg); a critical mass of at least about 300 kg of wet beans is needed for the process to work properly. What follows is a three-phase microbial succession. Yeasts consume the pulp sugars and produce ethanol, carbon dioxide, and heat, raising the temperature from ambient to 35–40°C. Lactic acid bacteria take over next. Finally, as the mass is turned and oxygen enters, acetic acid bacteria convert the ethanol to acetic acid in a strongly exothermic reaction, and temperatures peak around 45–50°C.

The combination of heat and acetic acid kills the embryo inside the bean — the critical event. Cell death ruptures the internal storage structures, releasing enzymes that generate flavor precursors: free amino acids such as leucine, alanine, and phenylalanine that will drive Maillard reactions during roasting. At the same time, polyphenol oxidase begins breaking down tannins, reducing bitterness and astringency by up to 80 to 90 percent from their peak. Fermentation takes 2 to 4 days for Criollo cacao and 5 to 7 days for Forastero, with the beans turned every 24 to 48 hours.

For the full biochemistry — the microbial succession, the enzymatic chemistry, and how it is controlled — see our cacao fermentation science guide.

3. Drying

After fermentation, the beans must be dried from a high moisture content down to about 6 to 8 percent for safe storage and shipping. Above 8 percent, they risk mold; below about 5 percent, they turn brittle and crack during handling.

Sun drying is the traditional method and generally produces the best quality. Beans are spread on raised platforms, patios, or mats and turned regularly over 1 to 2 weeks. The slow pace lets volatile acids — acetic acid in particular — evaporate gradually, mellowing the beans. Drying rate is itself a flavor lever: faster drying traps acid inside the bean for a more acidic, fruitier chocolate, while slower drying allows more mellowing.

Mechanical drying uses forced hot air and can finish in a day or two, but the temperature must stay below about 60°C to avoid case-hardening, where the outer shell dries and seals while the interior stays wet. Direct-fired dryers also risk smoke taint from polycyclic aromatic hydrocarbons — the reason some Papua New Guinea cacao carries a smoky character that is a feature or a flaw depending on who you ask.

4. Sorting and Quality Control

Dried beans are sorted to pull out flat, broken, moldy, or insect-damaged beans, along with foreign material like stones and sticks. At small scale this is done by hand; large operations use optical sorters — Dandelion Chocolate, for instance, runs an AMVT machine that uses machine learning and 100 air jets to kick out defective beans at speed.

Fermentation quality is confirmed with the cut test: beans are sliced lengthwise and the interior color read. More than 75 percent brown means well-fermented; purple or slate coloring signals under-fermentation. Well-fermented beans are plump, break readily, and smell complex and pleasant. Under-fermented beans are shriveled, sour, and brassy. Over-fermented beans smell putrid or “hammy” from bacterial spoilage.

5. Roasting

Roasting is where chocolate flavor is actually born. The flavor precursors that fermentation created — free amino acids and reducing sugars — collide under heat in the Maillard reaction and Strecker degradation, the same browning chemistry that makes bread crust and coffee aromatic. Out of it come the hundreds of volatile compounds that read as “chocolate,” led by 3-methylbutanal (the single strongest predictor of cocoa-chocolate character) and the nutty, roasted pyrazines.

Lighter roasts preserve more of the origin’s fruit and acidity; darker roasts trade that for Maillard-driven depth. The exact temperatures, times, and the craft roaster’s three-phase approach live in our guide to roasting cacao beans.

6. Cracking and Winnowing

Roasted beans still wear a papery husk — about 10 to 15 percent of the bean by weight, fibrous and full of off-flavors that would ruin the chocolate (the FDA limits husk to 1.75 percent of the finished product). Two steps remove it: cracking breaks the beans into small pieces, and winnowing uses moving air to carry the light husk away while the heavier nibs fall through.

The nib is the prize — the roasted seed meat that becomes chocolate. For the home methods, the husk-tolerance thresholds, and DIY winnower builds, see our cracking and winnowing guide.

7. Grinding and Refining

The nibs are roughly 50 to 57 percent cocoa butter by weight, so grinding them doesn’t make powder — it makes a thick, flowing liquid called cocoa liquor (also cocoa mass or chocolate liquor), about half fat and half cocoa solids. From there the chocolate is refined: milled until its sugar and cocoa particles are small enough that the tongue reads the texture as smooth rather than gritty. The ratio of cacao to sugar the maker weighs in at this stage is exactly what the finished label reports as its cacao percentage.

Craft makers do this in a melanger — granite wheels turning on a granite bed, adapted from Indian wet grinders — which grinds, refines, and conches in one machine. Factories use steel five-roll refiners. The particle-size targets and the machine options are covered in our melanger refining guide.

8. Conching

Conching is prolonged warm mixing, discovered by accident in 1879 when Rodolphe Lindt left a mixer running overnight and returned to chocolate smoother and mellower than anything before it. It does three things at once: it rounds off the particles’ sharp edges, it drives off harsh volatile acids, and it coats every particle in fat so the chocolate flows and tastes homogeneous.

As it runs, the chocolate’s brightest, sharpest notes fade first, replaced by warmer tones of molasses, caramel, and tobacco. How long to conch, at what temperature, and how it interacts with adding sugar and cocoa butter are all in our conching guide.

9. Tempering

Tempering is the one step with no margin for error. Cocoa butter can set into six different crystal forms, and only one of them — Form V — delivers a clean snap, a glossy surface, contraction from the mold for easy release, and a smooth melt at body temperature. Tempering is a controlled melt–cool–rewarm cycle that coaxes the cocoa butter into Form V and holds it there.

Skip it and the chocolate sets dull, soft, and streaky, and develops white bloom within days. The exact temperature windows for dark, milk, and white chocolate — and the tabling, seeding, and machine methods — are in our tempering guide.

10. Molding and Packaging

Finally, the tempered chocolate is poured into molds — polycarbonate is standard because its smooth interior gives the chocolate its gloss — and vibrated to shake out trapped air bubbles. A useful quirk of Form V is that it contracts slightly as it sets, so a well-tempered bar shrinks and drops cleanly out of the mold; under-tempered chocolate clings and over-tempered chocolate can crack.

After unmolding, bars are wrapped, usually in foil, because cocoa butter readily absorbs ambient odors and needs protecting from light, moisture, and smells — packaging is the chocolate’s last line of defense. For the molding and finishing detail, see our molding and unmolding guide.

The Numbers Behind the Transformation

To appreciate the scale of the transformation, follow a single cacao pod through the process:

Dandelion Chocolate, running six 30-kilogram melangers around the clock, produces about 12,000 bars a month. The entire US craft chocolate industry consumed roughly 2,000 metric tons of cacao in 2015 — which sounds like a lot until you realize it is about 0.05 percent of global production.

Fine-flavor cacao accounts for only about 5 to 7 percent of the world’s supply. The bean-to-bar craft movement — anchored by Scharffen Berger’s founding in San Francisco in 1996 and now more than 200 US makers strong — represents a tiny fraction of global output, but it is the fraction where every one of these ten steps is treated as an opportunity to build flavor rather than just move volume.

Frequently Asked Questions

How long does it take to make a chocolate bar from scratch?
From harvesting to finished bar, the minimum is about three to four weeks. Fermentation takes 2 to 7 days depending on the cacao variety, and sun drying takes 1 to 2 weeks. Once the dried beans reach the maker, roasting takes 20 to 40 minutes, cracking and winnowing an hour or two, and refining plus conching in a melanger runs roughly 18 to 30 hours, with tempering and molding a few hours more. Add shipping time from the tropics and the real span from pod to bar is weeks to months. Fermentation and drying take their biological minimum no matter how the rest is industrialized.
What is the difference between cocoa and cacao?
In common usage, 'cacao' refers to the raw material — the tree, the pod, the bean — while 'cocoa' refers to processed products like cocoa powder and cocoa butter. Some marketers use 'cacao' to imply a less-processed, healthier product, but there is no regulated distinction: the plant is Theobroma cacao regardless of what the final product is called, and the industry often uses the two words interchangeably. The real quality markers are fermentation quality, roast level, and processing — not which word appears on the label.
Why does chocolate need to be tempered?
Cocoa butter can crystallize into six different forms, each with a different melting point and character. Only Form V (melting at about 34°C) gives chocolate the snap, gloss, smooth body-temperature melt, and easy mold release people expect. Without tempering, cocoa butter sets into a random mix of less-stable forms, producing chocolate that is soft, crumbly, dull, and prone to white bloom within days. Tempering is the controlled melt-cool-reheat cycle that ensures Form V crystals dominate.
Is all chocolate made the same way?
The ten-step process here describes bar chocolate made from whole cacao beans, but there are variations. Cocoa powder is made by pressing cocoa liquor to separate the fat from the solids, then grinding the remaining cake. White chocolate skips cocoa solids entirely, using cocoa butter, milk solids, and sugar. Compound chocolate (the coating on many candy bars) replaces cocoa butter with vegetable fat and needs no tempering. And some traditional preparations, like Mexican-style chocolate, use a coarse grind and skip conching for a deliberately grainy texture.
What percentage of a chocolate bar actually comes from the cacao bean?
It depends on the recipe. A 70% dark bar is 70% cacao-derived material (cocoa solids plus cocoa butter from the bean) and 30% sugar. A two-ingredient bar at 70% gets all its fat from the natural cocoa butter in the beans, which runs 50 to 57 percent of the nib by weight. European-style bars at the same percentage may add extra cocoa butter for smoothness, but the total cacao fraction stays at 70%. Milk chocolate can go as low as 25% cacao (EU minimum) or 10% chocolate liquor (US FDA minimum), with the rest sugar, milk solids, and added fat.