Chocolate’s science is the story of how a bitter seed becomes a smooth, glossy bar: fermentation, roasting, grinding, and tempering. For example, the snap of a good bar comes from tempering, which forces cocoa butter to crystallize into a stable form. Here’s the step-by-step chemistry behind each stage, plus what goes wrong when you skip a step.
Start With the Bean: Fermentation and Drying
Cocoa beans are the fermented seeds of the cacao tree’s fruit. Fresh beans are buried in heaps or boxes for 2–8 days, where natural yeasts and bacteria break down the sweet pulp around them. That fermentation develops the chocolate flavor precursors—without it, the beans taste flat and astringent, not chocolatey.
After fermentation, the beans are dried in the sun for about a week, from roughly 60% moisture down to 7%. Drying stops the fermentation and makes the beans shelf-stable. If they’re dried too fast or too slow, off-flavors like smokiness or moldiness can develop.
Roast for Flavor, Then Crack and Winnow
Roasting the beans at 250–300°F (120–150°C) for 10–30 minutes drives off moisture and volatile acids, and triggers Maillard reactions—the same browning that makes bread crust and coffee. This creates hundreds of aroma compounds, and the exact time and temperature are a maker’s secret.
After roasting, the beans are cracked into small pieces called nibs, and the papery shells are blown away in a process called winnowing. The nibs are about 50% cocoa butter, the fat that gives chocolate its melt-in-your-mouth texture.
Grind, Conch, and Temper: The Physics of Texture
Grinding the nibs generates heat and turns them into a liquid called chocolate liquor—not alcohol, just ground cocoa solids and cocoa butter. From here, the maker adds sugar, extra cocoa butter, and sometimes milk powder, then grinds everything for hours until the particles are small enough that the chocolate feels smooth on your tongue (under about 30 microns).
Conching is a long mixing step at 120–180°F (50–80°C) that removes unwanted acids and coats every particle with cocoa butter. It can last anywhere from a few hours to a few days; longer conching usually gives a smoother, less acidic flavor.
Tempering is the crucial final step. Cocoa butter can crystallize in six different forms, and only one (Form V) gives chocolate a shiny surface, a clean snap, and a stable shelf life. Tempering means heating and cooling the chocolate through a precise cycle—melt to about 115°F (46°C), cool to about 82°F (28°C) for dark chocolate, then reheat slightly to about 88–90°F (31–32°C) for working. If you skip tempering, the chocolate sets with dull streaks and a soft, crumbly texture.
Worked Example: Tempering a Small Batch
Say you have 8 oz (225 g) of dark chocolate. Chop it finely and melt two-thirds of it in a bowl over warm water (or in short microwave bursts) until it reaches 115°F (46°C). Remove from heat, add the remaining third, and stir until the temperature drops to about 82°F (28°C). Then gently warm the whole batch back up to 88–90°F (31–32°C). Test on a spoon: a dab should set within 5 minutes with a shine. If it doesn’t, repeat the cooling step.
Where Chocolate Goes Wrong: Seizing, Bloom, and Overheating
The most common home failure is seizing: melted chocolate turns into a stiff, grainy paste when a few drops of water get in. Even a teaspoon of water can do it, because the water makes the sugar dissolve and the cocoa particles clump together. To fix a seized batch, stir in a little warm water (about 1 tbsp per 4 oz of chocolate) to make a thick sauce—or use it for baking where texture doesn’t matter.
Bloom is the grayish-white film that appears on old or poorly tempered chocolate. Fat bloom happens when cocoa butter melts and recrystallizes on the surface; sugar bloom happens when moisture condenses on the surface and dissolves sugar, which then recrystallizes. Both are safe to eat, but they change the texture. Proper tempering and storing at a steady 60–70°F (15–21°C) prevent most bloom.
Another common mistake is overheating chocolate. Dark chocolate should never go above 120°F (49°C), and milk or white chocolate above 110°F (43°C), or it will scorch, thicken, and lose its shine. Always melt slowly and stir often.
What the Percent on the Label Means
The “% cacao” on a bar tells you the total percentage of cocoa solids and cocoa butter by weight. A 70% bar has 70% chocolate liquor (plus any added cocoa butter) and 30% sugar; a 40% milk chocolate has 40% cacao and usually more sugar and milk powder. Higher percentages taste more bitter and less sweet, and they need more careful tempering because they contain more cocoa butter.
For baking, a bar with 60–70% cacao is a safe all-purpose choice. If a recipe calls for unsweetened chocolate (100% cacao), you can’t substitute a sweetened bar without adjusting the sugar. For melting and dipping, choose a bar with a higher cocoa butter content—it flows better and sets harder.
Making Chocolate at Home: What You Can Skip and What You Can’t
You can make decent chocolate at home from cocoa powder and cocoa butter, but skip the bean-to-bar steps like fermentation and winnowing unless you have the equipment. A simple homemade bar: melt 1 cup (120 g) cocoa butter, stir in 1 cup (100 g) unsweetened cocoa powder and 1/4 cup (50 g) sugar (or to taste), then temper and pour into molds. The tempering step is still essential for a glossy, snappy bar.
If you’re using a chocolate melter or a sous vide, the same temperature ranges apply: melt to 115°F (46°C), cool to 82°F (28°C), reheat to 88–90°F (31–32°C). For milk or white chocolate, use 110°F (43°C) melting and 86–88°F (30–31°C) working temperatures.
Storing Chocolate So It Lasts
Store chocolate in a cool, dry place, ideally at 60–70°F (15–21°C) with low humidity. Wrap it tightly in foil or plastic to keep out odors—chocolate absorbs smells from onions, spices, and even perfume. Refrigeration is okay if the chocolate is well sealed, but it can cause sugar bloom when it warms up again. If you store it in the fridge, let it come to room temperature in the wrapper to minimize condensation.
Dark chocolate can keep for a year or more, milk and white chocolate for about 6–8 months, if stored properly. Bloomed chocolate is still safe to eat; it just won’t have the same shine or snap.
Chocolate for Baking vs. Eating
Baking chocolate (unsweetened, bittersweet, or semisweet) is formulated to melt smoothly and hold its structure in batters. Chips often contain less cocoa butter so they hold their shape in cookies—that’s why they don’t melt into a puddle. For a ganache or a glaze, use a bar you like to eat, because the flavor will come through.
If a recipe calls for bittersweet and you only have semisweet, you can swap them, but expect a slightly sweeter result. For unsweetened, you can substitute 3 tbsp cocoa powder plus 1 tbsp fat (butter or oil) for each 1 oz of unsweetened chocolate—but the texture may be a bit different in delicate recipes.
What About White Chocolate and Ruby Chocolate?
White chocolate is made from cocoa butter, sugar, and milk solids—it contains no cocoa solids, which is why it’s pale and mild. It has a lower melting point and needs gentler tempering (about 86–88°F / 30–31°C). Ruby chocolate is a pink variety made from specially processed ruby cocoa beans; it has a fruity, berry-like flavor and the same tempering needs as milk chocolate.
Both are more delicate than dark chocolate, so they’re more prone to seizing and overheating. Melt them slowly and never let them exceed 110°F (43°C).
The Science of Chocolate for Kids and Large Batches
If you’re making chocolate treats with kids, the tempering step is a good chance to teach about crystals and temperature. Use a digital thermometer and let them watch the numbers climb and fall. For large batches, you can temper more chocolate by using the same percentages: melt to 115°F (46°C), cool to 82°F (28°C), reheat to 88–90°F (31–32°C). Just stir longer and use a wider bowl.
For a quick fix, you can also “seed” melted chocolate with a handful of already-tempered chocolate pieces instead of the full cooling cycle. Stir the seeds in until they melt and the temperature drops to the working range—this works because the seeds provide the right crystals.
Now that you know the science, you can troubleshoot your next batch: if it’s dull, re-temper; if it’s grainy, add a little warm water; if it’s too thick, add a bit more cocoa butter. And remember, the best way to learn is to make a small batch and taste the difference at each stage.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.