House Hati · Sleep5 min read

The caffeine cutoff: half-life math for real schedules

Your afternoon coffee keeps working long after you stop noticing it. The cutoff is arithmetic, not willpower.

Skol & Hati Editorial — every stat carries a named source
PUBLISHED 2026-08-15 · UPDATED 2026-08-15 · 5 SOURCES
XSummarize with AIChatGPTClaudePerplexity
The short answer
Caffeine's average half-life is about 5 hours: half of a 3 p.m. mug is still working at 8 p.m., a quarter at 1 a.m. In the classic trial, 400 mg disturbed sleep even 6 hours before bed; a meta-analysis gives one coffee an 8.8-hour cutoff. Count backward from bedtime, not forward from lunch.
An analog alarm clock on a nightstand in low dusk light

01How long does caffeine actually stay in your system?

Caffeine doesn't leave when the feeling does. In the average adult its half-life is about 5 hours — every 5 hours, whatever remains gets cut in half [1]. That's a slow staircase, not a trapdoor, and it's why the afternoon cup matters at midnight in a way the morning cup doesn't.

~5 HOURS — THE AVERAGE ADULT HALF-LIFE OF CAFFEINE
EVANS, RICHARDS & BATTISTI — STATPEARLS, NCBI BOOKSHELF, 2024 [1]

The mug matters too. Regular brewed coffee runs 113–247 mg per 12 oz by the FDA's accounting; black tea about 71 mg; energy drinks anywhere from 41 to 246 mg [2]. The table below uses a 200 mg mug as the house example — adjust for yours.

02Why is the 3 p.m. coffee a midnight problem?

Run one mug through the arithmetic and watch it outlast the afternoon.

Clock timeHours elapsedCaffeine left
3 p.m. — the mug lands0 H200 MG
8 p.m. — dinner5 H~100 MG
1 a.m.10 H~50 MG
6 a.m. — alarm15 H~25 MG
ARITHMETIC: 200 MG MUG × ~5 H HALF-LIFE [1] · BREWED 12-OZ COFFEE RUNS 113–247 MG [2]

At 1 a.m., roughly 50 mg is still on board — inside the FDA's caffeine range for a full 12 oz soda [2]. Nobody opens a soda at 1 a.m. and expects nothing. The 3 p.m. mug does the same job, just quietly.

A plain white mug of coffee gone cold on a bare desk as afternoon light turns blue
Two ideas like this, every Thursday. One day, one night. Free.

03How late is too late for caffeine?

The one head-to-head timing trial is blunt. 400 mg of caffeine — the FDA's entire daily reference in a single dose [2] — taken at bedtime, 3 hours before bed, or 6 hours before bed each measurably disturbed sleep versus placebo [3]. The authors' conclusion became the standard sleep-hygiene line: keep substantial caffeine a minimum of 6 hours away from bed [3]. Note what that is — a floor, not a target.

Pool the wider trial literature and the bill gets itemized: caffeine cost 45 minutes of total sleep, 7% of sleep efficiency, delayed sleep onset by 9 minutes, and added 12 minutes of mid-night wake [4]. Deep sleep specifically gave up 11.4 minutes [4]. The same review ran the clock backward and computed cutoffs: one standard coffee (107 mg) needs at least 8.8 hours of runway before bed; a standard pre-workout serving (217.5 mg) needs 13.2 [4].

8.8 H BEFORE BED — THE COMPUTED CUTOFF FOR ONE STANDARD COFFEE
SYSTEMATIC REVIEW & META-ANALYSIS — GARDINER ET AL., SLEEP MED REV, 2023 [4]

A separate systematic review lands on the same pattern — longer time to fall asleep, less total sleep, lower efficiency, less deep sleep, worse-rated nights — and adds the fine print: the damage tracks dose and timing, older adults may be more sensitive, and genes in the adenosine system help decide how hard caffeine hits your sleep [5].

04How do you set your own cutoff?

Run the subtraction from the bedtime you actually keep, not the one you'd like. Lights out at 10:30 p.m. minus 9 hours puts the last full coffee at 1:30 p.m. — the 8.8-hour finding, rounded to something a human remembers [4]. An early gym alarm or a kid who ends your evening early moves the cutoff earlier still. The math doesn't negotiate; it just slides.

Two honest adjustments. First, half-lives differ: smoking shortens caffeine's by up to 50%, pregnancy can stretch it toward 15 hours, and liver conditions or certain medications prolong it [1] — the cutoff that works for your coworker may fail you. Second, totals still count: the FDA cites 400 mg a day — about two to three 12 oz cups of coffee — as the amount not generally associated with negative effects for most adults [2].

ONE COFFEE (107 MG)8.8 H BEFORE BED [4]
PRE-WORKOUT (217.5 MG)13.2 H BEFORE BED [4]
TRIAL FLOOR AT 400 MG6 H MINIMUM [3]
FDA DAILY REFERENCE400 MG [2]

Sleep sits in tier one of the recovery hierarchy — and this is the rare tier-one upgrade that costs nothing and takes no minutes. It's not an evening discipline. It's a 2 p.m. decision.

A glass french press and unplugged grinder pushed to the back of a dark counter, moonlit window behind
Common questions
Does caffeine affect sleep even if I fall asleep fine?+
Falling asleep is the loudest metric, not the whole bill. In pooled trials caffeine also cut total sleep by 45 minutes, trimmed sleep efficiency by 7%, and took 11.4 minutes out of deep sleep [4] — losses a monitor records whether or not you notice them. Rated sleep quality dropped too [5].
When should I have my last coffee?+
The meta-analysis gives one standard coffee 8.8 hours of required runway before bed [4], and the classic trial showed even 6 hours wasn't clean at 400 mg [3]. House rule: bedtime minus 9 hours for the last full cup — earlier for anything stronger than one mug.
Is 400 mg of caffeine a day too much?+
For most healthy adults the FDA cites 400 mg a day — about two to three 12 oz cups of coffee — as not generally associated with negative effects [2]. Conditions, medications, and pregnancy change that math; the FDA's own advice is to take those cases to your health care provider [2]. And its toxicity warnings concern rapid doses around 1,200 mg from pure caffeine products — a different universe from coffee cups [2].
Sources
EVERY STAT ABOVE LINKS TO ONE OF THESE
[1]Evans J, Richards JR, Battisti AS. Caffeine. StatPearls, NCBI Bookshelf, updated 2024.
[2]US Food and Drug Administration. Spilling the beans: how much caffeine is too much? fda.gov, accessed 2026-08.
[3]Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med, 2013. · jcsm.aasm.org
[4]Gardiner C, Weakley J, Burke LM, Roach GD, Sargent C, Maniar N, Townshend A, Halson SL. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Med Rev, 2023. · academic.oup.com
[5]Clark I, Landolt HP. Coffee, caffeine, and sleep: a systematic review of epidemiological studies and randomized controlled trials. Sleep Med Rev, 2017. · academic.oup.com
General-audience information — not medical advice. Caffeine limits shift with medications, pregnancy, and health conditions — the FDA's advice, and ours, is to check yours with your clinician. No affiliate links in this breakdown. Last updated 2026-08-15.