Does Chocolate Contain Caffeine?
By Merey Tleugazin Published February 7, 2026 Updated August 2, 2026 9 min read
Yes—chocolate contains caffeine; a 50 g piece of dark chocolate has 30 mg of caffeine (milk chocolate 50 g has 10 mg).
- Dark chocolate (50 g): 30 mg caffeine; milk chocolate (50 g): 10 mg.
- Hot cocoa (240 ml) has 9 mg; coffee and energy drinks start much higher (drip coffee 240 ml: 96 mg, cold brew 240 ml: 200 mg).
- Population-average half-life ≈ 5.7 hours: from 30 mg about 14 mg remains after 6 hours and ~7 mg after 12 hours.
- FDA recommends ≤ 400 mg/day for healthy adults; pregnancy guidance is ~200 mg/day and American Academy of Pediatrics discourages caffeine for adolescents.
Caffeine in chocolate — the basics
Caffeine naturally occurs in the cocoa bean along with theobromine. The concentration scales with cocoa solids: higher percent cacao typically means more caffeine per serving. The dataset values to use as anchors are dark chocolate (50 g) = 30 mg and milk chocolate (50 g) = 10 mg; hot cocoa (240 ml) = 9 mg. These are reliable reference points for everyday portions.
How chocolate compares to coffee, tea and energy drinks
Chocolate is a low-to-moderate caffeine source compared with brewed coffee or energy drinks. Use the table below to compare common chocolate items with common caffeinated beverages from the dataset.
| Product | Serving | Caffeine (mg) |
|---|---|---|
| Dark chocolate | 50 g | 30 mg |
| Milk chocolate | 50 g | 10 mg |
| Hot cocoa | 240 ml | 9 mg |
| Coffee ice cream | 100 g | 30 mg |
| Mocha | 240 ml | 95 mg |
| Espresso (single) | 30 ml | 63 mg |
| Drip coffee | 240 ml | 96 mg |
| Cold brew | 240 ml | 200 mg |
Dark chocolate, milk chocolate and why percentages matter
Cocoa percentage correlates with caffeine because caffeine is in the cocoa solids. A 50 g bar labeled 70–85% cacao will usually be closer to the 30 mg figure from the dataset; milk chocolate with lower cocoa content dilutes caffeine with milk and sugar, matching the 10 mg (50 g) datapoint. Processing (Dutching/alkalizing) alters flavor more than caffeine amount, so percent cacao and serving size are the primary drivers.
Chocolate-covered coffee beans and specialty chocolate products
Chocolate-covered coffee beans and chocolate bars with added espresso or coffee extract can have wide variation. The dataset does not list chocolate-covered coffee beans specifically; caffeine can come from both the bean and the chocolate coating. When a product lists added espresso, use the coffee line items (espresso 63 mg per 30 ml) as a guide and check manufacturer nutrition facts. For homemade or unlabeled items, track intake conservatively in CoffeeLog or estimate based on coffee content.
How long chocolate caffeine lasts — decay and timing vs sleep
Caffeine elimination follows a population-average half-life of about 5.7 hours. Practical approximations: after 3 h ≈69% remains, 6 h ≈48%, 9 h ≈33%, and 12 h ≈23%. Below is a computed decay table for common servings using those percentages.
| Starting dose (mg) | 0 h | 3 h (~69%) | 6 h (~48%) | 9 h (~33%) | 12 h (~23%) |
|---|---|---|---|---|---|
| Dark chocolate (50 g) | 30 | 21 | 14 | 10 | 7 |
| Milk chocolate (50 g) | 10 | 7 | 5 | 3 | 2 |
| Hot cocoa (240 ml) | 9 | 6 | 4 | 3 | 2 |
| Espresso (single) | 63 | 43 | 30 | 21 | 14 |
| Drip coffee (240 ml) | 96 | 66 | 46 | 32 | 22 |
| Cold brew (240 ml) | 200 | 138 | 96 | 66 | 46 |
Practical example: eating a 50 g dark chocolate bar at 7pm (30 mg) leaves about 14 mg at 1am and ~7 mg at 7am—enough that sensitive sleepers may notice effects. If you’re tracking intake to protect sleep, time your last chocolate snack with the half-life in mind.
Health context and limits
For healthy adults the FDA cites an upper bound of about 400 mg/day. During pregnancy most guidance (including FDA summaries and European Food Safety Authority commentary) recommends limiting to roughly 200 mg/day. The American Academy of Pediatrics discourages caffeine for adolescents. Chocolate alone rarely exceeds these limits, but combined sources—coffee, energy drinks, supplements—can add up quickly.
How to measure and reduce intake
Read labels for cocoa percentage and added coffee/espresso ingredients. If you want to lower intake: choose lower-cacao milk chocolate, smaller portions, or caffeine-free chocolate alternatives (many carob or white chocolate products have negligible caffeine). Use an app like CoffeeLog to total caffeine from all sources and compare to the 400 mg/day benchmark.
Practical notes and sources
Laboratory analyses and nutrition databases such as USDA FoodData Central provide raw values for chocolate and cocoa products; caffeine content in coffee and tea is well documented (see dataset values for exact mg per serving). For health advice consult sources like the FDA, EFSA, Mayo Clinic and the American Academy of Pediatrics. This page is informational only and not medical advice—consult a clinician about pregnancy, anxiety, or suspected overdose.
How much caffeine is in a 10 g piece of dark chocolate?
A 10 g piece of dark chocolate contains about 6 mg of caffeine; that comes from the dataset value dark chocolate (50 g) = 30 mg (30 mg ÷ 50 g × 10 g = 6 mg). The per-gram concentration is therefore 0.6 mg/g and you can scale that to any portion using the dataset anchor.
Concentration is milligrams of caffeine per gram of food.
Practical arithmetic: start with the dataset anchor dark chocolate (50 g) = 30 mg, divide 30 mg by 50 g to get 0.6 mg per gram, then multiply by 10 g to get 6 mg (30 ÷ 50 = 0.6; 0.6 × 10 = 6). If you prefer a calculator interface to convert irregular serving sizes quickly, use our caffeine half-life calculator at /tools/caffeine-calculator/ to record intake and see remaining mg in real time. For a fuller breakdown of portions and percent cacao, see the guide on Chocolate and Caffeine: A Comprehensive Guide.
Can chocolate plus coffee push me over official daily limits?
Yes—chocolate can contribute to a combined total that exceeds recommended limits if you also drink high-caffeine coffee or energy drinks; for example, a 50 g dark chocolate (30 mg, dataset) plus a 240 ml drip coffee (96 mg, dataset) equals 126 mg, which is below the FDA adult limit but contributes to your daily tally. The U.S. Food and Drug Administration places a benchmark of about 400 mg/day for healthy adults (FDA), and the European Food Safety Authority advises a 200 mg/day limit during pregnancy (EFSA 2015).
Safe daily limit is the recommended maximum intake for healthy adults set by public health authorities.
To illustrate accumulation: a Starbucks Pike Place Brewed Grande (473 ml = 310 mg, dataset) plus one 50 g dark chocolate bar (30 mg, dataset) totals 340 mg—inside the FDA 400 mg guideline but only 60 mg below it. If you add a 250 ml Red Bull (80 mg, dataset) to that same day the running total becomes 420 mg and you exceed the FDA number. If pregnancy is a concern, the EFSA 200 mg/day guidance means a single Grande Pike Place (310 mg) already exceeds the pregnancy recommendation. Use our tools for household-accurate totals: safe daily limit by body weight and the caffeine calculator help you sum chocolate plus other sources.
Will caffeine from chocolate hit my bloodstream more slowly than coffee?
Caffeine in chocolate is absorbed into the bloodstream, but the solid food matrix and accompanying compounds like theobromine and fat slow gastric emptying slightly, so the subjective onset can be a bit later than the rapid rise after a strong espresso shot. That said, the elimination half-life that governs how long caffeine stays is the same population-average 5.7 hours, so onset timing differs more than duration of effect.
Absorption is the process by which ingested caffeine reaches the bloodstream.
Mechanistically, chocolate contains caffeine embedded in cocoa solids and fat, which means peak plasma concentrations can arrive over a broader window compared with a concentrated liquid coffee shot; the numbers we use on this site use the dataset anchors (dark chocolate 50 g = 30 mg; espresso single 30 ml = 63 mg) so you can compare dose sizes directly. If sleep protection is your goal, note that caffeine taken several hours before bed still reduces sleep: a controlled sleep study reported that 400 mg taken 6 hours before bedtime reduced total sleep time by more than an hour (Drake et al., 2013), and because chocolate contributes mg that add to that load you should time your last chocolate snack with the same caution as a late coffee.
How much caffeine builds up if I snack on chocolate all day?
Repeated chocolate snacks add up and approach a steady-state where intake between doses is balanced by elimination; with the population half-life of 5.7 hours the math is simple and predictable using first-order decay. For a concrete example: three 50 g dark chocolate bars (30 mg each, dataset) eaten at 08:00, 14:00 and 20:00 leave about 31.7 mg circulating at 24:00 using the standard decay formula.
First-order elimination is a constant-fraction decay process.
Calculation details using the decay model remaining mg = D × 0.5^(hours / 5.7): the 08:00 dose is 16 hours old at 24:00: 30 × 0.5^(16/5.7) ≈ 30 × 0.1437 = 4.31 mg; the 14:00 dose is 10 hours old: 30 × 0.5^(10/5.7) ≈ 30 × 0.2976 = 8.93 mg; the 20:00 dose is 4 hours old: 30 × 0.5^(4/5.7) ≈ 30 × 0.6155 = 18.46 mg. Sum = 4.31 + 8.93 + 18.46 ≈ 31.7 mg. That total is only slightly greater than a single 50 g bar (30 mg, dataset) because elimination removes prior doses between snacks; you can reproduce this arithmetic for any schedule using the formula or by logging intakes into the caffeine half-life calculator.
Does theobromine change how caffeine from chocolate feels or affects sleep?
Theobromine is a mild stimulant present in cocoa that co-occurs with caffeine and alters the stimulant profile, often producing a gentler, longer-lasting sensation than coffee at the same caffeine dose. Because theobromine and caffeine act on overlapping but not identical pathways, chocolate’s combined effect tends to be smoother for many people, though individual responses vary.
Theobromine is a stimulant related to caffeine that is abundant in cocoa.
Practical implications: the dataset anchors (dark chocolate 50 g = 30 mg; milk chocolate 50 g = 10 mg) let you quantify caffeine while remembering that theobromine contributes to perceived stimulation without being counted in the caffeine mg total; if you have anxiety, arrhythmia, or pregnancy concerns follow the specific clinical guidance in our pregnancy guide (caffeine and pregnancy) and the broader caffeine dosage guide. For sleep timing, use the same cutoffs you would for coffee—the latest cup before bed tool applies equally well when your last stimulant is a chocolate snack.
Bottom line
Yes—chocolate contains measurable caffeine but at modest levels: dark chocolate (50 g) = 30 mg and milk chocolate (50 g) = 10 mg, with hot cocoa (240 ml) = 9 mg according to the dataset anchors used throughout this site. The population-average elimination half-life for caffeine is about 5.7 hours, so remaining mg after a dose follow remaining = D × 0.5^(hours / 5.7) (for example 30 mg → ≈14 mg after 6 hours and ≈7 mg after 12 hours using the dataset values).
Public health benchmarks help put those numbers in context: the U.S. FDA advises about 400 mg/day as a guideline for healthy adults (FDA), and EFSA recommends keeping intake to about 200 mg/day during pregnancy (EFSA 2015). Chocolate alone rarely pushes most adults over 400 mg, but combined sources—coffee, energy drinks, pills—do, so track totals with our caffeine calculator or the safe daily limit tool and consult the pregnancy guidance in our pregnancy guide when relevant. If you want to protect sleep, remember the controlled sleep study showing substantial sleep reduction when 400 mg was taken 6 hours before bedtime (Drake et al., 2013); treat late-day chocolate like a late cup of coffee and use the last cup before bed calculator to time snacks.
Frequently asked questions
Does all chocolate have caffeine?
Yes. All chocolate made from cocoa solids contains some caffeine; amounts depend on cocoa percentage and serving size. Dark chocolate is higher (dataset: 50 g = 30 mg) and milk chocolate lower (50 g = 10 mg).
How much caffeine is in hot cocoa?
A 240 ml cup of hot cocoa contains about 9 mg of caffeine according to the dataset. That’s much lower than brewed coffee (drip coffee 240 ml = 96 mg).
Are chocolate-covered coffee beans high in caffeine?
They can be, because caffeine comes from both the bean and the coating; the dataset does not list a specific value. Always check manufacturer info or track cautiously in CoffeeLog and assume they are significantly stronger than chocolate alone.
Will a chocolate bar keep me awake?
It depends on dose and sensitivity. A 50 g dark bar (30 mg) leaves roughly 14 mg after 6 hours and ~7 mg after 12 hours. Sensitive sleepers may notice effects; time the snack accordingly.
How much chocolate is safe during pregnancy?
Pregnancy guidance suggests limiting total caffeine to about 200 mg/day. A 50 g dark chocolate (30 mg) fits under that, but total daily caffeine from all sources should be counted and discussed with your clinician.
Can children eat chocolate given caffeine?
The American Academy of Pediatrics discourages routine caffeine for adolescents; small amounts from chocolate occur, but monitor total intake. For young children, prefer low-cocoa milk chocolate and limit portion size.
How much caffeine is in a 5 g square of dark chocolate?
About 3 mg—calculated from the dataset anchor dark chocolate (50 g) = 30 mg (30 ÷ 50 × 5 = 3 mg).