Caffeine
Keep caffeine early, and keep late doses small.
Learn More
What It Is
How much caffeine you take, and how late you take it.
Why It Matters
A dose of caffeine may make little difference to your sleep efficiency, the share of your night in bed spent asleep. Two meta-analyses of mostly single-night trials, drawing on a largely overlapping set of studies, found efficiency lower after a dose, alongside a longer time to fall asleep and less deep sleep.1,2 The more recent put the drop just short of the change this app treats as mattering,2 the other past it.1 Most of those trials dosed within an hour or so of lights-out, so read them as what a late dose can cost you, not as the price of your usual morning coffee.2
The mechanism is adenosine: caffeine blocks the receptors that register the sleep pressure building through your day, acutely muting the signal to fall and stay asleep.1,2 In one trial in young men, a high dose (roughly four coffees) lowered efficiency taken four or eight hours before bed, by more than a single-cup dose, which changed nothing detectable at any of the times tested, and it cost more taken four hours out than twelve.3 A second trial, giving the two doses to separate groups of daily caffeine drinkers, men and women aged 20 to 30 and 40 to 60 who kept their usual morning intake, found the same for dose: four coffees' worth in the last three hours before bed cost more efficiency than two.4 The pooled analyses could not confirm that the loss grows with dose or lateness1; in the more recent, high doses cost more than low ones, but by a margin it could not separate from chance.2
A daily habit looks different from a single late dose. Young men who already drank caffeine every day took it in the morning and afternoon for more than a week, and on a fixed eight-hour night in the lab their sleep efficiency was no lower than on placebo.5 That trial did not test a late dose taken every day, so it cannot say whether the cost of a single late dose lasts. Keep caffeine to the earlier part of your day, and keep anything late small.
GRADE
CertaintyLow
MagnitudeTrivial
Magnitude here is the effect on sleep efficiency, not on lifespan.
References
- 1 Gardiner, C. et al. (2023). The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews. doi.org/10.1016/j.smrv.2023.101764
- 2 Chang, Y.H. et al. (2025). Age- and dose-specific effects of caffeine on sleep: A meta-analysis of controlled crossover trials. Sleep Medicine. doi.org/10.1016/j.sleep.2025.106874
- 3 Gardiner, C.L. et al. (2025). Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial. Sleep. doi.org/10.1093/sleep/zsae230
- 4 Robillard, R. et al. (2015). Sleep is more sensitive to high doses of caffeine in the middle years of life. Journal of Psychopharmacology. doi.org/10.1177/0269881115575535
- 5 Weibel, J. et al. (2021). The impact of daily caffeine intake on nighttime sleep in young adult men. Scientific Reports. doi.org/10.1038/s41598-021-84088-x
Something missing or incorrect? Let us know.