When should you stop drinking caffeine before bed?

Short answer

In a study that tracked sleep at home, 400 mg of caffeine taken at bedtime, 3 hours before or even 6 hours before bed significantly disturbed sleep, and the authors recommend avoiding substantial caffeine for at least 6 hours before bedtime (Drake et al., 2013). EFSA notes that even 100 mg may affect sleep in some adults, particularly close to bedtime (EFSA).

What the research found

In the study, adults took 400 mg of caffeine or a placebo at bedtime, 3 hours before and 6 hours before going to bed. Their sleep was recorded with sleep diaries and with a validated portable sleep monitor at home (Drake et al., 2013).

Caffeine at all three times had significant effects on sleep disturbance compared with the placebo. The authors concluded that caffeine taken 6 hours before bedtime has important disruptive effects on sleep, and that the results support refraining from substantial caffeine use for a minimum of 6 hours before bed (Drake et al., 2013). In the discussion, the paper reports that even at 6 hours, caffeine reduced sleep by more than 1 hour (Drake et al., 2013, full text).

400 mg is a lot in one go: about what the FDA describes as two to three 12-fluid-ounce cups of coffee (FDA). Smaller amounts can still matter, as EFSA notes for 100 mg close to bedtime (EFSA).

Why an afternoon coffee can reach bedtime

Caffeine’s mean half-life in healthy people is about 5 hours, ranging from 1.5 to 9.5 hours (National Academy of Sciences, 2001). With a 5-hour half-life, about a quarter of a 1 pm coffee’s caffeine may still be in your body at 11 pm. If your half-life is longer, more of it will be. See how long caffeine stays in your system.

Regular caffeine and daytime sleepiness

A review of the research found that regular daily caffeine intake is associated with disturbed sleep and daytime sleepiness, and that the risks to sleep and alertness of regular caffeine use are greatly underestimated by both the public and doctors (Roehrs & Roth, 2008).

Finding your cut-off

  • Count back from bedtime. If you sleep at 11 pm, the study’s 6-hour guide means your last caffeine by about 5 pm. Many people go earlier.
  • Swap the afternoon cup for decaf or a herbal tea.
  • Remember tea, cola and energy drinks count too; see caffeine in drinks.
  • Try a cut-off for a week or two and notice how you sleep.

Questions

How many hours before bed should I stop caffeine?

The authors of a study on caffeine and sleep recommend avoiding substantial caffeine for at least 6 hours before bedtime (Drake et al., 2013). Some people need longer, because caffeine’s half-life ranges from 1.5 to 9.5 hours (National Academy of Sciences, 2001).

Is a small coffee in the afternoon OK for sleep?

It depends on you. EFSA notes single doses of 100 mg may affect sleep in some adults, particularly close to bedtime (EFSA).

Does tea affect sleep too?

Tea contains caffeine: EFSA gives about 50 mg for a 220 ml cup of black tea (EFSA). Herbal teas such as chamomile have none (USDA).

Can regular caffeine make you sleepy in the day?

A review found regular daily caffeine intake is associated with disturbed sleep and daytime sleepiness (Roehrs & Roth, 2008).

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. Drake C, et al. (2013), the same paper: Discussion section of the full text. This finding is in the full text, not the abstract. https://pmc.ncbi.nlm.nih.gov/articles/PMC3805807/#sec12
  3. European Food Safety Authority (EFSA). Caffeine: topic page summarising its 2015 Scientific Opinion on the safety of caffeine. https://www.efsa.europa.eu/en/topics/topic/caffeine
  4. National Academy of Sciences. Pharmacology of Caffeine. In: Caffeine for the Sustainment of Mental Task Performance: Formulations for Military Operations. Washington, DC: National Academies Press; 2001. https://www.ncbi.nlm.nih.gov/books/NBK223808/
  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. U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine is Too Much? Content current as of 28 August 2024. https://www.fda.gov/consumers/consumer-updates/spilling-beans-how-much-caffeine-too-much
  7. USDA FoodData Central. Beverages, tea, herb, brewed, chamomile (SR Legacy, FDC ID 174156). https://fdc.nal.usda.gov/food-details/174156/nutrients

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