Skip to content
EasyBreezyMind
Tools Evidence Learn Pricing Sign in Find your plan My Calm Start breathing
Oct 1, 2026 · 1 min read

Caffeine, anxiety and sleep: how late is too late?

High doses can provoke anxiety in sensitive people, and caffeine six hours before bed still disrupted sleep in a placebo-controlled study.

3 peer-reviewed sources, DOI-verifiedUpdated Oct 1, 2026How we verify

Coffee is the world’s favourite stimulant, and for most people moderate amounts are fine. But if you’re prone to feeling wired, jittery or anxious — or you’re sleeping badly — caffeine is one of the easiest things to look at first.

Caffeine and anxiety

Caffeine blocks adenosine, a chemical that builds up during the day and makes you feel sleepy. A review of caffeine and mental health describes how high doses can induce anxiety, particularly in sensitive people, while moderate intake is generally well tolerated.

Review
Reviews how caffeine can induce anxiety at high doses, particularly in sensitive people, while moderate intake is generally well tolerated.
Lara DR (2010). Caffeine, Mental Health, and Psychiatric Disorders. Journal of Alzheimer's Disease. DOI PubMed ✓ Verified via Crossref · Oct 26, 2026

Sensitivity varies a lot between people. If you notice a racing heart, restlessness or a spike in worry after coffee, that’s useful information about you.

How late is too late?

In a placebo-controlled study, people took 400 mg of caffeine — roughly three to four cups of brewed coffee — at bedtime, 3 hours before bed, or 6 hours before bed. All three timings significantly disrupted sleep compared with placebo, including the dose taken six hours before bed.

Placebo-controlled trial
400 mg of caffeine taken even 6 hours before bedtime significantly disrupted sleep compared with placebo.
Drake C, et al. (2013). Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed. Journal of Clinical Sleep Medicine. DOI PubMed ✓ Verified via Crossref · Oct 26, 2026

The authors concluded that the results support avoiding substantial caffeine for at least six hours before bedtime.

Why sleep matters for anxiety

Poor sleep and anxiety feed each other. One study found that sleep loss raised next-day anxiety, while deep slow-wave sleep had an anxiety-reducing effect. So late caffeine can affect tomorrow’s anxiety through tonight’s sleep. Read more in Sleep and anxiety.

Experimental
Ben Simon E, et al. (2019). Overanxious and underslept. Nature Human Behaviour. DOI PubMed ✓ Verified via Crossref · Oct 26, 2026

A simple two-week experiment

  1. Have your last caffeine at least six to eight hours before bed.
  2. Count tea, cola, energy drinks, pre-workout powders and dark chocolate too.
  3. If you drink a lot, cut down gradually to avoid withdrawal headaches.
  4. Use our weekly Nervous System Check to notice any difference.

If you have a heart condition, are pregnant or take medication, ask your doctor about safe caffeine limits for you.

Free guide & newsletter

Start with the Calm Starter Guide