Learn / Sleep

Move caffeine earlier

The plan
When I want a coffee after lunch, I'll have water or a decaf instead.
How you'll know
Your last coffee, tea or energy drink was before early afternoon on most days.

Why

Caffeine keeps working long after the cup is empty. Across 24 studies, it cut about 45 minutes of sleep and took away some deep sleep Gardiner and colleagues, 2023. To leave total sleep alone, a usual coffee needed to be at least 8.8 hours before bed Gardiner and colleagues, 2023. Even 6 hours before bed, a strong dose still disturbed sleep at home Drake and colleagues, 2013.

If it doesn't fit

Make the afternoon cup a half cup, or switch it to decaf for a week and see how your nights feel. On shifts, stop caffeine around the middle of the shift instead of the time of day.

Where you are with this step

Keeping opens two weeks after you first try it. New habits take weeks, not days.

Not sticking?

Whether you do something comes down to three things: you can do it, your day has room for it, and you want to. Find the one that's missing and change only that one Michie, van Stralen and West, 2011.

Can I do it?
Make it smaller: do the first minute of it, or half. The note above has another version for a day that doesn't fit.
Does my day have room?
Tie it to something that already happens, like finishing a meal or pouring a drink, and do the same small action in the same place Gardner, Lally and Wardle, 2012. Then change the When line in your plan to match.
Do I want to?
Then it's fine to pick another step, or leave this one for now. Nothing here is a test.

Other steps in Sleep

Sources for this page

  • Gardiner and colleagues (2023). The effect of caffeine on subsequent sleep: a systematic review and meta-analysis.

    Pooled analysis of many studies, 24 studies: an average across studies; only as good as the studies inside.

    What we use: Caffeine cut total sleep by about 45 minutes and sleep efficiency by 7%, took 9 minutes longer to fall asleep and added 12 minutes awake in the night, with less deep sleep. To leave total sleep alone, a usual coffee (107 mg) should be at least 8.8 hours before bed, and a pre-workout serve (217.5 mg) at least 13.2 hours.

    Checked Oct 19, 2026 · https://doi.org/10.1016/j.smrv.2023.101764 · DOI 10.1016/j.smrv.2023.101764 · PubMed 36870101

  • Drake and colleagues (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed.

    Single study: one group of people; results may not repeat elsewhere.

    What we use: A moderate dose of caffeine (400 mg) at bedtime, 3 hours before or 6 hours before each disturbed sleep at home compared with a placebo; the authors back avoiding substantial caffeine for at least 6 hours before bed.

    Checked Oct 19, 2026 · https://doi.org/10.5664/jcsm.3170 · DOI 10.5664/jcsm.3170 · PubMed 24235903

Every source on the site