How to Make Chocolate From Raw Cacao to Finished Bar

Chocolate starts as bitter, purple seeds inside the fruit of the cacao tree, and it takes a surprisingly long chain of transformations to turn those seeds into the smooth, rich product you know. Every step, from fermentation to tempering, builds a specific layer of flavor or texture. Understanding the full process reveals why good chocolate takes days or even weeks to produce, and why small changes at any stage can dramatically shift the final taste.

It Starts With Fermentation, Not Roasting

Fresh cacao beans taste nothing like chocolate. They’re astringent and bland. The flavor you associate with chocolate doesn’t exist in the raw bean. It has to be created, and that process begins with fermentation.

After cacao pods are harvested and split open, the beans and their surrounding fruit pulp are piled into wooden boxes or heaped on banana leaves and left to ferment for five to seven days. Yeasts and bacteria feed on the sugary pulp, producing alcohol and then acetic acid. During fermentation, acetic acid content in the beans can increase from about 4% to nearly 34%. That acid, combined with rising temperatures inside the pile, penetrates the bean and breaks down its storage proteins into free amino acids. These amino acids are flavor precursors: they don’t taste like chocolate yet, but they’re the raw ingredients that will produce chocolate’s signature aroma during roasting. Fermentation also generates alcohols, esters, and ketones that contribute to the bean’s developing complexity.

Without proper fermentation, no amount of skilled roasting can rescue the flavor. This is the single most important step in determining whether chocolate tastes fruity, nutty, earthy, or flat.

Drying and Sorting the Beans

After fermentation, the beans are spread out to dry, typically in the sun, for about a week. Drying drops their moisture content from around 60% down to roughly 7%, which prevents mold during shipping and storage. Farmers and buyers then sort the beans by hand or machine, removing flat, broken, or moldy ones. At this point the beans are bagged and shipped to chocolate makers around the world.

Roasting Builds the Flavor

Roasting is where the flavor precursors created during fermentation finally become the compounds you recognize as “chocolate.” The key chemistry here is the Maillard reaction: reducing sugars like glucose and fructose react with the free amino acids formed during fermentation, producing hundreds of volatile compounds. Among the most important are pyrazines, which give roasted cocoa its deep, nutty, toasty character.

Industrial processes often use dry air at 110 to 140°C for about 60 minutes, though conditions vary widely. The optimal range for balancing rich flavor with retention of beneficial plant compounds sits around 135 to 150°C. Lower temperatures preserve more of the bean’s natural fruitiness and polyphenols. Higher temperatures push the flavor toward darker, more bitter notes. Some craft chocolate makers roast as briefly as 7 minutes at 135°C, while others go much longer. Each producer treats their roasting profile as proprietary because it defines their chocolate’s identity.

Roasting also loosens the outer shell of the bean, making the next step possible.

Cracking, Winnowing, and Grinding

Roasted beans are cracked open and the papery shells are blown away in a process called winnowing. What remains are cacao nibs: small, crunchy pieces of pure roasted cacao. These nibs are the foundation of all chocolate.

The nibs are then ground. Cacao beans are roughly 50% fat (cocoa butter), so grinding them generates enough friction and heat to liquefy the fat, turning the solid nibs into a thick, pourable liquid called cocoa liquor or cocoa mass. Despite the name, it contains no alcohol. This liquor is 100% cacao and tastes intensely bitter.

At this stage, the process splits depending on the end product. To make cocoa powder and cocoa butter, the liquor is pressed under high pressure to squeeze out the fat. The remaining dry cake is pulverized into cocoa powder. To make eating chocolate, the liquor continues to the next refining steps with added ingredients.

Mixing the Ingredients

The recipe depends on the type of chocolate. Dark chocolate combines cocoa liquor, additional cocoa butter, and sugar. Milk chocolate adds milk powder or condensed milk. White chocolate skips the cocoa liquor entirely and uses only cocoa butter, sugar, and milk solids. Most commercial chocolate also includes a small amount of vanilla for flavor rounding.

These ingredients are blended together and then passed through steel rollers that crush the particles down to a very fine size. The target is around 20 microns or smaller, which is below the threshold your tongue can detect as gritty. If you’re making chocolate at home with a stone melanger (a tabletop grinder with rotating granite wheels), reaching that 20-micron smoothness typically takes 48 to 72 hours of continuous grinding.

Conching Smooths and Refines

Conching is a prolonged mixing and aerating process that can last anywhere from a few hours to several days. The chocolate mass is heated and continuously stirred in a large vessel called a conche. This step accomplishes two critical things at once: it refines texture and cleans up flavor.

On the texture side, conching breaks apart clumps of sugar and cocoa particles that have stuck together. As these agglomerates separate, they release trapped cocoa butter, and the chocolate becomes progressively more fluid. Viscosity drops steadily with conching time as more enclosed fat is freed.

On the flavor side, conching drives off volatile acids that would otherwise make the chocolate taste harsh or vinegary. Acetic acid, the same compound that built up during fermentation, evaporates most rapidly in the early hours of conching while the cocoa particles aren’t yet fully coated in fat. The rate of acid removal slows as conching continues and the particles become encased in a fat layer. This is why the first few hours of conching tend to produce the most dramatic improvement in flavor.

The process typically moves through three phases: dry conching (low fat content, high friction), plastic conching (where the strongest shear forces reshape the mass), and liquid conching (after extra cocoa butter or emulsifiers are added). The plastic phase is considered the most important for both texture and flavor development.

The Role of Emulsifiers

Near the end of conching, most manufacturers add a small amount of lecithin, usually derived from soy or sunflower. At just 0.3 to 0.6% of the total recipe, lecithin dramatically reduces viscosity, allowing the chocolate to flow and coat evenly. It works so effectively that it can replace a much larger percentage of expensive cocoa butter while achieving similar flow properties. Above about 0.6% lecithin, viscosity stops decreasing and the chocolate can actually become stickier, so there’s a practical ceiling to how much helps.

Tempering Creates the Snap

Cocoa butter is unusual among fats because it can solidify into six different crystal structures, labeled Form I through Form VI. Only one of these, Form V, produces chocolate with a glossy surface, a clean snap when broken, and a smooth melt on the tongue. The other crystal forms result in chocolate that’s dull, crumbly, soft, or prone to developing a whitish coating called bloom.

Tempering is the controlled heating and cooling process that coaxes cocoa butter into forming predominantly Form V crystals. For dark chocolate, the process works roughly like this: the chocolate is first fully melted to erase any existing crystal structures, then cooled to around 27°C (about 80°F) while being constantly agitated. At this temperature, small seed crystals of the desired form begin to develop. The chocolate is then gently rewarmed to between 31 and 32°C (about 88 to 89°F), which melts out any unstable crystal types while preserving the Form V seeds. These seeds act as templates, encouraging the rest of the cocoa butter to crystallize in the same stable pattern as the chocolate cools in its mold.

An alternative method skips the cooling step and instead adds small pieces of already-tempered chocolate (called “seed chocolate”) directly into the melted batch. The pre-formed Form V crystals in the seed pieces spread through the liquid chocolate and serve as nucleation points. This approach is popular with smaller producers because it’s more forgiving.

If chocolate isn’t tempered correctly, or if it’s stored at warm temperatures for too long, the stable Form V crystals can slowly shift into Form VI. This transition causes fat bloom, those pale streaks or spots on old chocolate bars. The chocolate is still safe to eat, but the texture and appearance suffer.

Natural vs. Dutch-Process Cocoa

Not all cocoa powder is made the same way. Natural cocoa powder retains the acidity inherent in the cacao bean, giving it a sharper, more complex flavor with fruity undertones, especially when made from high-quality beans. Dutch-process cocoa (also called alkalized cocoa) is treated with potassium carbonate to neutralize that acidity. The result is a darker powder with a smoother, more straightforward “dark chocolate” flavor but less of the nuanced fruitiness.

The trade-off goes beyond flavor. Alkalization strips a significant portion of the bean’s polyphenols, the plant compounds linked to cocoa’s health benefits. Studies have measured losses of over 60% of total polyphenols during Dutching, with specific compounds like epicatechin dropping by as much as 98%. If you’re choosing cocoa powder partly for its nutritional profile, natural cocoa retains considerably more of those compounds.

Making Chocolate at Home

You don’t need a factory to make chocolate from scratch, but the process does require patience and a few pieces of equipment. A stone melanger is the most common tool for home chocolate makers. It grinds and conches simultaneously: you add roasted, winnowed cacao nibs and sugar, and the granite wheels slowly break everything down over two to three days of continuous running. By the end, you’ll have chocolate refined to around 20 microns, smooth enough that no grittiness is detectable.

Tempering at home is typically done by hand on a marble slab or using the seed method. You melt your chocolate completely, pour about two-thirds onto the cool marble surface, and work it back and forth with a scraper until it thickens and cools to the right temperature range. Then you mix it back into the remaining warm chocolate and check the temperature before pouring into molds. A simple infrared thermometer makes this far easier to get right.

The entire process, from raw beans to a finished bar, takes roughly three to four days for a home batch. Most of that time is the melanger running unattended. The hands-on work amounts to a few hours spread across roasting, winnowing, and tempering.