Caffeine is the most studied legal ergogenic aid in sport, and it works — but only at the right dose, the right timing, and with the right habituation. Half the runners using caffeine on race day get less out of it than they could, and some actively make things worse. Here is the protocol.

The one-sentence answer

3–6 mg of caffeine per kilogram of bodyweight, taken 60 minutes before the gun, with optional top-ups of 1–2 mg/kg every 60–90 minutes for races longer than 2 hours.

Why caffeine works

Caffeine blocks adenosine receptors in the central nervous system, which reduces perceived effort, raises pain threshold, and increases dopamine and β-endorphin release. The endurance impact is a 2–4% performance boost — roughly 4–10 minutes off a 4-hour marathon. Caffeine also nudges fat oxidation upward in low-habit users, though this effect is smaller than the CNS effect.

Dose by bodyweight

  • 50 kg → 150–300 mg pre-race
  • 60 kg → 180–360 mg pre-race
  • 70 kg → 210–420 mg pre-race
  • 80 kg → 240–480 mg pre-race
  • 90 kg → 270–540 mg pre-race

Reference: a strong drip coffee is 150–200 mg. A typical caffeinated gel is 25–50 mg. A pre-workout scoop is 150–300 mg. Above 9 mg/kg the side-effect profile (jitters, GI distress, raised heart rate) outweighs the benefit.

Timing

Peak blood-caffeine concentration is 45–75 minutes after ingestion. For a single dose, take it 60 minutes before the gun. For longer races, layer:

  • −60 min: 3–4 mg/kg with breakfast
  • 0 min: 25–50 mg caffeinated gel at the start (optional)
  • +60–90 min: top-up gel
  • +150 min: another top-up

Total race-day caffeine should land in the 5–9 mg/kg range for a marathon or longer event.

Race length matters

Half marathon: single pre-race dose, no top-ups needed.

Marathon: pre-race + one or two caffeinated gels — see the spacing in our marathon gel count guide.

70.3: pre-race + 2–3 caffeinated gels spaced across bike and run.

140.6 / ultra: rotate plain and caffeinated gels; save caffeine for the back half when you need the CNS boost most.

Habituation

Heavy daily users (300+ mg/day) get a smaller acute boost than moderate or light users. Some research suggests a 7-day taper to 50–100 mg/day before the race restores sensitivity. This is controversial — meta-analyses are mixed — and the side effect of a taper is caffeine-withdrawal headaches. If you have not tried it in a tune-up race, do not try it on race day.

Side effects and when to skip

GI distress, jitters, raised heart rate, and sleep disruption the night before if you dosed too late. Higher doses can cause palpitations in sensitive runners. Pregnant athletes and those on cardiac medication should consult a doctor before any caffeine protocol. Caffeine also raises urine output — pair with sodium (see our electrolytes guide) and watch the early signs of hyponatremia if you are also over-drinking.

Coffee, gels, or pills

Coffee delivers caffeine plus chlorogenic acids that may add a small independent benefit. Gels deliver caffeine plus carbohydrate. Pills deliver caffeine, period — useful for precision dosing but easy to overdo. Most runners use coffee pre-race and gels during.

Frequently asked questions

Coffee vs gels vs pills? Coffee at breakfast for the bulk; gels during; pills only if you need a precise dose at a precise time.

Does decaf count? Decaf has 2–5 mg per cup. Not meaningful.

Pre-workout powders? They work, but contain beta-alanine, citrulline, and other ingredients with their own GI baggage. Treat them like a new product — test on long runs first.

Caffeine crash mid-race?Usually under-fueling masquerading as a caffeine crash. Take a plain gel; the “crash” almost always lifts.