How Long Does Caffeine Stay in Your System? Half-Life, Timeline & When to Stop for Sleep
Short answer: Caffeine's average half-life in healthy adults is about 5 hours, with a normal range of roughly 1.5 to 9.5 hours. So if you drink a 200 mg coffee at noon, about 100 mg is still circulating at 5 p.m. and about 50 mg at 10 p.m. It takes about five half-lives, roughly a full day on average, for nearly all of it (about 97%) to be cleared. You feel it within 15–45 minutes, it peaks within about 2 hours, and it can still cut into your sleep 6 or more hours later.
Below you'll find a caffeine half-life chart, a calculator for your own cup, the factors that make caffeine last longer (birth control, pregnancy, certain medications) or shorter (smoking), and a research-based "caffeine curfew" for better sleep.
Caffeine Half-Life Explained
A drug's half-life is how long it takes your body to clear half of it from your blood. Caffeine is absorbed quickly and almost completely: about 99% is absorbed within 45 minutes, and blood levels peak anywhere from 15 to 120 minutes after you drink it. After that, your liver steadily breaks it down.
More than 90% of caffeine metabolism happens in the liver through an enzyme called CYP1A2. It turns caffeine into three active compounds: paraxanthine (about 70–80%), theobromine, and theophylline. These are cleared over the following hours too, which is one reason the "buzz" can fade before caffeine's effects on sleep do.
Caffeine half-life chart: how much is left after a 200 mg dose
This chart shows how much caffeine remains from 200 mg (about a 12 oz brewed coffee) for a fast, average, slow, and very slow metabolizer. It's a simplified model that assumes the dose is absorbed right away.
| Hours after drinking | Fast (3 h half-life) | Average (5 h) | Slow (7 h) | Very slow (10 h) |
|---|---|---|---|---|
| 0 | 200 mg | 200 mg | 200 mg | 200 mg |
| 2 | 126 mg | 152 mg | 164 mg | 174 mg |
| 4 | 79 mg | 115 mg | 135 mg | 152 mg |
| 6 | 50 mg | 87 mg | 110 mg | 132 mg |
| 8 | 31 mg | 66 mg | 91 mg | 115 mg |
| 10 | 20 mg | 50 mg | 74 mg | 100 mg |
| 12 | 12 mg | 38 mg | 61 mg | 87 mg |
| 16 | 5 mg | 22 mg | 41 mg | 66 mg |
| 24 | 1 mg | 7 mg | 19 mg | 38 mg |
For perspective: 50 mg is within the range of a 12 oz caffeinated soda (23–83 mg, per the FDA). For an average metabolizer, a noon coffee still leaves roughly a soda's worth of caffeine in your system at 10 p.m.
Caffeine Calculator: How Much Will Be Left at Bedtime?
Enter your drink and times to estimate how much caffeine will still be in your system when you go to bed. This is an educational estimate, not a medical tool.
Approximate amounts: espresso shot ~63 mg, 8 oz brewed coffee ~95 mg, 12 oz brewed coffee 113–247 mg, 8.4 oz Red Bull 80 mg, 16 oz energy drink 54–328 mg. Check the label.
How Long Does Caffeine Take to Kick In, Peak, and Wear Off?
| Stage | Typical timing | What's happening |
|---|---|---|
| Kicks in | 15–45 minutes | Caffeine is absorbed from your stomach and small intestine and starts blocking adenosine, the brain chemical that builds "sleep pressure." |
| Peaks | About 15–120 minutes (often ~1 hour) | Blood levels are at their highest. Food can slow absorption, and fast-drinking (shots, energy drinks) speeds it. |
| Noticeable effects fade | Roughly 3–6 hours for many people | Levels fall, but half the dose (or more, if you metabolize slowly) is still active. |
| Half gone | ~5 hours on average (1.5–9.5 h range) | One half-life has passed. |
| Almost fully cleared | ~25 hours on average (about 5 half-lives) | About 97% eliminated; much longer for slow metabolizers. |
If you drink caffeine daily, the cycle overlaps: tomorrow's morning cup arrives before yesterday's is fully gone, which is part of why regular users build tolerance and get withdrawal symptoms when they stop.
What Makes Caffeine Stay in Your System Longer (or Shorter)?
That 1.5-to-9.5-hour half-life range is huge, and it's mostly explained by how fast your CYP1A2 enzyme works. Here's what changes it:
| Factor | Effect on caffeine half-life |
|---|---|
| Smoking | Shorter, by up to about 50%. Smoking speeds up CYP1A2. People who quit smoking may suddenly find their usual coffee much stronger. |
| Pregnancy | Longer, especially later in pregnancy, when it can stretch to about 15 hours. It returns to normal in the first week or so after birth. |
| Oral contraceptives | Longer. Estrogen-containing birth control slows caffeine clearance, so the same cup can last noticeably longer. |
| Certain medications | Longer. Drugs that block CYP1A2, such as the antidepressant fluvoxamine and the antibiotic ciprofloxacin, can greatly raise caffeine levels. Ask your pharmacist about yours. |
| Liver disease | Longer, sometimes much longer, because the liver does nearly all the work. |
| Genetics | Variants in the CYP1A2 gene make some people naturally "fast" or "slow" caffeine metabolizers. |
| Newborns and young infants | Much longer. Babies clear caffeine very slowly at first and don't reach adult clearance until about 3–5 months of age. |
Age, body weight, obesity, and even high altitude have also been linked to differences in caffeine metabolism, but the effects are smaller and less consistent than the factors above.
How Long Before Bed Should You Stop Caffeine?
This is where half-life really matters. Two key studies:
- The "6-hour" study (2013): In a controlled trial in the Journal of Clinical Sleep Medicine, 400 mg of caffeine taken at bedtime, 3 hours before, or even 6 hours before bed all disrupted sleep. At 6 hours, objectively measured sleep dropped by more than an hour, and many participants didn't realize their sleep had been affected. The authors recommended avoiding substantial caffeine for at least 6 hours before bed.
- The 2023 meta-analysis: A review of 24 studies in Sleep Medicine Reviews found caffeine cut total sleep time by about 45 minutes, made it take about 9 minutes longer to fall asleep, and lowered sleep efficiency by 7%. Based on the data, the researchers suggested a regular coffee (about 107 mg) should be had at least 8.8 hours before bed, and a typical pre-workout supplement (about 217.5 mg) at least 13.2 hours before bed.
A practical caffeine curfew
| If your bedtime is… | Last regular coffee by… | Last big energy drink or pre-workout by… |
|---|---|---|
| 10:00 p.m. | About 1:00 p.m. | About 9:00 a.m. |
| 11:00 p.m. | About 2:00 p.m. | About 10:00 a.m. |
| Midnight | About 3:00 p.m. | About 11:00 a.m. |
These times are based on the 8.8-hour and 13.2-hour estimates above, rounded. If you're a slow metabolizer, pregnant, on birth control, or sensitive to caffeine, go earlier. If you have trouble sleeping, cutting back on caffeine is one of the simplest experiments to try. Our guide to caffeine, anxiety, and sleep goes deeper.
How Much Caffeine Is in Your Drink?
"How long caffeine lasts" depends on how much you start with, and the range is wider than most people think. According to the FDA:
| Drink | Caffeine |
|---|---|
| Brewed coffee (12 oz) | 113–247 mg |
| Energy drink (16 oz) | 54–328 mg |
| Black tea (12 oz) | ~71 mg |
| Green tea (12 oz) | ~37 mg |
| Soda with caffeine (12 oz) | 23–83 mg |
| Decaf coffee (8 oz) | 2–15 mg |
The FDA says up to 400 mg a day is generally not linked to dangerous effects in healthy adults. Rapidly taking in about 1,200 mg (usually from powders or concentrated products) can cause toxic effects such as seizures. For brand-by-brand numbers, see our energy drink caffeine comparison.
Caffeine, Pregnancy, and Breastfeeding
Because caffeine lasts much longer late in pregnancy, the American College of Obstetricians and Gynecologists (ACOG) advises keeping intake under 200 mg a day during pregnancy.
For breastfeeding, caffeine reaches breast milk in small amounts and peaks there about an hour after you drink it. The CDC says up to about 300 mg a day (2–3 cups of coffee) usually doesn't affect babies, but very high intakes (around 10 cups a day) have been linked to fussiness, jitteriness, and poor sleep. Because newborns and premature babies clear caffeine very slowly, the CDC suggests parents of those infants consider drinking even less.
Does Caffeine Show Up on a Drug Test?
Not on standard workplace drug tests, which screen for substances like opioids, cannabis, cocaine, and amphetamines. Sports are different: the NCAA treats a urine caffeine level of 15 micrograms per milliliter or higher as a positive test. Ordinary coffee drinking is unlikely to reach that, but stacking supplements, energy drinks, and pills before competition can.
Can You Flush Caffeine Out of Your System Faster?
Not really. Your liver works at its own pace, and water, exercise, and food don't meaningfully speed it up. If you've had too much and feel jittery, here's what helps:
- Stop taking in more caffeine, including hidden sources like pre-workout, tea, cola, and chocolate.
- Drink water and eat something, which can ease nausea and shakiness.
- Take a slow walk or try slow breathing to burn off nervous energy.
- Wait. Symptoms usually ease as levels fall over the next few hours.
- Get emergency care for chest pain, a very fast or irregular heartbeat, trouble breathing, confusion, vomiting that won't stop, or a seizure.
If You Drink Caffeine Every Day
For regular users, the bigger question is often "how long until I feel normal without it?" Research summarized in a major review in Psychopharmacology found withdrawal symptoms usually begin 12–24 hours after the last dose, peak at 20–51 hours, and last from 2 to 9 days. Headache, fatigue, low mood, and trouble concentrating are the most common.
The FDA recommends cutting back gradually rather than stopping suddenly. A simple taper, swapping in half-caf, then decaf, can soften the transition. See how to quit caffeine without headaches and cold turkey vs. gradual withdrawal, or browse coffee alternatives to keep the ritual without the stimulant.
Frequently Asked Questions
How long does caffeine stay in your system?
Caffeine has an average half-life of about 5 hours in healthy adults (range about 1.5–9.5 hours). Half of a dose is gone in about 5 hours, and nearly all of it (about 97%) is cleared in about 25 hours, or longer if you metabolize caffeine slowly.
How long does caffeine take to wear off?
Most people notice the effects fading within about 3–6 hours, but caffeine is still active in the body well after that. Half of a dose is typically still present after 5 hours, which is enough to affect sleep.
How many hours before bed should I stop drinking caffeine?
At least 6 hours, and longer is better. A 2023 meta-analysis suggested having a regular coffee at least 8.8 hours before bed and a high-caffeine pre-workout at least 13.2 hours before bed.
Does caffeine last longer in women?
It can. Estrogen-containing birth control pills slow caffeine clearance, and pregnancy can stretch the half-life to about 15 hours later in pregnancy.
Why does caffeine wear off faster for smokers?
Smoking speeds up CYP1A2, the liver enzyme that breaks down caffeine, which can shorten caffeine's half-life by up to about 50%. When people quit smoking, their usual caffeine intake can suddenly feel much stronger.
Can you flush caffeine out of your system?
No. Water, exercise, and food don't meaningfully speed up how fast your liver clears caffeine. They can ease jitters, but only time lowers caffeine levels.
How long does caffeine stay in breast milk?
Caffeine levels in breast milk peak about an hour after drinking it and then fall as your blood levels fall. Young babies clear caffeine very slowly, so the CDC suggests keeping intake to about 300 mg a day or less, and even less for newborns and premature babies.
Sources
- StatPearls. Caffeine. NCBI Bookshelf (half-life, smoking, pregnancy, infants, CYP1A2).
- Antonio J, Newmire DE, Stout JR, et al. Common questions and misconceptions about caffeine supplementation: what does the scientific evidence really show? Journal of the International Society of Sports Nutrition, 2024 (absorption, peak, 1.5–9.5 h half-life, metabolites, oral contraceptives).
- U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much?
- Drake C, et al. Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed. Journal of Clinical Sleep Medicine, 2013.
- Gardiner C, et al. The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews, 2023.
- National Library of Medicine. Caffeine — Drugs and Lactation Database (LactMed).
- CDC. Maternal Diet and Breastfeeding (caffeine).
- Juliano LM, Griffiths RR. A critical review of caffeine withdrawal. Psychopharmacology, 2004.
- NCAA. NCAA Banned Substances (caffeine threshold).
- U.S. FDA. Examples of Drugs that Interact with CYP Enzymes (CYP1A2 inhibitors).
Want to Cut Back Without the Crash?
NOCAF helps you taper caffeine at your own pace, track withdrawal symptoms, and see how your sleep and energy change.