Chocolate and Caffeine: A Comprehensive Guide
A 50 g piece of dark chocolate contains 30 mg of caffeine.
- 50 g dark chocolate: 30 mg caffeine.
- 50 g milk chocolate: 10 mg caffeine.
- 240 ml hot cocoa: 9 mg caffeine.
- 240 ml mocha (coffee+chocolate): 95 mg caffeine — useful when comparing to coffee.
How much caffeine is in common chocolate types?
Dark chocolate
Dark chocolate (dataset value) is the highest among retail chocolate bars: a 50 g serving contains 30 mg of caffeine. Percent cocoa matters — higher cocoa percentage usually increases both caffeine and theobromine, so a 70–85% bar will trend toward the higher end per gram than a 50% bar.
Milk and white chocolate
Milk chocolate (50 g) contains 10 mg of caffeine in the dataset; white chocolate contains negligible cacao solids and is effectively caffeine-free unless the recipe adds cocoa solids or coffee.
Chocolate-flavored drinks and desserts
Hot cocoa (240 ml) contains 9 mg per the dataset — most hot chocolates use cocoa powder, which has far less caffeine than concentrated cocoa solids. Coffee-containing chocolate drinks (mochas, espresso martini) carry far more: a 240 ml mocha is 95 mg and an espresso martini (120 ml) is 65 mg in the dataset because they include brewed espresso.
Cacao beans and processing: where caffeine comes from
Cacao beans naturally contain both caffeine and theobromine. Exact caffeine in raw beans and nibs varies with variety, origin and roast. Published datasets and nutrition databases (including USDA FoodData Central) report wide variability; because beans are concentrated, nibs and pure cocoa powders can deliver more caffeine per gram than sweetened chocolate—but amounts depend on processing and serving size.
Why chocolate bars differ
- Cocoa solids percentage: more solids → more caffeine and theobromine.
- Processing: alkalized (Dutched) cocoa may alter alkaloid extraction and flavor but not eliminate caffeine.
- Serving size: bars, squares and drinking mixes vary and are the simplest reason for different mg totals.
Chocolate compared with coffee, tea and energy drinks
Chocolate contributes caffeine but is usually modest compared with brewed coffee or energy drinks. Below is a compact comparison using dataset values so you can quickly see relative strengths.
| Item / serving | Caffeine (mg) |
|---|---|
| Dark chocolate (50 g) | 30 mg |
| Milk chocolate (50 g) | 10 mg |
| Hot cocoa (240 ml) | 9 mg |
| Mocha (240 ml) | 95 mg |
| Single espresso (30 ml) | 63 mg |
| Drip coffee (240 ml) | 96 mg |
| Cold brew (240 ml) | 200 mg |
How long chocolate caffeine stays in your system (decay math)
The population-average caffeine half-life is about 5.7 hours. Rough approximations: after 3 h ≈ 69% remains, after 6 h ≈ 48%, after 9 h ≈ 33%, after 12 h ≈ 23% remains. Use these to estimate mg at later times for planning sleep or tracking intake.
Example: a 240 ml mocha (95 mg) leaves roughly 46 mg after 6 hours and ~22 mg after 12 hours — enough to affect sensitive sleepers.
| Item (dose) | 0 h | 3 h (~69%) | 6 h (~48%) | 9 h (~33%) | 12 h (~23%) |
|---|---|---|---|---|---|
| Dark chocolate (30 mg) | 30 mg | 21 mg | 14 mg | 10 mg | 7 mg |
| Milk chocolate (10 mg) | 10 mg | 7 mg | 5 mg | 3 mg | 2 mg |
| Hot cocoa (9 mg) | 9 mg | 6 mg | 4 mg | 3 mg | 2 mg |
| Mocha (95 mg) | 95 mg | 66 mg | 46 mg | 31 mg | 22 mg |
| Cold brew (200 mg) | 200 mg | 138 mg | 96 mg | 66 mg | 46 mg |
What affects the number: cocoa percentage, roast, and recipe
Two bars with identical weight can deliver different caffeine: a 70% bar concentrates cocoa solids, so it typically contains more caffeine per gram than a milk chocolate bar. Roasting and grinding determine extractable caffeine; Dutching (alkalization) changes flavor and solubility but does not reliably remove caffeine. Commercial chocolates often blend beans of different origins, smoothing variation.
Health, safety, and timing
Guidelines from authorities: the U.S. Food and Drug Administration (FDA) suggests up to 400 mg/day for healthy adults; for pregnancy many authorities recommend limiting to about 200 mg/day; the American Academy of Pediatrics discourages caffeine for children and adolescents. Chocolate alone rarely reaches high levels, but combined coffee-chocolate drinks or multiple sources can add up quickly.
Practical notes: a single 50 g dark chocolate (30 mg) is small relative to an 8 oz drip coffee (96 mg) or a 240 ml cold brew (200 mg). But a chocolate dessert that also includes brewed espresso (mocha, affogato) can push intake into the hundreds of mg.
Tracking, practical tips and theobromine
If you are sensitive to caffeine or timing sleep, track all sources: bars, hot chocolate mixes, chocolate desserts and coffee drinks. Apps such as CoffeeLog let you add chocolate servings alongside coffee to see daily totals automatically. Remember chocolate also contains theobromine — a related stimulant with milder central nervous effects but a longer duration.
When to avoid: for sensitive sleepers consider stopping chocolate with caffeine at least 6–8 hours before bedtime; for late-afternoon coffee or mocha consider the decay numbers above to judge residual mg at bedtime.
Authorities and data
This guide uses product values from standardized nutrition datasets and compares them to regulatory guidance from FDA, and clinical guidance from organizations such as the American Academy of Pediatrics; USDA FoodData Central is the primary food-value reference for cocoa products. For medical decisions consult a clinician.
Frequently asked questions
How much caffeine is in dark chocolate?
A 50 g serving of dark chocolate contains 30 mg of caffeine per the dataset. Higher cocoa percentage increases caffeine per gram, so very-dark bars may be slightly higher.
Does white chocolate have caffeine?
White chocolate contains little to no cocoa solids and is effectively caffeine-free unless cocoa solids or coffee are added; it is not a meaningful caffeine source.
How does cacao compare to coffee for caffeine?
Cacao-based foods are far lower per serving: 50 g dark chocolate = 30 mg vs 240 ml drip coffee = 96 mg. Brewed coffee and cold brew deliver far more caffeine per typical serving.
Can chocolate keep me awake at night?
Yes — depending on amount and timing. A mocha (95 mg) leaves ~46 mg after 6 hours and ~22 mg after 12 hours; sensitive sleepers can be affected at these levels.
Is chocolate safe during pregnancy?
Pregnancy guidance frequently recommends limiting caffeine to about 200 mg/day. A 50 g dark chocolate (30 mg) is small relative to that limit, but total daily sources should be counted.
How can I track chocolate caffeine intake?
Track all sources — bars, hot cocoa, desserts, and coffee drinks — and sum mg. Tools such as CoffeeLog make this easier by logging individual servings and computing daily totals.