How long it lasts
How long does caffeine last? An hour-by-hour estimate
Updated 2026-10-03 · Checked against the sources below by Oleksii Y. · 8 min read
Most people feel caffeine for about four to six hours, but it stays in the body much longer. In healthy adults its half-life averages about 4 hours and ranges from about 2 to 8, so half of a drink's caffeine can still be in you 2 to 8 hours later, and a quarter 4 to 16 hours later. That is why an afternoon coffee can still be in your system at bedtime.
How much will be left at bedtime?
Left at 11:00 PM (8 h later), average metabolism
≈ 33 mg
Range 16–50 mg (fast to slow metabolism)
To be at 50 mg or less by bedtime, have 100 mg by 5:15 PM (average) or 2:15 PM (slow metabolism).
What sleep studies found near this dose
- Gardiner et al. 2025 (randomized trial): In 23 healthy young men, 100 mg taken 12, 8 or 4 hours before bed had no significant effect on measured or self-rated sleep.
- Gardiner et al. 2023 (meta-analysis): To avoid losing sleep time, the authors suggest a coffee (107 mg per 250 ml) at least 8.8 hours before bed.
Estimate from a simple model: half-life of 3, 5 or 8 hours, 50 mg bedtime target. How we calculate
Key takeaways
- Feeling caffeine and having caffeine in your body are different things: MedlinePlus puts the felt effect at about four to six hours.
- The European Food Safety Authority (EFSA) gives caffeine an average half-life of about 4 hours in healthy adults, with a range of 2 to 8 hours.
- At a 4-hour half-life, 100 mg falls to about 50 mg after 4 hours, 25 mg after 8 and 13 mg after 12, by our arithmetic.
- In a small study, 200 mg taken around 7 a.m. was still measurable at 11 p.m. and still reduced sleep that night.
- Smoking speeds up clearance, while pregnancy, some medicines and liver disease can slow it a great deal.
How long caffeine lasts: feeling it versus having it in your body
Caffeine works fast. According to EFSA, you may start to notice it within 15 to 30 minutes and the lift can last for hours, and MedlinePlus says the level in your blood peaks within about an hour. If you want the detail on the start of that curve, see how long caffeine takes to kick in.
MedlinePlus adds that you may keep feeling the effects for four to six hours. That is the answer most people mean when they ask how long caffeine lasts, but it is not the same as how long caffeine stays in your body. The level falls gradually, and the fall is described by its half-life: the time it takes your body to clear half of what is there.
Not noticing caffeine any more does not mean it has stopped acting. In a 2025 sleep trial, what the sleep recordings showed and how people rated their own sleep did not match, and the researchers concluded that people may not notice how much caffeine is affecting their sleep.
Caffeine left in your body hour by hour: a 100 mg estimate
The table below is an estimate, not a measurement. It takes one 100 mg dose, assumes it is all absorbed at once, and halves it every half-life. The three columns use EFSA's figures for healthy adults: a 2-hour half-life (fast end), 4 hours (EFSA's average) and 8 hours (slow end). Hours are counted from when the caffeine peaks, roughly within an hour of drinking.
For other doses, scale the numbers: double them for 200 mg, halve them for 50 mg. For a sense of size, the NHS estimates about 100 mg in a cup of instant coffee, while the FDA lists 113 to 247 mg for a 12-ounce brewed coffee. Our brewed coffee page shows why cups vary so much.
| Hours after the peak | Fast: 2 h half-life | Average: 4 h half-life | Slow: 8 h half-life |
|---|---|---|---|
| 2 | 50 | 71 | 84 |
| 4 | 25 | 50 | 71 |
| 6 | 13 | 35 | 59 |
| 8 | 6 | 25 | 50 |
| 10 | 3 | 18 | 42 |
| 12 | 2 | 13 | 35 |
| 16 | under 1 | 6 | 25 |
| 24 | under 1 | 2 | 13 |
How long caffeine keeps you awake: what the sleep studies measured
The clearest real-world picture of how long caffeine lingers comes from a small 1995 lab study in 9 healthy men. They took 200 mg at about 7 a.m. Their saliva caffeine fell from a peak of 17 micromoles per litre an hour after the dose to 3 just before bed at 11 p.m., roughly a sixth of the peak. Compared with placebo, their total sleep time and sleep efficiency that night were still significantly lower.
Bigger doses closer to bed do more. In a 2013 trial of 12 healthy sleepers, 400 mg taken at bedtime, 3 hours before or 6 hours before each disturbed sleep compared with placebo. Even at 6 hours, a sleep monitor measured more than an hour less sleep, although the drop in their own sleep diaries was smaller and not clearly significant.
Smaller doses look gentler. In a 2025 randomized trial of 23 healthy young men, 100 mg taken 12, 8 or 4 hours before bed had no significant effect on measured or self-rated sleep, while 400 mg within 12 hours of bed delayed falling asleep and changed sleep structure. Times closer than 4 hours were not tested. To turn this into a time for your last drink, use the caffeine cutoff calculator.
Why caffeine wears off faster for some people than for others
The FDA points out that people differ a lot, both in how strongly caffeine affects them and in how quickly they get rid of it. EFSA lists age, body weight, pregnancy, medicines and liver health among the things that change how long caffeine stays in the body. Some of the measured effects are large:
- Smoking: a review states that cigarette smoking doubles the rate of caffeine clearance.
- Estrogen birth-control pills: in one small study, half-life averaged about 7.9 hours in users versus 5.4 hours in non-users.
- Pregnancy: in a 1981 study, half-life averaged 8.3 hours (range 3 to 16) in pregnant women versus 3.4 hours in non-pregnant adults.
- Some medicines: in small studies, the antibiotic ciprofloxacin raised half-life from 4.5 to 9.7 hours, and the antidepressant fluvoxamine from about 5 to 31 hours.
- Liver disease: two patients with alcohol-related liver disease had half-lives of 60 and 168 hours.
Why a second coffee makes caffeine last longer into the evening
Caffeine from one cup is still in your body when you drink the next, so doses stack. Here is the arithmetic for two 100 mg coffees, one at 8 a.m. and one at noon, with a 4-hour half-life: about 50 mg is left from the first when you drink the second, so you start the afternoon at about 150 mg. By 4 p.m. that is about 75 mg, and by 10 p.m. about 27 mg. The noon cup alone would leave about 18 mg at 10 p.m.
With an 8-hour half-life the same two cups leave about 72 mg at 10 p.m. A single 100 mg coffee at 4 p.m. leaves about 35 mg at 10 p.m. on the average curve and about 59 mg on the slow one. The calculator above runs these numbers for your own drink and bedtime.
If you are working out whether you are on the fast or slow side, our guide to being a fast or slow caffeine metabolizer goes through the factors one by one, and the caffeine half-life explainer shows how the halving works.
When lingering caffeine symptoms need medical help
Once caffeine is in your body, waiting is the main thing that brings the level down; the studies we rely on do not show a way to make your liver clear it faster. If you had too much and cannot sleep, our guide on how to sleep after caffeine covers what you can still do tonight.
The FDA lists a faster heart rate, palpitations, high blood pressure, sleep problems, anxiety, jitters, upset stomach, nausea and headache among the signs of too much caffeine, and advises talking with a health professional if they occur. MedlinePlus says that signs of a caffeine overdose, such as breathing trouble, seizures, or an irregular or rapid heartbeat, need medical help right away.
The NHS advises calling emergency services if heart palpitations come with chest pain, shortness of breath, or feeling faint or fainting. Outside the UK, use your local emergency number. If you take regular medicines, are pregnant or have liver disease, ask your doctor or pharmacist how caffeine fits in, because these can make it last much longer.
Common questions
Is caffeine completely out of your system after 24 hours?
Usually almost all of it, but not always. By our arithmetic, 24 hours is 12 half-lives at a 2-hour half-life, which leaves essentially nothing of a 100 mg dose; at 4 hours it leaves about 2 mg, and at 8 hours about 13 mg. In pregnancy, with some medicines or with liver disease, half-life can be far longer, so more remains.
How long does a cup of coffee keep you awake at night?
It depends on the dose and on when you drink it. In a 2025 trial, 100 mg taken 4 or more hours before bed had no significant effect on sleep in young men, while 400 mg within 12 hours disturbed it. In a smaller study, 200 mg at 7 a.m. still reduced sleep that night.
Does caffeine last longer if you drink coffee every day?
Not that we can find. In a 1981 study, people's caffeine half-lives were not related to how much coffee they drank. What changes is how it feels: in one study, people taking a high 900 mg a day for 18 days stopped feeling its subjective effects altogether. Whether regular drinkers become tolerant to its sleep effects is still unclear, according to 2025 trial authors.
How long does 200 mg of caffeine stay in your system?
On EFSA's average 4-hour half-life, 200 mg falls to about 100 mg after 4 hours, 50 mg after 8 and 25 mg after 12, by our arithmetic. At the slow end, an 8-hour half-life, about 100 mg is still there after 8 hours. In one small study, 200 mg taken at 7 a.m. was still measurable at bedtime.
General information, not medical advice
If you feel unwell after caffeine — for example chest pain, a fast or irregular heartbeat that does not settle, fainting, confusion or trouble breathing — get urgent medical help. If you are pregnant, take medication or have a heart, liver or anxiety condition, ask a doctor or pharmacist what amount is right for you.
Sources
- European Food Safety Authority (2015). EFSA explains risk assessment: Caffeine. European Food Safety Authority (doi:10.2805/618813). efsa.europa.eu (PDF) ↗
- MedlinePlus (U.S. National Library of Medicine) (2021). Caffeine: MedlinePlus. MedlinePlus, U.S. National Library of Medicine. medlineplus.gov ↗
- Landolt HP, Werth E, Borbély AA, et al. (1995). Caffeine intake (200 mg) in the morning affects human sleep and EEG power spectra at night. Brain Research, 675(1–2), 67–74. PMID 7796154 ↗
- Drake C, Roehrs T, Shambroom J, Roth T. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195–1200. PMID 24235903 ↗
- Gardiner CL, Weakley J, Burke LM, et al. (2025). Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial. Sleep, 48(4), zsae230. doi:10.1093/sleep/zsae230 ↗
- U.S. Food and Drug Administration (2024). Spilling the Beans: How Much Caffeine is Too Much? FDA Consumer Updates. fda.gov ↗
- NHS. Foods to avoid in pregnancy. NHS. nhs.uk ↗
- Temple JL, Bernard C, Lipshultz SE, et al. (2017). The Safety of Ingested Caffeine: A Comprehensive Review. Frontiers in Psychiatry, 8, 80. PMID 28603504 ↗
- Abernethy DR, Todd EL. (1985). Impairment of caffeine clearance by chronic use of low-dose oestrogen-containing oral contraceptives. European Journal of Clinical Pharmacology, 28(4), 425–428. PMID 4029248 ↗
- Knutti R, Rothweiler H, Schlatter C. (1981). Effect of pregnancy on the pharmacokinetics of caffeine. European Journal of Clinical Pharmacology, 21(2), 121–126. PMID 7341280 ↗
- Mahr G, Sörgel F, Granneman GR, et al. (1992). Effects of temafloxacin and ciprofloxacin on the pharmacokinetics of caffeine. Clinical Pharmacokinetics, 22(Suppl 1), 90–97. PMID 1319876 ↗
- Jeppesen U, Loft S, Poulsen HE, et al. (1996). A fluvoxamine-caffeine interaction study. Pharmacogenetics, 6(3), 213–222. PMID 8807660 ↗
- Statland BE, Demas TJ. (1980). Serum caffeine half-lives. Healthy subjects vs. patients having alcoholic hepatic disease. American Journal of Clinical Pathology, 73(3), 390–393. PMID 7361718 ↗
- Evans SM, Griffiths RR. (1992). Caffeine tolerance and choice in humans. Psychopharmacology, 108(1–2), 51–59. PMID 1410146 ↗
- MedlinePlus Medical Encyclopedia (2025). Caffeine overdose. MedlinePlus, U.S. National Library of Medicine. medlineplus.gov ↗
- NHS. Heart palpitations. NHS. nhs.uk ↗
An app for better sleep is on the way
We’re working on a mobile app to help you sleep better. It isn’t out yet. Leave your email and we’ll let you know when it launches.