Caffeine has a half-life of roughly five to six hours, which means a mid-afternoon coffee can still be around a quarter active when your head hits the pillow. A common guideline is to stop eight to ten hours before sleep — but how much that matters depends a lot on how fast you clear it.
Half-life is the time it takes your body to clear half a dose. At roughly five to six hours, a 2 p.m. coffee is only halfway gone by around 8 p.m., and a quarter of it is still circulating near midnight. That lingering fraction is small but not nothing — and it stacks if you’ve had more than one cup through the day.
Stopping eight to ten hours before bed leaves enough time for most of a normal dose to clear, so the amount left at lights-out is low for most people. If you sleep at 11 p.m., that points to a last coffee somewhere between roughly 1 and 3 p.m. It’s a guideline, not a law — a starting point you can adjust once you see how your own sleep responds.
The sneaky part is that caffeine can blunt your sleep even when you fall asleep on time and feel like you slept fine. Studies suggest it tends to reduce deep, slow-wave sleep — the most physically restorative stage — more than it delays sleep onset. So the cost often shows up as a flatter, less refreshing night rather than obvious tossing and turning.
How fast you metabolise caffeine is largely genetic, and it shifts with age, certain medications, pregnancy and even whether you smoke. Two people can drink the same espresso at 4 p.m. and one sleeps fine while the other lies awake. That’s why a single universal rule can’t settle it — your own pattern is the only honest test. Treat your data, not the textbook number, as the verdict.
Vitra lets you log your caffeine and shows a personalised cut-off on your energy timeline — then surfaces the lag effect of caffeine on your deep sleep, all derived locally from your own Oura data, so you can see whether that late cup is quietly costing you the deep sleep you’d never notice losing.
Local AI on your Mac or PC. One-time purchase, 7-day trial, no subscription.
Download Vitra →