😴 Sleep · 11 min read · Subtopic 1 of 5

Caffeine half-life math

"No caffeine after 2pm" is decent advice built on a number almost nobody checks: the half-life. This page does the arithmetic — what actually remains in your bloodstream at 11pm — and explains why your curve may look nothing like the population average. The endpoint is not a rule you obey; it's a two-week experiment that finds your own curfew.

🔎 Evidence Snapshot ★★★★☆ Strong — decades of controlled sleep-lab studies; individual variation is the open question

What the evidence supports

  • In healthy adults, caffeine's half-life averages roughly five hours, and sleep disturbance from a fixed dose is measurable for many hours after that.
  • Caffeine taken even six hours before bed measurably reduces total sleep time (Journal of Clinical Sleep Medicine, 2013).
  • Clearance varies widely between people — roughly 1.5 to 9.5 hours in healthy adults — driven by genetics, smoking, hormones, and liver function.

What remains uncertain

  • Commercial genetic tests that promise to classify you as a "fast" or "slow" caffeine metabolizer have a mixed track record.
  • Whether sleep damage tracks blood levels alone, or also receptor sensitivity in the brain, is not fully resolved.
  • Population cutoffs (2pm, 400 mg/day) are rough guides — they were never validated as personal rules.

Evidence last reviewed: August 15, 2026. Conclusions may change as new research is published.

the countdown in your bloodstream

The Rule Everyone Quotes — and Where It Comes From

A drug's half-life is the time it takes your body to clear half of it. Caffeine's is usually quoted as five to six hours, and that figure comes from pharmacokinetic studies in healthy adults: after one half-life, 50% remains; after two, 25%; after three, 12.5%. The parent saboteurs topic covers what caffeine does (it blocks adenosine, the molecule that builds your sleep pressure). This page is about the numbers underneath that mechanism — because the numbers are what decide whether your afternoon cup is still working against you at midnight.

The cleanest way to feel the math is a worked example. Say you have 200 mg of caffeine — roughly a large brewed coffee — at 2pm, and your half-life is the typical 5.5 hours. At 10pm, about a third of the dose (~70 mg) is still circulating. At 2am, roughly a fifth (~45 mg) remains. That late dose is not a rounding error: it is comparable to a full shot of espresso, arriving exactly when your brain is trying to build deep sleep.

~5.5 h
Typical half-life in healthy adults — the number the 2pm rule is built on
1.5–9.5 h
Reported half-life range across healthy adults — a sixfold spread between people
~⅓
Of a 2pm dose still circulating at 10pm for a typical metabolizer

Same Dose, Different Curve

The population average hides the actual distribution. The chart below shows how much of a 2pm dose is still in the blood at 11pm, by metabolizer type:

What's Left at 11pm: Three Metabolizers, One 2pm Dose
Illustrative decay for a 100 mg dose taken at 2pm, using half-lives at the fast, typical, and slow ends of the healthy-adult range.
The dose at 2pm 100% Slow (~9 h) ~50% Typical (~5.5 h) ~32% Fast (~3 h) ~12% The same 2pm coffee leaves four times more caffeine in a slow metabolizer at bedtime than in a fast one — without any difference in how the two felt at 3pm.

Your Half-Life Is Not the Population Average

Caffeine clearance is dominated by one liver enzyme, CYP1A2, and that enzyme's activity is all over the map. The main drivers:

The practical consequence: any cutoff time you read is an average built for someone else. A 3pm coffee that a fast metabolizer clears to 12% by 11pm leaves a slow metabolizer at 50%. Both people "feel fine" at dinner.

FactorEffect on half-lifeDirection of the error if you use population advice
🚬 Cigarette smokingShortens (~2× faster clearance)Smokers can tolerate later caffeine than the 2pm rule suggests
💊 Estrogen-containing contraceptivesLengthens (~2× slower)The 2pm rule is not conservative enough — earlier curfew warranted
🤰 Pregnancy (3rd trimester)Lengthens substantiallyStandard cutoffs underestimate exposure at night
🧬 Slow CYP1A2 geneticsLengthensSame dose, much more caffeine present at lights-out
🫁 Liver impairmentLengthensCaffeine becomes a much longer-acting drug

Feeling Fine Is Not the Test

The most important study in this literature is unglamorous. Researchers gave healthy people 400 mg of caffeine — a large but common daily amount — at bedtime, three hours before bed, or six hours before bed (Journal of Clinical Sleep Medicine, 2013). Every timing condition cut total sleep time by roughly an hour and worsened subjective sleep, with effects detectable even at six hours out. The part people remember: participants frequently did not perceive the damage. Sleep was objectively shorter; mornings were not dramatically different to them.

EEG studies tell the same story under the hood. A moderate caffeine dose before sleep reduces slow-wave activity — the electrical signature of deep sleep — even when people fall asleep normally (Neuropsychopharmacology, 1995). Caffeine does not need to keep you awake to hurt you; it can let you fall asleep and then quietly thin out the deep stages. That is why "I can have an espresso after dinner and still sleep fine" is usually a claim about feeling fine, not sleeping fine — a distinction the deep sleep topic makes central.

☕ The curfew experiment, in one box

For two weeks, stop all caffeine by noon (yes, noon — the point is to overshoot). Keep your bedtime, wake time, and alcohol habits unchanged. Track just three things each morning: minutes to fall asleep, number of awakenings, and a 1–10 morning-grogginess score. If nothing changes, you are a fast metabolizer and can walk your curfew later in hourly steps each week until you find the boundary. If sleep clearly improves, your real curfew is earlier than every piece of generic advice told you. Either way you now own a number that is yours — which is the entire point.

Tolerance, Withdrawal, and the Decaf Footnote

Two confusions trip people up. First, tolerance is not the same as metabolism. With daily use, your brain adapts so that a given dose feels less stimulating — but the molecule still blocks adenosine receptors, and the sleep architecture costs remain measurable in habitual users. Tolerance can also backfire through withdrawal: overnight abstinence produces morning headaches and sluggishness that people attribute to poor sleep, then treat with the morning coffee that perpetuates the cycle.

Second, decaf is not zero — a cup carries roughly 3–5 mg, and "half-caf" drinks hide a real dose. In someone with a long half-life who drinks a large decaf at 9pm, that residue is minor; in a fast metabolizer it is negligible. The lesson is not decaf paranoia but arithmetic hygiene: count the total daily load, not the individual cup, because it is the tail of the day's caffeine — the part still uncleared at 11pm — that your brain experiences. The daily-ceiling and source-by-source numbers live on the parent topic.

Questions, Answered Briefly

The Bottom Line

  1. Half-life is arithmetic, not opinion. At a typical 5.5-hour half-life, a 2pm coffee still leaves about a third of its dose circulating at 10pm — roughly a shot of espresso arriving at deep-sleep time.
  2. Your curve is not the average. Real half-lives span roughly 1.5 to 9.5 hours. Smoking shortens them; oral contraceptives, pregnancy, and slow CYP1A2 genetics lengthen them.
  3. Feeling fine proves nothing. Six-hours-before-bed caffeine cut sleep by about an hour in a controlled study without participants reliably noticing (Journal of Clinical Sleep Medicine, 2013).
  4. Find your number. A two-week noon-curfew experiment, with three morning metrics, converts generic advice into a personal curfew you can trust.

Related Topics

Sources & further reading