📅 Last reviewed: July 2026 · MySleepTool Editorial Team

Chocolate Caffeine Calculator

Find out how much caffeine and theobromine are in your chocolate — and whether your evening chocolate habit is quietly affecting your sleep.

Caffeine
Theobromine

Chocolate, Caffeine, and Sleep — The Hidden Stimulant Problem

Chocolate is one of the most commonly overlooked sources of evening caffeine and stimulants. While the caffeine content is often minor, the combination of caffeine and theobromine — a related methylxanthine with a longer half-life — means that a few squares of dark chocolate after dinner can have a meaningful combined stimulant effect, particularly for people who are caffeine-sensitive or already close to their daily threshold.

Theobromine — The Longer-Lasting Stimulant

Theobromine is the primary methylxanthine in chocolate (cocoa is the most theobromine-rich plant known). Like caffeine, it blocks adenosine receptors and produces alerting effects — but it has a longer half-life of approximately 6–10 hours and milder, more sustained effects than caffeine. A 1oz square of 70% dark chocolate contains roughly 200–250mg of theobromine — significantly more stimulant activity than its 20–23mg of caffeine alone would suggest. For regular dark chocolate consumers, the cumulative theobromine from multiple squares in the evening may be more relevant to sleep than the caffeine alone.

Who Should Worry About Evening Chocolate

Most people eating 1–2 squares of milk chocolate in the evening will experience no significant sleep impact from caffeine (5–16mg). Those who may be affected: caffeine-sensitive individuals (who notice effects from even 20–30mg); people who eat significant amounts of high-percentage dark chocolate (70%+) after dinner; people who already consume caffeine close to their threshold; and those already experiencing insomnia or difficulty with sleep onset. White chocolate contains essentially no caffeine or theobromine and is completely sleep-neutral.

Chocolate & Sleep — FAQ
How much caffeine does dark chocolate have?
Approximately: 90%+ cacao: 25–35mg per 1oz; 70–85% cacao: 18–25mg per 1oz; 50–70% cacao: 12–18mg per 1oz; milk chocolate: 5–10mg per 1oz; white chocolate: 0mg. For context, this is roughly 1/5 to 1/3 of a shot of espresso. The theobromine content (a related stimulant) is much higher — dark chocolate contains 5–10× more theobromine than caffeine by weight, and theobromine has a longer half-life (6–10 hours).
Does dark chocolate keep you awake?
For most people, 1–2 squares of dark chocolate in the early evening won't noticeably disrupt sleep. However, for caffeine-sensitive people, or those eating significant amounts (3–4+ squares of 70%+ chocolate), the combined caffeine + theobromine effect may delay sleep onset. The theobromine is more relevant than the caffeine alone — it has a 6–10 hour half-life and can still be significant at bedtime if eaten after dinner. If you notice sleep issues after evening chocolate, try limiting dark chocolate to before 6–7 PM or switching to milk chocolate for the evening.
Is white chocolate caffeine-free?
Yes — white chocolate contains no caffeine or theobromine because it's made from cocoa butter (the fat extracted from cocoa beans) rather than cocoa solids. The stimulants in chocolate are concentrated in the cocoa solids (cacao powder). White chocolate has no sleep-disrupting stimulant effect from a caffeine/theobromine perspective, though it's high in fat and sugar which may cause other digestive discomfort if eaten in large amounts close to bedtime.
📋 Reviewed by: MySleepTool Editorial Team · Last updated: July 2026 · Sources: USDA Food Data Central caffeine/theobromine values, Smit HJ "Theobromine and the pharmacology of cocoa" (2011). Educational purposes only.