Caffeine's half-life is about 6 hours. That 3pm coffee still has roughly half its caffeine active in your system at 9pm, and it is cutting into your deep sleep even when you feel no stimulant effect at all.
Contents
- What caffeine's half-life means
- What caffeine does to your sleep
- Why it hits some people harder
- The loop this creates
- When to actually cut off
- How to break the pattern
The short version
Most people assume they are fine because they can fall asleep after an afternoon coffee. The research disagrees. Caffeine taken 6 hours before bed measurably cuts total sleep time and suppresses deep sleep, even when you notice nothing at the time. And the tiredness driving tomorrow's afternoon coffee is often tonight's disrupted sleep. The loop runs until something breaks it.
What caffeine's half-life means
Half-life is how long your body takes to clear half of a substance from your bloodstream. For caffeine that is about 6 hours in most adults, though the range is wide: as little as 2 hours, as long as 10, depending on genetics, age and hormones. Full clearance takes longer than the half-life suggests, and we cover it in how long caffeine stays in your system.
Follow a 200 mg coffee at 3pm through the evening:
- 3pm. 200 mg, full dose.
- 9pm. Around 100 mg still active, roughly an espresso, as you start winding down.
- 3am. Around 50 mg, still working, in the middle of the night.
And clearance is only half the story. Sleep quality does not only depend on whether caffeine is still present when you close your eyes.
What caffeine does to your sleep
Caffeine blocks adenosine receptors. Adenosine is the chemical your brain builds up through the day to create sleep pressure, the drive that makes you progressively sleepier. Block it and you suppress that pressure.
The trouble at night is that caffeine can still be in your system when you want to sleep, and the studies below show it affects sleep even when you feel nothing.
What the measurements show
A 2023 systematic review and meta-analysis in Sleep Medicine Reviews found caffeine consumption reduced total sleep time by an average of 45 minutes and sleep efficiency by 7%. Deep sleep, stages N3 and N4, fell by 11.4 minutes a night, with light sleep increasing in its place (Sleep Medicine Reviews, 2023).
Deep sleep is when most physical recovery happens. Growth hormone releases and tissue repair occurs in that stage. Eleven minutes sounds trivial until you multiply it by a week.
The more striking result came from a Wayne State University study that gave people caffeine at 0, 3 or 6 hours before bed. The 6-hour group reported feeling no stimulant effect whatsoever. They still lost more than an hour of sleep compared with placebo (PMC/NIH, 2013).
Feeling no stimulant effect is not evidence that caffeine is not affecting your sleep. It means the dose has dropped below what you consciously notice, while staying high enough to suppress the deeper stages.

Why it hits some people harder
A variant in the CYP1A2 gene sets how fast your liver metabolises caffeine.
- Fast metabolisers. Clear it in 3 to 4 hours.
- Slow metabolisers. 7 to 10 hours or more. A 2pm coffee may not fully clear until the early hours.
- On hormonal contraceptives. Half-life can double, with recorded clearance times beyond 10 hours.
- Over 40. Metabolism slows with age, so a habit that caused no problems at 25 starts costing you sleep with nothing else having changed.
This is why two people can drink the same afternoon coffee and one sleeps fine while the other is staring at the ceiling at 1am. It comes down to the liver.
The loop this creates
Disrupted sleep, even the mild kind you do not consciously register, increases daytime fatigue. That fatigue gets met with more caffeine, usually in the afternoon. That caffeine disrupts the next night. The loop feeds itself.
Data from roughly 160,000 Sleep Foundation user profiles found about 88% of people who regularly drink caffeine in the afternoon report at least one sleep problem. Not a coincidence.
At high enough intake, your daytime caffeine has stopped offsetting natural sleepiness. It is offsetting the sleep debt that caffeine produced the night before. The dose required keeps climbing as sleep quality keeps falling.
This is one of the more concrete reasons tolerance builds faster than people expect. Adapting to the dose is only part of it. The accumulated sleep deficit raises the floor of what you need to feel human each morning. Our guide to caffeine tolerance covers how it builds and how long it takes to undo.
When to actually cut off
The 2pm rule is widely cited and fine as a starting point. Counting backwards from your target bedtime by 8 to 10 hours is more accurate.
For a 10pm bedtime:
- Most people. Cut off between noon and 2pm.
- Slow metabolisers. Earlier.
- On hormonal contraceptives, or over 40. Aim for noon. Given the physiology, that is realistic.
Two more things worth knowing. Most health bodies put the daily ceiling at 300 to 400 mg, and plenty of people clear that before lunch. And decaf is not zero: most cups carry 5 to 15 mg, which matters after 3pm if you are a slow metaboliser.
If you have never added up a full day, our caffeine calculator does it in about a minute and shows how much is still circulating at bedtime. That second number is usually the uncomfortable one. For the morning side of the same question, see the best time to drink coffee.
How to break the pattern
The afternoon coffee is rarely about enjoying a coffee. It is covering an energy deficit that built up through the day, and partly through the night before. More coffee delays the repair.
Letting adenosine accumulate naturally through the afternoon tends to produce better evening tiredness, deeper sleep and a milder slump the next day. This feels wrong until the sleep improves enough to notice.
Bringing your total down gradually avoids the headaches that come with stopping abruptly, which we covered in the caffeine withdrawal timeline.
The Uncaffed Reset runs that step-down on a fixed schedule over 20 days, 160 mg a day then 120, 80, 40, none, holding each level for five days. It carries L-theanine alongside the caffeine throughout. Flow then runs at a constant dose for the full 30 days with no added caffeine, carrying magnesium, which contributes to the reduction of tiredness and fatigue, and pantothenic acid, which contributes to normal mental performance.
For most people who finish, the outcome is not giving up coffee. It is one or two in the morning, properly felt, cleared long before bed.
Want your sleep back?
Preorders are open. Kits ship by 30 October. Read the science if you want the full picture before deciding.