Cacao is the seed of the cacao tree, and roughly half of each bean is fat. Much of the rest is fiber, protein and starch. Packed alongside are minerals such as magnesium and iron, plus bitter plant compounds and mild stimulants that make cacao more than a source of calories. The bean you eat is not the bean that grew on the tree, though, because fermenting, roasting and processing reshape its chemistry before it becomes chocolate or cocoa powder.
Cocoa Butter Is a Mix of Three Fats
The fat stored in the bean is called cocoa butter. Under a microscope, it sits in tiny droplets about 1 to 2 thousandths of a millimeter across, packed into storage cells.1Journal of Agricultural and Food Chemistry. Crystallization and melting behavior of cocoa butter in lipid bodies of fresh cacao beans
Cocoa butter is made mainly of three fatty acids. Stearic acid makes up about 33 to 40% of the fat.2Journal of Food Composition and Analysis. Composition and physicochemical properties of cocoa butter and cocoa liquor from two varieties obtained at different harvesting times Oleic acid, the main fat in olive oil, makes up about 33 to 37%.2Journal of Food Composition and Analysis. Composition and physicochemical properties of cocoa butter and cocoa liquor from two varieties obtained at different harvesting times Palmitic acid makes up about 24 to 34%.2Journal of Food Composition and Analysis. Composition and physicochemical properties of cocoa butter and cocoa liquor from two varieties obtained at different harvesting times That means about two-thirds of the fat is saturated, mainly stearic and palmitic. Stearic acid is generally found not to raise LDL cholesterol the way palmitic acid does, so cocoa butter is gentler on blood fats than its saturated share suggests.
Dark chocolate gets most of its calories from cocoa butter, so a small square is calorie-dense. Cocoa powder has had most of its cocoa butter pressed out, which makes it far leaner.
Cocoa butter is solid at room temperature but melts close to body temperature. That is why good chocolate snaps cleanly and then melts on the tongue.
On a dark chocolate label, the saturated fat figure is mostly cocoa butter, so a high number reflects the fat the bean itself carries and does not point to added oils. The ingredient list tells you more: a bar made only from cacao, sugar and perhaps cocoa butter gets its fat from the bean, while palm oil or other vegetable fats signal a different fat profile.
How Much Fiber Is in Cacao and What It Does in Your Gut
A fiber-rich cocoa product made from the bean’s shell and solids was about 60% fiber by dry weight.3Food Chemistry. Dietary fibre composition, antioxidant capacity and physico-chemical properties of a fibre-rich product from cocoa (Theobroma cacao L.) Most of that was insoluble fiber, with soluble fiber around 10% of the dry weight.3Food Chemistry. Dietary fibre composition, antioxidant capacity and physico-chemical properties of a fibre-rich product from cocoa (Theobroma cacao L.) Commercial cocoa drinks vary: in one, about 21% of the fiber was soluble, in another under 8%.4PubMed Central. Effects of regularly consuming dietary fibre rich soluble cocoa products on bowel habits in healthy subjects: a free-living, two-stage, randomized, crossover, single-blind intervention
Insoluble fiber doesn’t dissolve in water and passes through largely intact, which is why it bulks up stool and keeps things moving. Some of it is still partly fermented by bacteria in the large intestine, so the split between types isn’t a hard line. A mostly insoluble profile does mean cacao complements, but doesn’t replace, soluble fiber from oats, beans and fruit.
Cacao also seems to act as a prebiotic. A prebiotic is food for gut bacteria, not live bacteria themselves. Studies in people and animals report that cocoa shifts the mix of gut bacteria.5PubMed Central. Cocoa Polyphenols and Gut Microbiota Interplay: Bioavailability, Prebiotic Effect, and Impact on Human Health Gut bacteria break cocoa’s flavanols down into smaller compounds in the lower gut, which is part of how cocoa works as a prebiotic.5PubMed Central. Cocoa Polyphenols and Gut Microbiota Interplay: Bioavailability, Prebiotic Effect, and Impact on Human Health In rats, cocoa fiber raised levels of friendly Bifidobacterium and Lactobacillus and of short-chain fatty acids, which nourish the gut lining.6Journal of Functional Foods. Prebiotic effects of cocoa fibre on rats In lab tests with human stool samples, cacao boosted helpful bacteria such as Faecalibacterium and Roseburia, but only in people with one type of gut bacteria pattern.7PubMed Central. Modulation of Gut Microbiota by Cacao: Insights from an In Vitro Model The effect likely varies from person to person, and lab and animal results don’t prove the same happens in your gut.
Fiber figures quoted per 100 g of cocoa powder look impressive, but a spoonful weighs only a few grams, so each serving supplies a modest share of daily fiber. Cocoa powder and cacao nibs carry far more fiber per gram than sugar-diluted bars, and milk chocolate contains few cocoa solids and so little fiber. A spoon of unsweetened cocoa stirred into oatmeal or yogurt adds fiber without much sugar. Raising fiber quickly can cause gas or bloating, so add cocoa or nibs gradually and drink plenty of fluids.
Magnesium, Iron and Other Minerals in Dark Chocolate
Dark chocolate contains about 252 mg of magnesium and 11 mg of iron per 100 g.8PubMed. Mineral essential elements for nutrition in different chocolate products A 100 g bar of 90% chocolate covers about two-thirds of the EU daily reference for magnesium and about 80% for iron.8PubMed. Mineral essential elements for nutrition in different chocolate products A typical serving is closer to 20 to 30 g, though, so expect roughly a quarter of those amounts.
Minerals come from the cocoa solids, so a higher cacao percentage means more of them. The percentage on a dark bar refers to cocoa ingredients by weight, meaning solids plus cocoa butter. A 70% bar usually has fewer solids than a 90% bar, so it typically supplies fewer minerals per gram even though both are called dark. Cocoa butter itself carries almost no minerals, so a bar with extra added cocoa butter can have a high percentage but fewer minerals than expected. Sugar and milk dilute the minerals further in milk chocolate and lower-percentage bars.
Cacao also supplies potassium, phosphorus, calcium, zinc, manganese and copper.9Journal of Food Composition and Analysis. Effect of fermentation stages on the nutritional and mineral bioavailability of cacao beans (Theobroma cacao L.) Dark chocolate is a meaningful source of iron, a good supplement of magnesium, phosphorus and zinc, and an insignificant source of sodium, potassium and calcium.10LWT. Multivariate analysis of essential elements in raw cocoa and processed chocolate mass materials from three different manufacturers Iron content varies widely between brands, from about 37 to 339 mg per kg.10LWT. Multivariate analysis of essential elements in raw cocoa and processed chocolate mass materials from three different manufacturers
The iron on the label also overstates what you take in. Iron in plants is non-heme iron, which the body absorbs less readily than the heme iron in meat. Cocoa’s polyphenols can bind iron and cut absorption from the same meal, while pairing chocolate with a vitamin C source such as fruit tends to improve it.
Oxalate, Cadmium and Lead in Cacao
Cocoa powder contains about 650 to 780 mg of oxalate per 100 g, and dark chocolate about 155 to 485 mg.11Europe PMC / Elsevier (Journal of Food Composition and Analysis). Oxalate content in commercially produced cocoa and dark chocolate Yet only about 2% of the oxalate in dark chocolate showed up in urine after eating it.11Europe PMC / Elsevier (Journal of Food Composition and Analysis). Oxalate content in commercially produced cocoa and dark chocolate People prone to oxalate kidney stones may still want to limit large amounts, but ordinary portions add little.
Cadmium in cacao beans tracks mainly with cadmium in the soil where the tree grew.12PubMed. The distribution of cadmium in soil and cacao beans in Peru The tree takes it up through the same root channels it uses for zinc, iron and manganese.13OCL. Cadmium and other metallic contaminants in cacao: Update on current knowledge and mitigation strategies High-cadmium beans cluster in certain areas, such as parts of northern Peru, and near alluvial soils and mining.12PubMed. The distribution of cadmium in soil and cacao beans in Peru Cadmium builds up slowly over years, mainly in the kidneys, so long-term daily intake matters more than a single bar.
Lead in the beans themselves is tiny. Freshly harvested cocoa beans contained on average about 0.5 nanograms of lead per gram, among the lowest levels found in any food.14PubMed Central. Lead Contamination in Cocoa and Cocoa Products: Isotopic Evidence of Global Contamination Lead found in chocolate products mostly enters after harvest, during drying, shipping or processing.14PubMed Central. Lead Contamination in Cocoa and Cocoa Products: Isotopic Evidence of Global Contamination
To limit exposure, vary brands and origins rather than eating one bar every day. Higher-cacao products concentrate both minerals and metals. Children and pregnant people have more reason to keep amounts moderate.
How Fermenting, Roasting and Dutch-Processing Change Cacao
Flavanols are the plant compounds behind most cacao health claims, and they are the first thing processing chips away at. After harvest, beans are heaped or boxed with the sweet white pulp still clinging to them, and yeasts and bacteria in the pulp feed on its sugars for several days. The heat and acid inside the heap kill the seed’s embryo and break down compartments in the bean, letting compounds mix and react. Without this step, beans taste harsh and astringent and don’t develop chocolate flavor when roasted.
The chemistry shifts a lot. Sugars in beans dropped by more than half and protein by 12 to 16%.15PubMed Central. Dynamics of cocoa fermentation and its effect on quality Epicatechin, a key flavanol, fell by 51 to 78%.15PubMed Central. Dynamics of cocoa fermentation and its effect on quality Unfermented, gently dried beans kept about 7 times more epicatechin than sun-dried fermented beans.16PubMed Central. Cocoa extract with high content of flavan 3-ols, procyanidins and methylxanthines One study saw total polyphenols rise, so results vary with method.17Fermentation. Physicochemical and Biochemical Changes in Cocoa during the Fermentation Step The trade is worth it for flavor: breaking down bean proteins creates the building blocks of chocolate taste.18PubMed Central. Cocoa Bean Proteins—Characterization, Changes and Modifications due to Ripening and Post-Harvest Processing Flavanols are bitter and astringent, so losing some is part of what makes chocolate palatable, not a manufacturing flaw.
Roasting first dries the beans, then triggers browning reactions that create chocolate’s aroma.19Food Engineering Reviews. Physicochemical Phenomena in the Roasting of Cocoa (Theobroma cacao L.) These reactions form brown compounds that add color and flavor and have some antioxidant activity.20PubMed Central. Effect of Cocoa Roasting on Chocolate Polyphenols Evolution Hotter roasting cuts carbohydrates, proteins and free polyphenols further.21European Food Research and Technology. Effect of roasting parameters on the physicochemical characteristics of high-molecular-weight Maillard reaction products isolated from cocoa beans of different Theobroma cacao L. groups
Dutch-processed (alkalized) cocoa is treated with an alkali to darken it and mellow the taste. Natural cocoa averages about 35 mg of flavanols per gram, while lightly alkalized averages about 14 and heavily alkalized about 4.22PubMed. Impact of alkalization on the antioxidant and flavanol content of commercial cocoa powders Alkalizing also lowers theobromine and caffeine.23Journal of Food Composition and Analysis. The effect of alkalization on the bioactive and flavor related components in commercial cocoa powder If flavanols are the reason you buy cocoa, choose natural.
On labels, “processed with alkali” or “Dutch” means alkalized cocoa. Natural cocoa is lighter and tastes more acidic. Labels reading “raw” or “cacao” aren’t regulated and may still describe fermented beans.
Theobromine and Caffeine, Cacao’s Mild Stimulants
Chocolate has less caffeine than coffee but is rich in theobromine, a related compound.24PubMed Central. Health Benefits of Methylxanthines in Cacao and Chocolate Fermented beans carry 2 to 10 times more theobromine than caffeine, depending on the tree.24PubMed Central. Health Benefits of Methylxanthines in Cacao and Chocolate Fermentation lowers both, by up to about 30%.17Fermentation. Physicochemical and Biochemical Changes in Cocoa during the Fermentation Step
Like caffeine, theobromine is eventually broken down by the liver, but it lingers longer, so its effects are subtle and last a while. Caffeine content rises with cacao percentage because both come from the cocoa solids, so a very dark bar carries more than milk chocolate. Even so, a typical serving of dark chocolate holds a small fraction of the caffeine in a cup of brewed coffee.
The two compounds act differently. At high doses, caffeine raised alertness for up to 3 hours and briefly raised blood pressure.25PubMed. Differential contributions of theobromine and caffeine on mood, psychomotor performance and blood pressure Theobromine alone lowered blood pressure an hour after a large dose and slightly reduced calmness later.25PubMed. Differential contributions of theobromine and caffeine on mood, psychomotor performance and blood pressure Together, they lifted mood like caffeine without raising blood pressure.25PubMed. Differential contributions of theobromine and caffeine on mood, psychomotor performance and blood pressure Those doses were larger than most people eat in a sitting, so the results show how the compounds behave rather than what a square does.
For an evening square, the caffeine is far less than in coffee, though very sensitive people may still notice it before bed. Theobromine is also why chocolate is toxic to dogs, who clear it slowly.
Other Natural Compounds Formed in Processing
Fresh seeds contain small amounts of serotonin and putrescine.26PubMed Central. Varietal Influence on the Formation of Bioactive Amines during the Processing of Fermented Cocoa with Different Pulp Contents Other amines form during fermentation and drying, but most drop during roasting and few reach the finished chocolate.26PubMed Central. Varietal Influence on the Formation of Bioactive Amines during the Processing of Fermented Cocoa with Different Pulp Contents Chocolate made with under-fermented beans had more serotonin and phenylethylamine.27PubMed. Bioaccessibility of bioactive amines in dark chocolates made with different proportions of under-fermented and fermented cocoa beans
Phenylethylamine is often hyped as chocolate’s “love chemical,” but the amount left in chocolate is very small. Chocolate’s mood lift owes more to its taste and caffeine-type compounds.
Why Chocolate Turns White and Whether It Is Safe
Cocoa butter can form six different crystal types.28PubMed. Molecular Origins of Polymorphism in Cocoa Butter The stable, glossy form only develops by passing through less stable forms first, above about 20 °C.29Crystal Growth & Design. Relationship between Crystallization Behavior and Structure in Cocoa Butter Chocolate makers temper chocolate to lock in the stable form.
When the fat moves and recrystallizes, the surface turns white, a change called bloom. In poorly tempered chocolate, bloom can begin within 24 hours, with white crystals spreading over about 4 days.30Journal of Food Engineering. Fat bloom development and structure-appearance relationships during storage of under-tempered dark chocolates In filled chocolates, softer oils from the filling migrate into the shell and dissolve its crystals.31European Journal of Lipid Science and Technology. Relationship between chocolate microstructure, oil migration, and fat bloom in filled chocolates Those then recrystallize on the surface as white bloom.32PubMed Central. Chemical Composition of Fat Bloom on Chocolate Products Determined by Combining NMR and HPLC–MS
Mold appears as fuzzy or spotty growth and is rare on dark chocolate because it contains so little water. Bloom, by contrast, is a smooth, even film, and bloomed chocolate is safe to eat.
To avoid bloom, keep chocolate cool and stable, ideally below about 20 °C, and away from warm cars and sunny counters. The fridge can backfire, since its moisture causes a different, sugary white bloom. Bloomed chocolate can be melted for baking, which restores its texture.

