TrackCaffeine

Does Cocoa Contain Caffeine? A Comprehensive Guide

By Merey Tleugazin Published February 25, 2026 Updated August 2, 2026 9 min read

A 240 ml cup of hot cocoa contains 9 mg of caffeine.

  • Hot cocoa (240 ml) delivers 9 mg caffeine — much lower than a cup of drip coffee (240 ml, 96 mg).
  • A 50 g piece of dark chocolate averages 30 mg caffeine; milk chocolate (50 g) ≈ 10 mg.
  • Strong coffee and cold brew are far higher: cold brew (240 ml) = 200 mg; espresso (single, 30 ml) = 63 mg.
  • FDA guidance for healthy adults: keep total daily caffeine ≲ 400 mg; pregnancy guidance is ≲ 200 mg per day.
100 mg · sleep threshold Starbucks Pike Place Brewed (… 310 Bang 300 Reign 300 Costa Latte (Medio) 277 Costa Cappuccino (Medio) 277 Costa Americano (Medio) 277 Pret Filter Coffee 271 Dunkin' Cold Brew (Medium) 260 Drip coffee 96 Red Bull (250 ml) 80 MG OF CAFFEINE PER SERVING
Caffeine per serving for the drinks this page discusses, on one scale, with the 100 mg sleep threshold and the 400 mg daily guidance marked. Free to reuse with a link to this page.

What are cocoa and cacao?

Cacao refers to the raw beans and the tree (Theobroma cacao); cocoa usually means processed powders or solids made from roasted beans. Both cocoa and cacao contain stimulant alkaloids — primarily theobromine and a smaller amount of caffeine. Processing, roasting and the percentage of cocoa solids in a product determine how much caffeine remains in the finished food or drink.

Caffeine in common cocoa products

The dataset provides measured caffeine for several finished products: hot cocoa and chocolates. These are reliable reference points because commercial recipes standardize serving sizes.

Product / servingCaffeine (mg)
Hot cocoa (240 ml)9 mg
Dark chocolate (50 g)30 mg
Milk chocolate (50 g)10 mg
Coffee ice cream (100 g)30 mg

Raw cacao beans and cocoa powder are not listed in the dataset and vary by origin and processing. Authoritative sources such as USDA FoodData Central report variable values; published analyses put caffeine in raw cacao and cocoa powder as a clear but variable fraction of total alkaloids. As a rule, higher cocoa-solids (darker chocolate or less-diluted cocoa powder) equals more caffeine per gram.

How product form affects caffeine

  • Powder vs. beverage: hot cocoa dilutes cocoa solids, so a 240 ml cup often contains single-digit mg (dataset: 9 mg).
  • Solid chocolate: concentration scales with cocoa percentage — dark bars concentrate the caffeine found in beans.
  • Processing: Dutch (alkalized) processing modifies flavor and can alter alkaloid extractability, but does not eliminate caffeine.

How cocoa compares to coffee, tea, soda and energy drinks

Put the cocoa numbers next to popular caffeinated drinks to see scale. The dataset below uses only provided values for direct comparison.

Drink / servingVolumeCaffeine (mg)
Hot cocoa240 ml9 mg
Dark chocolate (solid)50 g30 mg
Drip coffee240 ml96 mg
Espresso (single)30 ml63 mg
Latte (240 ml)240 ml68 mg
Mocha (240 ml)240 ml95 mg
Cold brew240 ml200 mg
Black tea240 ml47 mg
Coca‑Cola355 ml34 mg
Red Bull (250 ml)250 ml80 mg

Interpretation: a cup of hot cocoa is effectively caffeine‑free relative to coffee; even a 50 g dark chocolate bar (30 mg) is only a fraction of a typical 240 ml drip coffee (96 mg) or a 240 ml cold brew (200 mg).

How long does caffeine from cocoa last?

Caffeine elimination follows first‑order kinetics in the population: the average half‑life is about 5.7 hours. The guideline percentages below approximate remaining caffeine after consumption: ~69% at 3 h, ~48% at 6 h, ~33% at 9 h, ~23% at 12 h. The examples use dataset doses.

Time after doseEspresso 63 mgDark chocolate 30 mgHot cocoa 9 mgCold brew 200 mg
3 hours (~69%)43.5 mg20.7 mg6.2 mg138 mg
6 hours (~48%)30.2 mg14.4 mg4.3 mg96 mg
9 hours (~33%)20.8 mg9.9 mg3.0 mg66 mg
12 hours (~23%)14.5 mg6.9 mg2.1 mg46 mg

Practical takeaway: the small caffeine in hot cocoa (9 mg) is essentially eliminated to low single‑digit mg within 6–12 hours for the average adult; high‑dose coffee or cold brew can leave tens of mg still active at bedtime if consumed within 6–12 hours.

Health, safety and practical limits

For healthy adults the FDA cites ~400 mg/day as a practical upper limit; pregnant people are commonly advised by agencies such as the Mayo Clinic and EFSA to limit caffeine to ≲ 200 mg/day. The American Academy of Pediatrics discourages caffeine for young children and recommends limiting intake in adolescents. Chocolate and cocoa contribute to daily totals: a dark 50 g bar (30 mg) plus a latte (68 mg) adds 98 mg toward any limit.

Overdose, anxiety and sensitivities

Symptoms of excessive caffeine include palpitations, jitteriness and sleep disruption. People with anxiety disorders or certain medical conditions metabolize caffeine differently; consult a clinician for personalized advice. Track cumulative intake (drinks + chocolate + energy drinks) to stay under recommended limits — apps like CoffeeLog automate logging and decay calculations.

Quick practical guidance

  • If you want to avoid sleep disruption, avoid high‑caffeine drinks (cold brew, large drip or multiple espresso shots) within 6–8 hours of bedtime; a single cup of hot cocoa (9 mg) is unlikely to matter for most people.
  • Choose milk chocolate or small servings of dark chocolate if you’re sensitive — milk chocolate (50 g) = 10 mg vs dark = 30 mg.
  • When in doubt, check product labels or USDA FoodData Central for specifics on cocoa powder, bars and specialty products.

Medical caution: this page is informational only, not medical advice. For pregnancy, cardiac conditions or concerns about withdrawal and anxiety, consult a qualified health professional.

How do I add up caffeine from multiple cocoa products during a day?

Add the milligram amounts from each cocoa product you eat or drink and compare that total to recommended limits; a 240 ml cup of hot cocoa (dataset: 9 mg) plus a 50 g dark chocolate bar (dataset: 30 mg) equals 39 mg total. For timing, convert each consumption into the mg remaining at a target time using first-order elimination with a population half-life of 5.7 hours (we use that decay model below and cite the sleep study that used similar kinetics). Cumulative intake is the sum of milligrams of caffeine consumed across all sources in a day.

Example arithmetic: you eat a 50 g dark chocolate bar (30 mg) at 14:00 and sip a 240 ml hot cocoa (9 mg) at 20:00 and plan to go to bed at 23:00. Using the half-life model (remaining = dose × 0.5^(hours/5.7)): the 30 mg from 14:00 is 30 × 0.5^(9/5.7) ≈ 30 × 0.33 = 9.9 mg remaining at 23:00, and the 9 mg from 20:00 is 9 × 0.5^(3/5.7) ≈ 9 × 0.69 = 6.2 mg; combined at bedtime ≈ 16.1 mg. That 16.1 mg is well under the FDA's practical 400 mg/day guidance (FDA), so for most adults this pattern is low risk.

If you want to automate these sums and decay projections, use our caffeine half-life calculator and then compare totals with the safe daily limit by body weight tool; those internal utilities simplify tracking when chocolate and drinks stack up.

How do I estimate caffeine left at bedtime after a coffee plus a chocolate treat?

If you drink a caffeinated coffee and later have chocolate, convert each to remaining mg at bedtime using the 5.7 hour half-life model and add the results; the method gives a single number you can compare to sleep studies that show effect sizes. The decay formula is remaining = dose × 0.5^(hours since intake / 5.7), and we use that to show concrete math below with dataset doses. Half-life model is a standard first-order elimination assumption and the sleep impact of late caffeine has been quantified in controlled trials.

Definitional sentence: remaining caffeine is the milligrams of caffeine still present in the body at a chosen time after ingestion. Example: a 240 ml drip coffee (dataset: 96 mg) at 15:00 and a 50 g dark chocolate (dataset: 30 mg) at 20:30 with bedtime at 23:30 — coffee is 8.5 hours before bed so coffee remaining = 96 × 0.5^(8.5/5.7) ≈ 96 × 0.39 = 37.4 mg; chocolate is 3 hours before bed so chocolate remaining = 30 × 0.5^(3/5.7) ≈ 30 × 0.69 = 20.7 mg; total at bedtime ≈ 58.1 mg. Drake et al. (2013) found that 400 mg consumed 6 hours before bed still reduced sleep time, so 58 mg is far smaller than that experimental dose but may matter for highly sensitive sleepers (Drake et al., 2013).

Can theobromine in cocoa cause symptoms separately from caffeine?

Yes; theobromine produces different physiological effects from caffeine and often dominates cocoa's stimulant profile even when caffeine is present at lower mg. Theobromine is a methylxanthine similar to caffeine but with weaker central nervous system stimulation and stronger relative effects on cardiac contractility and vasodilation. Theobromine is a stimulant alkaloid present in cocoa.

Clinical and pharmacology references (for example the NIH Office of Dietary Supplements) note that theobromine can cause mild diuresis, a slower but longer vascular effect and—in high doses—cardiac stimulation; these effects can feel different from caffeine's rapid alerting effect (see NIH Office of Dietary Supplements fact sheets). Because theobromine levels are not reported in the dataset, rely on product labelling and specialized analyses when theobromine dose matters clinically (for example, in cardiac arrhythmia or in pets, where theobromine toxicity thresholds are well documented). For people monitoring stimulant effects, compare mg totals for caffeine (dataset numbers) and consider that theobromine may prolong perceived stimulant duration even when caffeine mg are small.

Does Dutching (alkalization) or roasting substantially change cocoa's caffeine mg?

No: roasting and Dutching change flavor and extractability, but they do not systematically remove caffeine to a degree that changes dataset mg categories for finished products like hot cocoa or chocolate bars. USDA FoodData Central reports variable caffeine across cocoa ingredients and finished foods, which shows processing can shift values but not eliminate caffeine (USDA FoodData Central cited here as the authoritative variability source). Dutching is the industrial process of alkalizing cocoa powder to reduce acidity and alter color.

Practical consequence: a 240 ml cup of commercially prepared hot cocoa remains in the low single-digit mg range (dataset: 9 mg) regardless of whether the powder was alkalized, and a 50 g dark chocolate bar still concentrates the bean's stimulants (dataset: 30 mg). If you need precise mg for a recipe or a clinical question, check the manufacturer's labelling or USDA FoodData Central entries; the dataset values on this site are already harmonized examples that reflect finished product servings.

How late can I have hot cocoa before bed without affecting sleep?

A single 240 ml cup of hot cocoa (dataset: 9 mg) is unlikely to materially affect sleep for most adults even if consumed within 1–2 hours of bedtime; population sleep studies show large doses create measurable disruption. The sleep study by Drake et al. (2013) demonstrated that 400 mg consumed 6 hours before bed reduced objective sleep time by more than an hour, so tiny doses like 9 mg are orders of magnitude smaller and usually negligible (Drake et al., 2013).

Definitional sentence: sleep-relevant caffeine is the milligram amount of caffeine present in the body during the sleep opportunity. If you want a numeric planning rule, choose a target remaining caffeine at bedtime (for example <50 mg) and use the decay formula: to get a 240 ml cold brew (dataset: 200 mg) below 50 mg you need 200 × 0.5^(hours/5.7) ≤ 50, which solves to hours ≥ 11.4; that means avoid cold brew within ~11–12 hours of bedtime for that target. Conversely, hot cocoa (9 mg) consumed even 1 hour before bed leaves about 9 × 0.5^(1/5.7) ≈ 9 × 0.89 = 8.0 mg — negligible for most people. For personalized timing, use our latest cup before bedtime tool to convert your drink choices into a recommended cutoff.

Bottom line

Yes — cocoa contains measurable caffeine, but the amounts in common cocoa foods are small: a 240 ml cup of hot cocoa = 9 mg (dataset), a 50 g dark chocolate bar = 30 mg (dataset) and a 50 g milk chocolate = 10 mg (dataset). For healthy adults the U.S. Food and Drug Administration gives a practical daily upper bound of about 400 mg/day (FDA), and European authorities recommend ≲ 200 mg/day in pregnancy (EFSA, 2015). All of those numbers should be compared to your cumulative intake from coffee, tea and energy drinks using the dataset values on this site.

Caffeine elimination follows first-order kinetics with a population average half-life of about 5.7 hours (we use that decay model here and for our calculators); remaining mg = dose × 0.5^(hours/5.7). Using that model: after 3 hours ≈ 69% remains, after 6 hours ≈ 48% remains, after 9 hours ≈ 33% remains and after 12 hours ≈ 23% remains — so the 9 mg in hot cocoa falls to roughly 4.3 mg at 6 hours and ~2.1 mg at 12 hours. Large coffee doses (for example a 240 ml cold brew = 200 mg, dataset) can leave tens of mg at bedtime unless spaced many hours earlier, and Drake et al. (2013) found 400 mg six hours before bed significantly reduced sleep (Drake et al., 2013).

Practical steps: treat hot cocoa as a low-caffeine choice (dataset: 9 mg), add chocolate and cocoa-containing desserts into daily totals (50 g dark = 30 mg), and use our calculators — caffeine half-life calculator, latest cup before bedtime, and safe daily limit by body weight — to plan timing and stay comfortably below the FDA or EFSA limits. For pregnancy or medical conditions consult the pregnancy safety guidance on this site (caffeine during pregnancy) or a clinician; for caffeine-free options see our caffeine-free hot chocolate guide.

Does Cocoa Contain Caffeine? A Comprehensive Guide
Does Cocoa Contain Caffeine? A Comprehensive Guide

Frequently asked questions

Does cocoa have caffeine?

Yes. Cocoa contains caffeine but usually in low amounts: a 240 ml cup of hot cocoa contains 9 mg (dataset). Solid dark chocolate concentrates more — 50 g dark chocolate in the dataset contains 30 mg.

How much caffeine is in hot cocoa?

A standard 240 ml serving of hot cocoa contains 9 mg of caffeine according to the dataset — far lower than most coffees and many teas.

Is dark chocolate high in caffeine?

Dark chocolate is higher than hot cocoa: the dataset lists 50 g dark chocolate as 30 mg of caffeine. Higher cocoa‑percent bars typically contain more caffeine per gram than milk chocolate.

Does cocoa powder have more caffeine than chocolate?

Cocoa powder and raw cacao beans vary widely by origin and processing. Authoritative sources such as USDA FoodData Central report variable values; in general, powder with higher cocoa solids will contain more caffeine per gram than a diluted cocoa beverage.

Can kids drink hot cocoa?

Hot cocoa (240 ml = 9 mg) contains low caffeine, but guidelines discourage habitual caffeine for young children. For adolescents, the American Academy of Pediatrics recommends limiting caffeine; consult a pediatrician for individual advice.

How long does caffeine from cocoa last?

On average caffeine half‑life is ~5.7 hours. Using the dataset dose of 9 mg (hot cocoa), about 4.3 mg remains after 6 hours and ~2.1 mg after 12 hours; individual metabolism varies.

Can hot chocolate be completely caffeine-free?

Yes. Some commercially labeled caffeine-free hot chocolate products contain 0 mg caffeine; see our caffeine-free hot chocolate guide for brands and formulations (dataset shows herbal tea as 0 mg to illustrate a zero-caffeine reference).

CoffeeLog · iOS

Track this automatically with CoffeeLog

This site answers the question once. CoffeeLog answers it every day — logging what you drink, showing caffeine fade in real time, and telling you the last cup you can have before it reaches your sleep.

Read next

  1. Understanding Caffeine Dosage: From 80 mg to 400 mgguide
  2. Does Chai Tea Have Caffeine? The Ultimate Guideguide
  3. Does Ginger Ale Have Caffeine? Brand-by-Brand Breakdownguide
  4. How Many Cups of Coffee Are Healthy Per Day?guide
  5. Cafe Bustelo Caffeine: Complete Espresso Guideguide
  6. Tea vs Coffee: Which Has More Caffeine?comparison
  7. Caffeine half-life calculatorCalculator
  8. Last cup before bedCalculator

TrackCaffeine provides general reference information about caffeine. It is not medical advice. Caffeine values are public-source estimates, not exact measurements.

Track caffeine automatically Get the app