Guide · sleep · 3 min read
When to drink coffee so it does not ruin your sleep — the long answer, briefly, if you are doing this in the middle of the day
Caffeine has a long tail. The cup at 3pm is still in your system at 9pm, whether you feel it or not.
Start here
Every point here is written so that a bad week is still enough to manage it.
Midday is an underrated time for this.
If you only do one thing from this page, do the first point below. It is first because it removes the most friction for the least effort.
What helps
Drink your last coffee before you feel tired. Using it as a rescue at 4pm is what pushes the problem into the night.
Watch for the sources that are easy to forget: tea, cola, energy drinks, chocolate, some painkillers.
If you are cutting down, do it gradually. Going from four cups to none produces a headache that people mistake for proof they need caffeine.
What to do when it does not work
A reasonable cut-off for most people is early afternoon. If you are sensitive, make it noon.
Caffeine peaks in your blood about thirty to sixty minutes after drinking, and takes roughly five to six hours to halve.
Do not judge by whether you feel wired. Habitual drinkers stop feeling the effect long before it stops affecting sleep.
Questions people ask
What about caffeine before a nap?
A short nap straight after a coffee is a real technique, but it only works if the coffee is before 2pm.
Written for people who want the practical version. No accounts, no tracking, no newsletter wall.
If this is not the angle you need, try Waking up anxious for no obvious reason — where to start, if you have five quiet minutes, How to get through the first hour without your phone, without the usual nonsense, after eating too much or Do you actually need eight glasses of water — the essentials, when you have tried everything else.