Caffeine and alertness: what the science says about coffee and performance
Caffeine is the most widely used stimulant in the world, in coffee, tea, energy drinks, soft drinks and chocolate. It reliably makes tired people more alert, and it has been studied extensively by sleep researchers, militaries and sports scientists. This guide explains how it works and what it can and cannot do for the kinds of tasks in our challenges. It is general information, not medical advice.
At a glance
| Question | Short answer |
|---|---|
| How does it work? | Blocks adenosine receptors, which build up “sleep pressure” |
| When does it peak? | Usually 30 to 60 minutes after drinking |
| How long does it last? | Half-life often around 3 to 7 hours in healthy adults |
| What improves most? | Vigilance and reaction time, especially when tired |
| Daily limit (Health Canada) | Up to 400 mg for healthy adults; less in pregnancy and for children |
How caffeine works: adenosine and sleep pressure
While you are awake, a molecule called adenosine gradually builds up in the brain. Adenosine binds to receptors on nerve cells and dampens their activity, which is part of why you feel increasingly sleepy the longer you stay awake. Sleep clears it again. Caffeine has a similar shape to adenosine and sits in the same receptors without activating them, so adenosine can’t do its job. The result is not extra energy as such; caffeine hides some of the tiredness signal that is already there.
Timing: onset and half-life
Caffeine is absorbed quickly from the gut, and blood levels usually peak within 30 to 60 minutes. The body then breaks it down in the liver, and the half-life, the time for the level to fall by half, is often around 3 to 7 hours in healthy adults. It varies a lot: it is shorter in smokers, and longer in pregnancy, in people taking some medicines including some oral contraceptives, and in people with liver disease. Genetic differences in the liver enzyme mainly responsible, CYP1A2, also make some people “fast” and others “slow” metabolisers.
A half-life of five hours means that a cup at 4 p.m. still leaves about half its caffeine in your body at 9 p.m. In a study by Drake and colleagues (2013), a dose of 400 mg taken even six hours before bedtime reduced total sleep time by more than an hour, measured objectively, although many participants didn’t notice. That lost sleep can then make you more tired the next day.
What caffeine does for performance
A review by McLellan, Caldwell and Lieberman (2016) brought together research from laboratories, the military and sport. Its main conclusions match many earlier studies:
- Vigilance improves, particularly during long, monotonous tasks and when people are sleep deprived.
- Reaction time improves modestly, and the number of attention lapses falls.
- Effects on complex thinking, such as reasoning and decision-making, are smaller and less consistent.
- Moderate doses work; much larger doses add side effects such as jitteriness, anxiety and a racing heart rather than further benefit.
In other words, caffeine is good at helping a tired brain stay on task. It is not a way to become smarter or to replace sleep.
Is it just reversing withdrawal?
Regular users who skip their usual coffee can feel tired, irritable and headachy within a day. Some researchers have argued that much of the benefit regular users feel from their morning cup is simply the reversal of this overnight withdrawal. In a study of nearly 400 people by Peter Rogers and colleagues (2010), frequent consumers developed tolerance, and after an overnight break caffeine mostly returned their alertness to baseline rather than lifting it above, so the net gain for heavy daily users may be smaller than it feels. Caffeine still seems to help in genuinely sleep-deprived conditions.
How much is in common drinks?
Amounts vary widely with the brew, the bean and the serving size. As a rough guide, a cup of brewed coffee often contains around 80 to 180 mg, a shot of espresso around 60 to 100 mg, a cup of black tea around 30 to 60 mg, and a can of cola around 30 to 40 mg. Energy drinks vary a lot; check the label.
How much is safe?
Health Canada advises that healthy adults can have up to 400 mg of caffeine per day, women who are pregnant, breastfeeding or planning to become pregnant up to 300 mg, and children and teenagers much less, based on body weight. Some people are more sensitive and feel anxious or sleep badly at lower doses. People with heart conditions, anxiety disorders or who take certain medicines should ask a doctor or pharmacist.
Caffeine and our challenges
If you track your results, caffeine is worth noting alongside sleep and time of day. A coffee might improve your reaction or attention results slightly if you are tired, and missing your usual coffee might make them slightly worse. Neither change reflects a lasting difference in your abilities. For the fairest comparisons, test in similar conditions each time.
A note on the “nap and coffee” trick
Some sleep researchers have tested drinking a coffee immediately before a short nap of about 15 to 20 minutes. Because caffeine takes time to act, it begins working around the time you wake up, while the nap itself reduces sleepiness. Small studies of drivers found this combination kept them more alert than either alone. It is a stop-gap for a long drive, not a substitute for proper sleep.
Try it yourself
Reaction Time Test · Sustained Attention Challenge — free to play. These are challenges for fun and practice, not medical or psychological tests.
Sources
- McLellan, T. M., Caldwell, J. A., & Lieberman, H. R. (2016). A review of caffeine’s effects on cognitive, physical and occupational performance. Neuroscience & Biobehavioral Reviews, 71.
- Health Canada: Caffeine in foods
- Drake, C., Roehrs, T., Shambroom, J., & Roth, T. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11).
- Rogers, P. J., 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.
This guide is general information, not medical advice. Read how we score our challenges and our disclaimer. Spotted a mistake? Tell us.