1 Protocol
Half-life varies roughly two-fold between people, mostly via CYP1A2.
Clearance Timeline
The formula
Remaining = D × 0.5^(t / T½)
Full derivation and the conditions it holds under are in Method and basis, below.
Method and basis
How the figure above is derived, and when not to act on it.
Caffeine Half-Life: What Is Actually Left in Your Blood at Bedtime
Caffeine does not wear off. It is cleared, and clearance follows first-order kinetics — a constant *fraction* leaves per unit time rather than a constant amount. That distinction is the whole reason a half-life is the useful number: it is the only figure that stays the same no matter how much you drank, which makes the arithmetic of "how much is still in me" tractable on the back of an envelope.
The practical consequence is unintuitive. A 200 mg double espresso at 2 PM leaves roughly 100 mg at 7:30 PM and 50 mg at 1 AM — about a cup of coffee's worth of caffeine still circulating while you are trying to sleep.
The Elimination Curve
For a dose D taken t hours ago with half-life T½:
Remaining = D × 0.5^(t / T½)
That is the whole model. Because the exponent is a ratio, each successive half-life removes half of what remains rather than half of the original dose:
| Half-lives elapsed | Fraction remaining | From a 200 mg dose |
|---|---|---|
| 1 | 50% | 100 mg |
| 2 | 25% | 50 mg |
| 3 | 12.5% | 25 mg |
| 4 | 6.25% | 12.5 mg |
| 5 | 3.1% | 6 mg |
Absorption is not the bottleneck. Caffeine is absorbed almost completely from the gut, with peak plasma concentration reached about 30–60 minutes after an oral dose and bioavailability close to 100%. There is no meaningful first-pass loss, so the dose you drink is the dose you have to clear. The only thing that varies is how fast.
Why 5 Hours Is a Population Average, Not Your Number
The widely quoted 5-hour half-life is a central estimate for healthy non-smoking adults. The spread around it is large enough that the average is close to useless for an individual: reported half-lives in healthy adults range from roughly 1.5 to 9.5 hours, a more than six-fold span.
Almost all of that variation runs through a single enzyme. CYP1A2 performs around 95% of caffeine's primary metabolism, and its activity is both genetically variable and strongly inducible:
- Smoking induces CYP1A2 and shortens the half-life substantially — smokers clear caffeine roughly half again as fast as non-smokers. Quitting reverses this within days, which is one reason newly abstinent smokers often feel unexpectedly wired on their usual coffee.
- Combined oral contraceptives inhibit CYP1A2 and roughly double the half-life.
- Pregnancy slows clearance progressively, with third-trimester half-lives reported around twice to three times the non-pregnant value.
- CYP1A2 genotype (commonly typed at rs762551) separates faster from slower metabolisers among people with none of the above.
The Sleep Evidence Is Stronger Than the Folk Rule
The common advice to stop caffeine "six hours before bed" is not arbitrary, and it is not conservative either.
Drake and colleagues (*Journal of Clinical Sleep Medicine*, 2013) gave 400 mg of caffeine at 0, 3, and 6 hours before habitual bedtime and measured sleep both by self-report and with a validated portable monitor. All three timings significantly disturbed sleep relative to placebo — including the dose taken six hours before bed, which reduced objectively measured total sleep time by more than an hour.
Two details matter more than the headline:
1. Participants did not notice. Subjective reports did not track the objective disruption. People reliably underestimate what an afternoon coffee costs them, because the thing being damaged is sleep depth and continuity, not the feeling of being able to fall asleep. 2. It was a small, fixed-dose study. Twelve healthy normal sleepers, all given 400 mg regardless of body size. That is roughly two large coffees, and a larger dose than most people have in the afternoon. Treat the six-hour figure as a well-motivated floor, not a precise threshold, and scale your own caution to your own dose.
The mechanism is specific: caffeine is an adenosine receptor antagonist. Adenosine accumulates through waking hours and is the principal driver of sleep pressure, so blocking its receptors does not just delay sleep onset — it suppresses the depth of the sleep you do get.
Reading the Number This Tool Gives You
The calculator reports what remains after one and two half-lives, and separately what remains six hours after your dose, because that six-hour figure is the one with trial evidence attached to it.
What to do with it:
- Under about 25 mg at bedtime is roughly a cup of green tea and unlikely to be the thing wrecking your sleep.
- 50–100 mg at bedtime is a real dose still on board. If your sleep is fragmented and you cannot explain why, this is the first thing to move.
- Above 100 mg at bedtime means your last dose was too large, too late, or both.
For dosing caffeine deliberately before training rather than trying to get rid of it, see the caffeine pre-workout calculator, which works from the 3–6 mg/kg ergogenic range instead.
WinSport Editorial & Research Standards
All formulas and reference values used in this tool are sourced from peer-reviewed scientific literature and validated clinical guidelines. Our research team continuously audits each calculator for accuracy and updates methodology as new evidence emerges.
Read the Science
Sports Science Articles- Caffeine Accumulation: The Maths of Four Coffees in One DayEach cup of coffee doesn't clear before the next one arrives. Caffeine accumulates across doses via half-life stacking. Here's the pharmacokinetics — and why it matters for sleep and performance.5 min read
- Is Caffeine a Diuretic? The Hydration Myth, TestedArmstrong 2002 and Killer 2014 both confirmed coffee hydrates as well as water. The caffeine diuretic myth persists in sport — here's what the evidence actually shows.5 min read
- Caffeine Half-Life: Exactly How Long Caffeine Stays in Your System8 min read
Explore More Tools
View All Tools- Caffeine Metabolism TrackerScientific analysis of how your body clears caffeine based on genetics, smoking, and medication.
- Caffeine Pre-Workout CalculatorDetermine your ideal caffeine dosage for peak athletic performance without the jitters.
- Melatonin Timing CalculatorCalculate the optimal time to take Melatonin for jet lag or sleep onset.
Get the weekly research brief
One email per week. New calculators, methodology updates, and sports science summaries.