Cocoa powder is made by fermenting, roasting, and grinding cacao beans, then pressing out most of the fat (cocoa butter) and pulverizing what remains into a fine powder. The full process takes days of fermentation, careful roasting, and significant mechanical pressure. Whether you’re curious about how the commercial product reaches your pantry or want to try making a version at home, here’s how each step works.
Harvesting and Fermenting the Beans
Everything starts inside a cacao pod, a football-shaped fruit that grows directly on the trunk of the cacao tree. Workers split the pods open and scoop out the wet, pulp-covered beans, which are pale, bitter, and nothing like chocolate at this stage. The beans are then piled into wooden boxes or heaped on banana leaves and left to ferment.
Fermentation is the step that creates chocolate flavor. Yeasts and bacteria feed on the sugary pulp surrounding the beans, generating heat and triggering chemical reactions inside the bean itself. Temperatures climb as microbes do their work, and the process typically runs about 155 hours (roughly six and a half days) for optimal results. During this time, bitter and astringent compounds break down while the precursors to familiar chocolate aromas develop. Cut open a well-fermented bean and you’ll see the interior has turned from purple to brown.
After fermentation, the beans are spread out to dry. In many growing regions this happens on raised wooden platforms in the sun, though controlled drying at around 50°C (122°F) for about 45 hours achieves a target moisture content of 7 to 8 percent. Getting moisture low enough is critical: too wet and the beans mold in storage, too dry and they become brittle and lose flavor.
Roasting for Flavor
Dried beans are roasted to deepen their flavor and loosen the papery outer shell. Commercial roasting typically runs 10 to 40 minutes depending on the desired intensity, with lighter roasts preserving fruity and acidic notes and darker roasts emphasizing deep, bittersweet flavors. Temperature, time, and bean origin all influence the final taste profile. The Maillard reaction, the same browning chemistry that makes toast and seared steak taste good, drives much of the flavor development here.
Cracking and Winnowing
Roasted beans still have a thin, inedible husk wrapped around them. To remove it, the beans are cracked into coarse pieces using rollers or a mechanical cracker. This produces a jumble of shell fragments and broken bean pieces called nibs. Winnowing separates the two: a gentle vacuum or air stream lifts the lighter husk material away while the heavier nibs fall through. The nibs are the pure, edible interior of the bean and contain roughly 50 to 55 percent fat (cocoa butter).
Grinding Into Cocoa Liquor
The nibs are ground between heavy stone or steel rollers. Because of their high fat content, grinding generates enough friction and heat to melt the cocoa butter within the nibs, turning them into a thick, dark paste called cocoa liquor (also called cocoa mass). Despite the name, there’s no alcohol involved. This liquor is the base material for both chocolate bars and cocoa powder, and the path it takes next determines which one it becomes.
Pressing Out the Fat
This is the step that turns chocolate paste into something you can scoop with a spoon. Cocoa liquor is loaded into a hydraulic press, and extreme pressure squeezes out the cocoa butter as a golden liquid. Industrial presses operate at pressures between 9 and 80 megapascals. At around 60 MPa, the press extracts up to 80 percent of the available cocoa butter from the solids.
What remains after pressing is a dense, dry disc called a press cake. How much fat stays in the cake determines the type of cocoa powder it becomes. U.S. federal standards define two categories: breakfast cocoa contains at least 22 percent cocoa fat by weight, while low-fat cocoa contains less than 10 percent. The more butter pressed out, the lighter and less rich the resulting powder.
The press cake is then broken up and ground into a fine powder. Commercial producers mill cocoa powder to extremely small particle sizes, often in the range of 10 to 15 microns, which allows it to dissolve smoothly into liquids without leaving a gritty texture.
Natural vs. Dutch-Processed Cocoa
At this point, there’s one more variable that creates the two main types of cocoa powder you see on store shelves. Natural cocoa powder is simply the pressed and ground result of the process described above. It’s acidic, with a pH between 5.3 and 5.8, and has a sharp, fruity chocolate flavor. It reacts with baking soda in recipes, which is why many American-style cake and brownie recipes call for it specifically.
Dutch-processed cocoa has been treated with an alkaline solution (usually potassium carbonate) either before or after pressing. This raises the pH significantly. Lightly alkalized cocoa powders land around pH 6.5 to 7.2, medium versions reach 7.2 to 7.6, and heavily treated cocoa goes above 7.6. The process darkens the color, mellows the acidity, and produces the smooth, rounded chocolate flavor common in European-style hot cocoa and dark-colored baked goods. The trade-off is a measurable reduction in certain antioxidant compounds, particularly flavanols, which decline as alkalization intensifies.
Making Cocoa Powder at Home
You can make a usable cocoa powder at home, though the result will be higher in fat than commercial versions since you won’t have a hydraulic press to extract the butter. The process starts with roasted cacao nibs, which you can buy online or roast yourself from raw beans.
Grind the nibs in short pulses using an electric coffee grinder, a food processor, or a hand-crank grain mill with stainless steel burrs. Avoid electric grain mills entirely. The high fat content in cacao nibs will gum up the mechanism and can damage the machine. Even with the right equipment, you’ll need to grind multiple times to get a fine result. Expect to pause between rounds and scrape out the sticky paste (cocoa liquor) that accumulates on the blades and bottom of the grinder.
Because you can’t press out the cocoa butter at home, your homemade powder will behave differently in recipes. It clumps more easily, has a richer mouthfeel, and doesn’t stay shelf-stable as long as the defatted commercial product. Use less than you would store-bought cocoa, since the retained fat delivers a more intense chocolate flavor. Some home producers freeze the ground paste briefly between grinding sessions, which firms up the fat and makes it easier to break into a finer powder on the next pass.
Storing Cocoa Powder
Properly stored cocoa powder lasts remarkably long. An unopened package keeps indefinitely, and once opened, both natural and Dutch-processed cocoa retain their best quality for about three years. The keys are an airtight container, a cool and dry spot (65°F to 70°F is ideal), and protection from light. Keep humidity below 50 to 55 percent. A dark pantry works well. Moisture is the main enemy: it can cause clumping, off-flavors, and eventually mold, especially in homemade powder with higher fat content.

