In crisis? Call or text 988 any time. Overdose or emergency: call 911.
Diagnosis & Testing

How Long Does Caffeine Stay in Your System?

Caffeine peaks in your blood within about an hour, but it can linger long after the buzz fades. Here is how its half-life works, what changes it, and why an afternoon coffee can still cost you sleep.

A cup of coffee resting on a wooden table beside a sunny window in the afternoon

Key takeaways

  • Caffeine peaks in the blood within about an hour, and most people feel its effects for four to six hours, according to MedlinePlus.
  • Its half-life varies widely, from about 2 to 12 hours, so a noticeable amount can still be in your body at bedtime.
  • Smoking speeds caffeine clearance, while pregnancy, liver disease and some medicines slow it.
  • In one study, a large caffeine dose taken 6 hours before bed still cut sleep by more than an hour.
  • Pure and highly concentrated caffeine products can cause seizures and death. Call Poison Help or 911 for signs of overdose.

You had a coffee at 3 p.m., and now it is midnight and you are wide awake. Or maybe you are trying to cut back and wondering how long that last energy drink will keep working. About 85% of Americans consume caffeine daily, according to the National Capital Poison Center, and the answer to how long does caffeine stay in your system is “longer than most people think.” The buzz may fade in a few hours, but caffeine itself can linger well into the night. This guide explains caffeine’s timeline and half-life, what speeds it up or slows it down, how it affects sleep, and when too much becomes dangerous.

How long does caffeine stay in your system?

Caffeine reaches its peak level in your blood within about an hour, and most people feel its effects for four to six hours, according to MedlinePlus. Its half-life, the time it takes your body to clear half of it, ranges from about 2 to 12 hours. That means some caffeine can still be in your body many hours after the buzz fades.

Caffeine is a drug, even though it comes in a coffee cup. Our guide to whether caffeine is a drug explains how it works on the brain, and our addiction hub covers how any substance can become hard to control.

The caffeine timeline, from first sip to last trace

A 2015 review in Current Neuropharmacology describes caffeine as quickly absorbed from the gut. Blood levels usually peak 30 to 60 minutes after you drink it, though peaks anywhere from 15 to 120 minutes have been reported because people differ and food can slow stomach emptying.

Time after drinking What is happening
Soon after drinking Caffeine is quickly absorbed from the gut into the bloodstream
15 to 120 minutes The range of peak times reported in studies
30 to 60 minutes Blood levels usually peak (MedlinePlus says within one hour)
4 to 6 hours The period when most people still feel effects, per MedlinePlus
2 to 12 hours Half of the caffeine is cleared, depending on the person

The same review notes that at higher intakes, caffeine’s action can last longer, and that paraxanthine, its main breakdown product, declines in the blood more slowly than caffeine does.

What caffeine’s half-life means in real life

Say you drink a coffee in the early afternoon. If your half-life is on the short end, much of it may be cleared by bedtime. If it is on the long end, about half of it may still be in your body when you lie down. That is why one person can have espresso after dinner and sleep fine, while another lies awake after a lunchtime soda.

The FDA notes that there is wide variation both in how sensitive people are to caffeine and in how fast they eliminate it from the body. Caffeine also has a long tail. The review explains that the liver turns most of it into paraxanthine, a related compound with a similar half-life, so caffeine’s effects can blur into the following hours.

How long does caffeine last for the “buzz”?

How long caffeine lasts as a felt effect is shorter than how long it stays in your system. MedlinePlus puts the noticeable effects at four to six hours. After that, you may not feel wired, but the caffeine still in your body can disrupt sleep, as the study below shows.

What speeds up or slows down caffeine clearance

The review lists several factors that change how fast caffeine leaves the body:

  • Smoking: people who smoke clear caffeine almost twice as fast as nonsmokers, because chemicals in cigarette smoke boost liver enzyme activity.
  • Pregnancy: pregnancy slows caffeine clearance, so caffeine and its byproducts can build up. MedlinePlus notes that caffeine passes through the placenta.
  • Liver and heart disease: the liver does most of the work of breaking down caffeine, and the review lists liver and cardiovascular diseases among the factors that change its clearance.
  • Medicines: other drugs can change how caffeine is processed. MedlinePlus lists stimulants, certain antibiotics, asthma medicines and heart medicines as ones to ask about.
  • Genes, food and infections: genetic differences in the main liver enzyme, food intake, stomach emptying speed and viral infections all play a role.

Caffeine and sleep

Caffeine’s long half-life is why it affects sleep even hours after your last cup. In a small 2013 study of 12 healthy adults, researchers gave 400 mg of caffeine, about what the FDA describes as two to three 12-ounce cups of coffee, at bedtime, 3 hours before bed or 6 hours before bed. All three timings disrupted sleep compared with placebo. Even at 6 hours before bed, caffeine cut total sleep by more than an hour on the sleep monitor, though people did not always notice it themselves.

The authors concluded that their results support avoiding substantial caffeine for at least 6 hours before bed. That was one small study using a large single dose, so your experience may differ, but it shows how easily an afternoon drink can steal sleep without your realizing it.

Sleep matters even more in recovery, when rest is often fragile. Our guide to insomnia in recovery has practical tips for building better sleep habits.

How much caffeine is in common drinks?

The FDA lists these typical amounts in a 12-ounce serving:

Drink (12 fl oz) Typical caffeine
Caffeinated soft drink 23 to 83 mg
Green tea 37 mg
Black tea 71 mg
Regular brewed coffee 113 to 247 mg
Energy drink 41 to 246 mg

Decaf still has some caffeine, typically 2 to 15 mg in an 8-ounce cup, according to the FDA. Caffeine also shows up in some pain relievers, cold medicines, gum, snacks and supplements. For most adults, the FDA cites 400 mg a day as an amount not generally associated with negative effects, but people who are pregnant, breastfeeding, or taking certain medicines should ask their provider about their limit. Medical experts advise against energy drinks for children and teens. If energy drinks are a daily habit, our page on energy drink addiction may help.

Signs of too much caffeine and when it becomes dangerous

The FDA lists signs of too much caffeine: fast heart rate, heart palpitations, high blood pressure, insomnia, anxiety, jitters, upset stomach, nausea and headache. The National Capital Poison Center adds that an acute overdose can cause vomiting, irritability, altered mental state, hallucinations and seizures, and that death from acute caffeine overdose is rare.

The biggest danger comes from pure and highly concentrated caffeine. The FDA says just one teaspoon of pure powdered caffeine can hold as much caffeine as 28 cups of coffee, and toxic effects like seizures can occur with rapid consumption of about 1,200 mg, less than half a teaspoon of pure powder. These products have contributed to at least two deaths in the United States, and the FDA has issued warning letters to sellers. Our guide on whether you can overdose on caffeine covers this in more detail.

  1. For mild symptomsStop taking in caffeine. The Poison Center notes that caffeine is cleared from the body fairly quickly, but jitters can sometimes progress.
  2. If you are unsureCall Poison Help at 1-800-222-1222 or use the online poison control tool. The Poison Center says it is best to let specialists decide whether it is safe to watch at home.
  3. For an emergencyCall 911 for chest pain, a racing or irregular heartbeat, confusion, hallucinations, a seizure, or someone who has collapsed.

When to get help with caffeine use

If you feel you cannot function without caffeine, the National Capital Poison Center says it is time to start cutting back. The FDA advises cutting back gradually, since withdrawal is not considered dangerous but can be unpleasant. MedlinePlus lists headaches, drowsiness, irritability, nausea and trouble concentrating as withdrawal symptoms, which usually ease after a couple of days. Our guides to caffeine withdrawal and caffeine addiction explain how to taper and when caffeine use crosses into a problem.

Talk with your doctor if caffeine is causing palpitations, anxiety, stomach trouble or poor sleep, or if you are pregnant, have a heart rhythm problem, or take medicines that might interact with it. If caffeine is one part of a bigger struggle with stimulants or other substances, the SAMHSA National Helpline (1-800-662-4357) is free and confidential, 24 hours a day.

Frequently asked questions

How long does caffeine last?

Most people feel caffeine’s effects for four to six hours, according to MedlinePlus. Its half-life ranges from about 2 to 12 hours, so some caffeine can stay in your body long after the buzz fades.

How long before bed should you stop drinking caffeine?

It depends on the person and the dose. In one small study, a large dose taken 6 hours before bed still cut sleep by more than an hour, and the authors suggested avoiding substantial caffeine for at least 6 hours before bed. If you sleep poorly, try an earlier cutoff.

Is decaf coffee caffeine-free?

No. The FDA says decaf coffee typically has 2 to 15 mg of caffeine in an 8-ounce cup. That is far less than regular coffee, but people who react strongly to caffeine may want to avoid it altogether.

Why does caffeine affect me more than other people?

People differ in how sensitive they are to caffeine and how fast they clear it. Genes, pregnancy, liver health, smoking and some medicines all play a role. People who smoke clear caffeine almost twice as fast as nonsmokers.

How long does caffeine stay in breast milk?

MedlinePlus notes that a small amount of the caffeine you consume passes into breast milk. How long it lasts depends on your own clearance. Ask your health care provider or your baby’s pediatrician how much caffeine is right for you while breastfeeding.

Sources

  1. Spilling the Beans: How Much Caffeine Is Too Much? (FDA Consumer Update)
  2. Caffeine (MedlinePlus Health Topic)
  3. Caffeine: Cognitive and Physical Performance Enhancer or Psychoactive Drug? (Cappelletti et al., Current Neuropharmacology, 2015, PMC)
  4. Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed (Drake et al., Journal of Clinical Sleep Medicine, 2013, PMC)
  5. Pure and Highly Concentrated Caffeine (FDA)
  6. Caffeine (National Capital Poison Center)

This article is for general information and is not medical advice. If you are worried about your health or someone else’s, talk to a doctor or call one of the free helplines below.

Written by

Web Admin

Every guide is researched, cited and reviewed under our editorial policy.

Related guides

More in Diagnosis & Testing

Ready to talk to someone?

Free and confidential. Calling is not a commitment to anything.

Call now 1-800-662-4357

This number is SAMHSA’s National Helpline, a free, confidential, 24/7 service of the U.S. government. Gratitude House is not affiliated with SAMHSA.

Call now 1-800-662-4357