Home › Blog › Nutrition, Diet & Macros
Nutrition, Diet & MacrosHow long caffeine really stays in your body
A coffee at 8 am feels like ancient history by 8 pm, so it is easy to assume caffeine has long gone. It has not. Caffeine is cleared from the body gradually, with a half-life, the time for half of it to be eliminated, of roughly five hours in most healthy adults. That single number explains a surprising amount of everyday experience: why a late-afternoon coffee can still disturb sleep, why a morning coffee still contributes to afternoon alertness, and why people who drink coffee all day often feel wired at midnight without connecting the two.
Half-life arithmetic is simple once you see it. Drink 200 milligrams of caffeine, roughly a large brewed coffee, at 8 am. By 1 pm, about 100 milligrams remain. By 6 pm, about 50 milligrams remain. By 11 pm, about 25 milligrams remain, which is roughly the amount in a small cup of tea, still enough to lighten sleep for a sensitive sleeper. The caffeine does not vanish at some cutoff point; it decays in halves, and the tail is longer than most people expect.
Key takeaways
- Caffeine's half-life is roughly five hours, so it decays in halves rather than disappearing at once.
- After 200 mg at 8 am, about 50 mg remains at 6 pm and 25 mg at 11 pm.
- Individual half-lives vary from about four to eight hours with genetics, smoking, pregnancy and medication.
- Multiple doses stack: each new coffee adds to what is still left from earlier ones.
Half-life in plain terms
Half-life is a way of describing exponential decay, which is how the liver clears many substances. If the half-life is five hours, then after one half-life half remains, after two half-lives a quarter remains, after three an eighth, and so on. The amount never quite reaches zero in the mathematics, but after four or five half-lives, twenty to twenty-five hours, the remaining amount is small enough to be negligible for most people. This is why a coffee on Monday morning has no meaningful effect on Tuesday night, while a coffee on Monday evening certainly affects Monday night.
It helps to think of caffeine as a balance that fills with each drink and drains at a steady proportional rate. The balance at any moment depends on the size and timing of every recent dose, not just the last one. A person who drinks coffee at 7 am, 10 am and 2 pm does not have three separate caffeine episodes; they have one balance that rose three times and drained between rises, and by evening that balance may be higher than after any single coffee alone. This stacking effect is why total daily caffeine matters alongside the timing of the last cup.
Why half-life varies between people
The five-hour figure is an average, and individual half-lives commonly range from four to eight hours. Genetics plays a large role: some people carry a version of the liver enzyme that breaks down caffeine quickly, and they can drink coffee late with little effect, while slow metabolisers feel a single afternoon coffee until midnight. This genetic difference also explains why blanket advice about caffeine cutoffs fails for some people: the same dose at the same time is a different experience in a fast and a slow metaboliser.
Other factors shift the half-life too. Smoking speeds caffeine clearance, so smokers often need more caffeine for the same effect and clear it faster. Pregnancy slows clearance dramatically, especially in the third trimester, when the half-life can roughly double, which is one reason pregnancy caffeine guidance is stricter. Certain medications, including some antibiotics and oral contraceptives, slow clearance, while liver disease does the same. Age, surprisingly, has a modest effect in healthy adults, with older adults clearing caffeine only slightly more slowly than younger ones.
How much caffeine is in common drinks
Estimates vary by brand and preparation, but useful averages are: brewed coffee about 95 milligrams per 240-millilitre cup, espresso about 63 milligrams per single shot, instant coffee about 60 milligrams per cup, black tea about 45 milligrams, green tea about 30 milligrams, cola about 35 milligrams per 330-millilitre can, and energy drinks anywhere from 80 to 160 milligrams per can. A large coffee-shop drink can contain 200 to 300 milligrams, equivalent to two or three home cups, which is why "one coffee" is a poor unit for tracking intake.
Chocolate, decaf coffee and some painkillers add smaller amounts: a bar of dark chocolate may contain 20 to 30 milligrams, decaf coffee still contains 2 to 5 milligrams per cup, and some combination painkillers include caffeine to enhance pain relief. None of these alone is large, but they contribute to the daily balance, and a sensitive sleeper who is careful about coffee while eating dark chocolate late in the evening may be puzzled by the result. Tracking total milligrams, even roughly, for a week usually reveals at least one surprise source.
| Drink (typical serving) | Caffeine approx. | Remaining after 5 hours |
|---|---|---|
| Brewed coffee, 240 ml | 95 mg | About 48 mg |
| Espresso, single shot | 63 mg | About 32 mg |
| Black tea, 240 ml | 45 mg | About 23 mg |
| Green tea, 240 ml | 30 mg | About 15 mg |
| Cola, 330 ml | 35 mg | About 18 mg |
| Energy drink, 250 ml | 80 mg | About 40 mg |
What the lingering tail does to sleep
Caffeine works mainly by blocking adenosine, a chemical that builds up during wakefulness and promotes sleepiness. Even a modest amount of caffeine in the evening can therefore reduce deep sleep, increase time to fall asleep, and cause more night wakings, even in people who believe they are insensitive to it. Studies that measure sleep objectively often find effects in people who report no subjective problem, which suggests that "coffee doesn't affect me" sometimes means "I fall asleep anyway" rather than "my sleep is unaffected".
The practical implication is to work backwards from bedtime using half-life arithmetic rather than relying on feeling. If your bedtime is 11 pm and you want less than about 25 milligrams remaining at that point, then a 200-milligram coffee must be finished by roughly 8 am, a 100-milligram coffee by about 1 pm, and a 50-milligram tea by about 6 pm. Those numbers surprise most people, and they explain why a single afternoon coffee can be the difference between a good and a poor night for a sensitive sleeper. A tracker that models this decay makes the arithmetic visible; the Caffeine Half-Life Tracker plots your active caffeine level from the timing and size of each drink.
Common mistakes with caffeine timing
The first mistake is counting only the last drink, ignoring the stack from earlier in the day. The second is assuming that feeling awake means caffeine has cleared, when in fact tolerance can mask its presence: a habitual drinker may feel tired despite substantial caffeine still in the system, because the body has adapted to its presence. The third is treating decaf as caffeine-free, which it is not, though the amount is small.
A fourth mistake is using caffeine to compensate for chronic short sleep, which creates a cycle: poor sleep leads to more caffeine, which leads to poorer sleep. Breaking that cycle usually requires a temporary period of lower energy, as caffeine is reduced and sleep debt is repaid, before the new pattern feels better. The short discomfort is worth enduring, because the alternative is a stable but degraded equilibrium of tired days and light nights.
The short version
Caffeine decays with a half-life of about five hours, so a morning coffee still leaves a meaningful tail by evening, and multiple drinks stack on top of each other. Individual half-lives vary with genetics, smoking, pregnancy and medication, and the amount in a drink varies widely by type and serving size. Work backwards from bedtime, count total milligrams rather than cups, and remember that feeling tired does not mean caffeine has gone; it may mean you have simply adapted to its presence.
Put it into practice
The tool this article leans on: Caffeine Half-Life Tracker — Active caffeine level in the body from coffee/tea timing. Open it alongside this guide and run your own numbers.
Open the Caffeine Half-Life Tracker →