Guides

How Long Does Caffeine Stay in Your System? Caffeine Half-Life Explained

A cup of black coffee on a wooden kitchen table with a wall clock behind it showing late afternoon

Short answer: Caffeine has an average half-life of about 5 hours in adults, meaning your body clears about half of it every 5 hours or so. It peaks in your blood within about an hour and you may feel it for 4 to 6 hours, but some is still in your system long after that: a 100 mg dose at 8 a.m. would leave roughly 25 mg at 6 p.m. The half-life varies a lot from person to person. Smoking can shorten it by up to half, while oral contraceptives, pregnancy and liver disease can make it much longer.

The buzz from a cup of coffee fades in a few hours, but the caffeine does not disappear that quickly. Here is how long caffeine stays in your system, what a caffeine half-life means, why it differs so much between people, and what that means for your sleep. For what to expect when you switch to a mushroom coffee blend, see your first 30 days with mushroom coffee.

What you'll learn

  • What caffeine half-life means and the average for adults
  • How long caffeine lasts compared with how long it stays in your body
  • Why smoking, oral contraceptives, pregnancy, genes and some medicines change the half-life
  • When to stop caffeine so it does not affect your sleep

What is the half-life of caffeine?

A half-life is the time it takes your body to clear half of a substance. For caffeine, the half-life in the average adult is approximately 5 hours (StatPearls). Caffeine is absorbed almost completely from the gut and broken down almost entirely in the liver, where one enzyme, CYP1A2, handles about 95% of the work; very little leaves through the kidneys unchanged (Grzegorzewski et al., 2021). The liver turns caffeine into three related compounds, paraxanthine, theobromine and theophylline, which are processed further and leave the body in urine (StatPearls).

How long does caffeine last vs how long it stays in your system

These are two different questions. Caffeine levels in your blood peak within about an hour, and you may feel its effects for 4 to 6 hours (MedlinePlus). Your body is still clearing it after you stop noticing it. Using the 5-hour average, here is a rough illustration of a 100 mg dose taken at 8 a.m. (an 8-ounce cup of brewed coffee has about 95 mg, according to USDA FoodData Central):

Time Hours after the cup Caffeine left (approx.)
8 a.m. 0 100 mg
1 p.m. 5 50 mg
6 p.m. 10 25 mg
11 p.m. 15 12.5 mg
4 a.m. 20 about 6 mg

This is simple arithmetic, not a measurement; your own numbers depend on your half-life, which can be much shorter or longer than 5 hours. After five half-lives, about 3% of the dose is left, so for the average adult nearly all of it is gone in about a day.

Why caffeine half-life varies so much

People differ widely in how fast they clear caffeine, because of genetics, age, sex and hormones, liver health, smoking, diet and medicines (Nehlig, 2018). The FDA also notes wide variation in both how sensitive people are to caffeine and how fast they break it down (FDA).

Factor Effect on half-life Source
Smoking Shorter: 3.5 h in smokers vs 6.0 h in nonsmokers in one study; up to 50% shorter Parsons & Neims, 1978; StatPearls
Oral contraceptives Longer: 7.88 h vs 5.37 h in women not taking them Abernethy & Todd, 1985
Pregnancy Longer, especially in the third trimester: up to 15 h StatPearls
Newborns Much longer: up to 8 h in full-term babies and 100 h in premature babies; similar to adults after about 9 months StatPearls
Liver disease Longer, because the liver does most of the work StatPearls; Grzegorzewski et al., 2021
Some medicines Longer with drugs that block caffeine clearance, such as fluvoxamine and the antibiotics norfloxacin and pipemidic acid Grzegorzewski et al., 2021; StatPearls
Genes Variants in the CYP1A2 gene help explain why some people are fast or slow metabolizers Nehlig, 2018

Most medicines do not change how fast you clear caffeine (Grzegorzewski et al., 2021), but if you take prescription medication, ask your pharmacist whether caffeine is a concern.

Caffeine and sleep

Because caffeine lingers, an afternoon coffee can still be in your system at bedtime. A meta-analysis of 24 studies found that caffeine reduced total sleep time by about 45 minutes, and that a typical cup of coffee (about 107 mg) should be finished at least 8.8 hours before bed (Gardiner et al., 2023). If you go to bed at 11 p.m., that means finishing your coffee by about 2 p.m. If you are a slow metabolizer, you may need to stop even earlier. See why coffee can make you tired for how lost sleep feeds back into needing more coffee.

Can you flush caffeine out faster?

Not really. Your liver clears caffeine at its own pace, and the factors that change it, such as smoking, hormones and genes, are not quick fixes. If you have had too much, the practical steps are to stop having more caffeine and wait. Signs of a caffeine overdose include a rapid or irregular heartbeat, trouble breathing, confusion, vomiting and seizures; if you notice them, get medical help right away or call Poison Control at 1-800-222-1222 (MedlinePlus). The FDA says up to 400 mg a day is not generally associated with negative effects for most healthy adults (FDA).

How to make caffeine work for you

  • Drink it early. Have most of your caffeine in the morning and finish your last cup about 9 hours before bed (Gardiner et al., 2023).
  • Know your dose. Less caffeine means less left in your system later. See how much caffeine is in a cup of coffee.
  • Choose a lighter drink in the afternoon, such as decaf, green tea, matcha or a mushroom coffee blend. See does decaf coffee have caffeine and matcha vs coffee.
  • Adjust for your situation. If you take oral contraceptives, are pregnant or have liver disease, caffeine may stay with you much longer; talk to your provider about how much is right for you.

Common myths (quick reality check)

  • Myth: Caffeine is gone once you stop feeling it. Reality: You may feel caffeine for 4 to 6 hours, but with an average half-life of about 5 hours, a meaningful amount can remain at bedtime.

  • Myth: Everyone clears caffeine at the same rate. Reality: Half-life varies widely. Smoking can shorten it by up to half; oral contraceptives and pregnancy can make it much longer.

  • Myth: Drinking water flushes caffeine out. Reality: Your liver breaks down nearly all caffeine, and very little leaves through your kidneys unchanged. Water is good for you, but it does not speed that up.

Frequently asked questions (FAQ)

How long does caffeine stay in your system?

Caffeine has an average half-life of about 5 hours in adults. It takes about five half-lives, roughly a day, for nearly all of a dose to clear, though this varies widely.

What is the half-life of caffeine?

About 5 hours in the average adult. It can be up to 50% shorter in smokers and up to 15 hours in late pregnancy.

How long does caffeine last?

Caffeine peaks in your blood within about an hour and you may feel the effects for 4 to 6 hours.

How long after caffeine can I sleep?

A 2023 meta-analysis suggests finishing a typical cup of coffee at least 8.8 hours before bed.

Why does caffeine affect me longer than other people?

Genes, oral contraceptives, pregnancy, liver health and some medicines can slow how fast your liver clears caffeine.

How can I get caffeine out of my system faster?

There is no reliable way. Stop having more caffeine and wait; get medical help right away for a racing or irregular heartbeat, trouble breathing, confusion, vomiting or seizures.

Related guides

Disclaimer and when to seek help

This article is for general education and is not medical advice. These statements have not been evaluated by the Food and Drug Administration. Our products are not intended to diagnose, treat, cure, or prevent any disease. Talk to your health care provider if you are pregnant or breastfeeding, have liver disease, a heart condition or anxiety, or take medication.

References

  1. Evans J, Richards JR, Battisti AS. "Caffeine." In: StatPearls. StatPearls Publishing; last update May 29, 2024. NCBI Bookshelf NBK519490
  2. Parsons WD, Neims AH. "Effect of smoking on caffeine clearance." Clinical Pharmacology & Therapeutics, 1978;24(1):40-45. doi:10.1002/cpt197824140
  3. Abernethy DR, Todd EL. "Impairment of caffeine clearance by chronic use of low-dose oestrogen-containing oral contraceptives." European Journal of Clinical Pharmacology, 1985;28(4):425-428. doi:10.1007/BF00544361
  4. Grzegorzewski J, et al. "Pharmacokinetics of Caffeine: A Systematic Analysis of Reported Data for Application in Metabolic Phenotyping and Liver Function Testing." Frontiers in Pharmacology, 2021;12:752826. doi:10.3389/fphar.2021.752826
  5. Nehlig A. "Interindividual Differences in Caffeine Metabolism and Factors Driving Caffeine Consumption." Pharmacological Reviews, 2018;70(2):384-411. doi:10.1124/pr.117.014407
  6. Gardiner C, et al. "The effect of caffeine on subsequent sleep: A systematic review and meta-analysis." Sleep Medicine Reviews, 2023;69:101764. doi:10.1016/j.smrv.2023.101764
  7. U.S. Department of Agriculture. FoodData Central (SR Legacy: coffee, brewed).
  8. MedlinePlus (U.S. National Library of Medicine). "Caffeine".
  9. MedlinePlus (U.S. National Library of Medicine). "Caffeine overdose".
  10. U.S. Food and Drug Administration. "Spilling the Beans: How Much Caffeine Is Too Much?" Content current as of August 28, 2024.

About the author

Alison Hartwell is a nutrition educator in Portland, Oregon, with many years of hands-on experience in food and nutrition. She is not a licensed dietitian or medical professional, and this article is for educational purposes only. Meet Alison

OurJrney Nano Turmeric Mango Drink Mix

OurJrney Nano Turmeric Mango Drink Mix

  • 100% vegan
  • 100% dairy-free
  • 100% non-GMO
  • 100% free of pesticides
  • No sugar added - sweetened with stevia extract
Previous
Why Does Coffee Make Me Tired? What the Research Says
Next
Caffeine Withdrawal: How Long It Lasts and How to Ease It