Does stopping coffee in the afternoon really help my night's sleep?
One cup of coffee in the afternoon probably does not harm your sleep. Three to four cups can already ruin your night, even if you drink them early in the afternoon. Dose counts more than timing.
The advice is essentially correct, but the dose matters far more than the timing. One regular cup of coffee (about 100 mg of caffeine) does not measurably disrupt your sleep, even if you drink it 4 hours before bedtime. This is shown by a randomised double-blind study involving 23 men1.
Three to four cups (400 mg) is a completely different story. That amount caused demonstrable sleep disruption even when people drank the coffee as early as 12 hours before bedtime. Four hours before going to sleep, perceived sleep quality dropped by 34 percent. Even more concerning: people were less aware of the damage themselves than measurements revealed.
Caffeine works by blocking the brain's signal that builds up sleepiness. As a result, deep sleep decreases, which is the phase that restores your body and memory. So caffeine not only delays falling asleep, it also impairs the quality of sleep itself.
Do you drink coffee only in the morning and early afternoon, in normal amounts? Then you do not need to lie awake worrying about it. Another double-blind study with 20 young men found no significant sleep disruption with that pattern, compared with placebo2.
How sensitive you are also depends on your age and your genes. Older adults are more sensitive to caffeine than younger people. And genetic differences explain why one person sleeps fine after an afternoon coffee while another is awake all night3,4. These are associative findings, not hard cause-and-effect evidence, but they are practically useful.
Seven claims based on PMIDs 26899133, 39168560, 39377163, 33633278, 8438665 and 33388079. Multiple randomised double-blind crossover studies and observational research. No meta-analyses used as a primary source.