TrackCaffeine
English Français Deutsch Español Italiano Português
Get the CoffeeLog app
Caffeine guide

Chocolate and Caffeine: How Much is in Your Treat?

By Merey Tleugazin · Updated April 6, 2026
Chocolate and Caffeine: How Much is in Your Treat?

A 50 g piece of dark chocolate contains 30 mg of caffeine.

  • 50 g dark chocolate — 30 mg of caffeine (dataset).
  • 50 g milk chocolate — 10 mg of caffeine (dataset).
  • Hot cocoa (240 ml) — 9 mg of caffeine (dataset).
  • Coffee ice cream (100 g) — 30 mg of caffeine (dataset).

How much caffeine is in different chocolate products

The dataset gives clear serving values: a 50 g dark bar contains 30 mg and a 50 g milk bar contains 10 mg. Hot cocoa (240 ml) is low at 9 mg, while coffee-flavored frozen desserts can match dark chocolate: coffee ice cream (100 g) is listed as 30 mg. These are the baseline figures to use when estimating intake from packaged products.

Product (serving)Caffeine (mg)Notes
Dark chocolate (50 g)30 mgTypical dark bar in dataset
Milk chocolate (50 g)10 mgTypical milk bar in dataset
Hot cocoa (240 ml)9 mgPrepared beverage (dataset)
Coffee ice cream (100 g)30 mgContains espresso/coffee flavouring (dataset)
Espresso martini (120 ml)65 mgCocktail with espresso (dataset)

Caffeine in chocolate versus coffee, tea and sodas

Chocolate is caffeine-light compared with brewed coffee and energy drinks. For concrete comparisons: a 240 ml cup of drip coffee contains 96 mg (dataset). That means one 50 g dark bar (30 mg) supplies about 31% of a drip coffee's caffeine (30/96 ≈ 31%). A 240 ml latte in the dataset is 68 mg; a single espresso is 63 mg.

ItemServingCaffeine (mg)Relative to drip coffee (96 mg)
Drip coffee240 ml96 mg
Dark chocolate50 g30 mg~31%
Milk chocolate50 g10 mg~10%
Hot cocoa240 ml9 mg~9%
Espresso (single)30 ml63 mg~66%
Coca‑Cola (355 ml)355 ml34 mg~35%

What determines caffeine in chocolate

Chocolate’s caffeine comes from cacao beans; the factors below change the final milligrams in your bar or drink.

Cocoa percentage

Higher cocoa solids usually mean more caffeine because more bean material is present. The dataset entry for dark chocolate (50 g, 30 mg) represents a typical commercial dark bar; very high‑percent (85%+) chocolate will trend higher per gram.

Serving size and added coffee

Serving size multiplies the contained caffeine: two 50 g dark bars = 60 mg. Products that add coffee (mochas, coffee ice cream, espresso martini) are higher—espresso martini in the dataset carries 65 mg per 120 ml.

Processing and products not in the dataset

Unsweetened cocoa powder and cacao nibs vary widely by origin and processing. USDA FoodData Central reports variability across cocoa products; values for powder or nibs are estimates, so check labels or consult USDA FoodData Central for specific samples.

Caffeine decay: how long chocolate’s caffeine lasts

Use the population-average half-life of 5.7 hours to estimate how much caffeine remains after ingestion. The guideline percentages: ~69% remains after 3 h, ~48% after 6 h, ~33% after 9 h, ~23% after 12 h.

Time after eating% remaining (approx)Dark chocolate (30 mg)Milk chocolate (10 mg)
0 h100%30 mg10 mg
3 h69%21 mg7 mg
6 h48%14 mg5 mg
9 h33%10 mg3 mg
12 h23%7 mg2 mg

Example: after 6 hours a single 50 g dark bar (30 mg) leaves roughly 14 mg active caffeine in the system; that residual can still affect sensitive sleepers.

Health context and safety limits

Regulatory and clinical sources set practical limits: the US FDA cites 400 mg/day as a typical safe upper bound for healthy adults; many agencies and clinicians recommend limiting pregnancy to ~200 mg/day. The American Academy of Pediatrics advises that children and adolescents avoid routine caffeine consumption. If you have liver disease, take certain medications, are pregnant, or are sensitive to stimulants, your safe limit is lower.

Because chocolate contributes smaller amounts than coffee, it’s easy to underestimate cumulative intake. For example, eating two dark 50 g bars (60 mg) plus a 240 ml latte (68 mg) reaches 128 mg, a third of the 400 mg FDA limit.

Practical tips: counting chocolate caffeine and lowering intake

Read labels and compare servings

Some chocolate packaging lists caffeine; when absent, use the dataset anchors (50 g dark = 30 mg; 50 g milk = 10 mg; 240 ml hot cocoa = 9 mg) to estimate. If a product contains coffee, expect a much higher number.

Timing and sleep

Avoid chocolate within 6–8 hours of desired sleep if you’re sensitive. Even 30 mg can disturb light sleepers late in the evening because a substantial percentage remains several hours later.

Track intake automatically

A tracking tool like CoffeeLog helps sum small sources across the day (bars, desserts, drinks) and compare totals to recommended limits from FDA, EFSA and clinical advice.

Authoritative sources

Key references and data points on this page come from USDA FoodData Central (for cocoa and chocolate data ranges), FDA guidance on daily caffeine, EFSA reviews, and clinical resources such as the Mayo Clinic and American Academy of Pediatrics for age‑specific guidance.

Medical caution: this page is informational and not medical advice. If you are pregnant, nursing, have a medical condition, or take medication, consult a clinician about safe caffeine limits.

Frequently asked questions

How much caffeine is in dark chocolate?

A 50 g serving of dark chocolate contains 30 mg of caffeine according to the dataset; very high‑percent bars can be higher, so check labels or use USDA FoodData Central for product‑specific entries.

Does milk chocolate have as much caffeine as dark chocolate?

No—milk chocolate in the dataset (50 g) has 10 mg, roughly one third of the 30 mg found in a 50 g dark bar.

How much caffeine is in hot chocolate?

Hot cocoa in the dataset (240 ml) contains 9 mg of caffeine, significantly less than brewed coffee or espresso.

How long does caffeine from chocolate stay in your system?

Using a population half‑life of 5.7 hours: about 69% remains after 3 h, 48% after 6 h, 33% after 9 h and 23% after 12 h; a 30 mg dark bar leaves ~14 mg after 6 h.

Is chocolate safe during pregnancy?

Guidance typically limits pregnancy caffeine to ~200 mg/day. Chocolate contributes modest amounts (e.g., 30 mg per 50 g dark bar) but cumulative intake from all sources should be checked with your clinician.

How can I track caffeine from chocolate and other sources?

Track packaged servings and drinks with a log app (for example, CoffeeLog) and compare totals to FDA/EFSA recommendations; check labels and use dataset anchors when labels don’t list caffeine.

CoffeeLog · iOS

Track this automatically with CoffeeLog

Log any drink in one tap, watch caffeine fade in real time on your home screen, and get a nudge before it touches your sleep — the same engine that powers this page.

Coming soon

Related

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

Get the CoffeeLog app