Guide · sleep · 3 min read
When to drink coffee so it does not ruin your sleep — what to try first, when you have already had a long week
Caffeine has a long tail. The cup at 3pm is still in your system at 9pm, whether you feel it or not.
Start here
Here is what tends to work, in the order that helps most.
Long weeks are cumulative. This is a small subtraction.
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.
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.
Caffeine peaks in your blood about thirty to sixty minutes after drinking, and takes roughly five to six hours to halve.
What to do when it does not work
Watch for the sources that are easy to forget: tea, cola, energy drinks, chocolate, some painkillers.
Do not judge by whether you feel wired. Habitual drinkers stop feeling the effect long before it stops affecting sleep.
A reasonable cut-off for most people is early afternoon. If you are sensitive, make it noon.
Questions people ask
Does decaf work?
Decaf still contains a small amount, but it is usually low enough not to matter. It also keeps the ritual, which is half of the habit.
Written for people who want the practical version. No accounts, no tracking, no newsletter wall.
If this is not the angle you need, try Breathing exercises that help during panic — what nobody tells you, when you want to finish something, A wind-down that starts before you are tired — a short read, if you are doing this instead of scrolling or How to study when you cannot concentrate — the basics, done properly, when you need to stop thinking about work.