Caffeine: The Science of Coffee's Most Famous Compound

A blue-and-white mug of black coffee on a pale wood-effect table, photographed from directly above. Photo: Yasotha Murugesan / Wikimedia Commons, CC BY-SA 4.0.
Caffeine is the reason most people drink coffee, and almost everything written about it in milligrams is written without a source. This article covers the compound itself: what it is, why the coffee plant makes it, how much is in the bean, and how much reaches the cup.
What happens after you drink it — absorption, the liver, why two people react differently, tolerance and withdrawal, and how much is safe — is covered in the companion article on how caffeine works in the human body.
This article provides educational information about caffeine. It is not medical advice. If you have a heart condition, are pregnant, take medication that interacts with caffeine, or have been advised to limit it, consult a qualified healthcare professional.
What Caffeine Is
Caffeine is a naturally occurring alkaloid, 1,3,7-trimethylxanthine. Its formula is C₈H₁₀N₄O₂ and its molecular weight is 194.19 g/mol. It belongs to the methylxanthine family, alongside theobromine, the dominant stimulant in cacao, and theophylline.
It is a white, bitter crystalline solid. The bitterness is not incidental — it is the point, from the plant's perspective.
Why the Plant Makes It

Coffee cherries at mixed ripeness — green, yellow and red — on the branch, with the plant's glossy leaves behind. Recorded in the gallery as photographed in Colombia and credited to the U. S. Fish and Wildlife Service, Northeast Region. Photo: U. S. Fish and Wildlife Service - Northeast Region / Wikimedia Commons, public domain.
Caffeine is a pesticide. The coffee plant synthesises it in its leaves and seeds, where it deters insects and inhibits the germination of competing seedlings in the soil beneath the tree. Its effect on humans is a side effect of a chemical defence.
That origin explains the distribution. Caffeine appears independently in coffee, tea, cacao, kola, guayusa, yerba mate and guaraná — plants that are not closely related and that arrived at the same compound separately.
How Much Is in the Bean

Caffeine content is a property of the plant before it is a property of the cup, and the species matters more than anything a roaster or barista does afterwards.
| Coffee | Caffeine by weight of green bean |
|---|---|
| Coffea arabica | approximately 1.2% |
| Coffea canephora (robusta) | approximately 2.2% |
| Laurina, also called Bourbon Pointu | approximately 0.6% |
Robusta carries roughly twice the caffeine of arabica. That is why a robusta-heavy espresso blend hits harder than its volume suggests, and why robusta is cheaper to grow — more caffeine means better pest resistance and a hardier plant.
Laurina is the interesting case. It is a natural mutation of Bourbon found on Réunion, and it carries about half the caffeine of ordinary arabica without being decaffeinated. It is difficult and low-yielding, which is why it remains rare rather than commonplace.
What Roasting Does
Very little, and this is where most coffee writing goes wrong.
Caffeine is stable at roasting temperatures. It does not burn off. What changes is the bean itself: roasting drives out moisture and expands the bean, so a dark-roasted bean weighs less and occupies more space than a light-roasted one.
The consequence is a measurement artefact, not a chemical one:
- Measured by scoop, dark roast gives slightly less caffeine, because the beans are larger and lighter, so fewer grams fit in the scoop.
- Measured by weight, the difference between roast levels is negligible.
Weigh your coffee and roast level stops mattering. Scoop it and it matters slightly.
How Much Reaches the Cup

A Hario V60 cone resting on a stoneware mug, holding a finished, drained bed of spent coffee grounds, on a dark scratched counter in dim indoor light. Photo: User:GorillaWarfare / Wikimedia Commons, CC BY-SA 1.0.
This is the table everybody wants and almost nobody sources. This encyclopedia previously published eleven figures here with no citation, and a second article in this same book published a different set of figures for the same drinks. One set had to win, with something behind it.
The three figures below come from USDA FoodData Central, which is the only authority measuring these directly:
| Drink | Serving | Caffeine |
|---|---|---|
| Brewed coffee, drip method | 8 fl oz | approximately 95 mg |
| Espresso | 1 fl oz | approximately 63 mg |
| Decaffeinated coffee | 8 fl oz | approximately 2.4 mg |
Everything else is a published range, not a measurement, and this encyclopedia gives ranges as ranges:
| Drink | Serving | Range reported |
|---|---|---|
| Brewed coffee, across bean and brew variation | 8 fl oz | 70 to 140 mg |
| French press | 8 fl oz | 80 to 100 mg |
| Instant coffee | 8 fl oz | 30 to 90 mg |
| Cold brew, ready to drink | 12 fl oz | 150 to 250 mg |
| Cold brew concentrate | 8 fl oz | up to 300 mg |
Three things follow, and they are more useful than the numbers.
A single espresso has less caffeine than a cup of drip coffee. More per ounce, less per serving. Anyone switching to espresso to cut caffeine is doing the opposite of what they intend.
The biggest variable is dose, not method. Cold brew is strong because it uses two to three times the coffee and steeps for twelve to twenty-four hours, not because cold water extracts more.
Count ounces, not cups. A large café serving is often two or three of the 8 oz cup the tables are built on, which is how people drinking "two coffees" pass 400 mg without noticing.
What Caffeine Does

Caffeine is a competitive antagonist of adenosine receptors, principally A1 and A2A.
Adenosine accumulates in the brain through the waking day and binds to those receptors, and that binding is part of what produces the sensation of tiredness. Caffeine has a similar enough shape to occupy the same receptors without activating them. It blocks the seat rather than taking it.
So caffeine does not, technically, give you energy. It blocks the signal that you are tired. The adenosine is still accumulating the whole time it is blocked, which is why the tiredness arrives when the caffeine clears rather than gradually.
What happens next — how fast it clears, why that differs between people, and what repeated exposure does — belongs to the body rather than to the bean, and is covered in the companion article.
Watch: 2-Minute Neuroscience: Caffeine — Neuroscientifically Challenged
Decaffeination

A white laminate desk with a laptop, a glass of orange juice, a cappuccino in a glass, a teal mug, sticky notes and a succulent, with two hands reaching for a plate holding a croissant and a chocolate doughnut. Photo: Shixart1985 / Wikimedia Commons, CC BY 2.0.
Decaffeinated coffee is not caffeine-free. USDA FoodData Central gives approximately 2.4 mg per 8 fl oz cup, against about 95 mg for ordinary brewed coffee.
Caffeine is removed from the green bean before roasting, by one of several processes: water-based methods, carbon dioxide under pressure, and solvent-based methods. Reported residual caffeine differs between them, with water and CO₂ methods generally leaving less than solvent methods, though this encyclopedia has not located a comparative measurement it can cite.
For most people the residue is irrelevant. For someone who clears caffeine slowly, several cups of decaf in an evening is not nothing.
Key Facts

- Caffeine is 1,3,7-trimethylxanthine, C₈H₁₀N₄O₂, molecular weight 194.19 g/mol.
- The plant makes it as a pesticide and germination inhibitor.
- Arabica ≈ 1.2% caffeine by weight; robusta ≈ 2.2%; Laurina ≈ 0.6%.
- Roasting does not destroy caffeine. By weight, roast level barely matters; by scoop, dark roast gives slightly less.
- USDA: drip coffee 8 fl oz ≈ 95 mg; espresso 1 fl oz ≈ 63 mg; decaf 8 fl oz ≈ 2.4 mg.
- A single espresso has less caffeine per serving than a cup of drip coffee.
- Caffeine blocks adenosine receptors A1 and A2A. It does not supply energy.
Frequently Asked Questions

Does dark roast have less caffeine? By scoop, very slightly. By weight, no meaningful difference. Caffeine does not burn off in roasting.
Which has more caffeine, espresso or drip coffee? Per ounce, espresso. Per serving, drip coffee — about 95 mg in 8 fl oz against about 63 mg in a 1 fl oz shot.
Why is cold brew so strong? Because it uses two to three times as much coffee and steeps for twelve to twenty-four hours. The cold water is not the reason.
Does decaf have caffeine in it? Yes, about 2.4 mg per 8 fl oz cup according to USDA figures, against about 95 mg for ordinary coffee.
Is there a naturally low-caffeine coffee? Yes. Laurina, also called Bourbon Pointu, carries about 0.6% caffeine by weight — roughly half ordinary arabica. It is rare and low-yielding.
Does caffeine give me energy? No. It blocks the receptors that signal tiredness. The tiredness is still accumulating underneath.
Sources
- United States Department of Agriculture, FoodData Central — brewed drip coffee at approximately 95 mg per 8 fl oz, espresso at approximately 63 mg per 1 fl oz, and decaffeinated coffee at approximately 2.4 mg per 8 fl oz.
- World Coffee Research, variety database — Laurina, also called Bourbon Pointu, as a natural low-caffeine mutation of Bourbon originating on Réunion.
- Published reference compilations of caffeine content by brewing method, drawing on USDA FoodData Central and FDA analysis — the ranges given for French press, instant coffee and cold brew, reported here as ranges rather than as measurements.
- Standard chemical references — the identity of caffeine as 1,3,7-trimethylxanthine, its formula C₈H₁₀N₄O₂, its molecular weight of 194.19 g/mol, and its membership of the methylxanthine family with theobromine and theophylline.
- Published plant-science literature on caffeine as a natural insecticide and germination inhibitor, and on its independent appearance in unrelated plant families.
- Pharmacological literature on caffeine as a competitive antagonist at adenosine A1 and A2A receptors.
Claims this encyclopedia could not source
- A precise caffeine figure for any brewing method other than the three USDA entries above. Everything else varies with dose, grind, water temperature and contact time, and the published figures differ between compilations. Ranges are given as ranges.
- That 80 per cent of adults worldwide consume caffeine daily. Widely repeated; this encyclopedia could not trace it to a primary study or survey.
- A comparative measurement of residual caffeine between water, CO₂ and solvent decaffeination methods. The general ordering is widely reported; a citable measurement was not located.
- Exact caffeine percentages for arabica, robusta and Laurina. The approximate figures given are standard in the literature, and individual lots vary with growing conditions.
- Any claim that coffee from a particular origin, altitude or brand produces a different kind of caffeine, a cleaner lift, or a smoother stimulant effect. Caffeine is one molecule. It is chemically identical whatever grew it, and this encyclopedia previously carried such a claim in its sponsor block.
Related Articles
- What is Coffea Arabica? The Noble Coffee Species
- What is Coffea Canephora? Understanding Robusta Coffee
- The Bourbon Coffee Variety: Origins, Flavor, and Legacy — the Laurina mutation and naturally low-caffeine Arabica
- Espresso: The Complete Guide to Italy's Greatest Coffee Invention — extraction mechanics and caffeine concentration
- Cold Brew Coffee: The Complete Science Guide
- Coffee Roasting: The Complete Science Guide
- Coffee Processing: Washed, Natural, and Honey Methods Explained
Note: This article provides educational information about caffeine and is not medical advice. If you have specific health conditions, are pregnant, take medications, or have concerns about caffeine intake, consult a qualified healthcare professional.
Buy Authentic Puerto Rico Coffee
Coffee grown in Puerto Rico's central mountains, roasted on the island.
→ Shop authentic Puerto Rico coffee at PuertoRicoCoffeeShop.com
Buy Authentic Puerto Rico Coffee →
This article is part of the Coffee Encyclopedia, the world's largest free coffee reference. Proudly sponsored by PuertoRicoCoffeeShop.com — your authentic source for premium Puerto Rico coffee, shipped worldwide.