Chocolate contains caffeine, but far less than coffee. A one-ounce serving of dark chocolate has roughly 24 mg of caffeine, while the same amount of milk chocolate contains about 6 mg. White chocolate has almost none. The exact amount depends on the type of chocolate, the cocoa percentage, and even where the cocoa beans were grown.
Caffeine by Chocolate Type
The more cocoa solids in chocolate, the more caffeine it contains. Here’s how the main types compare:
- Dark chocolate (60–69% cocoa): about 24 mg of caffeine per ounce
- Milk chocolate: about 9 mg per 1.55-ounce bar (roughly 6 mg per ounce)
- White chocolate: trace amounts, nearly zero
Dark chocolate with higher cocoa percentages contains more caffeine. A 3.5-ounce bar of dark chocolate can range from 50 to 150 mg depending on the cocoa content. That upper range starts to approach the caffeine in a cup of coffee, which is worth knowing if you’re snacking on a full bar of 85% dark chocolate in the evening.
White chocolate is made from cocoa butter rather than cocoa solids, and cocoa butter carries almost no caffeine. Lab analysis using chromatography has measured white chocolate at roughly 0.002 mg per gram, compared to about 0.035 mg per gram in dark chocolate. That’s roughly 17 times less. For practical purposes, white chocolate is caffeine-free.
Why Caffeine Varies So Much in Dark Chocolate
Cocoa percentage is the biggest factor, but it’s not the only one. The geographic origin of the cocoa beans creates surprisingly large differences. A 50-gram bar of 75% dark chocolate made with Venezuelan cocoa beans contained 77 mg of caffeine in one analysis, while the same type of chocolate made with Ghanaian beans had just 28 mg. That’s nearly a threefold difference in the same product category.
Processing matters too. Cocoa powder, which is a concentrated form of cocoa solids, follows a clear pattern: raw cacao powder has the most caffeine at 12 to 26 mg per tablespoon, natural cocoa powder (roasted but not chemically treated) falls in a similar range of 10 to 24 mg, and Dutch-processed cocoa powder has the least at 8 to 20 mg per tablespoon. The alkalizing treatment used in Dutch processing reduces both caffeine content and acidity. If you bake with cocoa powder and want to minimize caffeine, Dutch-processed is the lower-caffeine option.
Chocolate vs. Coffee and Espresso
Even the most caffeine-heavy dark chocolate delivers far less than a standard cup of coffee. A 200 ml (roughly 7-ounce) cup of brewed coffee contains about 90 mg of caffeine. A single shot of espresso has about 80 mg in a much smaller volume. Compare that to a two-square serving of dark chocolate at around 7 mg, or even a full ounce at 24 mg, and the gap is clear.
Put another way, you’d need to eat three to four ounces of dark chocolate to match one cup of coffee. That’s roughly a full standard chocolate bar. Most people eating a square or two after dinner are getting a fraction of what they’d get from a cup of decaf, which typically contains 2 to 15 mg.
Theobromine: Chocolate’s Other Stimulant
Caffeine isn’t the only stimulant in chocolate, and it’s not even the primary one. Cocoa beans contain far more theobromine than caffeine. Theobromine makes up 1 to 4% of the cocoa bean by weight, while caffeine accounts for less than 0.3%. The ratio of theobromine to caffeine typically falls between 4.5 and 4.8 to one.
Theobromine is a milder stimulant than caffeine. It has a gentler, longer-lasting effect and doesn’t produce the same spike in alertness or the jittery feeling that caffeine can cause. This is a big part of why eating chocolate feels different from drinking coffee, even when the caffeine numbers might seem comparable on paper. The stimulant effect you feel from chocolate is largely theobromine, not caffeine. It’s also the reason chocolate is toxic to dogs, who metabolize theobromine much more slowly than humans do.
Caffeine in Chocolate and Children
For adults, the caffeine in a normal serving of chocolate is trivial. But children are smaller and more sensitive to stimulants. The American Academy of Pediatrics recommends that children avoid caffeine entirely. A single 3.5-ounce dark chocolate bar, with its potential 50 to 150 mg of caffeine, could be a significant dose for a young child. Milk chocolate is far lower in caffeine and less of a concern, but it’s useful context for parents who notice their child seems wired after a chocolate-heavy holiday or birthday party. The culprit is more likely to be sugar, but caffeine can play a supporting role, especially with dark chocolate.

