Yes, dark chocolate contains caffeine. A one-ounce serving of dark chocolate with 60-69% cocoa solids has about 24 milligrams of caffeine, roughly a quarter of what you’d get from a standard cup of coffee. The amount rises with the cocoa percentage, so a very dark 85% or 100% bar will deliver noticeably more.
Why Dark Chocolate Contains Caffeine
Caffeine occurs naturally in cacao beans, building up in the seeds during the final stages of pod growth and continuing into ripening. It’s part of the bean itself, not something added during manufacturing. About one-fourth of the alkaloid content is lost during fermentation, when compounds migrate out of the inner seed into the surrounding shell and pulp. But plenty remains in the finished product, and because dark chocolate uses a higher proportion of cocoa solids than milk chocolate, it delivers more caffeine per bite.
How Much Caffeine by Serving Size
The numbers shift depending on serving size and cocoa percentage, but here are some useful reference points. According to the USDA, one ounce of dark chocolate in the 60-69% cocoa range contains about 24 milligrams of caffeine. A 50-gram piece (just under two ounces) of dark chocolate supplies roughly 19 milligrams of caffeine alongside 250 milligrams of theobromine. A two-square serving of about 14 grams has approximately 7 milligrams.
At higher cocoa percentages, the numbers climb substantially. Research published in the journal Physiology & Behavior estimates that 100 grams of dark chocolate can contain 120 to 150 milligrams of caffeine, which starts to rival a full cup of brewed coffee. That 100-gram amount is a large bar, not a casual snack, but it illustrates how quickly the caffeine adds up if you’re eating high-percentage dark chocolate in quantity.
Dark Chocolate vs. Coffee
A 200-milliliter cup (about 7 ounces) of brewed coffee contains roughly 90 milligrams of caffeine. A typical two-square serving of dark chocolate has about 7 milligrams. So on a per-serving basis, coffee delivers roughly 12 times more caffeine. Even a full ounce of dark chocolate at 24 milligrams is closer to what you’d find in a few sips of coffee than a full cup.
That said, people who eat several ounces of high-cocoa dark chocolate in a sitting can approach coffee-level doses. If you nibble through half of a 100-gram bar of 85% chocolate in an evening, you could easily take in 60 to 75 milligrams of caffeine, comparable to a shot of espresso.
Theobromine: The Other Stimulant
Caffeine isn’t the only stimulant in dark chocolate. Theobromine, a closely related compound, is present in much higher concentrations, typically at a 5:1 ratio over caffeine. A 100-gram bar of dark chocolate contains 700 to 800 milligrams of theobromine. It works on the same brain receptors that caffeine targets, blocking the signals that make you feel sleepy, but it’s about one-fifth as potent.
The two compounds behave differently in your body. Caffeine acts more on the central nervous system, sharpening alertness and focus. Theobromine appears to work more through peripheral effects: it lowers blood pressure, relaxes smooth muscle, and acts as a mild diuretic. It also has a longer half-life, meaning its effects linger. Despite being called a stimulant, research has found that theobromine on its own doesn’t produce the jittery, wired feeling associated with caffeine. Still, the combination of both compounds in dark chocolate creates a noticeable, if gentle, energizing effect.
Does Processing Change Caffeine Levels?
It can. Dutch-processing, or alkalization, is a treatment that makes cocoa less bitter and darker in color. It also reduces caffeine and theobromine content, with losses increasing as the degree of alkalization goes up. If you’re choosing a cocoa powder labeled “Dutch-processed,” it will contain less caffeine than a natural (non-alkalized) version. For chocolate bars, the cocoa percentage remains the most reliable indicator of caffeine content, since most dark chocolate bars aren’t heavily alkalized.
Can Dark Chocolate Affect Sleep?
For most people, a small piece of dark chocolate during the day won’t cause any noticeable stimulant effect. But eating it close to bedtime is a different story. Dark chocolate delivers caffeine and theobromine together, and both block the brain’s sleep-promoting signals. Theobromine can also increase heart rate and cause restlessness, and its longer-lasting effects mean it’s still active when caffeine would have faded.
Both compounds are also diuretics, which means a generous serving of dark chocolate before bed could have you waking up to use the bathroom. If you’re sensitive to caffeine or tend to sleep lightly, giving yourself at least two hours between your last piece of dark chocolate and bedtime allows your body to digest and stabilize before you try to fall asleep. People who are highly caffeine-sensitive may want to treat dark chocolate the way they’d treat an afternoon coffee and set an earlier cutoff.

