Most people drink coffee at least partly to get work done. The research supports that for some kinds of work more than others, and it says less than the popular schedules do about exact times. This page covers what caffeine does for focus, how habit changes it, and when to drink it. How much caffeine each drink holds is in our caffeine in coffee guide, and why the same cup hits people differently is in our caffeine metabolism guide.
What caffeine does
Caffeine works by blocking adenosine receptors in the brain. The European Food Safety Authority (EFSA) sums up the result: caffeine “in moderate doses increases alertness and reduces sleepiness.”
It arrives quickly. A 2001 Institute of Medicine review reports that about 99% is absorbed within 45 minutes, with blood levels peaking 15 to 120 minutes after drinking. Our Caffeine Calculator’s model puts the peak at about 45 minutes.
What the studies found
| Kind of task | What studies found | Study |
|---|---|---|
| Alertness, vigilance | Improved | McLellan 2016 |
| Reaction time | Improved | McLellan 2016 |
| Attention, simple and complex | Improved | Einöther 2013 |
| Memory | Less consistent | McLellan 2016 |
| Judgment, decisions | Less consistent | McLellan 2016 |
| Creative problem solving | Improved at 200 mg | Zabelina 2020 |
| Generating ideas | No statistically significant effect detected at 200 mg | Zabelina 2020 |
What each study was:
- McLellan, Caldwell and Lieberman, 2016, a review of caffeine’s effects on cognitive, physical and work performance. After low (about 40 mg) to moderate (about 300 mg) doses, it found alertness, vigilance, attention and reaction time improve, with “less consistent effects” on memory and on higher-order functions “such as judgment and decision making.” In jobs that can involve restricted sleep, such as military, first-responder and shift work, the authors call repeated doses of caffeine an effective way to maintain physical and cognitive performance.
- Einöther and Giesbrecht, 2013, a review of double-blind, placebo-controlled studies of single doses in healthy adults; the first author worked at Unilever R&D. It found caffeine improves both simple and complex attention tasks, and called the evidence on dose and on habitual use inconclusive.
- Zabelina and Silvia, 2020, a randomized, double-blind trial in 88 people: 44 took 200 mg of caffeine, which the authors liken to one 12 oz cup of coffee, and 44 a placebo. The caffeine group did significantly better at creative problem solving. Caffeine had no significant effect on generating ideas or on working memory, and the results held after the authors accounted for what people expected and for mood.
So the popular idea that coffee helps focused work but hurts creative work doesn’t hold up in that trial. Caffeine improved convergent problem solving, but the researchers detected no statistically significant effect on idea generation.
Habit, withdrawal and tolerance
If you drink coffee every day, part of what the first cup does may be undoing the effects of going without it overnight. How much is still argued over.
- Rogers and colleagues, 2013, tested 369 adults after a night without caffeine: 212 medium to high consumers and 157 who drank little or none. Each got 100 mg and then 150 mg of caffeine, or a placebo, double-blind, and was tested in the early afternoon. Going without caffeine made the regular drinkers sleepier, less alert and slower on reaction-time and memory tasks, and caffeine restored those. In the low and non-consumers, caffeine reduced sleepiness but raised anxiety and jitteriness, which canceled out the gain in alertness. Caffeine sped up tapping and reaction times in both groups. The authors conclude that tolerance means frequent consumption “fails to enhance mental alertness and mental performance.”
- Einöther and Giesbrecht’s review reaches the opposite view on this point: caffeine’s effects on attention “cannot be attributed to withdrawal reversal.”
What both support: caffeine does something measurable for reaction time and attention, and the evidence that more of it works better is inconclusive. Rogers’ trial also shows that someone who rarely drinks coffee can get more jitters than focus from the trial’s 250 mg.
How much
The studies above mostly used 40 to 300 mg. On our Caffeine Calculator, an 8 fl oz (237 ml) drip coffee comes to 105–195 mg and a single espresso to 60–75 mg.
The agencies’ wording is about safety for populations, not about focus, and it isn’t a personal limit:
- FDA: “For most adults, the FDA has cited 400 milligrams a day — that’s about two to three 12-fluid-ounce cups of coffee — as an amount not generally associated with negative effects.”
- EFSA, in one sitting: “Single doses of caffeine up to 200mg … do not raise safety concerns for the general healthy adult population.”
If you’re pregnant, take medicines, or have a heart, anxiety or sleep condition, ask your clinician what’s right for you. Our caffeine in coffee guide has the agencies’ full wording, including for pregnancy.
When to drink it
First thing in the morning. The popular advice to wait 90 minutes after waking is usually explained by cortisol. Cortisol does rise sharply after waking: an expert consensus paper by Stalder and colleagues describes “the marked increase in cortisol secretion over the first 30-45 min after morning awakening.” That rise follows your own waking time, not set clock hours. Caffeine also raises cortisol, but in a trial of 96 healthy young adults, Lovallo and colleagues found that after five days of 300 or 600 mg a day, a 9 am dose no longer raised it, although a second dose at 1 pm still did. None of this measured alertness or work, and we found no trial testing whether waiting after waking helps. Have your first coffee when it suits you.
Before a task. Since caffeine peaks within the first hour or so, our suggestion is to drink it a little before a long stretch of work rather than at the moment you start.
Later in the day. This is where coffee for work runs into sleep. Our coffee and sleep guide sets out the studies. In short, 400 mg six hours before bed cut sleep by more than an hour in one study; a 2023 review suggested a typical cup of coffee (107 mg) at least 8.8 hours before bed; and a 2025 trial in young men found no measurable effect from 100 mg four hours before bed. There’s no single cutoff that suits everyone. If you sleep poorly, move your last cup earlier.
Caffeine with L-theanine
L-theanine is an amino acid found in tea, and some supplements pair it with caffeine. A 2014 systematic review and meta-analysis by Camfield and colleagues covered 11 randomized, placebo-controlled studies of single doses, pooling them where at least three measured the same thing. It found moderate effects in favor of caffeine combined with L-theanine on self-rated alertness and on accuracy when switching attention, in the first 2 hours after the dose. A further analysis found trends suggesting the effect depended more on the caffeine dose than on the L-theanine dose. These were short-term studies of one dose, so they say nothing about taking it every day. This page doesn’t recommend a supplement; if you take medicines, ask your clinician before adding one.
What caffeine can’t do
Caffeine can hold performance up for a while when sleep is short, as McLellan’s team describes for military, first-responder and shift work, and the International Society of Sports Nutrition says it “may improve cognitive and physical performance in some individuals under conditions of sleep deprivation.” It doesn’t give you back the sleep, and caffeine taken late takes some away. If you’re regularly sleepy during the day despite coffee, that’s worth raising with your clinician.
Sources
- T. M. McLellan, J. A. Caldwell and H. R. Lieberman, “A review of caffeine’s effects on cognitive, physical and occupational performance,” Neuroscience & Biobehavioral Reviews 71 (2016): 294–312, abstract: doi.org/10.1016/j.neubiorev.2016.09.001
- S. J. L. Einöther and T. Giesbrecht, “Caffeine as an attention enhancer: reviewing existing assumptions,” Psychopharmacology 225, no. 2 (2013): 251–274, abstract and author affiliation: doi.org/10.1007/s00213-012-2917-4
- D. L. Zabelina and P. J. Silvia, “Percolating ideas: The effects of caffeine on creative thinking and problem solving,” Consciousness and Cognition 79 (2020): 102899, abstract: doi.org/10.1016/j.concog.2020.102899
- P. J. Rogers, S. V. Heatherley, E. L. Mullings and J. E. Smith, “Faster but not smarter: effects of caffeine and caffeine withdrawal on alertness and performance,” Psychopharmacology 226, no. 2 (2013): 229–240, abstract: doi.org/10.1007/s00213-012-2889-4
- D. A. Camfield, C. Stough, J. Farrimond and A. B. Scholey, “Acute effects of tea constituents L-theanine, caffeine, and epigallocatechin gallate on cognitive function and mood: a systematic review and meta-analysis,” Nutrition Reviews 72, no. 8 (2014): 507–522, abstract: doi.org/10.1111/nure.12120
- T. Stalder et al., “Assessment of the cortisol awakening response: Expert consensus guidelines,” Psychoneuroendocrinology 63 (2016): 414–432, abstract: doi.org/10.1016/j.psyneuen.2015.10.010
- W. R. Lovallo et al., “Caffeine stimulation of cortisol secretion across the waking hours in relation to caffeine intake levels,” Psychosomatic Medicine 67, no. 5 (2005): 734–739, abstract: doi.org/10.1097/01.psy.0000181270.20036.06
- N. S. Guest et al., “International society of sports nutrition position stand: caffeine and exercise performance,” Journal of the International Society of Sports Nutrition 18 (2021): 1, position statement 8: doi.org/10.1186/s12970-020-00383-4
- Institute of Medicine, Caffeine for the Sustainment of Mental Task Performance (National Academies Press, 2001), ch. 2, “Pharmacology of Caffeine,” pp. 26–27 (absorption and peak levels): nationalacademies.org
- European Food Safety Authority, “Caffeine” topic page, summarizing the NDA Panel’s “Scientific Opinion on the safety of caffeine,” EFSA Journal 13, no. 5 (2015): 4102 (alertness and single doses): efsa.europa.eu
- US Food and Drug Administration, “Spilling the Beans: How Much Caffeine is Too Much?”, content current as of August 28, 2024: fda.gov
- C. Drake, T. Roehrs, J. Shambroom and T. 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: doi.org/10.5664/jcsm.3170
- C. Gardiner et al., “The effect of caffeine on subsequent sleep: A systematic review and meta-analysis,” Sleep Medicine Reviews 69 (2023): 101764, abstract: doi.org/10.1016/j.smrv.2023.101764
- C. L. Gardiner et al., “Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial,” Sleep 48, no. 4 (2025): zsae230, abstract: doi.org/10.1093/sleep/zsae230
- JayArr Coffee, Caffeine Calculator: the drink estimates, the absorption model and the sample workday