Caffeine
TL;DR. The most widely used psychoactive drug on Earth, taken daily by something like 80 percent of adults, and legal everywhere. It works by blocking adenosine, the molecule that accumulates while you are awake and makes you sleepy, so it does not create alertness, it masks tiredness. Its half-life is about five hours, which means an afternoon coffee measurably degrades your sleep even if you fall asleep fine. Regular use produces tolerance and withdrawal, so most habitual drinkers get less benefit than they think and are largely restoring baseline. Powdered caffeine has killed people.
1. What it is and how it works
Caffeine (1,3,7-trimethylxanthine) is a plant alkaloid, produced as an insecticide: it paralyses and kills insects that eat the plant (Chapter 1). Some plants also secrete it into surrounding soil to suppress competitors, and nectar containing low-dose caffeine has been shown to improve bees' memory of the flower, which is a striking piece of plant manipulation.
The mechanism is blocking, not stimulating. Adenosine accumulates in your brain throughout the day as a by-product of energy use. It binds A1 and A2A receptors, producing sleep pressure and slowing neural activity. Caffeine is structurally similar enough to occupy those receptors without activating them.
Consequences of that mechanism, and they explain almost everything about caffeine:
- It does not give you energy. It masks the accumulating signal that you are tired. The adenosine keeps building behind the blockade.
- When it wears off, the accumulated adenosine binds at once, producing the characteristic crash.
- Blocking A2A receptors disinhibits dopamine signalling, which produces mild reinforcement and is why it is mildly habit-forming.
- Chronic use upregulates adenosine receptors, which is the mechanism of tolerance and withdrawal.
Secondary effects at ordinary doses: increased adrenaline, mild bronchodilation, mild diuresis, increased gastric acid, and increased calcium release in muscle, which is part of the performance effect.
2. Dose, and where it comes from
| Source | Caffeine |
|---|---|
| Filter coffee, 240 mL | 95 to 165 mg |
| Espresso, single 30 mL | 63 mg |
| Instant coffee, 240 mL | 60 to 80 mg |
| Decaf coffee | 2 to 5 mg. Not zero |
| Black tea, 240 mL | 40 to 70 mg |
| Green tea, 240 mL | 25 to 45 mg |
| Matcha, 240 mL | 60 to 70 mg |
| Cola, 330 mL | 30 to 40 mg |
| Energy drink, 250 mL | 75 to 80 mg |
| Energy shot, 60 mL | 100 to 200 mg |
| Dark chocolate, 50 g | 40 to 60 mg |
| Pre-workout supplement | 150 to 400 mg |
| Caffeine tablet (ProPlus, NoDoz) | 50 to 200 mg |
| Some painkillers (Anadin Extra, Solpadeine) | 30 to 65 mg per tablet |
Guidance limits:
| Group | Limit |
|---|---|
| Healthy adults | 400 mg/day, and no more than about 200 mg in a single dose |
| Pregnancy | 200 mg/day |
| Breastfeeding | 200 to 300 mg/day |
| Adolescents | ~2.5 mg/kg/day (roughly 100 mg for a 40 kg teenager) |
| Children | Not recommended |
Individual variation is large and genetic. CYP1A2 clears caffeine, and common variants divide people into fast and slow metabolisers. ADORA2A variants affect adenosine receptor sensitivity and correlate with caffeine-induced anxiety and sleep disruption. This is why one person's two espressos after dinner is another's sleepless night, and both are telling the truth.
Other things that change clearance dramatically:
- Pregnancy: half-life extends from about 5 hours to 15 hours or more by the third trimester. Same cup, three times the exposure.
- Oral contraceptives: roughly double the half-life.
- Smoking: induces CYP1A2 and roughly halves the half-life. Smokers who quit often become suddenly caffeine-sensitive without realising why.
- Fluvoxamine and ciprofloxacin: potent CYP1A2 inhibitors; can multiply caffeine levels several-fold.
- Liver disease: substantially prolonged.
- Newborns: half-life can exceed 100 hours, which is why neonatal caffeine (used therapeutically for apnoea of prematurity, where it is genuinely lifesaving) is dosed so carefully.
3. Sleep: the effect people most underestimate
Half-life around 5 hours means:
| Time of 200 mg dose | Caffeine remaining at 11pm |
|---|---|
| 8am | ~6 mg |
| 12pm | ~25 mg |
| 3pm | ~50 mg |
| 6pm | ~100 mg |
The evidence: a well-known controlled study by Drake and colleagues gave 400 mg of caffeine at 0, 3, and 6 hours before bed and found significant sleep disruption even at 6 hours before bedtime, measured objectively. Participants often did not perceive the disruption.
What it does to sleep, even when you fall asleep normally:
- Reduces total sleep time
- Reduces slow-wave (deep) sleep, the restorative stage, disproportionately
- Increases night-time awakenings
- Delays the circadian clock: evening caffeine shifts melatonin onset later by around 40 minutes, comparable to bright light exposure
And this closes a loop. Poor sleep produces daytime tiredness, which produces more caffeine, which produces worse sleep. Many people drinking large amounts are treating a problem their caffeine is causing.
The practical rule: stop caffeine 8 to 10 hours before bed if you sleep badly. For an 11pm bedtime, that is 1pm to 3pm. This is one of the highest-value, zero-cost interventions in this book, and almost everyone finds it later than they expect.
4. Tolerance, dependence, and withdrawal
Tolerance develops within days as adenosine receptors upregulate. Tolerance to the sleep disruption is partial at best, and tolerance to the alertness effect is substantial.
This produces the caffeine paradox: in studies where habitual consumers are compared with non-consumers, much of the apparent benefit in habitual users is reversal of withdrawal rather than a net gain. A regular drinker's morning coffee largely returns them to the baseline of someone who does not drink coffee at all.
Caffeine withdrawal is a recognised diagnosis in DSM-5. Onset 12 to 24 hours after the last dose, peaking at 20 to 51 hours, lasting 2 to 9 days:
- Headache (in around 50 percent), caused by rebound cerebral vasodilation
- Fatigue, drowsiness
- Difficulty concentrating
- Irritability and low mood
- Flu-like symptoms, nausea, muscle aches
It can be triggered by as little as 100 mg a day of habitual use. It also explains a substantial share of "weekend headaches" (later coffee on days off) and post-operative headaches (fasting before surgery).
To reduce intake without withdrawal: cut by about 25 percent a week over a month. Switching to half-caf, or to tea, works well.
5. What it does well
Established:
- Alertness and vigilance, particularly when sleep-deprived. Well demonstrated in shift workers, drivers, and military studies.
- Physical performance. One of the best-evidenced ergogenic aids there is: roughly 3 to 6 mg/kg taken 30 to 60 minutes before exercise improves endurance, time-to-exhaustion, and some measures of strength and power, with effect sizes of a few percent, which is large in sport. It was removed from the WADA prohibited list in 2004 and remains on the monitoring programme.
- Headache: caffeine enhances the analgesic effect of paracetamol and aspirin, which is why it appears in combination painkillers, and it is effective in migraine.
- Neonatal apnoea of prematurity, where the CAP trial showed caffeine improved survival without neurodevelopmental disability.
Strong (observational, from coffee rather than isolated caffeine): associations with lower risk of type 2 diabetes, Parkinson's disease, liver disease, and all-cause mortality (Chapter 60).
Weak or negative:
- Not a substitute for sleep. It masks impairment without restoring function; complex cognitive performance and memory consolidation remain degraded.
- Weight loss: a small, transient increase in metabolic rate, no meaningful long-term effect.
- "Detox" or diuretic effects: the mild diuresis is offset by the fluid in the drink, and tolerance develops within days (Chapter 59).
6. Harms and who should be careful
Common at moderate to high doses: anxiety, jitteriness, palpitations, insomnia, reflux (caffeine relaxes the lower oesophageal sphincter), increased urination, tremor, and irritability.
Caffeine-induced anxiety disorder is a recognised diagnosis, and caffeine reliably triggers panic attacks in people with panic disorder, in whom it is one of the most consistent pharmacological triggers.
Who should limit or avoid it:
| Group | Why |
|---|---|
| Pregnancy | Half-life triples; associations with miscarriage and low birth weight above 200 mg/day |
| Anxiety or panic disorder | Reliable trigger |
| Insomnia | Directly causal |
| Arrhythmia | Historically restricted; recent large studies find no increase with moderate coffee, though individual sensitivity varies |
| Uncontrolled hypertension | Acute rise of 5 to 10 mmHg; tolerance develops in regular users |
| Reflux, IBS | Direct irritant and motility effects |
| Children and adolescents | Sleep, anxiety, and, for energy drinks, dose |
| Taking fluvoxamine, ciprofloxacin, theophylline, clozapine | CYP1A2 interactions |
7. Overdose, and the genuinely dangerous forms
Toxicity begins around 1,000 mg in adults (vomiting, agitation, tachycardia, tremor). Around 5 to 10 g is potentially fatal, causing seizures, arrhythmias, and cardiac arrest. Death is rare from beverages, because you would need dozens of coffees quickly.
The forms that have killed people:
- Pure powdered caffeine. A teaspoon can contain roughly 5 g, a lethal dose, and household measuring is hopeless at that precision. The FDA banned bulk sale of pure and highly concentrated caffeine to consumers in 2018 after deaths. Buying caffeine powder online remains possible and is genuinely dangerous.
- Energy drink plus other stimulants, or consumed in large volumes rapidly.
- Caffeine tablets in overdose.
- Energy drinks mixed with alcohol. Caffeine masks the sedative effects, so people feel less drunk than they are, drink more, and take more risks. Premixed caffeinated alcoholic drinks were banned in the US in 2010 after hospitalisations.
Energy drinks generally deserve a note: high doses in a palatable, rapidly consumed form, marketed heavily to adolescents, often with additional stimulants (taurine, guarana, which is itself caffeine and is sometimes not counted in the caffeine total). Several countries have restricted sales to under-16s, and the UK announced plans to do so. Emergency department presentations associated with energy drinks rose substantially through the 2010s.
8. Practical guidance
- Under 400 mg a day for adults; under 200 mg in pregnancy.
- Stop 8 to 10 hours before bed. The single most valuable rule here.
- Delay the first coffee 60 to 90 minutes after waking if you want to reduce the afternoon crash: cortisol is already high on waking, and caffeine at that point adds less while blunting the natural rhythm. The evidence for this specific practice is limited and it is popular and harmless.
- Do not use it to replace sleep. It masks impairment without restoring function.
- Count everything: tea, chocolate, cola, painkillers, pre-workout, and decaf's residue.
- For performance: 3 to 6 mg/kg, 30 to 60 minutes before, and a few days without beforehand amplifies the effect.
- Taper rather than quit abruptly if you are cutting down.
- Never buy powdered caffeine.
- Do not mix energy drinks with alcohol.
9. The bottom line
- Caffeine blocks adenosine, so it masks tiredness rather than creating alertness. The tiredness is still accumulating behind the blockade, which is why the crash happens.
- Half-life is about five hours, so a 3pm coffee leaves a quarter of the dose active at bedtime, measurably reducing deep sleep even if you fall asleep normally.
- Tolerance develops within days, and much of a habitual drinker's morning benefit is reversal of withdrawal rather than net gain.
- Withdrawal is a real diagnosis: headache, fatigue, and irritability from 12 to 24 hours, lasting up to nine days, from as little as 100 mg a day of habitual use.
- It is one of the best-evidenced performance aids in sport, and it is not a substitute for sleep.
- Clearance varies enormously: pregnancy triples the half-life, oral contraceptives double it, and quitting smoking halves the clearance rate.
- Powdered caffeine has killed people, and energy drinks with alcohol are a specific and documented hazard.
Sources and notes
Adenosine receptor antagonism and its downstream effects follow Fredholm et al.'s reviews in Pharmacological Reviews. Caffeine as a plant insecticide, and the nectar-memory finding, follow Wright et al., Science, 2013. Content ranges follow USDA data and published beverage surveys. Intake guidance follows EFSA's 2015 scientific opinion on caffeine safety, which underpins the 400 mg and 200 mg pregnancy figures. CYP1A2 and ADORA2A variation follow Cornelis et al.'s genetic work. Half-life changes in pregnancy, with oral contraceptives, and with smoking follow standard pharmacokinetics. Sleep disruption at 6 hours before bed is Drake et al., Journal of Clinical Sleep Medicine, 2013. Circadian phase delay from evening caffeine is Burke et al., Science Translational Medicine, 2015. Withdrawal as a DSM-5 diagnosis, its time course, and the threshold dose follow Juliano and Griffiths, Psychopharmacology, 2004. The reversal-of-withdrawal interpretation of habitual benefit follows Rogers et al.'s work. Ergogenic evidence follows Guest et al.'s ISSN position stand, 2021. Analgesic adjuvant effect follows Cochrane reviews. Neonatal caffeine for apnoea of prematurity is the CAP trial, Schmidt et al., NEJM, 2007. The FDA's 2018 action against bulk pure and highly concentrated caffeine, following deaths, is in the FDA record. Energy drink and alcohol co-consumption harms follow the FDA's 2010 action against premixed products.
Open questions. How much of habitual caffeine's apparent benefit is net gain rather than withdrawal reversal remains debated, and study designs that could settle it are difficult to run.
👉 Next: nicotine.