TrackCaffeine

Chocolate and Caffeine: How Much is in Your Treat?

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

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).
100 mg · sleep threshold Drip coffee 96 Red Bull (250 ml) 80 Club-Mate 66 Mountain Dew 54 Coca-Cola Diet Coke 46 Dr Pepper 42 Sunkist Orange 41 Pepsi 38 Diet Pepsi 35 Coca-Cola (355 ml) 34 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.

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.

How much caffeine will remain if I snack on chocolate and then have a latte later?

Answer: it depends on timing, but you can calculate the residual milligrams precisely with the page's population-average half-life of 5.7 hours (342 minutes). Using that model, two 50 g dark bars (60 mg) eaten at 3:00 pm and a 240 ml latte (68 mg) at 4:00 pm will leave about 58 mg active caffeine by 10:00 pm.

Caffeine accumulation is the sum of milligrams you consume that have not yet been eliminated. Calculation: the two dark bars (60 mg) at 3:00 pm are 7 hours old at 10:00 pm, so remaining = 60 × 0.5^(7/5.7) ≈ 60 × 0.428 ≈ 25.7 mg; the latte (68 mg) at 4:00 pm is 6 hours old at 10:00 pm, so remaining = 68 × 0.5^(6/5.7) ≈ 68 × 0.482 ≈ 32.8 mg; total remaining ≈ 25.7 + 32.8 ≈ 58.5 mg. If you want to run your own timings, use our caffeine half-life calculator at caffeine half-life calculator or compare sources with our side-by-side drink comparison.

Will a small chocolate treat plus an espresso ruin my sleep?

Answer: a single dark bar (30 mg) plus a single espresso (63 mg) together contain 93 mg total; whether this disrupts sleep depends on timing and sensitivity, but that combined dose 6 hours before bedtime is much lower than the doses shown to cause large sleep reductions. Drake et al. (2013) found that 400 mg taken 6 hours before bed reduced total sleep time by more than an hour, Drake et al., Journal of Clinical Sleep Medicine (2013).

Sleep latency is the time it takes to fall asleep. Example arithmetic for a typical evening: espresso at 6:00 pm (63 mg) is 6 hours before midnight and would leave ≈63 × 0.5^(6/5.7) ≈ 63 × 0.482 ≈ 30.4 mg at midnight; a dark bar eaten at 9:00 pm (30 mg) is 3 hours before midnight and would leave ≈30 × 0.5^(3/5.7) ≈ 30 × 0.6907 ≈ 20.7 mg; combined residual at midnight ≈30.4 + 20.7 ≈ 51.1 mg. For personalized bed-time cutoffs try our latest cup you can have before bedtime tool.

How many chocolate bars equal the pregnancy caffeine limit?

Answer: use the 200 mg/day pregnancy guidance to compare chocolate contributions; one 50 g dark bar (30 mg) is about 15% of that 200 mg pregnancy limit, so you would need roughly seven dark bars to exceed 200 mg. The European Food Safety Authority sets 200 mg/day as the practical pregnancy ceiling in its 2015 opinion, EFSA (2015).

Pregnancy caffeine limit is a recommended maximum daily intake for pregnant people. Arithmetic: 200 mg ÷ 30 mg per 50 g dark bar ≈ 6.67, so 7 dark bars would exceed 200 mg; conversely, milk chocolate (50 g = 10 mg) would require 200 ÷ 10 = 20 bars to reach 200 mg. Combining chocolate with coffee matters: a 240 ml latte (68 mg) plus two dark bars (60 mg) totals 128 mg, well under 200 mg. For more pregnancy context and alternatives consult our Caffeine During Pregnancy: What You Need to Know and the NHS guidance at NHS pregnancy limits.

Can a can of energy drink plus a chocolate bar push me past the FDA 400 mg limit?

Answer: yes—some combinations get very close or exceed 400 mg; for example, a Bang (300 mg) plus a dark 50 g bar (30 mg) plus a 240 ml latte (68 mg) totals 398 mg, almost the FDA’s 400 mg/day reference for healthy adults. The U.S. Food and Drug Administration cites 400 mg/day as a typical safe upper bound for healthy adults, FDA.

Cumulative caffeine intake is the total milligrams consumed from all sources. Arithmetic examples using dataset values: Bang 300 mg + dark chocolate 30 mg = 330 mg; add a latte 68 mg → 330 + 68 = 398 mg (just under 400 mg). Swap the latte for a Red Bull (250 ml = 80 mg) and you get 300 + 30 + 80 = 410 mg, which exceeds the FDA 400 mg reference. To track totals across snacks, drinks and supplements use our safe daily limit by body weight and the caffeine half-life calculator.

How do I estimate remaining caffeine after mixed-source consumption at night?

Answer: apply first-order elimination to each dose separately, then sum the remaining milligrams; for mixed evening sources that arithmetic reveals the actual stimulant load at bedtime. For example, an espresso martini (65 mg) at 8:00 pm plus a 50 g dark bar (30 mg) at 9:00 pm leaves roughly 54 mg by 1:00 am.

First-order elimination is a decay model where concentration falls by a fixed proportion per unit time. Calculation example using the page half-life of 5.7 hours: the 65 mg martini consumed at 8:00 pm is 5 hours old at 1:00 am, so remaining = 65 × 0.5^(5/5.7) ≈ 65 × 0.544 ≈ 35.4 mg; the 30 mg dark bar consumed at 9:00 pm is 4 hours old at 1:00 am, so remaining = 30 × 0.5^(4/5.7) ≈ 30 × 0.615 ≈ 18.4 mg; summed residual ≈ 35.4 + 18.4 ≈ 53.8 mg. If you prefer an automated method, our caffeine half-life calculator will do these sums for arbitrary timings and doses, and our caffeine comparison page helps you swap in alternate drinks or snacks.

Bottom line

Short answer: individual chocolate servings are low (50 g dark = 30 mg; 50 g milk = 10 mg; hot cocoa 240 ml = 9 mg), but multiple snacks plus coffee or energy drinks add up quickly. Use the population-average half-life of 5.7 hours (342 minutes) to convert ingested milligrams into the residual stimulant present at any later time.

Concrete numbers you can act on: one 50 g dark bar is 30 mg and one 240 ml latte is 68 mg (dataset); EFSA sets a 200 mg/day pregnancy ceiling (EFSA 2015) and the FDA notes 400 mg/day as a typical upper bound for healthy adults (FDA). For timing effects, Drake et al. (2013) demonstrated that a 400 mg dose 6 hours before bedtime reduced sleep by over an hour (Drake et al., 2013), so even small chocolate contributions matter when combined with strong beverages. If you want to test scenarios quickly, try the site’s half-life calculator, check how late to have a snack with latest cup before bedtime, and compare items using side-by-side comparisons.

Chocolate and Caffeine: How Much is in Your Treat?
Chocolate and Caffeine: How Much is in Your Treat?

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.

How many 50 g dark chocolate bars equal a 240 ml drip coffee?

A 240 ml drip coffee is 96 mg and a 50 g dark bar is 30 mg, so 96 ÷ 30 ≈ 3.2; three dark bars supply 90 mg (slightly less), and four bars supply 120 mg (more).

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. Is Caffeine Good or Bad? The Complete Health Guideguide
  2. Starbucks Pumpkin Spice: Caffeine Levels Revealedguide
  3. Coffee and Pregnancy: What You Need to Knowguide
  4. Caffeine Content Across Starbucks Roast Typescomparison
  5. Everything You Need to Know About Starbuckshub
  6. Caffeine in Starbucks Drinks: Caramel Macchiato and Moreguide
  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