# Caffeine

> Keep caffeine early, and keep late doses small.

[The Research](https://boddy.app/research.md) / [Sleep](https://boddy.app/sleep.md) / [Duration](https://boddy.app/sleep/duration.md)  
Canonical: https://boddy.app/sleep/duration/caffeine  
Last reviewed: 2026-10-15

## What It Is

How much caffeine you take, and how late you take it.

## Why It Matters

A dose of caffeine probably shortens the night of sleep that follows it, though only slightly. Two meta-analyses of single-night trials, drawing on a largely overlapping set of studies, found that it cut total sleep time,[1,2] and the loss was smaller the earlier before bed the dose was taken.[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] Dose and timing both matter, though where the line sits is unsettled. In one trial in young men, a high dose (roughly four coffees) taken four hours before bed cut sleep by much more than a single-cup dose, which did nothing detectable at any of the times tested.[3] The larger pooled analysis still found sleep loss below that high dose, and its test found no clear difference between lower and higher doses.[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 was no shorter than on placebo.[4] It did not test a late dose taken every day, which is what the single-night trials suggest costs sleep. Keep caffeine to the earlier part of your day, and keep anything late small.

## GRADE

- Certainty: Moderate
- Magnitude: Small

Magnitude here is the effect on sleep duration, 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. https://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. https://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. https://doi.org/10.1093/sleep/zsae230
4. Weibel, J. et al. (2021). The impact of daily caffeine intake on nighttime sleep in young adult men. Scientific Reports. https://doi.org/10.1038/s41598-021-84088-x
