Yes, chocolate contains caffeine, but far less than most people expect. Two squares of dark chocolate have about 7 mg of caffeine, while the same amount of milk chocolate has roughly 2 mg. For comparison, a standard cup of brewed coffee delivers around 90 mg. White chocolate is the exception: it contains zero caffeine.
How Much Caffeine by Chocolate Type
The caffeine in chocolate comes from cocoa solids, the non-fat component of the cacao bean. The more cocoa solids in the product, the more caffeine it contains. That simple relationship explains why dark, milk, and white chocolate land in such different ranges.
Dark chocolate contains about 12 mg of caffeine per ounce. A bar made with 70 to 85 percent cacao delivers roughly 22.7 mg per ounce, according to USDA data. Milk chocolate is considerably lower at about 9 mg per 1.55-ounce serving, since it replaces much of the cocoa solids with milk and sugar. White chocolate registers at zero because it’s made entirely from cocoa butter (the fat portion of the bean), milk solids, and sugar. Caffeine exists only in the cocoa solids, so removing them removes the caffeine entirely.
A tablespoon of unsweetened cocoa powder, the kind used in baking and hot chocolate, contains about 12.4 mg of caffeine. A 200 ml glass of chocolate milk made from cocoa powder comes in at around 34 mg, which is higher than eating a few squares of dark chocolate but still well under a cup of coffee.
Chocolate vs. Coffee and Tea
Even the most intense dark chocolate delivers a fraction of what you’d get from a cup of coffee. A 200 ml cup of filtered coffee contains about 90 mg of caffeine. You would need to eat roughly four ounces of high-cacao dark chocolate to match that, which is a full large bar. Most people eat chocolate in much smaller portions.
To put the numbers side by side for a typical serving:
- Filtered coffee (200 ml): 90 mg caffeine
- Dark chocolate (2 squares, 14 g): 7 mg
- Milk chocolate (2 squares, 14 g): 2 mg
- Chocolate milk (200 ml): 34 mg
- White chocolate: 0 mg
The safe daily limit for most adults is about 400 mg of caffeine. You’d have to eat an extraordinary amount of chocolate to approach that through chocolate alone. But if you’re already close to your limit from coffee or energy drinks, a large serving of dark chocolate could push you over.
Why Chocolate Feels Stimulating
If chocolate seems to give you a noticeable lift despite its modest caffeine content, there’s a reason. Cacao beans contain another compound called theobromine, and they contain a lot more of it than caffeine. In a 50-gram serving of dark chocolate, there are roughly 250 mg of theobromine alongside just 19 mg of caffeine. The ratio of theobromine to caffeine in cacao beans typically runs about 1.5 to 1, though it varies by variety.
Theobromine is a milder stimulant than caffeine. It raises heart rate slightly and can improve mood, but it doesn’t produce the sharp alertness or jitteriness that caffeine does. The combination of the two, along with chocolate’s sugar and fat content, creates a gentler, longer-lasting sense of energy compared to coffee’s faster hit.
What Changes Caffeine Levels During Production
The caffeine in your chocolate bar started in a raw cacao bean and survived a long production process, though not entirely intact. During fermentation, the step that develops chocolate’s complex flavor, roughly 30 percent of the stimulant compounds in cacao beans are lost. They don’t break down chemically but instead migrate out of the bean as acids and heat penetrate during the fermentation process.
Fermentation temperature matters too. Research published in the journal Foods found that beans fermented at moderate temperatures (around 42°C) retained more caffeine than those fermented at higher temperatures. The differences were significant: caffeine levels nearly quadrupled between the lowest and highest retention groups depending on temperature treatment. Roasting further reduces caffeine, though the effect is smaller. By the time cacao becomes a finished chocolate bar, the caffeine content is well below what existed in the raw bean.
Caffeine Isn’t Listed on the Label
If you’ve looked at a chocolate bar’s nutrition label and found no mention of caffeine, that’s normal. No foods or beverages in the United States are required to list caffeine content on their labels. That rule applies to everything with naturally occurring caffeine, including coffee, tea, and chocolate. A candy bar must list chocolate as an ingredient but doesn’t need to indicate that the chocolate contains caffeine. Only over-the-counter drugs with added caffeine must disclose the amount.
This means you can’t rely on packaging to tell you how much caffeine you’re getting. The estimates above, based on USDA and European Food Information Council data, are your best guide. When in doubt, check the cocoa percentage: higher cocoa content always means more caffeine. A 45 percent milk chocolate bar will have noticeably less than an 85 percent dark bar, even if the serving size is the same.
Who Should Pay Attention
For most adults, the caffeine in chocolate is too low to cause problems. But certain groups are more sensitive to even small amounts. Pregnant women are generally advised to keep total caffeine under 200 mg per day, and while a piece of chocolate won’t get close to that limit, it adds up alongside coffee and tea. Children metabolize caffeine more slowly, so a large chocolate dessert after dinner could genuinely affect their sleep. People with caffeine sensitivity or certain heart rhythm conditions may also want to track their intake from all sources, chocolate included.
If you’re eating chocolate before bed and noticing restless sleep, the caffeine is a possible contributor, especially with dark varieties. Switching to milk chocolate or white chocolate in the evening is a simple fix, since the drop from 22.7 mg per ounce down to 2 mg (or zero) is substantial.