Caffeine Half-Life Explained: How Long Caffeine Really Stays in Your System
If you have ever sworn off afternoon coffee because “caffeine lasts six hours,” you were half right. Caffeine does not simply wear off at some fixed hour. It decays — gradually, predictably, and at a rate that differs from person to person. The concept that describes this decay is half-life, and once you understand it, most of the folk rules about coffee and sleep start to make a lot more sense.
What “half-life” actually means
A half-life is the time it takes for your body to eliminate half of a substance. If you drink a coffee containing 200 mg of caffeine and your half-life is 5 hours, then roughly 100 mg is still circulating 5 hours later. After 10 hours, about 50 mg remains. After 15 hours, about 25 mg. The amount keeps halving rather than dropping to zero — which is why caffeine can still be measurable in your blood the next morning.
Research summarized by the Sleep Foundation and the National Academies’ review of caffeine pharmacology puts the average adult half-life at roughly 5 hours, but the honest range is wide: about 2 hours on the fast end to 12 hours on the slow end, depending on the person and their circumstances. That spread is enormous. Two colleagues can share the same 4 pm latte, and one is fine at bedtime while the other is wide awake at 1 am — both behaving completely normally for their own biology.
A worked example
Say you drink a 16 oz brewed coffee with about 300 mg of caffeine at noon, and your half-life is 5 hours:
| Time | Hours elapsed | Caffeine remaining |
|---|---|---|
| 12:00 pm | 0 | ~300 mg (after absorption) |
| 5:00 pm | 5 | ~150 mg |
| 10:00 pm | 10 | ~75 mg |
| 3:00 am | 15 | ~37 mg |
| 8:00 am | 20 | ~19 mg |
Notice that at a typical 10–11 pm bedtime, you would still carry roughly 75 mg — close to a full espresso shot’s worth — from a drink you finished eleven hours earlier. You probably would not feel buzzed; the stimulating sensation fades after 4–6 hours for most people. But research reported by Healthline and the Sleep Foundation indicates the residual caffeine can still fragment sleep: longer time to fall asleep, less deep sleep, more awakenings you may not even remember.
What changes your personal half-life
Caffeine is metabolized mainly by a liver enzyme called CYP1A2, and the activity of that enzyme varies widely. Well-documented factors include:
- Genetics. Variants of the CYP1A2 gene make some people fast metabolizers and others slow. This is the biggest reason for the 2–12 hour spread.
- Pregnancy. Half-life lengthens substantially during pregnancy, which is one reason health authorities advise pregnant people to limit caffeine and consult their clinician.
- Oral contraceptives and some medications. Certain medications slow caffeine clearance; others speed it up. If you take regular medication, your “normal” may differ from the average.
- Smoking. Smoking induces CYP1A2 and can substantially shorten half-life — one reason people who quit smoking sometimes suddenly find coffee “stronger.”
- Liver function and age. Anything affecting the liver can affect clearance.
Because so many of these factors are invisible day to day, the practical move is not to memorize enzyme biology — it is to observe yourself. If afternoon caffeine reliably costs you sleep, you are probably on the slower side, whatever the population average says.
Half-life is not the whole story: absorption matters too
Caffeine does not hit your bloodstream instantly. It is absorbed through the gut over a short window — peak blood levels typically arrive within 30–60 minutes of drinking. That is why a proper decay model includes an absorption phase before decay begins: your level ramps up, peaks, and then follows the halving curve. Sipping a large cold brew over two hours produces a very different curve than downing a double espresso in two minutes, even at identical total milligrams.
Using half-life thinking to protect your sleep
You do not need lab equipment to apply this. Three habits go a long way:
- Count milligrams, not cups. A “cup” can mean anything from a 60 mg green tea to a 300 mg large brewed coffee. Decay math only works when the starting dose is realistic.
- Anchor on bedtime, not on the clock. The question is never “is it after 2 pm?” It is “how much will still be in my system at my bedtime?” A night-shift worker’s cutoff differs from a 9-to-5er’s by many hours.
- Estimate your own half-life from evidence. If a 2 pm coffee wrecks your sleep but a noon one does not, your effective half-life is likely longer than 5 hours. Adjust your assumptions accordingly, and re-test.
How HalfCup helps
Doing exponential decay math in your head after every latte is nobody’s idea of fun. HalfCup, a caffeine tracker for iPhone, does exactly this modeling for you: it applies half-life decay with a 30-minute absorption window, lets you set your personal half-life anywhere from 2 to 10 hours, and shows a live decay curve you can scrub to any future time. After each drink it displays a “sleep-ready by” time based on your own bedtime and settings. It works 100% offline with zero data collection, costs $4.99 once with no subscription, and draws on a database of 250+ drinks so your starting doses are realistic.
The bottom line
Caffeine leaves your body on a halving curve, not a countdown timer. The average half-life is about 5 hours, but yours could be 2 or could be 12 — and factors like genetics, pregnancy, medication, and smoking move the number around. Treat the averages as a starting hypothesis, watch how caffeine actually affects your sleep, and adjust. Your future, well-rested self will thank you.
This article is for information and education only and is not medical advice. Consult a qualified healthcare provider about your caffeine consumption, especially if you are pregnant, nursing, have a medical condition, or take medications.