<report> Yes, for many people, but the effect depends on how much caffeine is taken and how close to bedtime it is consumed. Controlled experiments found that caffeine taken in the hours before bed reduced sleep, while large population surveys found weak or mixed links between coffee and sleep quality.
Controlled studies: timing and amount matter
In a small 2013 randomized, placebo-controlled study of 12 healthy sleepers, a single 400 mg caffeine dose disrupted sleep when taken 0, 3 or 6 hours before bedtime. The 6-hour dose cut objectively measured total sleep time by more than an hour [1]. The authors concluded that people should avoid substantial caffeine for at least six hours before bed [2].
A 2025 crossover trial of 23 men with moderate habitual caffeine intake gave a more detailed picture. A 100 mg dose taken four hours before bed did not significantly affect sleep, but 400 mg taken within 12 hours of bedtime did, and the effect grew the closer intake was to bedtime [3]. The 400 mg dose taken four hours before bed reduced perceived sleep quality by about 34%, but the subjective effect was not significant at 8 or 12 hours. The authors also noted that objective and subjective sleep measures did not fully agree [4].
A 2025 meta-analysis of 10 studies involving 128 athletes found a small reduction in sleep efficiency after caffeine taken before late-afternoon or evening training. However, this effect was not robust when individual studies were removed in sensitivity analyses [5].
Population studies: weak or mixed links
A 2026 study of 25,381 Swedish adults aged 50–64 found only very weak associations between habitual coffee intake and self-reported sleep quality or daytime sleepiness [6]. In the same study, low coffee consumption was linked to worse sleep quality and more difficulty falling asleep than non-drinking, while high consumption was linked to better sleep [7]. The authors reported that the absolute differences between groups were small [7]. This pattern runs opposite to what the controlled trials would suggest, and the sources Scout reviewed do not explain the difference.
A systematic review and meta-analysis by Gardiner et al. found no association between coffee and insomnia. Higher caffeine intake, especially in the evening, was significantly associated with insomnia [8]. A 2024 study of adults aged 55–85 found no link between coffee or tea caffeine and sleep quality [9], and a study in Jazan, Saudi Arabia, found no significant relationship between coffee intake and sleep quality [10].
Individual differences may matter
Genetics may influence how caffeine affects sleep. In adults, variants in the ADORA2A gene affected total sleep time and insomnia risk among people consuming under 300 mg of caffeine per day. Above 300 mg per day, sleep time fell and insomnia rose regardless of genot
Sources
- ScienceDaily (summarising Drake et al., J Clin Sleep Med 2013)
- PubMed: Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed
- PMC: Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial
- ResearchGate: Dose and timing effects of caffeine on subsequent sleep (2025 crossover trial)
- PMC: Effect of consuming caffeine before late afternoon/evening training on sleep, systematic review with meta-analysis
- News-Medical: Does coffee disrupt sleep? Large population study suggests the impact may be minimal
- PLOS One: Habitual coffee consumption poorly correlates with sleep quality and daytime sleepiness
- The effect of caffeine on subsequent sleep: A systematic review and meta-analysis (Gardiner et al.)
- The Association between Caffeine Consumption from Coffee and Tea and Sleep Health in Male and Female Older Adults: A Cross-Sectional Study
- Impact of Coffee Intake on Sleep Quality Among Adults in the Jazan Region, Saudi Arabia: A Cross-Sectional Study
- Sleep Quality and Duration in Children That Consume Caffeine: Impact of Dose and Genetic Variation in ADORA2A and CYP1A
- The Impact of Genetic Variations in ADORA2A in the Association between Caffeine Consumption and Sleep
- CYP1A2 Genotype Variations Do Not Modify the Benefits and Drawbacks of Caffeine during Exercise: A Pilot Study
- Unraveling the complexities of caffeine: metabolism, genetics, evolution, and health - PMC