Your Afternoon Coffee Is Still Awake at Midnight
Caffeine hangs around longer than you think. How to time your coffee so it helps your day without wrecking your night.
MEN Editorial
14 Oct 2026 · 1 min read

Coffee is one of life's pleasures, and moderate intake is linked with some health benefits. The problem isn't coffee. It's timing.
How long it lasts
Caffeine blocks adenosine, a chemical that builds up in your brain during the day and makes you feel sleepy. Its half-life is roughly five hours on average, though it varies a lot between people. That means half the caffeine from a 4pm coffee may still be in your system at 9pm.
In one study, caffeine taken six hours before bed still cut total sleep time by more than an hour, even though people didn't notice it.
You can fall asleep on caffeine. You just sleep worse.
How much
For healthy adults, up to about 400mg of caffeine a day is generally considered safe by the European Food Safety Authority. Roughly:
- Filter coffee: about 90 to 140mg a mug
- Espresso: about 60 to 80mg a shot
- Tea: about 40 to 50mg a mug
- Energy drink: about 80mg a small can, often much more in large cans
- Cola: about 30 to 40mg a can
Timing tips
- Have your last caffeine at least eight hours before bed, so around 2pm if you sleep at 10pm
- Delay your first coffee until you've been up a little while if it helps you avoid an afternoon crash
- Switch to decaf, herbal tea or water in the afternoon
- Watch hidden caffeine in pre-workout drinks, chocolate and some painkillers
The vicious cycle
Poor sleep makes you reach for more caffeine, which makes the next night worse. If you're relying on several coffees to function, look at your sleep rather than your mug.
Sources
- Drake C et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 2013
- European Food Safety Authority: Scientific opinion on the safety of caffeine, 2015
- Sleep Foundation: Caffeine and sleep
Not medical advice. This information is for education only. Talk to your doctor about your own health, symptoms and screening.
Got a story of your own?
Write a post