GradedHealth

Does caffeine improve focus and performance?

Caffeine can sharpen attention, especially when people are short of sleep, and modestly speed up endurance exercise. Here is what the trials show.

Published October 2026

Short answer

Caffeine reliably helps attention during sleep loss and modestly improves endurance, but evidence for everyday focus is thinner and it can disrupt sleep. Evidence grade B (Moderate). Several meta-analyses of placebo-controlled trials; downgraded once for indirectness (sleep-deprived people, athletes) and for thin evidence on focus when rested.

Key takeaways

  • When people are short of sleep, caffeine improves attention and reaction speed compared with placebo [1][2].
  • In athletes, moderate caffeine doses shortened endurance time-trial times, by about 2% in one meta-analysis [3][4].
  • Caffeine taken late in the day cut sleep time in a 24-study meta-analysis [5].
  • Caffeine can trigger panic attacks in people with panic disorder at doses of about five cups of coffee [6].

The short version

Caffeine sharpens attention, especially when people are short of sleep [1]. In athletes, it modestly speeds up endurance exercise [3][4]. For focus on a normal, rested day, the evidence rests on fewer and smaller trials [7]. Caffeine can also disrupt sleep if it is taken late in the day [5].

What the studies show

The strongest evidence is for people who are sleep-deprived. A 2020 meta-analysis of 45 publications found that caffeine improved response time and accuracy on attention tests in people short of sleep [1]. In a trial of 20 special forces personnel on three nights without sleep, repeated 200 mg doses kept reaction speed and vigilance steadier than placebo [2].

For people who are rested, the picture is less clear. A 2021 review of caffeine and thinking skills in sport found significant gains only for attention, accuracy and speed, in the five studies it pooled [7]. A 2018 trial in 59 young and older adults found that regular coffee cut reaction time compared with placebo, though coffee contains other compounds besides caffeine [8].

For endurance, the evidence is stronger. A 2018 meta-analysis of 46 placebo-controlled studies found that moderate doses (3 to 6 mg per kg of body weight) improved endurance performance, with time to finish about 2.2% faster [3]. A 2026 meta-analysis of 48 studies found that low and moderate doses both shortened time-trial completion times, with no trials testing doses above 6 mg per kg [4]. A broader 2020 umbrella review of 21 meta-analyses reached a similar conclusion for aerobic endurance, though some analyses were less certain [9].

For strength training, results depend on the exercise. A 2021 meta-analysis of 19 trials found that caffeine improved bench press repetitions and maximum bench strength, but not leg press results [10]. A 2022 meta-analysis found that doses of 0.9 to 2 mg per kg improved muscle strength and endurance during resistance exercise [11].

The nuances

Side effects rise with dose. In a review of athletes, the most common side effects were heart palpitations and poorer sleep onset, and they were more frequent with high doses [12]. The authors suggested about 3 mg per kg as a dose that keeps most of the benefit with the fewest side effects [12].

Sleep is the main downside. Across 24 studies, caffeine cut total sleep time by about 45 minutes and sleep efficiency by 7%, and the authors suggested coffee be taken at least 8.8 hours before bedtime [5].

People with panic disorder react strongly. In nine studies with 237 patients, about 51% had a panic attack after caffeine doses of 400 to 750 mg, compared with none after placebo [6]. Those doses are roughly five cups of coffee [6].

For young people, the evidence is thin. A 2026 meta-analysis of adolescent athletes found a small, uncertain benefit for physical performance, and the authors concluded the evidence is not enough to support routine use in youth sport [13].

The caffeine topic page lists the full safety information. Up to 400 mg a day is not linked to overt harm in healthy adults in a systematic review of caffeine safety [14]. In pregnancy, caffeine intake was linked to a higher risk of pregnancy loss, rising about 19% for every 150 mg a day, in observational studies [15]. The trials cited here did not report on interactions with medicines.

What this means for you

In these trials, caffeine helped most when people were short of sleep, and it helped endurance at moderate doses. It can cut sleep if taken late, and it causes more side effects at higher doses [5][12]. If you have panic disorder, anxiety or heart rhythm problems, or you are pregnant, talk with a doctor before relying on caffeine [6][15]. This is general information, not personal medical advice.

Go deeper

  • Caffeine — Caffeine reliably sharpens attention when people are short of sleep and modestly speeds up endurance exercise.

References

  1. Effects of acute caffeine consumption following sleep loss on cognitive, physical, occupational and driving performance: A systematic review and meta-analysis.. Neurosci Biobehav Rev, 2020.
  2. Caffeine improves reaction time, vigilance and logical reasoning during extended periods with restricted opportunities for sleep.. Psychopharmacology (Berl), 2015.
  3. The Effect of Acute Caffeine Ingestion on Endurance Performance: A Systematic Review and Meta-Analysis.. Sports Med, 2018.
  4. Dose-Response Effect of Oral Caffeine Use on Aerobic Exercise Performance: A Systematic Review and Meta-Analysis.. Nutrients, 2026.
  5. The effect of caffeine on subsequent sleep: A systematic review and meta-analysis.. Sleep Med Rev, 2023.
  6. Effects of caffeine on anxiety and panic attacks in patients with panic disorder: A systematic review and meta-analysis.. Gen Hosp Psychiatry, 2022.
  7. Caffeine and Cognitive Functions in Sports: A Systematic Review and Meta-Analysis.. Nutrients, 2021.
  8. The Acute Effects of Caffeinated Black Coffee on Cognition and Mood in Healthy Young and Older Adults.. Nutrients, 2018.
  9. Wake up and smell the coffee: caffeine supplementation and exercise performance-an umbrella review of 21 published meta-analyses.. Br J Sports Med, 2020.
  10. Effects of caffeine supplementation on muscle endurance, maximum strength, and perceived exertion in adults submitted to strength training: a systematic review and meta-analyses.. Crit Rev Food Sci Nutr, 2021.
  11. Exploring the minimum ergogenic dose of caffeine on resistance exercise performance: A meta-analytic approach.. Nutrition, 2022.
  12. Risk or benefit? Side effects of caffeine supplementation in sport: a systematic review.. Eur J Nutr, 2022.
  13. Acute Effects and Safety of Caffeine Ingestion in Adolescent Athletes: A Systematic Review and Three-Level Meta-Analysis.. Nutrients, 2026.
  14. Systematic review of the potential adverse effects of caffeine consumption in healthy adults, pregnant women, adolescents, and children.. Food Chem Toxicol, 2017.
  15. A meta-analysis of risk of pregnancy loss and caffeine and coffee consumption during pregnancy.. Int J Gynaecol Obstet, 2015.