NutriSeek

Is eating chocolate at night bad for sleep quality?

General nutrition researchAnswered by NutriSeek AI · November 3, 2026

Chocolate at night probably won't wreck your sleep, but dark chocolate is the most likely to interfere, because it contains the most caffeine and theobromine (a milder, longer-lasting relative of caffeine). Milk chocolate has much less, and white chocolate has none listed in the USDA data.

How much stimulant is in chocolate?

These USDA figures are per 100 g. The serving column is my own calculation for a typical 28 g (1 oz) portion.

Type Caffeine per 100 g Caffeine in 28 g Theobromine per 100 g
Dark (70–85%) 80 mg about 22 mg 802 mg
Milk 20 mg about 6 mg 205 mg
White none listed none none listed
Natural cocoa powder 230 mg about 12 mg per tbsp (5.4 g) 2,057 mg

For comparison, a cup of brewed coffee typically has roughly 80–100 mg of caffeine (a general figure, not from this data). So an ounce of dark chocolate has about a quarter of that. Most people won't notice that much, but caffeine-sensitive people might.

What the research shows

  • Caffeine: Studies consistently show that caffeine taken in the evening can delay falling asleep and reduce deep sleep. That evidence is strong, but it is based mostly on doses larger than a square or two of chocolate.
  • Theobromine: It is a milder stimulant than caffeine, but it lasts a while in the body. Direct research on theobromine and sleep is limited, so it's unclear how much it matters at normal chocolate portions.
  • Sugar and fat: Large, rich snacks close to bedtime may cause discomfort or reflux in some people, which can disrupt sleep. Evidence on sugar affecting sleep is mixed, and this varies a lot from person to person.
  • Overall: Studies on chocolate specifically and sleep are few and small, so no one can say for sure what a typical portion does. Individual sensitivity to caffeine is a big factor.

Practical tips

  • Keep it small: A square or two of dark chocolate delivers far less stimulant than a whole bar.
  • Leave a gap: Eating chocolate a few hours before bed gives your body time to clear some of the caffeine.
  • Choose milk or white if you're sensitive: They have less or no caffeine, though they are higher in sugar (52–59 g per 100 g versus 24 g in dark, per USDA).
  • Watch your total: Chocolate adds to the caffeine from coffee, tea and soft drinks over the day.
  • Run a test: If you suspect chocolate affects you, skip it in the evening for a week or two and see whether your sleep changes.

If you have ongoing sleep problems, acid reflux, or take medications that interact with caffeine, a doctor or registered dietitian can help work out whether chocolate is a factor.

Further reading from the NIH

Ask next

More in this topic

Health & Conditions

Foods in this answer

Full nutrition facts