How Is Chocolate Made? From Bean to Bar, Step by Step

Chocolate starts as seeds inside the fruit of the cacao tree, and it takes a surprisingly long chain of transformations to turn those bitter, pulp-covered seeds into a smooth bar. The process involves fermentation, drying, roasting, grinding, and careful temperature control, with each step building the flavor and texture you recognize as chocolate.

Harvesting and Fermenting the Beans

Cacao trees produce large, colorful pods that are split open by hand. Inside each pod, 30 to 50 seeds sit embedded in a sweet, sticky white pulp. These seeds don’t taste anything like chocolate yet. They’re astringent and bitter, and they need fermentation to develop the chemical precursors of chocolate flavor.

Workers pile the wet beans and pulp into wooden boxes or banana-leaf heaps, then cover them and leave them to ferment for roughly five to seven days. During the first phase, naturally occurring yeasts consume the sugars in the pulp and produce ethanol and carbon dioxide. As conditions shift, bacteria take over, converting that ethanol into acetic acid. This generates considerable heat: the temperature inside the pile can climb to about 122°F (50°C), more than 20°C above where it started.

That heat and acidity do critical work inside the bean itself. Acids penetrate the seed coat and trigger internal chemical reactions, breaking down storage proteins into free amino acids and generating volatile compounds like alcohols, esters, and additional acids. Acetic acid content alone can jump from around 4% to nearly 34% during the process. These amino acids and volatile compounds are the building blocks that will later produce recognizable chocolate flavor during roasting. Without proper fermentation, no amount of processing can rescue the flavor.

Drying

After fermentation, the beans still contain far too much moisture to store or ship. Producers spread them out on raised wooden platforms, concrete patios, or drying tables, turning them regularly under the sun for several days until they reach roughly 6 to 7% moisture content. Some operations use mechanical dryers, though sun drying is considered gentler on flavor. Drying also lets residual acetic acid evaporate, which tempers some of the harsh vinegar notes left by fermentation.

Roasting and Cracking

Once the dried beans arrive at a chocolate factory, they’re roasted. This is where the amino acids and sugars created during fermentation react with heat, a process that generates hundreds of new flavor and aroma compounds. Roasting temperatures typically range from 250°F up to 350°F, and the process lasts anywhere from 30 to 90 minutes depending on the bean and the desired result.

Different bean varieties respond differently to heat. Forastero beans, which make up the bulk of the world’s cacao supply, generally tolerate a deeper roast. Criollo beans, which are rarer and more delicately flavored, usually need a lighter touch to preserve their nuance. Craft chocolate makers often adjust roasting profiles for each batch of beans they receive, while large industrial producers tend to roast harder and longer to mask natural variation and maintain a consistent product across millions of bars.

Winnowing: Separating Nibs From Shells

Roasted beans are cracked open, and then the lighter outer husks need to be separated from the heavier inner pieces, called nibs. This is winnowing. Machines break the beans and use carefully calibrated air flow to blow away the papery shell fragments while the denser nibs fall through. The husks make up about 12 to 15% of the bean’s weight, so a significant portion is removed at this stage. Modern winnowing equipment can achieve 99.8% purity, meaning almost no shell fragments end up in the finished chocolate. The discarded husks sometimes find a second life as garden mulch or brewed into cacao tea.

Grinding Into Chocolate Liquor

The nibs are ground, and because cacao beans are roughly half fat (cocoa butter), the friction and heat of grinding melts that fat and transforms the solid nibs into a thick, dark liquid called chocolate liquor. Despite the name, it contains no alcohol. It’s simply pure ground cacao in liquid form, and it’s the foundation of every type of chocolate. At this stage it tastes intensely bitter.

If the goal is cocoa powder and cocoa butter rather than a chocolate bar, the liquor gets pressed in a hydraulic press that squeezes out most of the fat. The remaining dry cake is pulverized into cocoa powder. The extracted cocoa butter gets reserved for use in chocolate bars, cosmetics, or pharmaceuticals.

Natural vs. Dutch-Processed Cocoa

Cocoa powder comes in two forms. Natural cocoa powder has a pH of about 5 to 6, giving it a sharp, somewhat bitter flavor and a reddish-brown color. Dutch-processed cocoa goes through an additional step: the cocoa solids are treated with an alkaline solution that neutralizes acidity, raising the pH to around 7. The result is darker in color with a smoother, mellower taste. Dutch-processed cocoa is especially common in European chocolate-making traditions.

Mixing and Conching

To make a chocolate bar, manufacturers combine chocolate liquor with sugar and additional cocoa butter. Milk chocolate also gets powdered milk or milk crumb. White chocolate skips the chocolate liquor entirely and uses only cocoa butter, milk solids, and sugar. These ingredients are mixed and then refined through steel rollers that crush particles down to sizes so small your tongue can’t detect them individually, typically below 20 microns.

Next comes conching, one of the most important and time-consuming steps. A conche is a machine that kneads, shears, and aerates the chocolate mass for hours or even days. The process serves several purposes at once. Friction generates heat, which evaporates residual moisture and drives off acetic acid and other volatile compounds that would give the chocolate an unpleasant vinegar-like taste. The mechanical action rounds off the sharp edges of sugar particles, which is what gives finished chocolate its smooth mouthfeel rather than a gritty texture. And the shearing motion coats every solid particle uniformly with cocoa butter, turning a dry, crumbly mass into a flowing liquid.

Conching happens at temperatures between 122°F and 194°F (50 to 90°C) and can take vastly different amounts of time. Traditional longitudinal conches could work a batch of dark chocolate for up to 96 hours. Modern rotary conches can finish milk chocolate in 10 to 16 hours. The duration, speed, and temperature all influence the final flavor profile, which is why two bars made from identical beans can taste quite different depending on how they were conched.

Tempering for Snap and Shine

Cocoa butter can crystallize in six different forms, and only one of them, known as Form V, produces chocolate that snaps cleanly, has a glossy surface, and melts smoothly on your tongue. Tempering is the precise heating-and-cooling cycle that coaxes the cocoa butter into forming those ideal crystals.

For dark chocolate, the process involves heating the melted chocolate to about 113 to 122°F (45 to 50°C) to melt all existing crystals, cooling it down to around 81°F (27°C) to encourage the right crystal type to form, then gently reheating it to 88 to 90°F (31 to 32°C), which melts out any unstable crystals while preserving the desirable ones. Milk chocolate follows a similar curve but finishes a couple of degrees lower, around 84 to 86°F (29 to 30°C). White chocolate is even more sensitive, with a final working temperature of just 82 to 84°F (28 to 29°C).

If tempering goes wrong, the chocolate still solidifies, but it may look dull, feel waxy, or develop a white, chalky coating called bloom. That bloom is cocoa butter that has migrated to the surface and recrystallized in an unstable form. It’s not harmful, but it signals poor crystal structure. Large factories use continuous tempering machines that regulate this process automatically. Small-batch chocolatiers often temper by hand on marble slabs or in small tabletop machines, adjusting for the humidity and temperature of the room as they work.

Molding and Packaging

Once tempered, the liquid chocolate is poured into molds, which are vibrated on a shaking table to release trapped air bubbles. The filled molds pass through a cooling tunnel where the chocolate sets completely, contracting just enough to release easily from the mold. This contraction is another sign of proper tempering: well-tempered chocolate shrinks slightly as it solidifies, while poorly tempered chocolate tends to stick.

From here, bars are wrapped and packaged. Industrial operations move enormous volumes through this stage on automated lines, producing thousands of identical bars per hour. Craft producers, by contrast, might hand-wrap bars within days of making them. The entire bean-to-bar process, from cracking open a cacao pod to wrapping a finished bar, can span weeks when fermentation, drying, and extended conching are factored in.

What Defines Each Type of Chocolate

U.S. federal standards set specific minimums for what can legally be called chocolate. Dark chocolate (labeled semisweet or bittersweet) must contain at least 35% chocolate liquor by weight. Milk chocolate requires a minimum of 10% chocolate liquor, plus at least 12% total milk solids and 3.39% milkfat. White chocolate contains no cocoa solids at all but must have at least 20% cocoa butter by weight, along with 14% milk solids. Products that replace cocoa butter with vegetable oils cannot legally be labeled as chocolate in the U.S.

Premium and single-origin bars often far exceed these minimums. A dark bar labeled 70% means that 70% of its weight comes from cacao (a combination of cocoa solids and cocoa butter), with the remaining 30% mostly sugar. Higher percentages mean more intense, less sweet chocolate, while lower percentages allow more room for sugar and other ingredients.