Will quitting caffeine help you sleep better?

Short answer

It may, especially if you have caffeine in the afternoon or evening: in one study, 400 mg of caffeine taken even 6 hours before bed significantly disturbed sleep.⁠[1] But studies of quitting itself are mixed, and in a study of 66 young adults with poor sleep, a week without caffeine didn’t change their total sleep time or sleep efficiency.⁠[2]

What happened when people stopped caffeine?

Very few studies have tested what stopping caffeine does to sleep, and those that have found different things, according to the authors of one of them.⁠[2] In their study, 66 healthy young adults who had caffeine regularly and slept poorly wore a wrist sleep tracker for 2 weeks as usual, then for 1 week without caffeine.⁠[2]

Their total sleep time and sleep efficiency didn’t change significantly. The time it took to fall asleep dropped over the first few days without caffeine, then rose above where it had started.⁠[2] The authors concluded that stopping caffeine may not bring long-term sleep improvement for habitual users, and called for more research.⁠[2] The study ran for one week without caffeine, so it can’t say what happens over a longer time.

Does the time of day you have caffeine matter?

It seems to. In a study that tracked sleep at home, 400 mg of caffeine at bedtime, 3 hours before or 6 hours before bed all significantly disturbed sleep, and the authors recommend avoiding substantial caffeine for at least 6 hours before bedtime.⁠[1]

Caffeine earlier in the day may matter less. In a small lab study, 20 young men who usually had caffeine took 150 mg three times a day, in the morning and afternoon, or a placebo. After 9 days, their measured sleep time, how long they took to fall asleep and how well they felt they’d slept didn’t differ between caffeine and placebo. A third condition, where the caffeine was swapped for a placebo after 8 days, showed no difference either.⁠[3]

A second paper from the same study recorded sleep starting in the early hours of the morning. Total sleep time again didn’t differ, but REM sleep took longer to start after daily caffeine, and the men reported more difficulty waking up and felt more tired on waking than with the placebo.⁠[4] These were small studies of healthy young men, so they may not apply to everyone.

Over the longer term, a review found regular daily caffeine intake is associated with disturbed sleep and daytime sleepiness.⁠[5] So if your caffeine runs into the afternoon or evening, stopping it there may make more difference than giving up a morning cup. More in when to stop caffeine before bed.

Why might the first nights feel different?

Drowsiness and fatigue are confirmed caffeine withdrawal symptoms, and withdrawal typically starts 12–⁠24 hours after you stop caffeine and lasts 2–⁠9 days.⁠[6] In the abstinence study, the time it took to fall asleep shifted over the week rather than settling straight away.⁠[2] So the first week may not show how you’ll sleep once withdrawal has passed. If daytime tiredness is the problem, see tiredness after quitting caffeine.

What may help you sleep after quitting?

  • Set a cut-off if you’re cutting back. The NHS suggests not drinking tea or coffee for at least 6 hours before going to bed.⁠[7] The wear-off calculator shows how much caffeine may still be in your body at bedtime.
  • Keep the same wake-up time. The NHS suggests waking up and getting out of bed at the same time every day, and not sleeping in after a bad night.⁠[7]
  • Give it more than a few nights. Withdrawal typically lasts 2–⁠9 days,⁠[6] so the first week may not be the best time to judge your sleep.

When should you see a doctor?

The NHS suggests seeing a GP if changing your sleeping habits hasn’t helped, if you’ve had trouble sleeping for months, or if insomnia is affecting your daily life in a way that makes it hard to cope.⁠[7] It calls insomnia that lasts 3 months or longer long-term insomnia.⁠[7]

Questions

Does quitting caffeine improve sleep?

It may, especially if you have caffeine later in the day: in one study, 400 mg taken even 6 hours before bed disturbed sleep.⁠[1] But in a study of 66 young adults with poor sleep, a week without caffeine didn’t change their total sleep time or sleep efficiency.⁠[2]

How long after quitting caffeine does sleep improve?

No study has given a timeline. Withdrawal, which can include drowsiness, typically lasts 2–⁠9 days,⁠[6] and in one study the time it took to fall asleep shifted over the first week without caffeine.⁠[2]

Why can’t I sleep after quitting caffeine?

In one study, the time it took people to fall asleep dropped over the first few days without caffeine, then rose above where it had started.⁠[2] If trouble sleeping goes on, the NHS suggests seeing a GP when changing your sleeping habits hasn’t helped.⁠[7]

Does a morning coffee affect sleep at night?

In a small study of 20 young men, caffeine taken in the morning and afternoon didn’t change measured sleep time or how well they felt they’d slept,⁠[3] though REM sleep took longer to start.⁠[4]

Sources

  1. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine. 2013;9(11):1195–⁠200. https://pmc.ncbi.nlm.nih.gov/articles/PMC3805807/ ↩︎
  2. Irish LA, Mead MP, Cao L, Veronda AC, Crosby RD. The effect of caffeine abstinence on sleep among habitual caffeine users with poor sleep. Journal of Sleep Research. 2021;30(1):e13048. https://pubmed.ncbi.nlm.nih.gov/32374052/ ↩︎
  3. Weibel J, Lin YS, Landolt HP, et al. The impact of daily caffeine intake on nighttime sleep in young adult men. Scientific Reports. 2021;11(1):4668. https://pubmed.ncbi.nlm.nih.gov/33633278/ ↩︎
  4. Weibel J, Lin YS, Landolt HP, et al. Regular caffeine intake delays REM sleep promotion and attenuates sleep quality in healthy men. Journal of Biological Rhythms. 2021;36(4):384–⁠94. https://pubmed.ncbi.nlm.nih.gov/34024173/ ↩︎
  5. Roehrs T, Roth T. Caffeine: sleep and daytime sleepiness. Sleep Medicine Reviews. 2008;12(2):153–⁠62. https://pubmed.ncbi.nlm.nih.gov/17950009/ ↩︎
  6. Juliano LM, Griffiths RR. A critical review of caffeine withdrawal: empirical validation of symptoms and signs, incidence, severity, and associated features. Psychopharmacology. 2004;176(1):1–⁠29. https://pubmed.ncbi.nlm.nih.gov/15448977/ ↩︎
  7. NHS. Insomnia. Page last reviewed 19 March 2024. https://www.nhs.uk/conditions/insomnia/ ↩︎

This is general information, not medical advice. Everyone’s different: if you’re pregnant, have a health condition or take medication, talk to your doctor before changing how much caffeine you have.

Quit or cut back at your own pace

Buzz Off is free to download, with an optional Pro subscription.

Download on the App Store