Caffeine and sleep: what research says about half-life and late coffee
Author: Davka editorial team. Published 1 December 2026. Sources last checked 1 December 2026.
A review of published research, not medical advice. How we use sources.
Yes, studies show that caffeine can disturb sleep, and a systematic review found that both the dose and the timing matter.1 A trial in the home environment found significant effects on sleep disturbance even when caffeine was taken several hours before habitual bedtime.2 How long caffeine stays in the body differs between people: in one study of healthy men its half-life ranged from 2.7 to 9.9 hours.3
Contents
How caffeine acts on sleep regulation
Half-life: why it differs between people
What studies report for some groups
What studies of caffeine before bedtime show
How caffeine acts on sleep regulation
Experiments with cats showed how the level of adenosine in the brain changes across waking and sleep. In a cholinergic region of the basal forebrain, adenosine outside the cells built up during wakefulness, kept rising during prolonged wakefulness and fell slowly during the sleep that followed.4 A 2022 review notes that adenosine is now widely accepted as a sleep-regulating substance made by the body itself, and that caffeine binds to its receptors as an antagonist, blocking them, and so reduces sleepiness.5
Work in mice asked which adenosine receptor matters for the wakefulness caffeine causes. Caffeine increased wakefulness in normal mice and in mice lacking the A1 receptor, but not in mice lacking the A2A receptor.6 Animal results describe a mechanism, not how large an effect is in people.
Half-life: why it differs between people
The half-life is the time it takes for the concentration of caffeine in the blood to fall by half. In a small study of ten healthy men aged 18.8 to 30.0 years, the plasma half-life of caffeine ranged from 2.7 to 9.9 hours, which the authors call substantial variability between subjects.7 Absorption in the same study was fast: after 5 mg per kilogram of body weight in a water solution, plasma levels peaked at 29.8 ± 8.1 minutes (mean ± standard error of the mean), and the authors describe the bioavailability of oral caffeine as essentially complete.8
A 2018 review reports that the enzyme CYP1A2 breaks down 95% of the caffeine people ingest, and that variants (a polymorphism) of this enzyme make the pharmacokinetics of caffeine, meaning how it is absorbed and cleared, highly variable from person to person.9 The review also lists age, sex and hormones, liver disease, obesity, smoking and diet among the factors that affect how caffeine is metabolized.10 A genetic study of one variant of the gene for this enzyme found no significant difference between three genotypes in the urinary ratio of caffeine metabolites to caffeine among 185 non-smokers, but among 51 smokers the plasma ratio did differ significantly between genotypes.11
The half-life can also depend on the amount. In a study of twelve healthy volunteers who received placebo, 250 mg and 500 mg of caffeine in random order, caffeine was cleared more slowly after the larger amount: clearance (the rate at which the body removes it) was significantly lower and the half-life longer than after 250 mg, which the authors describe as nonlinear kinetics.12
What studies report for some groups
| Comparison | What the study measured |
|---|---|
| Smoking | Mean half-life of caffeine in saliva: 3.5 hours in 13 smokers and 6.0 hours in 13 non-smokers.13 |
| Oral contraceptives | Mean elimination half-life of caffeine: 7.88 hours in women who had used oral contraceptives with less than 50 micrograms of oestrogen for more than 3 months, and 5.37 hours in controls.14 |
| Pregnancy | Mean half-life of caffeine in saliva: 3.4 hours (range 2 to 5 hours, 25 people) in men and non-pregnant women, and 8.3 hours (range 3 to 16 hours, 57 people) in pregnant women.15 |
What studies of caffeine before bedtime show
A study of nine healthy men looked at caffeine taken in the morning: after 200 mg at 07:10, the caffeine level in saliva fell from a peak of 17 micromoles per litre an hour after intake to 3 micromoles per litre just before the sleep period began at 23:00.16 Compared with placebo, sleep efficiency (the share of time in bed spent asleep) and total sleep time were still significantly lower.17
A trial at home compared placebo with a fixed 400 mg of caffeine taken 0, 3 or 6 hours before habitual bedtime, tracking sleep both by the participants' own reports and with a validated portable monitor.18 The authors report significant sleep disturbance relative to placebo at all three times (p < 0.05), and in their view the size of the drop in total sleep time suggests that caffeine taken 6 hours before bedtime has important disruptive effects on sleep.19
Adenosine may also be linked to the body clock: the 2022 review discusses more recent evidence that adenosine levels may influence how the circadian clock works.20 In people, this was tested in a double-blind, placebo-controlled study lasting about 49 days: a caffeine dose equivalent to a double espresso, taken 3 hours before habitual bedtime, shifted the circadian melatonin rhythm about 40 minutes later.21
What the systematic reviews pool
Two systematic reviews bring the results of many studies together. The earlier one covered both epidemiological studies and randomized controlled trials. Across them, caffeine typically lengthened the time it took to fall asleep, shortened total sleep time, lowered sleep efficiency and worsened perceived sleep quality. The authors of this 2017 review write that dose-response and timing-response relationships were established.22
A more recent meta-analysis from 2023 pooled data from 24 studies; the table lists its main results.23 The authors also derived a timing estimate: to avoid a reduction in total sleep time, they state, coffee with 107 mg of caffeine per 250 mL would need to be drunk at least 8.8 hours before bedtime.24
| Sleep measure | Change after caffeine |
|---|---|
| Total sleep time | 45 minutes shorter.25 |
| Sleep efficiency | 7% lower.26 |
| Time to fall asleep | 9 minutes longer.27 |
| Wake after sleep onset | 12 minutes longer.28 |
| Light sleep (stage N1) | 6.1 minutes longer, share of sleep 1.7% higher.29 |
| Deep sleep (stages N3 and N4) | 11.4 minutes shorter, share of sleep 1.4% lower.30 |
Why sensitivity differs
The 2017 review reports that the sleep of older adults may be more sensitive to caffeine than that of younger adults, and that marked individual differences exist in young people too.31 One study compared adults who rated themselves as sensitive or insensitive to caffeine. Habitual caffeine intake was associated with poorer sleep quality only in the sensitive group, and the two groups differed in the distribution of genotypes of the adenosine A2A receptor gene (ADORA2A).32 The 2018 review adds that genetic studies, including genome-wide association studies, have identified several regions of the genome (loci) critically involved in caffeine consumption and in its consequences for sleep, anxiety and possibly neurodegenerative and psychiatric diseases.33
What EFSA states
The European Food Safety Authority (EFSA) assessed caffeine in a scientific opinion on its safety, which it also summarizes on its website. According to EFSA, single doses of 100 mg of caffeine (about 1.4 mg per kilogram of body weight) may affect sleep duration and patterns in some adults, particularly when consumed close to bedtime.34
On total daily intake, EFSA states that up to 400 mg a day (about 5.7 mg per kilogram of body weight), spread over the day, does not raise safety concerns for healthy adults in the general population, except pregnant women, and that for the foetus caffeine from all sources of up to 200 mg a day, also spread over the day, does not raise safety concerns.35
Limits of the research
Several of the experiments cited are small: the pharmacokinetic study of 250 mg and 500 mg of caffeine had twelve volunteers, and the study of morning caffeine had nine men.36
The earlier of the two systematic reviews points out that most studies were done in adult men from Western countries, which limits how far the findings can be generalized. Its authors therefore call for long-term studies to test whether caffeine-induced changes in sleep quality are causally related to health over time.37
The 2022 review examines whether caffeine affects sleep differently after a single intake and with regular long-term use, and closes with open questions about how exactly adenosine and caffeine regulate and influence sleep.38
What is known and what is open
In short: caffeine blocks adenosine receptors,39 its half-life varies widely between people,40 pooled results show shorter total sleep after caffeine41 and effects on sleep were found even for caffeine taken several hours before bedtime.42, 43
Still open is how far the results apply beyond adult men from Western countries and whether caffeine-induced changes in sleep quality are causally linked to later health,44 and how exactly adenosine and caffeine regulate sleep.45
Notes
1. Ian Clark and Hans Peter Landolt, “Coffee, Caffeine, and Sleep: A Systematic Review of Epidemiological Studies and Randomized Controlled Trials,” Sleep Medicine Reviews 31 (2017): 70-78, https://doi.org/
2. Christopher Drake et al., “Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed,” Journal of Clinical Sleep Medicine 9, no. 11 (2013): 1195-1200, https://doi.org/
3. J. Blanchard and S. J. A. Sawers, “The Absolute Bioavailability of Caffeine in Man,” European Journal of Clinical Pharmacology 24, no. 1 (1983): 93-98, https://doi.org/
4. Tarja Porkka-Heiskanen et al., “Adenosine: A Mediator of the Sleep-Inducing Effects of Prolonged Wakefulness,” Science 276, no. 5316 (1997): 1265-1268, https://doi.org/
5. Carolin Franziska Reichert, Tom Deboer, and Hans-Peter Landolt, “Adenosine, Caffeine, and Sleep-Wake Regulation: State of the Science and Perspectives,” Journal of Sleep Research 31, no. 4 (2022): e13597, https://doi.org/
6. Zhi-Li Huang et al., “Adenosine A2A, but Not A1, Receptors Mediate the Arousal Effect of Caffeine,” Nature Neuroscience 8, no. 7 (2005): 858-859, https://doi.org/
7. Blanchard and Sawers, “Absolute Bioavailability.” back to the text
8. Blanchard and Sawers, “Absolute Bioavailability.” back to the text
9. Astrid Nehlig, “Interindividual Differences in Caffeine Metabolism and Factors Driving Caffeine Consumption,” Pharmacological Reviews 70, no. 2 (2018): 384-411, https://doi.org/
10. Nehlig, “Interindividual Differences.” back to the text
11. Christoph Sachse et al., “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, no. 4 (1999): 445-449, https://doi.org/
12. Gary B. Kaplan et al., “Dose-Dependent Pharmacokinetics and Psychomotor Effects of Caffeine in Humans,” Journal of Clinical Pharmacology 37, no. 8 (1997): 693-703, https://doi.org/
13. William D. Parsons and Allen H. Neims, “Effect of Smoking on Caffeine Clearance,” Clinical Pharmacology & Therapeutics 24, no. 1 (1978): 40-45, https://doi.org/
14. D. R. Abernethy and E. L. Todd, “Impairment of Caffeine Clearance by Chronic Use of Low-Dose Oestrogen-Containing Oral Contraceptives,” European Journal of Clinical Pharmacology 28, no. 4 (1985): 425-428, https://doi.org/
15. R. Knutti, H. Rothweiler, and Ch. Schlatter, “Effect of Pregnancy on the Pharmacokinetics of Caffeine,” European Journal of Clinical Pharmacology 21, no. 2 (1981): 121-126, https://doi.org/
16. Hans-Peter Landolt et al., “Caffeine Intake (200 mg) in the Morning Affects Human Sleep and EEG Power Spectra at Night,” Brain Research 675, no. 1-2 (1995): 67-74, https://doi.org/
17. Landolt et al., “Caffeine Intake in the Morning.” back to the text
18. Drake et al., “Caffeine Effects on Sleep.” back to the text
19. Drake et al., “Caffeine Effects on Sleep.” back to the text
20. Reichert, Deboer, and Landolt, “Adenosine, Caffeine, and Sleep-Wake Regulation.” back to the text
21. Tina M. Burke et al., “Effects of Caffeine on the Human Circadian Clock in Vivo and in Vitro,” Science Translational Medicine 7, no. 305 (2015): 305ra146, https://doi.org/
22. Clark and Landolt, “Coffee, Caffeine, and Sleep.” back to the text
23. Carissa Gardiner et al., “The Effect of Caffeine on Subsequent Sleep: A Systematic Review and Meta-Analysis,” Sleep Medicine Reviews 69 (2023): 101764, https://doi.org/
24. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
25. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
26. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
27. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
28. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
29. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
30. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
31. Clark and Landolt, “Coffee, Caffeine, and Sleep.” back to the text
32. J. V. Rétey et al., “A Genetic Variation in the Adenosine A2A Receptor Gene (ADORA2A) Contributes to Individual Sensitivity to Caffeine Effects on Sleep,” Clinical Pharmacology & Therapeutics 81, no. 5 (2007): 692-698, https://doi.org/
33. Nehlig, “Interindividual Differences.” back to the text
34. EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA), “Scientific Opinion on the Safety of Caffeine,” EFSA Journal 13, no. 5 (2015): 4102, https://doi.org/
35. EFSA NDA Panel, “Safety of Caffeine”; EFSA, “Caffeine.” back to the text
36. Kaplan et al., “Dose-Dependent Pharmacokinetics”; Landolt et al., “Caffeine Intake in the Morning.” back to the text
37. Clark and Landolt, “Coffee, Caffeine, and Sleep.” back to the text
38. Reichert, Deboer, and Landolt, “Adenosine, Caffeine, and Sleep-Wake Regulation.” back to the text
39. Reichert, Deboer, and Landolt, “Adenosine, Caffeine, and Sleep-Wake Regulation.” back to the text
40. Blanchard and Sawers, “Absolute Bioavailability.” back to the text
41. Gardiner et al., “Effect of Caffeine on Subsequent Sleep.” back to the text
42. Drake et al., “Caffeine Effects on Sleep.” back to the text
43. Landolt et al., “Caffeine Intake in the Morning.” back to the text
44. Clark and Landolt, “Coffee, Caffeine, and Sleep.” back to the text
45. Reichert, Deboer, and Landolt, “Adenosine, Caffeine, and Sleep-Wake Regulation.” back to the text
Bibliography
Abernethy, D. R., and E. L. Todd. “Impairment of Caffeine Clearance by Chronic Use of Low-Dose Oestrogen-Containing Oral Contraceptives.” European Journal of Clinical Pharmacology 28, no. 4 (1985): 425-428. https://doi.org/
Blanchard, J., and S. J. A. Sawers. “The Absolute Bioavailability of Caffeine in Man.” European Journal of Clinical Pharmacology 24, no. 1 (1983): 93-98. https://doi.org/
Burke, Tina M., Rachel R. Markwald, Andrew W. McHill, Evan D. Chinoy, Jesse A. Snider, Sara C. Bessman, Christopher M. Jung, John S. O’Neill, and Kenneth P. Wright. “Effects of Caffeine on the Human Circadian Clock in Vivo and in Vitro.” Science Translational Medicine 7, no. 305 (2015): 305ra146. https://doi.org/
Clark, Ian, and Hans Peter Landolt. “Coffee, Caffeine, and Sleep: A Systematic Review of Epidemiological Studies and Randomized Controlled Trials.” Sleep Medicine Reviews 31 (2017): 70-78. https://doi.org/
Drake, Christopher, Timothy Roehrs, John Shambroom, and Thomas Roth. “Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed.” Journal of Clinical Sleep Medicine 9, no. 11 (2013): 1195-1200. https://doi.org/
EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA). “Scientific Opinion on the Safety of Caffeine.” EFSA Journal 13, no. 5 (2015): 4102. https://doi.org/
European Food Safety Authority. “Caffeine.” Accessed December 1, 2026. https://www.efsa.europa.eu/
Gardiner, Carissa, Jonathon Weakley, Louise M. Burke, Gregory D. Roach, Charli Sargent, Nirav Maniar, Andrew Townshend, and Shona L. Halson. “The Effect of Caffeine on Subsequent Sleep: A Systematic Review and Meta-Analysis.” Sleep Medicine Reviews 69 (2023): 101764. https://doi.org/
Huang, Zhi-Li, Wei-Min Qu, Naomi Eguchi, Jiang-Fan Chen, Michael A. Schwarzschild, Bertil B. Fredholm, Yoshihiro Urade, and Osamu Hayaishi. “Adenosine A2A, but Not A1, Receptors Mediate the Arousal Effect of Caffeine.” Nature Neuroscience 8, no. 7 (2005): 858-859. https://doi.org/
Kaplan, Gary B., David J. Greenblatt, Bruce L. Ehrenberg, Jill E. Goddard, Monette M. Cotreau, Jerold S. Harmatz, and Richard I. Shader. “Dose-Dependent Pharmacokinetics and Psychomotor Effects of Caffeine in Humans.” Journal of Clinical Pharmacology 37, no. 8 (1997): 693-703. https://doi.org/
Knutti, R., H. Rothweiler, and Ch. Schlatter. “Effect of Pregnancy on the Pharmacokinetics of Caffeine.” European Journal of Clinical Pharmacology 21, no. 2 (1981): 121-126. https://doi.org/
Landolt, Hans-Peter, Esther Werth, Alexander A. Borbély, and Derk-Jan Dijk. “Caffeine Intake (200 mg) in the Morning Affects Human Sleep and EEG Power Spectra at Night.” Brain Research 675, no. 1-2 (1995): 67-74. https://doi.org/
Nehlig, Astrid. “Interindividual Differences in Caffeine Metabolism and Factors Driving Caffeine Consumption.” Pharmacological Reviews 70, no. 2 (2018): 384-411. https://doi.org/
Parsons, William D., and Allen H. Neims. “Effect of Smoking on Caffeine Clearance.” Clinical Pharmacology & Therapeutics 24, no. 1 (1978): 40-45. https://doi.org/
Porkka-Heiskanen, Tarja, Robert E. Strecker, Mahesh Thakkar, Alvhild A. Bjørkum, Robert W. Greene, and Robert W. McCarley. “Adenosine: A Mediator of the Sleep-Inducing Effects of Prolonged Wakefulness.” Science 276, no. 5316 (1997): 1265-1268. https://doi.org/
Reichert, Carolin Franziska, Tom Deboer, and Hans-Peter Landolt. “Adenosine, Caffeine, and Sleep-Wake Regulation: State of the Science and Perspectives.” Journal of Sleep Research 31, no. 4 (2022): e13597. https://doi.org/
Rétey, J. V., M. Adam, R. Khatami, U. F. O. Luhmann, H. H. Jung, W. Berger, and H.-P. Landolt. “A Genetic Variation in the Adenosine A2A Receptor Gene (ADORA2A) Contributes to Individual Sensitivity to Caffeine Effects on Sleep.” Clinical Pharmacology & Therapeutics 81, no. 5 (2007): 692-698. https://doi.org/
Sachse, Christoph, Jürgen Brockmöller, Steffen Bauer, and Ivar Roots. “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, no. 4 (1999): 445-449. https://doi.org/
How this relates to logging in Davka
Davka stores the time and amount of every caffeine drink you log and estimates how much caffeine is left, using one half-life of about 5 hours for everyone, so the estimate comes from your entries and is not a measurement.
The caffeine curve and the estimate for the evening are part of Davka plus, three supplements, water and caffeine logging, reminders and your history stay free, and the half-life table is on the page Caffeine half-life in a table.