
Last checked 2026-11-07. These are published figures for typical adults, not medical advice. Caffeine affects people very differently — if it is causing you trouble, talk to a clinician.
If you drink coffee at 2pm and go to bed at 11pm, part of that caffeine is still in you — how much depends on a number you can look up (CDC/NIOSH).
The calculator on this page lets you pick a half-life and see how much remains at the hour you choose.
Half-life is a clearance measure. Start with a quantity, wait one half-life, and half of it is gone. Wait another, and half of the remainder is gone, leaving a quarter of the original. The amount never reaches zero in this model; it keeps halving.
That produces a curve most people underestimate, because halving feels slower than it is at the start and faster than it is at the end.
| Half-lives elapsed | Share of the original dose remaining |
|---|---|
| 1 | 50% |
| 2 | 25% |
| 3 | 12.5% |
| 4 | 6.25% |
| 5 | 3.1% |
That table is arithmetic, not a published figure — but the arithmetic is the whole reason the half-life number matters. An eighth of a dose at bedtime is not the same as none (CDC/NIOSH).
Two sources appear here because they measure slightly different things and neither is wrong.
The review in Frontiers in Psychiatry gives 3 to 7 hours for adults (Temple et al.). That is a wide range, and the width is the finding: individual variation in caffeine metabolism is large.
The CDC's occupational guidance gives 5 to 6 hours (CDC/NIOSH). Two differences from the review: the tighter range, and the context — the CDC page is written for people managing long work hours, so it is describing a working population rather than the full spread of adults.
Neither source gives you your own number. A 3-hour metabolizer and a 7-hour metabolizer both read "3 to 7 hours" and both think it describes them (Temple et al.).
The same CDC page adds a figure that is useful for a different reason: onset at about 30 minutes, in a range of 15 to 45 (CDC/NIOSH). That is why the cup you drink at 2pm is not doing nothing at 2:15 and something at 4. It is arriving quickly and leaving slowly, which is an asymmetric shape most people treat as a simple on-and-off.
The useful calculation is a subtraction, repeated.
Step one: pick the half-life you want to use. 5 hours is the low end of the CDC range and a reasonable default. 7 hours is the cautious end. Using the cautious end is the right choice if the question is "will this keep me up" (CDC/NIOSH).
Step two: pick the hour you want caffeine to be low at. Lights out is the obvious anchor, but sleep onset is a process rather than an instant, so a common choice is an hour or two before bed.
Step three: count backwards in half-lives. From a 5-hour half-life and a target of 11pm, one half-life back is 6pm, two is 1pm, three is 8am (CDC/NIOSH).
Step four: decide how much you are willing to have left. This is the judgment the sources cannot make for you. The arithmetic can tell you that coffee at 1pm leaves a quarter of the dose at 11pm on a 5-hour half-life. Whether a quarter is acceptable is your call, and it is the only part of this that requires knowing yourself (CDC/NIOSH).
One worked example, using 5 hours — the low end of the CDC range — and clearly labeled as our arithmetic: a cup at 2pm, a 5-hour half-life, bedtime at 11pm. That is 9 hours, or 1.8 half-lives, which leaves about 29% of the dose. Using the 7-hour end instead, 9 hours is 1.3 half-lives, leaving about 41% (Temple et al.; CDC/NIOSH).
The gap between 29% and 41% for the same cup is the range between two people who both read the same label.
People tend to think about caffeine as a daily total: how many cups, how many milligrams. The half-life says something different — it says the timing carries as much weight as the amount.
Two cups at 8am and two cups at 6pm are the same total and very different nights, because the second pair has not had time to clear before bed. Any rule based on a daily limit alone misses that (CDC/NIOSH).
This is also why "I can drink coffee at night and sleep fine" is not evidence that caffeine is doing nothing. A half-life describes what is in your system; how much that matters to your sleep is a separate question, and one that varies as much as the half-life does.
They do not give a cutoff time. No official figure says "stop at 2pm". Any such rule is an inference from the half-life, and it should be presented as one (CDC/NIOSH; Temple et al.).
They do not describe your metabolism. The 3-to-7-hour range is a population range. What moves an individual's clearance is not something these sources cover, so picking a number off a page does not capture it (Temple et al.).
They do not measure your sleep. A half-life is a statement about concentration in the body, not about how a given person's sleep responds to it.
They do not agree on a single figure. Two reputable sources give 3–7 (Temple et al.) and 5–6 (CDC/NIOSH). A page that quotes only one without saying which is which is hiding a real difference.
The sentence worth keeping: the amount left at bedtime is a fraction, and the fraction depends on how many half-lives fit between the cup and the pillow. Everything else is choosing which half-life to believe.
Put your usual cup time and bedtime into the calculator on this page and try it with 3, 5 and 7 hours before you decide what your own rule should be (Temple et al.; CDC/NIOSH).
Updated 2026-11-09 · Sources retrieved 2026-11-07
This is a general explanation of the published half-life figures for caffeine, not medical advice. The percentages in the tables and examples are our arithmetic on those figures, not published values, and the 29% and 41% examples are illustrations. Individual metabolism varies widely and the sources here describe populations. For anything you will act on, speak with a clinician.
We check every report against the official source and update the page. See how on our Corrections.