Caffeine Half-Life: Why Your Afternoon Coffee Can Affect Sleep

Caffeine has an average half-life of about five hours in healthy adults. That means roughly half can still be in your system five hours after you have it, not that it has worn off completely. The exact timing varies between people. A National Academies review explains the pharmacology.
Coffee isn't necessarily the problem. But if you're using caffeine to get through the afternoon and then struggling to sleep at night, that pattern deserves a closer look. The question is whether the amount you're drinking, and when you're drinking it, are working for you.
What does caffeine half-life actually mean?
Half-life is the time it takes for the amount of caffeine in your body to fall by half. Using five hours as an illustration, 200 mg would fall to roughly 100 mg after five hours and 50 mg after ten hours. That's a simplified example, not a prediction of your own metabolism or a recommended amount to drink.
It helps explain why the afternoon boost can fade while caffeine is still in your system at bedtime. It also explains why a single rule about the last coffee of the day won't fit everyone.
Feeling awake isn't the same as being rested
Caffeine makes you feel more alert by blocking adenosine receptors involved in signalling sleepiness. It doesn't replace the sleep your body needs. You can feel more awake without having addressed why you were tired in the first place.
That distinction is what stood out in the Huberman Lab conversation with sleep researcher Dr. Matthew Walker that inspired this article. Rather than turning it into another set of rules about the perfect routine, it's worth asking a simpler question: is caffeine helping you through the day at the expense of your night?
The amount matters as much as the timing
In a randomised crossover study of 23 young adult men, researchers compared 100 mg and 400 mg of caffeine taken at different times before bed. The higher dose affected sleep even when taken much earlier in the day, and participants didn't always recognise the changes the researchers measured.
It was a small study in a specific group, so it doesn't give everyone a universal coffee cutoff. But it does challenge the idea that falling asleep easily means caffeine has had no effect. How long you sleep, whether you wake during the night and how you feel the next morning also matter.
Health Canada recommends a maximum daily intake of 400 mg for adults and 300 mg for people who are pregnant, breastfeeding or planning to become pregnant. Those are maximums, not targets, and staying below them doesn't guarantee that your sleep will be unaffected.
A cup of coffee also isn't a consistent measure. The size and preparation change how much caffeine you're getting, and tea, cola and chocolate can add to the total. Looking at what you actually consume is more useful than counting cups.
How long before bed should you stop drinking caffeine?
If you want to see whether caffeine is affecting your sleep, start with a change you can keep up. Move the afternoon coffee earlier, choose a smaller serving or switch it to decaf. You can keep the break without keeping the same amount of caffeine.
HealthLink BC recommends avoiding caffeine for at least four to six hours before bedtime. That's a starting point rather than a guarantee, particularly with higher amounts or if you're more sensitive to caffeine.
For a week or two, keep simple notes about when you have caffeine, when you go to bed, whether you wake during the night and how you feel in the morning. Change one habit at a time so you can see a pattern rather than trying to explain one good or bad night.
Caffeine is only part of the picture. A consistent wake-up time and a quiet, dark, comfortable room matter too. The aim is to understand what's getting in the way of sleep, not to make your routine more complicated.
When to get help
Before adding a sleep aid or supplement, speak with a pharmacist. If sleep problems persist or affect your daily life, speak with a healthcare professional rather than continuing to troubleshoot them on your own. Don't change prescribed medication based on a podcast or article.
Have questions about caffeine, medications or supplements and your sleep? Contact Kiwi to speak with a pharmacist or call 778-940-1950. Learn more about our Pharmacy & Wellness services in Kelowna.
This article is general educational information, not individual medical advice.



