Caffeine Half Life Calculator
Find out exactly how much caffeine is still in your system at bedtime — and when it fully wears off.
Calculate Your Caffeine Decay
What Is Caffeine Half-Life?
Caffeine is metabolized primarily by the CYP1A2 enzyme in the liver. The speed of this enzyme varies significantly between individuals — some people are "fast metabolizers" (half-life as low as 1.5 hours) while others are "slow metabolizers" (half-life up to 9.5 hours). This genetic variation explains why some people can drink coffee at dinner with no sleep issues, while others are wired from a single morning cup.
Medical Disclaimer: This tool provides general educational estimates. Always consult your prescribing physician or healthcare provider before making medication changes or interpreting results from population-based models.
Contents
Caffeine Content by Source
Common caffeine sources and their approximate caffeine content. Actual amounts vary by brand, brew method, and serving size.
| Source | Serving Size | Caffeine (mg) |
|---|---|---|
| Brewed coffee | 8 oz (240 mL) | 95 mg |
| Starbucks Grande | 16 oz (473 mL) | 190 mg |
| Cold Brew | 12 oz (355 mL) | 200 mg |
| Espresso | 1 shot (30 mL) | 63 mg |
| Black Tea | 8 oz (240 mL) | 47 mg |
| Green Tea | 8 oz (240 mL) | 28 mg |
| Energy Drink (Monster/Red Bull) | 16 oz (473 mL) | 160 mg |
| Bang/Reign Energy | 16 oz (473 mL) | 300 mg |
| Cola (Coca-Cola) | 12 oz (355 mL) | 34 mg |
| Pre-Workout Supplement | 1 scoop | 150-300 mg |
| Caffeine Pill (NoDoz) | 1 tablet | 200 mg |
| Decaf Coffee | 8 oz (240 mL) | 2-15 mg |
| Dark Chocolate | 1 oz (28g) | 12 mg |
Source: USDA FoodData Central, FDA caffeine content data. Values are averages; actual content varies by brand and preparation.
Factors That Change Your Caffeine Half-Life
The average half-life is 5 hours, but your individual rate depends on several factors:
Factors That Speed Up Caffeine Metabolism (Shorter Half-Life)
- Smoking: Smokers metabolize caffeine 50% faster (half-life ~3 hours). Tobacco induces the CYP1A2 enzyme.
- CYP1A2 fast metabolizer genotype: About 50% of people carry variants that significantly speed caffeine clearance.
- Regular high caffeine intake: Chronic consumption modestly induces faster metabolism.
- Cruciferous vegetables: Broccoli, cabbage, and Brussels sprouts induce CYP1A2.
Factors That Slow Down Caffeine Metabolism (Longer Half-Life)
- Pregnancy: Half-life doubles to ~10-12 hours in the third trimester. This is the primary reason ACOG recommends limiting caffeine to 200 mg/day during pregnancy.
- Oral contraceptives: Birth control pills nearly double caffeine half-life (~7-10 hours).
- Liver disease: Significantly impaired caffeine clearance (half-life can exceed 96 hours in severe cirrhosis).
- CYP1A2 slow metabolizer genotype: About 10-15% of people have slow variants.
- Certain medications: Fluvoxamine (SSRI), ciprofloxacin (antibiotic), and cimetidine (antacid) inhibit CYP1A2 and can dramatically increase half-life.
- Age: Caffeine half-life increases modestly with age, particularly above 65.
- Newborns: Half-life is ~80 hours in newborns due to immature liver enzymes, decreasing to adult levels by age 5-6 months.
Caffeine and Sleep: What Research Shows
A 2013 study in the Journal of Clinical Sleep Medicine by Drake et al. found that consuming 400 mg of caffeine even 6 hours before bedtime significantly disrupted sleep. Participants lost over 1 hour of total sleep time and had reduced sleep quality — even when they didn't subjectively notice impairment.
Key Research Findings
- 6-hour rule: Caffeine consumed 6 hours before bed still reduced total sleep by >1 hour (Drake et al., 2013)
- Sleep quality vs. quantity: Even when total sleep time wasn't affected, caffeine reduced deep sleep (slow-wave sleep) by up to 20% (Landolt et al., 1995)
- You may not notice: Participants often reported their sleep was fine, but sleep monitors showed significant disruption — caffeine impairs sleep quality more than you realize
- Expert recommendation: Stop caffeine 8-10 hours before bedtime for optimal sleep. The Sleep Foundation recommends a cutoff of at least 6 hours.
- FDA safe limit: Up to 400 mg/day for healthy adults. Pregnant women should limit to 200 mg/day (ACOG recommendation).
Frequently Asked Questions
How long does caffeine stay in your system?
Caffeine's half-life averages 5 hours, meaning it takes about 5 hours for half the caffeine to be eliminated. After 5 half-lives (about 25 hours), approximately 97% is gone. For practical purposes, a morning coffee is mostly eliminated by bedtime, but an afternoon coffee at 2 PM will still leave about 50% in your system at 7 PM and 25% at midnight.
Why does coffee affect me more than my friends?
Caffeine sensitivity is largely genetic. The CYP1A2 gene controls how fast your liver metabolizes caffeine. About 50% of people are "fast metabolizers" (half-life ~3-4 hours), while ~10-15% are "slow metabolizers" (half-life ~7-9 hours). Additionally, your adenosine receptor genetics (ADORA2A gene) affect how strongly you feel caffeine's effects. There's no reliable way to know your type without genetic testing — but if coffee keeps you up at night, you're likely a slower metabolizer.
What is the half-life of caffeine during pregnancy?
Caffeine half-life approximately doubles during pregnancy — from ~5 hours to ~10-12 hours in the third trimester. This means a single cup of coffee takes twice as long to clear. ACOG recommends limiting caffeine intake to 200 mg/day during pregnancy (about one 12-oz cup of coffee). If you're pregnant, set the half-life in the calculator to 10-12 hours for a more accurate estimate.
Does caffeine tolerance affect half-life?
Tolerance and half-life are different things. Tolerance means you need more caffeine to feel the same alerting effect — your brain produces more adenosine receptors to compensate. Half-life is how quickly your liver eliminates caffeine. Regular caffeine consumption may modestly increase metabolism speed, but the effect is small compared to genetic factors. You can be tolerant to caffeine's alertness effects while still having sleep disruption from the same dose.
When should I stop drinking coffee to sleep well?
The general recommendation is 8-10 hours before bedtime for optimal sleep quality. For a 10 PM bedtime, that means no caffeine after noon to 2 PM. If you're a fast metabolizer, you might tolerate caffeine until 4-6 PM. If you're a slow metabolizer or take oral contraceptives, you may need to stop by 10 AM. Use the calculator above with your estimated half-life to find your personal cutoff.
How much caffeine is too much per day?
The FDA considers up to 400 mg per day safe for healthy adults — roughly four 8-oz cups of brewed coffee. Consuming more than 600 mg/day is associated with increased anxiety, restlessness, and insomnia. Doses above 1,200 mg can cause toxic effects (rapid heartbeat, seizures). Pregnant women should stay under 200 mg/day per ACOG guidelines. Children and adolescents have no established safe limit, but the American Academy of Pediatrics discourages caffeine consumption in children.
Sources & Methodology
- Nehlig A. Interindividual Differences in Caffeine Metabolism and Factors Driving Caffeine Consumption. Pharmacol Rev. 2018;70(2):384-411.
- 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;9(11):1195-1200.
- US Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much? 2023.
- Institute of Medicine. Caffeine for the Sustainment of Mental Task Performance: Formulations for Military Operations. National Academies Press. 2001.
This calculator uses peer-reviewed formulas and clinical guidelines. Results are estimates and should not replace professional medical advice.