CaffeineTime

Energy & tiredness

Coffee for studying: does caffeine help you study?

Sources checked claim by claim by an AI review. Approved for publishing by Oleksii Y. on 2026-10-13. · 7 min read

Caffeine can help you study, within limits. At low to moderate doses, about 40 to 300 mg, it improves alertness, attention, vigilance and reaction time, but its effects on memory and complex thinking are less consistent, and one study found it impaired a memory task. In daily coffee drinkers, part of the boost may simply reverse withdrawal after a short break from caffeine. Coffee late in the day also costs sleep, so have it early in your study day.

When should you stop?

Latest time to have it, by metabolism

Fast
7:28 PM
3.5 h before bed
Average
5:37 PM
5.4 h before bed
Slow
2:51 PM
8.2 h before bed

What 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.
How this is estimated

Our model assumes caffeine peaks 45 minutes after you drink it, then halves every 3 h (fast), 5 h (average) or 8 h (slow), and aims for 50 mg or less at bedtime. These numbers are modelling choices, not published limits; studies report peaks from about 30 minutes to 2 hours.

More than one drink a day? Plan them with the timing calculator →

Key takeaways

  • A 2016 review found that about 40–300 mg of caffeine improves alertness, vigilance, attention and reaction time.
  • Effects on memory and on judgment and decision making are less consistent; in one study caffeine impaired a memory task.
  • In regular users, some of the lift may only bring alertness back to normal after a short break from caffeine.
  • A meta-analysis suggests a standard coffee at least 8.8 hours before bed to avoid losing sleep.
  • This page is for adults: medical experts advise against energy drinks for children and teens.

What caffeine helps with when you study, and what it doesn’t

The clearest evidence comes from a 2016 review of caffeine and cognitive performance. After low (about 40 mg) to moderate (about 300 mg) doses, alertness, vigilance, attention and reaction time improved. Effects on memory and on higher-order thinking, such as judgment and decision making, were less consistent.

For studying, that means caffeine is most likely to help with staying awake and focused through a long reading or revision session. It is less likely to make difficult material easier to understand or remember. The review also found that repeated doses help people keep performing when sleep is restricted, which matters in exam season, but that is not a reason to cut sleep; see the section on late-night study below.

Caffeine and the skills you use when studying (low to moderate doses)
SkillWhat studies foundSource
Alertness and vigilanceImprovesMcLellan 2016 review
AttentionImprovesMcLellan 2016 review
Reaction timeImprovesMcLellan 2016 review; Childs & de Wit 2006
MemoryLess consistent; impaired in one studyMcLellan 2016; Childs & de Wit 2006
Judgment and decision makingLess consistentMcLellan 2016 review

Does caffeine help you remember what you study?

The evidence does not support coffee as a memory aid. In a controlled study, 102 adults who used little caffeine were given 0, 50, 150 or 450 mg. Caffeine increased hits and sped up reaction times on a vigilance task, and produced feelings of arousal and positive mood, but it impaired performance on a memory task.

That is one study, and the 2016 review describes memory effects as less consistent rather than consistently negative. The fair summary is that caffeine helps you stay on task; it is not a reliable way to remember more of what you read.

Daily coffee drinkers: a real boost or back to normal?

If you drink coffee every day, part of what you feel at your desk may be relief from withdrawal. Some researchers argue that in daily users, the effects of caffeine on performance and mood are almost entirely the reversal of withdrawal effects that come with short periods without caffeine. In a trial of 379 people, regular users who went 16 hours without caffeine felt less alert on placebo, and caffeine only returned their alertness to baseline.

Not everyone agrees. In the study of light users above, caffeine improved attention without any withdrawal to reverse, and its authors concluded that caffeine has effects even in the absence of withdrawal. In practice, if you rely on coffee every day, skipping it on exam morning is likely to leave you feeling worse, not neutral. Our guide to caffeine withdrawal explains why.

Caffeine before an exam: timing and how much

Timing is the easier part. EFSA says caffeine’s stimulating effects may begin 15 to 30 minutes after you take it, and MedlinePlus says it peaks in the blood within an hour, so a usual coffee 30 to 60 minutes before an exam lines up with the start. See how long caffeine takes to kick in for more detail.

Dose is where people go wrong. EFSA says single doses up to 200 mg raise no safety concerns for healthy adults, and the FDA cites 400 mg a day as an amount not generally associated with negative effects for most adults. But anxiety rises with dose: in the study of 102 light users, 50 mg did not raise anxiety ratings while 450 mg made most of them anxious. Exam day is not the day to try a much bigger dose than usual, especially if you already feel nervous. Our page on why coffee makes you anxious has more on this.

No study we know of identifies a best dose for studying, and cups vary: the FDA gives 113 to 247 mg for 12 ounces of brewed coffee. Your usual drink, at your usual amount, is the safest choice.

Late-night study sessions: what coffee does to your sleep

Late coffee has a cost at night. A 2023 meta-analysis of 24 studies found that caffeine reduced total sleep time by 45 minutes and sleep efficiency by 7%, made falling asleep take about 9 minutes longer and cut deep sleep by about 11 minutes. To avoid losing sleep time, it suggests having a standard coffee (107 mg) at least 8.8 hours before bed.

Large doses reach further. In a 2025 trial, 400 mg taken within 12 hours of bedtime delayed sleep and changed its structure, and the authors suggest people may have difficulty perceiving how much caffeine has affected their sleep. If you study in the evening, the calculator on this page shows the latest time for a drink before your bedtime. We don’t give tips for staying up all night.

Energy drinks, caffeine pills and teenagers

This guide is written for adults, including university students. The FDA notes that medical experts advise against energy drinks for children and teens because of their sugar and caffeine, and the American Academy of Pediatrics says the caffeine and other stimulants in energy drinks have no place in the diet of children and adolescents. MedlinePlus says children and teens should not have as much caffeine as adults.

Energy drinks are also harder to dose. MedlinePlus says the amount of caffeine in them can vary widely and that labels sometimes do not give the actual amount, and the FDA gives 41 to 246 mg for 12 ounces. We don’t suggest caffeine pills or powders for studying. If you find you can’t study without more and more caffeine, see is caffeine addictive?.

Common questions

Is it better to study with or without coffee?

If you already drink coffee, having your usual amount is likely to help you stay alert and attentive, partly because it heads off withdrawal. If you rarely have caffeine, a small dose may sharpen attention, but it will not reliably improve memory, and larger doses raise the chance of anxiety.

How much coffee should I drink before studying?

No study we know of identifies a best dose for studying. Benefits for alertness and attention appear from about 40 to 300 mg, EFSA says single doses up to 200 mg raise no safety concerns for healthy adults, and the FDA cites 400 mg a day for most adults. Stay with what you normally tolerate.

Can caffeine make exam nerves worse?

It can. The FDA and MedlinePlus list anxiety and jitters among the signs of too much caffeine, and in a study of light users, 450 mg raised anxiety in most people while 50 mg did not. If you are already nervous, a smaller dose than usual, or none, may suit you better.

When should I stop drinking coffee if I study in the evening?

A 2023 meta-analysis suggests a standard coffee of 107 mg at least 8.8 hours before bed, and a 2025 trial advises against 400 mg within 12 hours of bedtime. For an 11 p.m. bedtime, the 8.8-hour figure means about 2 p.m. Use the cutoff calculator for your own times.

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 or breastfeeding, under 18, take medication, or have a heart, liver or anxiety condition, high blood pressure or a sleep disorder, ask a doctor or pharmacist what amount is right for you.

Sources

  1. McLellan TM, Caldwell JA, Lieberman HR. (2016). A review of caffeine's effects on cognitive, physical and occupational performance. Neuroscience & Biobehavioral Reviews, 71, 294–312. PMID 27612937 ↗
  2. Childs E, de Wit H. (2006). Subjective, behavioral, and physiological effects of acute caffeine in light, nondependent caffeine users. Psychopharmacology, 185(4), 514–523. PMID 16541243 ↗
  3. Childs E, Hohoff C, Deckert J, et al. (2008). Association between ADORA2A and DRD2 polymorphisms and caffeine-induced anxiety. Neuropsychopharmacology, 33(12), 2791–2800. PMID 18305461 ↗
  4. James JE, Rogers PJ. (2005). Effects of caffeine on performance and mood: withdrawal reversal is the most plausible explanation. Psychopharmacology, 182(1), 1–8. PMID 16001109 ↗
  5. Rogers PJ, Hohoff C, Heatherley SV, et al. (2010). Association of the anxiogenic and alerting effects of caffeine with ADORA2A and ADORA1 polymorphisms and habitual level of caffeine consumption. Neuropsychopharmacology, 35(9), 1973–1983. PMID 20520601 ↗
  6. European Food Safety Authority (2015). EFSA explains risk assessment: Caffeine. European Food Safety Authority (doi:10.2805/618813). efsa.europa.eu (PDF) ↗
  7. MedlinePlus (U.S. National Library of Medicine) (2021). Caffeine: MedlinePlus. MedlinePlus, U.S. National Library of Medicine. medlineplus.gov ↗
  8. U.S. Food and Drug Administration (2024). Spilling the Beans: How Much Caffeine is Too Much? FDA Consumer Updates. fda.gov ↗
  9. Gardiner C, Weakley J, Burke LM, et al. (2023). The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews, 69, 101764. doi:10.1016/j.smrv.2023.101764 ↗
  10. 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 ↗
  11. Committee on Nutrition and the Council on Sports Medicine and Fitness (American Academy of Pediatrics) (2011). Sports drinks and energy drinks for children and adolescents: are they appropriate? Pediatrics, 127(6), 1182–1189. PMID 21624882 ↗
  12. Blanchard J, Sawers SJ. (1983). The absolute bioavailability of caffeine in man. European Journal of Clinical Pharmacology, 24(1), 93–98. PMID 6832208 ↗
  13. Temple JL, Bernard C, Lipshultz SE, et al. (2017). The Safety of Ingested Caffeine: A Comprehensive Review. Frontiers in Psychiatry, 8, 80. PMID 28603504 ↗

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.