Coffee Before a Workout: How Much Caffeine Helps, and When
Sports nutrition guidance puts the effective dose at 3–6 mg of caffeine per kilo, an hour before exercise. Here is that dose in cups of coffee, and why the low end makes sense.
Key takeaways
- The International Society of Sports Nutrition finds caffeine consistently improves exercise performance at 3–6 mg per kilogram of body weight, usually taken about 60 minutes before. Doses as low as 2 mg/kg may work.
- For a 70 kg person, 3–6 mg/kg is 210–420 mg of caffeine — roughly two to four and a half mugs of filter coffee at about 95 mg each.
- Coffee works as well as caffeine pills. In a 2013 study, 5 mg/kg of caffeine from instant coffee and from anhydrous caffeine both made a 45-minute cycling time trial about 5% faster; decaf did nothing.
- The benefit is largest and most consistent for endurance exercise, but meta-analyses also find small to moderate gains in strength, muscular endurance, power, jumping and sprinting.
- Regular coffee drinkers still benefit: in a trial of 40 trained cyclists, low, moderate and high habitual caffeine consumers improved by similar amounts.
- The European Food Safety Authority judges single doses up to 200 mg — about 3 mg/kg — safe within two hours of intense exercise for healthy adults. The top of the performance range goes beyond what that assessment covers.
On this page
Caffeine reliably improves exercise performance, and coffee delivers it as well as a pill does. The dose that works is 3 to 6 mg per kilogram of body weight, taken about an hour before exercise — for a 70 kg person, 210 to 420 mg, or roughly two to four mugs of filter coffee. The lower end of that range is where the performance evidence and the safety assessments overlap, which makes it the sensible place to start.
What caffeine does for performance
The International Society of Sports Nutrition reviewed the evidence in its 2021 position stand. Its main conclusions:
- Caffeine improves performance in many, though not all, studies — in muscular endurance, movement speed, strength, sprinting, jumping and throwing, and in a wide range of sports.
- Endurance exercise shows the most consistent benefit, moderate to large, though it varies between people.
- It works in trained and untrained people alike.
- It also sharpens attention and vigilance, and may help when you are short of sleep.
An umbrella review in the British Journal of Sports Medicine, pooling 21 meta-analyses, reached the same picture: caffeine helps aerobic endurance, strength, muscular endurance, power, jumping and speed, with the biggest effects in aerobic exercise. Its authors noted one important gap — most of the underlying studies were done in young men.
How big is the effect? In two well-designed cycling trials, caffeine made time trials about 3% and 5% faster. That is small in a recreational workout and enormous in a race.
Most of the effect is in the brain. Caffeine blocks adenosine receptors in the central nervous system, which raises the release of neurotransmitters, increases the firing of motor units and dampens the sense of effort and muscle pain. One animal experiment the position stand describes makes the point: caffeine injected directly into rats' brains lengthened their treadmill runs from 80 to 120 minutes, while the same drug injected into the body cavity made no difference.
The dose, in cups
The effective range is 3–6 mg of caffeine per kilogram. Here is what that means in mugs of filter coffee, using the USDA's figure of 40 mg of caffeine per 100 g of brewed coffee — about 95 mg in a 240 ml mug:
| Body weight | 3 mg/kg | 6 mg/kg | Filter mugs |
|---|---|---|---|
| 55 kg | 165 mg | 330 mg | 1.7 to 3.5 |
| 70 kg | 210 mg | 420 mg | 2.2 to 4.4 |
| 85 kg | 255 mg | 510 mg | 2.7 to 5.4 |
| 100 kg | 300 mg | 600 mg | 3.2 to 6.3 |
The position stand notes that doses as low as 2 mg/kg may work, and that very high doses — around 9 mg/kg — cause frequent side effects without adding benefit.
Two cautions about the table. First, "a mug of coffee" is not a precise unit. When University of Glasgow researchers measured single espressos from 20 coffee shops, caffeine ranged from 51 mg to 322 mg — the caffeine guide has typical figures by drink. Coffee you brew yourself, from a recipe you repeat, is far more predictable. Second, the top of the range is a lot of coffee to drink an hour before training, and some people do not want a stomach full of hot liquid before they run.
Coffee or caffeine pills?
Most of the research uses anhydrous caffeine in capsules, because it makes doses exact and placebos easy. That left an open question: does coffee work as well, or do its other compounds blunt the effect?
A 2013 study at the University of Birmingham answered it directly. Eight trained cyclists and triathletes drank, an hour before exercise, either a caffeine drink or instant coffee — each delivering 5 mg of caffeine per kilogram — or decaf, or a placebo. After 30 minutes of steady riding they did a time trial lasting about 45 minutes.
| Drink | Time trial |
|---|---|
| Caffeine | 38.35 min |
| Coffee | 38.27 min |
| Decaf | 40.31 min |
| Placebo | 40.23 min |
Caffeine and coffee each made the riders about 5% faster, with no difference between them. Decaf was no better than placebo.
Do the sum for those riders, who averaged about 79 kg: 5 mg/kg comes to roughly 395 mg of caffeine. In instant coffee at the NHS estimate of 100 mg a cup, that is about four cups. Coffee works — but at study doses, it is a lot of coffee.
Timing
Sixty minutes before exercise is the timing used most often in the research. The position stand notes that the best timing depends on the source: caffeinated chewing gum, absorbed partly through the mouth, may need a shorter wait than drinks or capsules.
The catch with evening sessions is sleep. The European Food Safety Authority found that even 100 mg close to bedtime may affect sleep in some adults, and in one study 400 mg taken six hours before bed cut measured sleep by more than an hour. A 7 p.m. workout fuelled by 300 mg of caffeine can cost you more in recovery than it gains you in the session. The coffee and sleep guide explains why caffeine lingers so long.
Do regular coffee drinkers lose the benefit?
It was long assumed that people who drink coffee every day would be tolerant and gain little. A 2017 trial tested this in 40 trained cyclists split by their usual intake — about 58 mg, 143 mg and 351 mg a day. Given 6 mg/kg of caffeine before a time trial of roughly 30 minutes, all three groups improved, and habitual intake made no measurable difference to how much.
So you do not need to give up your morning coffee to benefit before a race. The common advice to cut back in the days before competition finds no support in this trial.
Where the safe limit sits
The European Food Safety Authority's 2015 assessment is the useful benchmark here:
- Single doses up to 200 mg — about 3 mg/kg for a 70 kg adult — raise no safety concerns for healthy adults, including when taken less than two hours before intense exercise in normal conditions.
- Up to 400 mg a day spread through the day raises no concerns for healthy adults other than pregnant women.
- There were no studies of intense exercise in pregnant women or in middle-aged and older adults.
Set that next to the performance range and the overlap is clear. A dose of about 3 mg/kg sits inside both. Six mg/kg for a heavier athlete can mean 500 mg or more in one go — beyond the single dose EFSA assessed. That does not make it dangerous for everyone, but it is outside the range anyone has formally judged safe before hard exercise.
As for the rules: caffeine was on the banned lists of the International Olympic Committee from 1984 and the World Anti-Doping Agency from 2000, with a urine limit of 12 micrograms per millilitre. WADA removed it in 2004 but still monitors it. The old limit corresponded to roughly 10 mg/kg taken over several hours — more than three times the dose that helps.
A sensible way to use it
- Start at about 3 mg/kg — or even 2 — about an hour before the session. For many people that is two mugs of coffee or fewer.
- Try it in training first. Find out how your stomach and nerves respond before race day.
- Keep the coffee consistent if you care about the dose: the same beans, recipe and cup size each time.
- Mind the clock. Take less, or none, before evening sessions if sleep matters to you.
- Skip it if it does not suit you. People respond very differently to caffeine; the averages above will not describe everyone. If caffeine makes you anxious or gives you palpitations, the gain is not worth it.
People who are pregnant, have heart conditions or take medicines that interact with caffeine should get individual advice; the caffeine and pregnancy guide covers the limits in pregnancy.
Frequently asked questions
How long before a workout should I drink coffee?
About an hour. Sixty minutes before exercise is the most commonly used timing in the research, and it gives caffeine time to be absorbed. Caffeinated chewing gum acts faster than drinks or capsules.
Does coffee help with weightlifting?
Modestly, yes. Meta-analyses find small to moderate improvements in muscular strength, muscular endurance and power with caffeine, though the effect is smaller and less consistent than for endurance exercise.
Is caffeine banned in sport?
Not by the World Anti-Doping Agency, which removed it from the prohibited list in 2004 but still monitors it. The NCAA in the US treats caffeine as banned above a urine concentration of 15 micrograms per millilitre, far above the levels that improve performance.
Will coffee before an evening workout affect my sleep?
Very likely, at the doses that help performance. Even 100 mg close to bedtime can disturb sleep in some adults, and 400 mg taken six hours before bed cut measured sleep by more than an hour in one study. For evening sessions, a smaller dose or none is the better trade.
Does decaf coffee improve performance?
No. In the 2013 cycling study, decaf performed exactly like a placebo, while coffee with caffeine made riders about 5% faster. The effect comes from the caffeine.
Can too much caffeine hurt performance?
It can make you feel worse without helping more. Very high doses, around 9 mg per kilogram, cause frequent side effects such as jitteriness and anxiety, and the research shows they are not needed to get the benefit.
Sources
- 1.Beverages, coffee, brewed, prepared with tap water (FDC ID 171890). USDA FoodData Central
- 2.Foods to avoid in pregnancy: caffeine (caffeine in instant coffee). NHS
- 3.Late afternoon and early evening caffeine can disrupt sleep at night (on Drake et al., Journal of Clinical Sleep Medicine). American Academy of Sleep Medicine (2013)
- 4.International society of sports nutrition position stand: caffeine and exercise performance (Guest et al.). Journal of the International Society of Sports Nutrition 18:1 (2021)
- 5.Wake up and smell the coffee: caffeine supplementation and exercise performance — an umbrella review of 21 published meta-analyses (Grgic et al.). British Journal of Sports Medicine 54(11):681–688 (2020)
- 6.The metabolic and performance effects of caffeine compared to coffee during endurance exercise (Hodgson, Randell & Jeukendrup). PLoS ONE 8(4):e59561 (2013)
- 7.Dispelling the myth that habitual caffeine consumption influences the performance response to acute caffeine supplementation (Gonçalves et al.). Journal of Applied Physiology 123(1):213–220 (2017)
- 8.Caffeine. European Food Safety Authority
- 9.Scientific Opinion on the safety of caffeine. European Food Safety Authority, EFSA Journal 13(5):4102 (2015)
- 10.Espresso coffees, caffeine and chlorogenic acid intake: potential health implications (Crozier et al.). Food & Function 3(1):30–33 (2012)
Keep reading
Health & Science
Coffee and Blood Pressure: The Short-Term Spike and the Long-Term Picture
A strong coffee lifts blood pressure by about 8 points for three hours, yet daily drinkers are no more likely to develop hypertension. How both are true, and who should be careful.
5 min read
Health & Science
Caffeine Withdrawal: Symptoms, Timeline and How to Cut Down Without the Headache
Skip your usual coffee and a headache can arrive within a day. The validated symptoms, the timeline from the research, and a taper based on what the dose studies show.
6 min read
Health & Science
Caffeine and Pregnancy: How Much Is Safe, and What Newer Research Says
Most guidelines allow up to 200 mg of caffeine a day. What that looks like in real cups, why some researchers now argue for less, and what the one randomised trial found.
6 min read