
How long does caffeine last? Longer if you take the pill.
In ten healthy men, caffeine's half-life ran from 2.7 to 9.9 hours. Smoking shortens it, the pill stretches it, and the well-known cut-off for your last coffee only fits the average.
How long does caffeine last? Most answers online say three to five hours, and we could not find a single study that measured that as a fixed figure. What the studies did measure is how long it takes the body to clear half of it, and the spread is wide: in ten healthy young men, caffeine's half-life ran from 2.7 to 9.9 hours (Blanchard & Sawers, 1983). That is the difference between a 15:40 coffee being mostly gone by midnight and more than half of it still circulating while you lie awake at 23:20, wondering what went wrong with a day that ended so reasonably.
How long does caffeine take to kick in?
Fast. In James Blanchard and Stewart Sawers' trial, the men drank caffeine dissolved in water, 5 mg per kilogram of body weight, and blood levels peaked after an average of 29.8 minutes, with essentially all of the dose absorbed (Blanchard & Sawers, 1983). It is not always that quick. In David Penetar's study, 50 young men received up to 600 mg per 70 kg after 49 hours without sleep, and their blood levels peaked only after 90 minutes and stayed raised for 12 hours (Penetar et al., 1993). Dose changes the breakdown as well. Gary Kaplan gave twelve healthy volunteers 250 mg on one occasion and 500 mg on another, and at the higher dose clearance fell and the half-life lengthened (Kaplan et al., 1997). A bigger dose is more caffeine and a slower exit. The smaller dose also did better on a digit-symbol test and a tapping test, while the larger one mainly added tension, nervousness and restlessness.
Its main target in the brain is the adenosine A2A receptor (Nehlig, A, 2018).
The trickier question is how long you feel it. For rested adults on an ordinary cup, we found no study that tracked alertness hour by hour, which is a strange gap given how much coffee the world drinks. The figures that do exist come from sleep deprivation: after 64 hours awake, 600 mg of caffeine kept simple reaction performance up for roughly 2 to 4 hours in groups of 12 (Wesensten et al., 2005). A very high dose in an extreme situation, but the lesson carries over. Feeling awake and having caffeine in your blood are two different clocks, and the second one runs much longer.
How long does caffeine stay in your system?
That is set by your half-life. Blanchard and Sawers measured it twice in 1983. In the first study, ten healthy men aged 18 to 30 ranged from 2.7 to 9.9 hours (Blanchard & Sawers, 1983); in the second, eight young men and eight men around 71 ranged from 2.27 to 9.87 hours, and age made little systematic difference (Blanchard & Sawers, 1983).
Caffeine half-life in healthy men, shortest to longest. 10 young men: 2.7–9.9hrs; 8 young and 8 older men: 2.27–9.87hrs.
The arithmetic does the rest. After one half-life, half is left; after two, a quarter; after three, an eighth. A coffee drunk at 15:40 has been halved three times by midnight if your half-life is 2.7 hours, and not even once if it is 9.9. The same cup, the same evening, and a very different amount of caffeine going to bed with two different people.
The extremes show how far this can stretch. In 1980, Bernard Statland and Theodore Demas measured half-lives of 60 and 168 hours in two people with alcohol-related liver disease, against a mean of 5.7 hours in three healthy volunteers (Statland & Demas, 1980). Five people make no rule, but they show the scale. Even the meta-analysis further down, the source of the best-known cut-off, says its findings may not carry over to adolescents, adults over 65, people who never drink caffeine or people who drink a lot of it (Gardiner et al., 2023).
Caffeine sensitivity: cigarettes, the pill and your genes
Astrid Nehlig's review puts 95 per cent of caffeine breakdown on a single enzyme, CYP1A2, whose pace shifts with age, hormones, smoking, diet and more (Nehlig, A, 2018). Two of those factors have been measured carefully, and the first is smoking, which speeds it up. In 1978, William Parsons and a colleague compared 13 smokers with 13 non-smokers and found a mean half-life of 3.5 hours against 6.0 (Parsons & Neims, 1978). A second study found clearance of 114 ml per minute in 8 smokers without liver disease and 64 in 15 non-smokers (Joeres et al., 1988). The reverse is the part worth knowing. When 7 smokers stopped for three weeks, caffeine clearance fell from 118 to 77 ml per minute, and in 9 smokers who drank six cups a day, four days without cigarettes were enough to raise the caffeine in their blood over 24 hours by 46 per cent (Brown et al., 1988). Quit smoking, keep the same coffee habit, and your evenings carry more caffeine than before without a single extra cup.
The contraceptive pill slows it down. A 1980 study found a half-life of 10.7 hours in 9 women on the pill and 6.2 hours in 9 women not taking it (Patwardhan et al., 1980), while women off the pill looked much like the men in the same study. With lower-dose pills, Abernethy and Todd measured 7.88 against 5.37 hours in 1985 (Abernethy & Todd, 1985), and a team led by Rietveld found caffeine staying in the body twice as long within two weeks of 9 young women starting the pill (Rietveld et al., 1984).
Average caffeine half-life in hours, by group. Smokers: 3.5hrs; Non-smokers: 6.0hrs; Women not on the pill: 6.2hrs; Women on the pill: 10.7hrs.
Genes matter less neatly than the test kits suggest. The well-known CYP1A2 variant made no measurable difference to caffeine breakdown in 185 non-smokers, only in 51 smokers (Sachse et al., 1999). Sleep sensitivity is its own story too: variants of the ADORA2A gene, which codes for the adenosine receptor, were distributed differently in people who call their sleep caffeine-sensitive than in people who do not (Rétey et al., 2007).
Why a morning coffee can still reach your night
The most thorough attempt to turn all this into a rule comes from Carissa Gardiner's team in 2023. They pooled 24 controlled studies in healthy adults: caffeine cut total sleep by 45 minutes on average and added 9 minutes to the time it took to fall asleep (Gardiner et al., 2023). Sleep efficiency dropped by 7 per cent, and people spent 12 more minutes awake after first dropping off. Every extra hour between the last dose and bedtime shrank the lost sleep by 2.8 minutes. From that slope they derived cut-offs, at least 8.8 hours before bed for a 107 mg coffee and 13.2 hours for a 217.5 mg pre-workout drink, with no cut-off at all for a cup of black tea. For a 22:00 bedtime, that puts the last coffee before 13:12.
The paper is candid about its limits. The cut-offs rest on statistical rather than clinical significance, they apply to healthy adults with low to moderate caffeine habits, and the factors that shift half-life, the pill and smoking among them, were largely controlled in the studies it pooled (Gardiner et al., 2023). So 8.8 hours describes an average clearer. The authors call their cut-offs "a starting point" and suggest adjusting dose and timing by how you actually sleep. Timing, interestingly, changed total sleep time in their model but not the time taken to fall asleep.
A small 1995 study shows how far one dose can reach. Hans-Peter Landolt's team gave nine healthy men 200 mg at 07:10, and that night, from 23:00, their sleep efficiency and total sleep were lower than after a placebo (Landolt et al., 1995). Salivary caffeine had fallen from 17 to 3 µmol per litre by bedtime, down, not gone. The team suggests caffeine may slow the build-up of sleep pressure across the waking day. We could only read the abstract, which does not say how many minutes were lost. For what 400 mg six hours before bed did in Christopher Drake's trial (more than an hour of measured sleep) (Drake et al., 2013), see our page on sleep hygiene.
Finding your own caffeine cut-off
Take 8.8 hours as the first guess and your own nights as the data. Do not trust the feeling alone, though. In Drake's trial, people who took the dose six hours before bed wrote down only 41 minutes less sleep in their diaries, a difference that did not reach significance, while the monitor counted more than an hour (Drake et al., 2013). A cut-off set by feel tends to be set too late. The sequence below is our suggestion, not a protocol from any study. To see how much of today's coffee is still in you at bedtime, try the caffeine calculator with the half-life that fits you.
- Day 1
Fix your bedtime and count back 8.8 hours, so 14:12 for a 23:00 bedtime
That is the gap the meta-analysis calculated for a 107 mg cup.
- Week 1
Keep the last coffee before that time and note each morning how the night went, plus measured sleep if you wear a tracker
The cut-off assumes an average rate of breakdown.
- On the pill or newly smoke-free
Start earlier than the calculation says
Breakdown was slower on the pill, and blood caffeine rose after quitting.
- Week 2
Move the time by an hour, earlier or later, depending on week 1
The meta-analysis authors advise adjusting from your own sleep.
In the nine:thirty protocol the caffeine cut-off sits at 14:00, a narrow margin for a 23:00 bedtime and on the late side for early sleepers or slow clearers, which is why we see it as a default rather than a law. If you lean on an afternoon coffee to get through the slump, the afternoon tiredness piece has the ten-minute nap trial. How long a focused morning block should run before a break is compared in our look at the Pomodoro technique, and the coffee itself belongs to the deep work block in the morning.
14:00, last cup, then a week of honest notes about your nights. For some people, caffeine clocks off well after midnight.
Frequently asked questions
How long does caffeine keep you awake?
Nobody has measured that hour by hour for a rested person and an ordinary cup. In heavy sleep deprivation, 600 mg kept simple reaction performance up for about 2 to 4 hours (Wesensten et al., 2005). Caffeine itself stays far longer: its half-life ranged from 2.7 to 9.9 hours in healthy men (Blanchard & Sawers, 1983), so the alert feeling fades first.
Does smoking affect caffeine?
Yes, strongly. Smokers cleared half of their caffeine in 3.5 hours on average, against 6.0 hours in non-smokers (Parsons & Neims, 1978). The effect reverses when you quit: after four smoke-free days, blood caffeine over 24 hours rose by 46 per cent on the same coffee intake (Brown et al., 1988). People who stop smoking often need an earlier last cup.
How long is caffeine in your system?
Blood levels peaked about half an hour after drinking, at 29.8 minutes on average (Blanchard & Sawers, 1983). Half of it was gone after 2.7 to 9.9 hours depending on the person, and after each further half-life another half disappears. With a long half-life, a morning dose was still measurable in saliva at 23:00 in one small study (Landolt et al., 1995).
Sources
- Abernethy, D. R., & Todd, E. L. (1985). Impairment of caffeine clearance by chronic use of low-dose oestrogen-containing oral contraceptives. European Journal of Clinical Pharmacology, 28(4), 425–428. https://doi.org/10.1007/BF00544361
- Blanchard, J., & Sawers, S. J. A. (1983). Comparative pharmacokinetics of caffeine in young and elderly men. Journal of Pharmacokinetics and Biopharmaceutics, 11(2), 109–126. https://doi.org/10.1007/BF01061844
- Blanchard, J., & Sawers, S. J. A. (1983). The absolute bioavailability of caffeine in man. European Journal of Clinical Pharmacology, 24(1), 93–98. https://doi.org/10.1007/BF00613933
- Brown, C. R., Jacob, P., III, Wilson, M., & Benowitz, N. L. (1988). Changes in rate and pattern of caffeine metabolism after cigarette abstinence. Clinical Pharmacology and Therapeutics, 43(5), 488–491. https://doi.org/10.1038/clpt.1988.63
- 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. https://doi.org/10.5664/jcsm.3170
- Gardiner, C., Weakley, J., Burke, L. M., Roach, G. D., Sargent, C., Maniar, N., Townshend, A., & Halson, S. L. (2023). The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews, 69, Article 101764. https://doi.org/10.1016/j.smrv.2023.101764
- Joeres, R., Klinker, H., Heusler, H., Epping, J., Zilly, W., & Richter, E. (1988). Influence of smoking on caffeine elimination in healthy volunteers and in patients with alcoholic liver cirrhosis. Hepatology, 8(3), 575–579. https://doi.org/10.1002/hep.1840080323
- Kaplan, G. B., Greenblatt, D. J., Ehrenberg, B. L., Goddard, J. E., Cotreau, M. M., Harmatz, J. S., & Shader, R. I. (1997). Dose-dependent pharmacokinetics and psychomotor effects of caffeine in humans. The Journal of Clinical Pharmacology, 37(8), 693–703. https://doi.org/10.1002/j.1552-4604.1997.tb04356.x
- Landolt, H.-P., Werth, E., Borbély, A. A., & Dijk, D.-J. (1995). Caffeine intake (200 mg) in the morning affects human sleep and EEG power spectra at night. Brain Research, 675(1–2), 67–74. https://doi.org/10.1016/0006-8993(95)00040-W
- Nehlig, A. (2018). Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacological Reviews, 70(2), 384–411. https://doi.org/10.1124/pr.117.014407
- Parsons, W. D., & Neims, A. H. (1978). Effect of smoking on caffeine clearance. Clinical Pharmacology & Therapeutics, 24(1), 40–45. https://doi.org/10.1002/cpt197824140
- Patwardhan, R. V., Desmond, P. V., Johnson, R. F., & Schenker, S. (1980). Impaired elimination of caffeine by oral contraceptive steroids. The Journal of Laboratory and Clinical Medicine, 95(4), 603–608. https://pubmed.ncbi.nlm.nih.gov/7359014/
- Penetar, D., McCann, U., Thorne, D., Kamimori, G., Galinski, C., Sing, H., Thomas, M., & Belenky, G. (1993). Caffeine reversal of sleep deprivation effects on alertness and mood. Psychopharmacology, 112(2–3), 359–365. https://doi.org/10.1007/BF02244933
- Rietveld, E. C., Broekman, M. M. M., Houben, J. J. G., Eskes, T. K. A. B., & van Rossum, J. M. (1984). Rapid onset of an increase in caffeine residence time in young women due to oral contraceptive steroids. European Journal of Clinical Pharmacology, 26(3), 371–373. https://doi.org/10.1007/BF00548769
- Rétey, J. V., Adam, M., Khatami, R., Luhmann, U. F. O., Jung, H. H., Berger, W., & Landolt, H.-P. (2007). A genetic variation in the adenosine A2A receptor gene (ADORA2A) contributes to individual sensitivity to caffeine effects on sleep. Clinical Pharmacology & Therapeutics, 81(5), 692–698. https://doi.org/10.1038/sj.clpt.6100102
- Sachse, C., Brockmöller, J., Bauer, S., & Roots, I. (1999). Functional significance of a C→A polymorphism in intron 1 of the cytochrome P450 CYP1A2 gene tested with caffeine. British Journal of Clinical Pharmacology, 47(4), 445–449. https://doi.org/10.1046/j.1365-2125.1999.00898.x
- Statland, B. E., & Demas, T. J. (1980). Serum caffeine half-lives: Healthy subjects vs. patients having alcoholic hepatic disease. American Journal of Clinical Pathology, 73(3), 390–393. https://doi.org/10.1093/ajcp/73.3.390
- Techniker Krankenkasse. (2017). Schlaf gut, Deutschland: TK-Schlafstudie 2017. https://www.tk.de/resource/blob/2033604/118707bfcdd95b0b1ccdaf06b30226ea/schlaf-gut-deutschland-data.pdf
- Wesensten, N. J., Killgore, W. D. S., & Balkin, T. J. (2005). Performance and alertness effects of caffeine, dextroamphetamine, and modafinil during sleep deprivation. Journal of Sleep Research, 14(3), 255–266. https://doi.org/10.1111/j.1365-2869.2005.00468.x


