“Caffeine doesn’t affect me — I can have a coffee after dinner and sleep fine.” Possibly. But falling asleep and sleeping well are different things, and caffeine is quietly good at breaking the second one.
The half-life problem
Caffeine’s half-life is roughly 5 hours in a typical adult — meaning half of it is still circulating five hours later. A 3 pm coffee still has about a quarter of its caffeine in you at 1 am. Some people clear it far more slowly, which is why the same cup wrecks one person and not another. MedlinePlus has a general overview of caffeine.
A practical cutoff
| Target bedtime | Reasonable last coffee | Cautious cutoff |
|---|---|---|
| 10 pm | 2 pm | 12 pm |
| 11 pm | 3 pm | 1 pm |
| Midnight | 4 pm | 2 pm |
Use the cautious column if you are caffeine-sensitive, over 60, pregnant, or taking medication that slows caffeine clearance (some antibiotics and oral contraceptives do).
What it does even when you do fall asleep
Caffeine blocks adenosine, the molecule that builds sleep pressure through the day. Even when you drop off normally, evening caffeine tends to reduce deep sleep — so you wake feeling like you slept badly despite “sleeping fine.” That is the effect people miss when they say it does not affect them.
Hidden sources
Green and black tea, dark chocolate, some sodas, pre-workout formulas, and plenty of “energy” and weight-loss supplements — including green tea extract. If you take an evening supplement stack, check the labels; see our note on green tea extract.
L-Theanine (look for Suntheanine®)
- 100–200 mg, often paired with morning coffee
- Does not cancel caffeine — it takes the edge off the jitteriness
- No help with caffeine still in your system at bedtime
Vegan-friendly · inexpensive
Check Price →Cutting back without the headache
Withdrawal headaches are real and usually peak in the first couple of days. Reducing gradually over a week or two — one cup at a time, or half-decaf blends — avoids most of it. For the wider picture, see sleep basics.