Dark chocolate at night isn't automatically a bad idea, but it contains caffeine and theobromine (a related stimulant), so a small portion is wiser than a large one, especially if you're sensitive to caffeine or sleep poorly.
What's in it that could affect sleep
USDA data for dark chocolate (per 100 g) shows:
| 70-85% cacao | 60-69% cacao | |
|---|---|---|
| Caffeine | 80 mg | 86 mg |
| Theobromine | 802 mg | 632 mg |
| Calories | 598 kcal | 579 kcal |
| Sugars | 24 g | 37 g |
A typical 1 oz (28 g) serving works out to roughly 22-24 mg of caffeine for these two types (my calculation from the USDA per-100 g figures). For comparison, a standard cup of brewed coffee generally has around 80-100 mg, so a small square is a fairly low dose.
Theobromine is a milder stimulant than caffeine. It can raise heart rate slightly and has a longer-lasting effect in the body. A 1 oz serving has roughly 180-225 mg, again calculated from the USDA figures.
Does it actually disrupt sleep?
The evidence here is limited. Caffeine is well known to make it harder to fall asleep and to reduce sleep quality when taken in the evening, and sensitivity varies a lot between people. But there are few good studies on chocolate specifically at night, so it's hard to say how much a small piece matters. Most people probably won't notice a single square, while some sensitive people will. If you often lie awake at night, it's a reasonable thing to test by skipping it for a week or two.
Other factors may matter as much as the stimulants:
- Calories add up. A 100 g bar is nearly 600 kcal, and it's easy to keep eating it. Portion size matters more than timing.
- Reflux. Chocolate may relax the valve between the stomach and the esophagus, and some people with heartburn find it worse when lying down soon after eating. The evidence is mixed, but it's worth watching if you have reflux.
- Sugar. The 60-69% type has more sugar (37 g per 100 g) than the 70-85% type (24 g).
Practical tips
- Keep it small: a square or two (about 10-30 g) is plenty.
- Eat it earlier: a couple of hours before bed gives your body more time to clear some of the caffeine.
- Count your other caffeine: if you've had coffee, tea or cola, the total matters.
- Pick a lower-caffeine option if you're sensitive: milk or white chocolate generally contain less caffeine, though they have more sugar, and I don't have USDA figures for them here.
- Check with a doctor or dietitian if you're pregnant (caffeine limits often apply), take medication that interacts with caffeine, or have a heart rhythm condition, reflux or a sleep disorder.
Dark chocolate does supply minerals, such as 228 mg of magnesium and 12 mg of iron per 100 g in the 70-85% type (USDA), but you'd eat far less than 100 g, so a small serving gives only a modest share of those.