Caffeine Half-Life Calculator: How Long Caffeine Stays in Your System
Quick Answer
- *Caffeine has a half-life of 5–7 hours in most healthy adults — meaning half the caffeine in your body is gone after that window.
- *A 200mg dose at noon still leaves ~50mg in your system at 10pm — enough to measurably suppress deep sleep.
- *For a 10pm bedtime, your last cup should be around 1–2pm to minimize sleep disruption.
- *Pregnancy, oral contraceptives, and liver disease can extend the half-life to 15+ hours.
What Is Caffeine Half-Life?
Half-life is the time it takes for your body to eliminate half of a substance. For caffeine, the FDA cites a half-life of approximately 5–6 hours in healthy adults, though individual variation ranges from 3 to 10 hours depending on genetics and lifestyle factors.
This matters more than most people realize. Caffeine doesn't simply “wear off” at a predictable time — it declines exponentially. Each half-life cuts the remaining concentration in half, so traces linger well after you stop feeling alert.
How Half-Life Works in Practice
Say you drink a 200mg cup of coffee at noon. Here's how the caffeine clears using a 5-hour half-life:
| Time | Hours After Drinking | Caffeine Remaining |
|---|---|---|
| 12:00pm | 0 hours | 200mg (100%) |
| 5:00pm | 5 hours | 100mg (50%) |
| 10:00pm | 10 hours | 50mg (25%) |
| 3:00am | 15 hours | 25mg (12.5%) |
| 8:00am | 20 hours | 12.5mg (6.25%) |
At 10pm — bedtime for many adults — there's still 50mg circulating in your system. Research from the Journal of Sleep Research shows measurable changes in sleep architecture at caffeine concentrations as low as 32mg.
The Math Behind the Decay
Caffeine follows first-order elimination kinetics. The remaining amount at any time point follows this pattern:
- After 1 half-life: 50% remains
- After 2 half-lives: 25% remains
- After 3 half-lives: 12.5% remains
- After 4 half-lives: 6.25% remains
- After 5 half-lives: 3.125% remains
At a 6-hour half-life, it takes about 30 hours for caffeine to drop below 1% of the original dose. That afternoon coffee is technically still in your system the next morning.
Caffeine Content by Drink
Before you can calculate how long caffeine will affect you, you need to know how much you consumed. These are typical ranges based on USDA nutrient database data and FDA monitoring:
| Drink | Serving Size | Caffeine Content |
|---|---|---|
| Brewed coffee | 8 oz | 80–100mg |
| Espresso | 1 oz (single shot) | 60–75mg |
| Cold brew | 12 oz | 150–200mg |
| Energy drink | 16 oz | 150–160mg |
| Black tea | 8 oz | 40–70mg |
| Green tea | 8 oz | 25–45mg |
| Cola soda | 12 oz | 30–40mg |
| Dark chocolate (1oz) | 1 oz | 12–25mg |
Cold brew often surprises people. The extended cold-steeping process extracts more caffeine per fluid ounce than standard hot-brewed coffee. A large cold brew at 3pm can deliver more caffeine than two regular cups.
Key Statistics on Caffeine
- 85% of US adults consume at least one caffeinated beverage per day, according to a 2022 survey published in Frontiers in Psychiatry.
- The FDA recommends a maximum of 400mg per day for healthy adults — roughly 4 cups of brewed coffee.
- A landmark 2013 study by Drake et al. (Journal of Clinical Sleep Medicine) found that caffeine consumed 6 hours before bedtime reduced total sleep time by more than 1 hour, even when subjects reported no trouble falling asleep.
- Pregnant women should limit intake to 200mg per day per ACOG guidelines, in part because caffeine half-life extends to 15+ hours during pregnancy.
- The USDA reports that Americans consume an average of 135mg of caffeine per day, with coffee accounting for about 64% of all caffeine intake.
Factors That Affect Your Personal Half-Life
The 5–7 hour range is an average. Your actual half-life depends on several factors.
Liver Enzyme Activity (CYP1A2)
Caffeine is primarily metabolized by the CYP1A2 enzyme in the liver. Genetic variants in the CYP1A2gene produce “fast metabolizers” and “slow metabolizers.” Fast metabolizers can clear caffeine in 3–4 hours; slow metabolizers may take 8–10 hours or more.
Pregnancy
Pregnancy dramatically slows caffeine clearance, with half-life extending to 15 hours or longer in the third trimester. This is why ACOG's 200mg limit is especially conservative — caffeine that lingers in maternal circulation also reaches the fetus, whose liver cannot metabolize it at all.
Oral Contraceptives
Estrogen-containing oral contraceptives inhibit CYP1A2, roughly doubling caffeine half-life to 10–12 hours. This means a woman on the pill is effectively sensitive to caffeine at twice the degree of the baseline population.
Smoking
Smoking induces CYP1A2 activity, cutting caffeine half-life by roughly 50%. Smokers clear caffeine in 3–4 hours on average. When smokers quit, their caffeine tolerance often appears to drop — what's actually happening is slower clearance leading to higher blood concentrations.
Age
Liver function declines with age, and older adults generally experience slower caffeine clearance. Newborns and infants have virtually no capacity to metabolize caffeine — the half-life is 80–100 hours in neonates.
Liver Disease
Any condition that impairs liver function — cirrhosis, hepatitis, non-alcoholic fatty liver disease — will slow caffeine metabolism. In severe cirrhosis, half-life can exceed 24 hours.
Your Last Cup: A Timing Reference
The goal for most people is to have less than 50mg of caffeine remaining at bedtime. Using a 6-hour half-life and a starting dose of 150mg (a medium coffee), here's when your last cup should be:
| Bedtime | Target: Under 50mg at Bed | Last Cup By |
|---|---|---|
| 9:00pm | ~37mg remaining target | 1:00pm |
| 10:00pm | ~37mg remaining target | 2:00pm |
| 11:00pm | ~37mg remaining target | 3:00pm |
| 12:00am (midnight) | ~37mg remaining target | 4:00pm |
If you're a slow metabolizer (half-life of 8+ hours), push those cutoffs 2 hours earlier. If you're drinking cold brew or energy drinks instead of regular coffee, earlier still.
Calculate your personal caffeine clearance
Use our free Caffeine Half-Life Calculator →5 Signs You're Consuming Too Much Caffeine
- You can't fall asleep without being “tired enough.” Chronic caffeine use raises your baseline arousal level. You may start needing exhaustion to overcome it.
- Afternoon slumps that only coffee fixes. This is often adenosine rebound — caffeine blocks adenosine receptors but doesn't stop its production. When caffeine clears, accumulated adenosine floods the system.
- Waking up feeling unrefreshed. Residual caffeine suppresses slow-wave (deep) sleep, leaving you with 8 hours of lighter, less restorative rest.
- Anxiety or heart palpitations. High caffeine doses increase cortisol and epinephrine. If your resting heart rate has crept up or you feel wired-but-tired, intake may be the culprit.
- You need coffee just to feel normal. Physical dependence develops at relatively modest doses — as low as 100mg per day — with withdrawal symptoms including headache and fatigue within 12–24 hours of stopping.
4 Ways to Sleep Better Without Cutting Coffee Entirely
- Enforce a caffeine cutoff time. Pick a time — 1pm, 2pm, whatever works for your bedtime — and make it a hard rule. This single change has more impact than any supplement or sleep hack.
- Switch to half-caff in the afternoon. Half-caff blends deliver 40–50% of the caffeine of regular coffee, letting you keep the ritual without the residual stimulation.
- Delay your morning coffee by 60–90 minutes. Cortisol peaks naturally in the first hour after waking. Drinking coffee during this window blunts the cortisol response and may increase tolerance. Waiting until the cortisol peak passes means caffeine hits harder on less.
- Track your actual intake. Most people underestimate their caffeine by 30–50%, especially with cold brew or large coffeehouse drinks. Use a tool like our Caffeine Half-Life Calculator to see exactly what's in your system at bedtime.
Frequently Asked Questions
How long does caffeine stay in your system?
Caffeine has a half-life of 5–7 hours in most healthy adults, meaning half of the caffeine is eliminated every 5–7 hours. A 200mg dose at noon still leaves roughly 50mg in your system at 10pm — enough to measurably disrupt sleep quality even if you fall asleep on time.
What time should I have my last cup of coffee?
For a 10pm bedtime, your last cup of coffee should ideally be around 1–2pm. Using a 6-hour half-life, a 150mg cup at 2pm leaves about 37mg at 10pm — below the 50mg threshold where sleep disruption becomes measurable for most people.
Does caffeine affect sleep even if you fall asleep easily?
Yes. A landmark 2013 study by Drake et al. in the Journal of Clinical Sleep Medicine found that caffeine consumed 6 hours before bedtime reduced total sleep time by more than 1 hour. The disruption happened even when subjects reported no trouble falling asleep, mainly suppressing deep slow-wave sleep.
What factors make caffeine last longer?
Pregnancy extends caffeine half-life to 15+ hours, oral contraceptives roughly double it, and liver disease significantly slows metabolism. Genetics also matter — variations in the CYP1A2 enzyme gene mean some people metabolize caffeine twice as fast as others. Age slows clearance somewhat too.
How much caffeine per day is safe?
The FDA states that 400mg per day is generally recognized as safe for healthy adults — roughly 4 cups of brewed coffee. For pregnant women, ACOG recommends staying under 200mg per day. At doses above 600mg, anxiety, heart palpitations, and insomnia become common side effects.
How much caffeine is in a cup of coffee vs an energy drink?
An 8oz brewed coffee contains 80–100mg of caffeine. A 16oz energy drink typically contains 150–160mg. Cold brew is the strongest by volume — a 12oz serving can deliver 150–200mg. Espresso is concentrated at 60–75mg per 1oz shot but is consumed in smaller amounts.