Skip to content

How long does caffeine stay in your system?

It depends which clock you mean. You feel caffeine within the half hour, half of it is gone by mid-afternoon, and the last of it is still in the building after you have gone to bed. It is easy to blend the three. Here they are apart, each with its source.

By Riku UskiUpdated 10 min read

The short answer

In a healthy adult, half of a dose of caffeine is gone in about 4 hours, and between people that runs from 2 hours to 8 hours. Its effects may begin within 15–30 minutes and it peaks in the blood at 30–120 minutes. Getting down to 3.1% of the dose takes five half-lives: about 20 hours on average, and up to 40 hours at the slow end.

A 2 pm coffee is still clocked in at bedtime. Caffeine in the body, mg. Model: 5 h half-life, 45 min to peak. Filter coffee at 2 pm. About 24 mg in the body at 11 pm, of 80 mg drunk.A 2 pm coffee is still clocked in at bedtime. Caffeine in the body, mg. Model: 5 h half-life, 45 min to peak. Filter coffee at 2 pm. About 24 mg in the body at 11 pm, of 80 mg drunk.A 2 pm coffee is still clocked in at bedtime. Caffeine in the body, mg. Model: 5 h half-life, 45 min to peak. Filter coffee at 2 pm. About 24 mg in the body at 11 pm, of 80 mg drunk.A 2 pm coffee is still clocked in at bedtime. Caffeine in the body, mg. Model: 5 h half-life, 45 min to peak. Filter coffee at 2 pm. About 24 mg in the body at 11 pm, of 80 mg drunk.
One filter coffee at two in the afternoon, in the body of a typical adult. The curve is our model. The average half-life in the source is about 4 hours; the instrument’s default is five hours, and you can drag it. 112223

How long does caffeine last? Three clocks, not one

  • When you feel it. Effects may begin 15–30 minutes after you swallow, and the level in your blood peaks at 30–120 minutes.
  • When half is gone. About 4 hours in a healthy adult, 2–8 hours between people. This is the half-life.
  • When it is effectively gone. After five half-lives 3.1% of the dose is left. That takes 20 hours (10–40 hours), depending on whose liver is doing the work.
You feel caffeine in minutes. It leaves over a day. Hours after one dose, healthy adults. The last row is five half-lives. Kicks in (15–30 min): 0.25–0.5 h; Peaks (30–120 min): 0.5–2 h; Half gone: 2–8 h; About 3% left: 10–40 h.You feel caffeine in minutes. It leaves over a day. Hours after one dose, healthy adults. The last row is five half-lives. Kicks in (15–30 min): 0.25–0.5 h; Peaks (30–120 min): 0.5–2 h; Half gone: 2–8 h; About 3% left: 10–40 h.You feel caffeine in minutes. It leaves over a day. Hours after one dose, healthy adults. The last row is five half-lives. Kicks in (15–30 min): 0.25–0.5 h; Peaks (30–120 min): 0.5–2 h; Half gone: 2–8 h; About 3% left: 10–40 h.You feel caffeine in minutes. It leaves over a day. Hours after one dose, healthy adults. The last row is five half-lives. Kicks in (15–30 min): 0.25–0.5 h; Peaks (30–120 min): 0.5–2 h; Half gone: 2–8 h; About 3% left: 10–40 h.
The three clocks on one axis, for healthy adults. The first two are slivers; the last one is most of two days at the slow end. 2223

Caffeine leaves the way guests leave a party. Half, then half of what’s left, and one of them is still in my kitchen at 11 pm

Most of the caffeine can be gone and the rest still counts. In one study, nine men took 200 mg at ten past seven in the morning. By eleven at night the caffeine in their saliva had fallen from 17 µmol/L to 3 µmol/L, about 18% of its peak, and their sleep was still shorter and less efficient than after a placebo. We have read only that paper’s abstract, which does not say by how many minutes.

Why do some pages say ten hours, some twelve and some a whole day?

Most likely because they count the same half-life a different number of times. The European Food Safety Authority puts the average at 4 hours; a 2001 Institute of Medicine review puts the mean at 5 hours. Start from either and you can reach ten hours, twelve hours and about a day.

One half-life, counted two, three and five times
Half-lives countedStill in youAt EFSA’s averageAt the IOM’s meanHow it gets quoted
OneHalf4 hours5 hoursThe half-life
Two25%8 hours10 hours“About ten hours”
Three12.5%12 hours15 hours“Up to twelve hours”
Five3.1%20 hours25 hours“About a day”

Our arithmetic, elimination only: it ignores the hour or so a dose takes to be absorbed. At the slow end of the healthy range, 8 hours, five half-lives are 40 hours.

None of those figures is wrong. They need not be three findings. And the half-life under them is softer than one round number suggests: the Institute of Medicine’s range is 1.5–9.5 hours, and when 24 people, all healthy and aged eighteen to thirty, were measured after coffee and energy drinks, their mean came out at 6.7–7.6 hours.

How long does caffeine take to kick in?

Effects may begin within 15–30 minutes. The peak comes later, and it has been measured by drink: the same 24 people each took 160 mg of caffeine five ways.

Time to peak caffeine in the blood, by drink and by how fast it was drunk
DrinkHow it was drunkMean time to peak (fastest to slowest person)
Hot coffeeSipped over twenty minutes59 minutes (20–120 minutes)
Cold coffeeDowned in two minutes62 minutes (40–120 minutes)
Cold coffeeSipped over twenty minutes64 minutes (40–90 minutes)
Sugar-free energy drinkDowned in two minutes70 minutes (20–240 minutes)
Sugar-free energy drinkSipped over twenty minutes82 minutes (40–240 minutes)

White and colleagues, the same dose in every row. None of the differences between rows was statistically significant.

So downing it does not buy an earlier peak, and a can is not faster than a cup. The spread between people is far wider than the spread between drinks. The format that did move the peak is gum: caffeine gum peaked at 44.2–80.4 minutes, capsules at 84–120 minutes, in a different study (an abstract, not the full paper). How high the peak goes depends on the dose and on the person, and the doses are in every drink we chart.

The clock is the same whatever the caffeine came in. What changes is how much there is to clear, and that is in the article for each drink: a cup of coffee, a shot of espresso, a Monster, a Red Bull, the strongest energy drinks, a bowl of matcha, a cup of green tea, a can of Coke Zero, a Diet Coke and a Dr Pepper. For the sodas with nothing to clear, there is a list of those too. And for the ones people forget to count: a Mountain Dew, a Celsius, a mug of black tea, a bar of dark chocolate and a Swiss Water decaf. And the long ones: a cold brew, a flat white, a gourd of yerba mate and the strongest coffee you can buy.

Kicks in right after the meeting

Why does caffeine last longer for some people?

One liver enzyme, CYP1A2, does about 95% of the clearing. Whatever speeds it up or slows it down moves your number, and the size of the move has been measured.

Caffeine’s half-life depends on who is holding the cup. Caffeine half-life in hours: the reported range, or one figure. Newborns, No working CYP1A2 yet: 50–103 h; With fluvoxamine, Two studies, 8 and 7 people: 31–56 h; Pregnancy, 15 women: 6–16 h; On the pill, Two women, one small study: 15.5 h; With ciprofloxacin, 10 men: 8.2 h; Healthy adults, Average about 4: 2–8 h; Children, From 5–6 months of age: 2–3 h.Caffeine’s half-life depends on who is holding the cup. Caffeine half-life in hours: the reported range, or one figure. Newborns, No working CYP1A2 yet: 50–103 h; With fluvoxamine, Two studies, 8 and 7 people: 31–56 h; Pregnancy, 15 women: 6–16 h; On the pill, Two women, one small study: 15.5 h; With ciprofloxacin, 10 men: 8.2 h; Healthy adults, Average about 4: 2–8 h; Children, From 5–6 months of age: 2–3 h.Caffeine’s half-life depends on who is holding the cup. Caffeine half-life in hours: the reported range, or one figure. Newborns, No working CYP1A2 yet: 50–103 h; With fluvoxamine, Two studies, 8 and 7 people: 31–56 h; Pregnancy, 15 women: 6–16 h; On the pill, Two women, one small study: 15.5 h; With ciprofloxacin, 10 men: 8.2 h; Healthy adults, Average about 4: 2–8 h; Children, From 5–6 months of age: 2–3 h.Caffeine’s half-life depends on who is holding the cup. Caffeine half-life in hours: the reported range, or one figure. Newborns, No working CYP1A2 yet: 50–103 h; With fluvoxamine, Two studies, 8 and 7 people: 31–56 h; Pregnancy, 15 women: 6–16 h; On the pill, Two women, one small study: 15.5 h; With ciprofloxacin, 10 men: 8.2 h; Healthy adults, Average about 4: 2–8 h; Children, From 5–6 months of age: 2–3 h.
Half-lives reported for different groups, from different studies, so read it as a spread and not a league table. 22176177178
What changes how long caffeine lasts, and by how much
WhatMeasured effectHow good the evidence is
SmokingClearance 1.22 times non-smokers at a few cigarettes a day, 1.72 times non-smokers at more than a packOne study of several hundred people
The pillHalf-life 15.5 hours in two users, 5.6 hours in the restOne small study
PregnancyHalf-life 6–16 hoursFifteen women
Fluvoxamine, an antidepressantHalf-life from 5 hours to 31 hours; in a second study, 4.9 hours to 56 hoursEight and seven volunteers; the first an abstract only, the second’s long figure estimated from a day of blood samples
Ciprofloxacin, an antibioticHalf-life from 5.2 hours to 8.2 hoursTen men
Alcohol, 50 g a dayHalf-life up 72%Healthy men; abstract only
Being a womanClearance 0.9 times that of men; half-life 502 minutes against 349 minutes in young adultsTwo studies; half of the young women were on the pill
Drinking coffee every dayClearance 1.45 times per liter a dayThe large study; in a small one, a week of heavy caffeine changed nothing
Liver diseaseCirrhosis: 6.1 hours against 5.2 hours, not a significant difference. Two patients with alcoholic liver disease: 60 hours and 168 hoursAbstracts only; the long figures are two patients

Clearance and half-life move in opposite directions: faster clearance, shorter half-life. “Abstract only” means we have read the paper’s published summary and not its tables.

I’m not a slow metaboliser. I’m thorough

The far end of the chart is a newborn, who has no working CYP1A2 yet: 50–103 hours, or 3–4 days on the FDA’s label for the caffeine given to premature babies. By three to four months it is 14 hours, and through childhood 2–3 hours, faster than an adult. EFSA gives no separate figure for teenagers.

Genes often get the credit for fast and slow metabolisers. In the large study, no relevant genetic difference in clearance was left once coffee, smoking, the pill and sex were counted; other studies EFSA cites found a genotype difference only in smokers and in heavier coffee drinkers. Getting older may do less than you would think, too: one study of adult men cited in the Institute of Medicine review found that age did not change the half-life.

When should you stop drinking caffeine before bed?

You may have heard the rule: no caffeine six hours before bed. One study tested that gap: 400 mg taken six hours before bedtime still cut sleep by more than an hour on a home monitor (1.1–1.2 hours across the three timings tested), in 12 people. Short sleep is also one of the reasons caffeine can leave you tired the next day.

A 2023 meta-analysis replaced the rule with a model. Pooled across every dose and timing studied, caffeine cost 45.3 minutes (29–61.5 minutes) of sleep. The authors then worked out how early a given dose has to be taken before the model can no longer detect a loss.

The latest caffeine before bed, by dose, in the meta-analysis
Drink in the modelCaffeine assumedStop this long before bedFor a ten o’clock bedtime
A cup of coffee107 mg8.8 hours1:12 pm
A pre-workout supplement217.5 mg13.2 hours8:50 am
A cup of black tea47 mgNo cut-off foundUp to bedtime

Gardiner and colleagues. The cut-off is a statistical line, not a biological one: the first point at which the model can no longer tell the loss from zero. “No cut-off found” means the model could not show a loss at that dose, not that tea was shown to be harmless. The caffeine contents are the paper’s assumptions, and the authors call the times a starting point to adjust from.

Two things to hold on to. A tall brewed coffee at Starbucks in the US starts at 235 mg, more than the pre-workout in that table, so the earlier line is the nearer one for a chain coffee. That is our reading of two numbers; the paper does not say it. And these are averages over people whose half-lives run 2–8 hours.

One espresso after lunch, three different evenings. Caffeine in the body, mg, at half-lives of 2, 4 and 8 hours. Bed at 11 pm. Double espresso at 1 pm. 2 h half-life: about 4 mg at 11 pm; 4 h half-life: about 23 mg at 11 pm; 8 h half-life: about 54 mg at 11 pm.One espresso after lunch, three different evenings. Caffeine in the body, mg, at half-lives of 2, 4 and 8 hours. Bed at 11 pm. Double espresso at 1 pm. 2 h half-life: about 4 mg at 11 pm; 4 h half-life: about 23 mg at 11 pm; 8 h half-life: about 54 mg at 11 pm.One espresso after lunch, three different evenings. Caffeine in the body, mg, at half-lives of 2, 4 and 8 hours. Bed at 11 pm. Double espresso at 1 pm. 2 h half-life: about 4 mg at 11 pm; 4 h half-life: about 23 mg at 11 pm; 8 h half-life: about 54 mg at 11 pm.One espresso after lunch, three different evenings. Caffeine in the body, mg, at half-lives of 2, 4 and 8 hours. Bed at 11 pm. Double espresso at 1 pm. 2 h half-life: about 4 mg at 11 pm; 4 h half-life: about 23 mg at 11 pm; 8 h half-life: about 54 mg at 11 pm.
The same double espresso after lunch at the fast end, the average and the slow end of the healthy-adult range. Our model, cited range. 122223

Tonight’s sleep was decided at 3 pm

Can you flush caffeine out, and how long is it detectable?

You cannot hurry it in any way worth doing. The kidney filters caffeine and then takes it back: in adults about 1% of a dose leaves in urine unchanged. The rest waits for the liver. In one study of six people, about 70% of the dose turned up in urine as caffeine and its breakdown products together, and the kidney passed them faster when more urine flowed. That is little help when the kidney’s share of unchanged caffeine is so small. No source we hold says water or exercise changes the liver’s pace. Smoking does speed it up, which is a poor trade for an earlier bedtime. Stopping altogether has a clock of its own.

As for a detection window, there is no honest number. We looked for a primary source that states how long caffeine can be found in urine, blood, saliva or hair after a dose, and did not find one; a figure quoted without one may be half-life arithmetic and not a lab result. What has been measured is how common it is: in a US national survey, caffeine and its breakdown products were detectable in the urine of most of the 2,466 people tested. If you want the arithmetic anyway, it is the last row of the table above: 3.1% left after 20 hours (10–40 hours).

Questions people ask

How long does 200 mg of caffeine stay in your system?

The dose sets how high you start, not how fast it leaves. At the average half-life, half is gone in about 4 hours, a quarter is left after 8 hours and 3.1% after 20 hours. At the slow end of the healthy range, each of those takes twice as long.

How long does caffeine take to kick in?

Effects may begin 15–30 minutes after you swallow, and the level in the blood peaks at 30–120 minutes. In one study of 24 people, the mean time to peak ran from 59 minutes for hot coffee to 82 minutes for a sipped energy drink, and drinking faster made no significant difference.

How long before bed should you stop drinking coffee?

A 2023 meta-analysis puts the line at 8.8 hours before bedtime for a cup of coffee of 107 mg, and 13.2 hours for a dose of 217.5 mg. Those are statistical cut-offs that the authors call a starting point, not a guarantee in either direction.

Does drinking water flush caffeine out of your system?

Not in any way that matters, on the sources we hold. In adults about 1% of a dose leaves in urine unchanged; the rest is cleared by a liver enzyme that accounts for about 95% of caffeine’s clearance, at its own pace.

How long does caffeine stay in a child’s or a teenager’s system?

Through childhood the half-life is about 2–3 hours, shorter than the adult average of 4 hours, and it lengthens during adolescence. EFSA gives no separate figure for teenagers. A newborn is the exception: 50–103 hours.

How long is caffeine detectable in urine?

No primary source we could find states a detection window. By arithmetic, 3.1% of a dose is left after five half-lives, which is 20 hours (10–40 hours); what a given lab test can still pick up at that point is not something we can cite.

Sources

Every number above links to the place it came from. How the numbers are chosen and checked is on the method page; the drink table is at /drinks. Written with AI agents, as the whole site is. A model of a typical body, not advice for pregnancy, illness or medication.

  1. Beverages, coffee, brewed, prepared with tap waterUSDA FoodData Central (SR Legacy). Accessed 9 November 2026
  2. Beverages, coffee, brewed, espresso, restaurant-preparedUSDA FoodData Central (SR Legacy). Accessed 9 November 2026
  3. Scientific Opinion on the safety of caffeineEFSA Panel on Dietetic Products, Nutrition and Allergies (NDA), EFSA Journal 2015;13(5):4102. Accessed 9 November 2026
  4. EFSA explains risk assessment: CaffeineEuropean Food Safety Authority (EFSA). Accessed 9 November 2026
  5. Pharmacology of Caffeine (chapter 2 of Caffeine for the Sustainment of Mental Task Performance: Formulations for Military Operations)Institute of Medicine (US) Committee on Military Nutrition Research, National Academies Press, 2001, via NCBI Bookshelf. Accessed 9 November 2026
  6. Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to BedJournal of Clinical Sleep Medicine (Drake, Roehrs, Shambroom and Roth, 2013), via PubMed Central. Accessed 9 November 2026
  7. Medium Roast - Pike Place Roast: nutrition (starbucks.com, United States)Starbucks Corporation. Accessed 10 November 2026
  8. The effect of caffeine on subsequent sleep: A systematic review and meta-analysisGardiner, Weakley, Burke, Roach, Sargent, Maniar, Townshend, Halson. Sleep Medicine Reviews 69 (2023) 101764, Elsevier (open access, CC BY), doi:10.1016/j.smrv.2023.101764. Accessed 10 November 2026
  9. Caffeine intake (200 mg) in the morning affects human sleep and EEG power spectra at nightLandolt, Werth, Borbély, Dijk. Brain Research 1995;675(1-2):67-74, Elsevier, via PubMed. Accessed 10 November 2026
  10. Pharmacokinetic analysis and comparison of caffeine administered rapidly or slowly in coffee chilled or hot versus chilled energy drink in healthy young adultsWhite, Padowski, Zhong, Chen, Luo, Lazarus, Layton, McPherson. Clinical Toxicology 2016;54(4):308-12, Taylor & Francis, via PubMed Central (PMC4898153). Accessed 10 November 2026
  11. The rate of absorption and relative bioavailability of caffeine administered in chewing gum versus capsules to normal healthy volunteersKamimori, Karyekar, Otterstetter, Cox, Balkin, Belenky, Eddington. International Journal of Pharmaceutics 2002;234(1-2):159-67, Elsevier, via PubMed. Accessed 10 November 2026
  12. A fluvoxamine-caffeine interaction studyJeppesen, Loft, Poulsen, Brøsen. Pharmacogenetics 1996;6(3):213-22, via PubMed. Accessed 10 November 2026
  13. Fluvoxamine impairs single-dose caffeine clearance without altering caffeine pharmacodynamicsCulm-Merdek, von Moltke, Harmatz, Greenblatt. British Journal of Clinical Pharmacology 2005;60(5):486-93, via PubMed (PMC1884944). Accessed 10 November 2026
  14. Interaction between oral ciprofloxacin and caffeine in normal volunteersHealy, Polk, Kanawati, Rock, Mooney. Antimicrobial Agents and Chemotherapy 1989;33(4):474-8, American Society for Microbiology, via PubMed (PMC172463). Accessed 10 November 2026
  15. Influence of alcohol and caffeine consumption on caffeine eliminationGeorge, Murphy, Roberts, Cooksley, Halliday, Powell. Clinical and Experimental Pharmacology and Physiology 1986;13(10):731-6, via PubMed. Accessed 10 November 2026
  16. Caffeine Citrate solution: prescribing information, Clinical Pharmacology (set id 5f38c395-0093-4afd-89ec-f96e5dc0934a)Sagent Pharmaceuticals, via DailyMed, U.S. National Library of Medicine. Accessed 10 November 2026
  17. Impaired elimination of caffeine in cirrhosisDesmond, Patwardhan, Johnson, Schenker. Digestive Diseases and Sciences 1980;25(3):193-7, via PubMed. Accessed 10 November 2026
  18. Urine excretion of caffeine and select caffeine metabolites is common in the U.S. population and associated with caffeine intakeRybak, Sternberg, Pao, Ahluwalia, Pfeiffer (CDC). Journal of Nutrition 2015;145(4):766-74, via PubMed (PMC5724768). Accessed 10 November 2026