How long does caffeine stay in your system?
By Gonçalo, founder of Rainu · Updated 16 November 2026 · 7 min read
Short answer: caffeine reaches its peak in your blood within an hour, and you may feel it for 4 to 6 hours. But its half-life in adults is about 5 hours, so half of an 8 a.m. coffee is still in your body at 1 p.m., and a quarter at 6 p.m. It lasts much longer in pregnancy, with birth control pills and with some medicines, and in newborns it takes days. For good sleep, have your last regular coffee about 9 hours before bed.
How long does caffeine last in your body?
Within one hour of eating or drinking caffeine, it reaches its peak level in your blood, and you may keep feeling its effects for four to six hours. MedlinePlus, Caffeine. Feeling it wear off isn't the same as it being gone, though. Your body clears caffeine at a steady rate: every half-life, about half of what's left goes. In adults that's about 5 hours. FDA-approved label for caffeine citrate, via DailyMed (NLM).
Here's what that means for a 200 mg coffee, assuming a 5-hour half-life:
| Time | Caffeine left |
|---|---|
| 8 a.m. (coffee) | 200 mg |
| 1 p.m. | about 100 mg |
| 6 p.m. | about 50 mg |
| 11 p.m. | about 25 mg |
| 9 a.m. next day | about 6 mg |
So after about five half-lives, roughly a day, only about 3% is left. A second or third coffee adds on top of what's still there. If your half-life is longer, everything in the table shifts later. Add up your coffee, tea and energy drinks →
Caffeine half-life
In adults the half-life of caffeine is usually 3 to 7 hours. Temple et al., Frontiers in Psychiatry, 2017. The FDA notes there's wide variation both in how sensitive people are to caffeine and in how fast they get rid of it. FDA, Spilling the Beans (2024). One liver enzyme, CYP1A2, handles about 95% of it, and your genes partly decide how active that enzyme is. Nehlig, Pharmacological Reviews, 2018. Other things change it too:
| What | Effect on caffeine |
|---|---|
| Pregnancy | Half-life on average 8.3 hours longer, up to 16 hours longer |
| Birth control pills | Tend to double the half-life |
| Liver disease | Can make the half-life longer |
| Heavy drinking | Makes the half-life longer |
| Smoking | Clears caffeine about twice as fast |
| Newborn babies | Half-life of about 3 to 4 days |
Pregnancy, the pill, liver disease, alcohol and smoking: Temple et al., 2017. The effects of smoking and of the pill are consistent across more than 50 years of studies. Grzegorzewski et al., Frontiers in Pharmacology, 2021. Newborns: their liver and kidneys are immature, so in neonates the half-life is about 3 to 4 days, and by 9 months of age babies clear caffeine about as fast as adults. Caffeine citrate label, DailyMed.
How long does it take for caffeine to kick in?
Caffeine is absorbed quickly and completely from the small intestine, in less than an hour, and spreads fast through the body. Temple et al., 2017. Its level in your blood peaks within an hour of a drink. MedlinePlus. So most people notice a coffee within the first hour.
How long does caffeine take to wear off?
You may feel the effects for four to six hours. MedlinePlus. But with a 5-hour half-life, about half of it is still in your blood 5 hours later, which is why an afternoon coffee can still affect your sleep even when you no longer feel wired. If you have caffeine every day and then stop, the opposite problem can start the next day. How long caffeine withdrawal lasts →
When to stop caffeine before bed
- A regular coffee: a 2023 review of 24 studies found that, to avoid losing sleep, a coffee (107 mg of caffeine per 250 ml) should be had at least 8.8 hours before bed. On average, caffeine cut total sleep by 45 minutes, and cut deep sleep. Gardiner et al., Sleep Medicine Reviews, 2023.
- A pre-workout supplement (217.5 mg) should be had at least 13.2 hours before bed. Gardiner et al., 2023.
For an 11 p.m. bedtime, that means your last regular coffee by about 2 p.m., and a pre-workout before about 10 a.m.
You may not notice the damage. In a study of 12 healthy sleepers, 400 mg of caffeine taken 6 hours before bed still cut sleep by more than an hour, as measured by a sleep monitor, while the sleepers' own diaries didn't pick up a clear difference at 6 hours. The authors suggest keeping afternoon caffeine to before 5 p.m. at the very least. Drake et al., Journal of Clinical Sleep Medicine, 2013. More caffeine, or a longer half-life, pushes the cut-off earlier. Caffeine and sleep → When to stop drinking water before bed →
Caffeine in pregnancy and breastfeeding
In pregnancy, caffeine stays in your body much longer: on average 8.3 hours longer per half-life, and up to 16 hours longer. Temple et al., 2017. Caffeine passes through the placenta to your baby. MedlinePlus.
- How much: the NHS says not to have more than 200 mg of caffeine a day in pregnancy, because too much caffeine has been linked to a higher chance of miscarriage and stillbirth. NHS, Foods to avoid in pregnancy (2026). The FDA recommends talking to your health care provider about caffeine if you're pregnant, trying to get pregnant or breastfeeding. FDA.
- Breastfeeding: caffeine appears in breast milk soon after you have it. Very high intakes, about 10 or more cups of coffee a day, have been linked to fussiness, jitteriness and poor sleep in babies, while studies of mothers having 5 cups a day found no stimulation in babies 3 weeks and older. European authorities set a likely safe level of 200 mg a day. Premature and young newborn babies clear caffeine very slowly, so their mothers are better off having less. LactMed (NICHD), Caffeine (2026).
If you're used to caffeine every day and want to cut back, it's best to do it gradually. FDA. Cutting caffeine in pregnancy →
Medicines that change how long caffeine lasts
- Make caffeine last longer: the antidepressant fluvoxamine and the antibiotics norfloxacin and pipemidic acid slow the clearance of caffeine. Grzegorzewski et al., 2021. So, based on adult data, do the stomach medicine cimetidine and the antifungal ketoconazole. Caffeine citrate label, DailyMed. Birth control pills tend to double the half-life. Temple et al., 2017.
- Make it go faster: the seizure medicines phenobarbital and phenytoin speed up its elimination. Caffeine citrate label, DailyMed.
- Add caffeine: some pain relievers, cold medicines and over-the-counter alertness pills contain caffeine. MedlinePlus. So can dietary supplements, energy bars and gum. FDA.
MedlinePlus advises checking with your health care provider about caffeine if you take stimulants, certain antibiotics, asthma medicines or heart medicines. MedlinePlus. Never stop or change a prescribed medicine because of your coffee: ask your pharmacist or doctor instead.
How to get caffeine out of your system
You can't really speed it up. Your liver breaks down almost all of it, and very little leaves your body unchanged in urine. Grzegorzewski et al., 2021. So drinking extra water won't flush it out faster; time is what clears it. What you can do while you wait:
- Stop having more, including tea, cola, energy drinks and chocolate.
- Keep drinking water normally. Caffeine in normal amounts doesn't dehydrate you. Does coffee dehydrate you? →
- Next time, move your caffeine earlier, or swap the later cups for decaf, which has 2 to 15 mg in an 8 fl oz cup. FDA.
Signs you've had too much include a faster heartbeat, palpitations, high blood pressure, poor sleep, anxiety, the jitters, an upset stomach, nausea and a headache. FDA. Seizures can happen with around 1,200 mg taken quickly, which is less than half a teaspoon of pure caffeine powder. FDA. Call 911 for trouble breathing, a seizure, confusion or hallucinations, or an irregular or racing heartbeat; for advice, call Poison Help at 1-800-222-1222. MedlinePlus, Caffeine overdose (2025).
Questions
How long does caffeine last?
You may feel it for 4 to 6 hours. It stays in your body longer: with a 5-hour half-life, a quarter of a morning coffee is still there 10 hours later.
What is the half-life of caffeine?
About 5 hours in adults, usually somewhere between 3 and 7. It's longer in pregnancy, with birth control pills and with some medicines, and about 3 to 4 days in newborns.
How long does 200 mg of caffeine last?
With a 5-hour half-life, about 100 mg is left after 5 hours, 50 mg after 10 and 25 mg after 15. You'll usually stop feeling it well before it's gone.
What time should I stop drinking coffee?
A review of 24 studies suggests at least 8.8 hours before bed for a regular coffee, and 13.2 hours for a strong pre-workout. For an 11 p.m. bedtime, that's about 2 p.m. for coffee.
Does drinking water flush out caffeine?
No. Your liver breaks down almost all caffeine and very little leaves in urine, so only time clears it. Keep drinking water normally anyway.
How long does caffeine stay in breast milk?
It shows up in breast milk soon after you have it. Newborns clear caffeine very slowly, with a half-life of about 3 to 4 days, so it can build up in them; by about 9 months, babies clear it like adults.
Sources
- MedlinePlus (National Library of Medicine), Caffeine
- MedlinePlus, Caffeine overdose (reviewed 2025)
- US Food and Drug Administration, Spilling the Beans: How Much Caffeine Is Too Much? (2024)
- DailyMed (National Library of Medicine), Caffeine citrate oral solution: prescribing information (2026)
- Drugs and Lactation Database (LactMed), NICHD: Caffeine (updated 2026)
- NHS, Foods to avoid in pregnancy (reviewed 2026)
- Temple JL et al. The safety of ingested caffeine: a comprehensive review. Frontiers in Psychiatry, 2017
- Grzegorzewski J, Bartsch F, Köller A, König M. Pharmacokinetics of caffeine: a systematic analysis of reported data for application in metabolic phenotyping and liver function testing. Frontiers in Pharmacology, 2021
- Nehlig A. Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacological Reviews, 2018
- Gardiner C et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Medicine Reviews, 2023
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 2013
General information, not medical advice. If you're pregnant or breastfeeding, have a heart, liver or anxiety condition, or take medicines, ask your doctor or pharmacist how much caffeine is right for you. A seizure, trouble breathing or a racing, irregular heartbeat after caffeine is an emergency: call 911 or your local emergency number.
