Hami Mahani
Caffeine for Runners: How Much, and When During a Marathon?
Of all the legal tools in a runner's kit, caffeine is the one with the strongest evidence behind it — and the one runners most often use by accident. A coffee here, a caffeinated gel there, no plan, no idea how much they actually took or when it kicked in. Used deliberately, caffeine can make marathon pace feel more manageable and help you stay sharp late in a race. Used randomly, it can wreck your stomach, spike your heart rate early, and ruin your post-race nap.
This guide covers what the research actually says: how caffeine helps, how much is enough, when to take it before and during a marathon, and how to practice it in training so race day holds no surprises.
How Caffeine Helps Runners
Caffeine works mainly by blocking adenosine, a chemical that builds up in your brain during the day and signals tiredness. When adenosine is blocked, the same effort feels easier — sports scientists call this a reduction in perceived exertion. Caffeine may also support focus and alertness and help your body mobilize fuel during long efforts. The net effect in studies of endurance athletes is consistent: well-planned caffeine intake is associated with small but real improvements in endurance performance, typically in the range of a few percent. Over a marathon, a few percent is minutes — and late in the race, feeling sharper is valuable all by itself.
Important context: caffeine is not fuel. It contains no calories and does not replace carbohydrate. It makes the work feel easier; your gels, chews, and drinks still have to do the actual feeding. Think of caffeine as the dimmer switch on fatigue, not the battery.
How Much Caffeine Do Runners Need?
Research on endurance performance commonly uses doses in the range of 3 to 6 milligrams of caffeine per kilogram of bodyweight. For a 70 kg (154 lb) runner, that is roughly 200 to 400 milligrams total across the race morning and the race itself. Modern studies suggest the lower end of that range captures most of the benefit for most people, with fewer side effects — more is not automatically better, and very high doses mostly buy jitters and GI risk.
To translate milligrams into real life:
- An 8 oz cup of brewed coffee: roughly 80 to 100 mg
- A double espresso: roughly 120 to 150 mg
- A caffeinated energy gel or chew serving: typically 25 to 100 mg (check the label — they vary a lot)
- A 12 oz cola: roughly 35 to 45 mg
- Black tea: roughly 40 to 70 mg per cup
So a typical plan — coffee with breakfast plus two caffeinated gels spread across the race — lands most runners right in the effective range without any extreme measures. Always check labels; two products that look identical can differ by 75 mg per serving.
Before the Race: Timing Your Morning Dose
Caffeine reaches peak levels in your blood roughly 45 to 60 minutes after you take it, and its effects last for hours (the half-life is about 4 to 6 hours for most adults). That makes race morning simple: have your coffee or pre-race caffeine with breakfast, about one to two hours before the start, and you will be covered for the early and middle miles.
If you are a daily coffee drinker, do not skip your coffee on race morning in the name of "saving" caffeine for the race. Withdrawal headaches and sluggishness are a far bigger risk than a slightly blunted effect, and studies have generally found caffeine still helps habitual users. Keep your normal routine, then add the strategic doses during the race.
My own race morning is built around this: coffee with breakfast a couple of hours out, and my usual pre-run routine — I use 6AM Run Marathon as I get ready because it is part of the ritual my stomach knows — then I save dedicated caffeine for later in the race, where it does the most good.
What About Caffeine in Training?
Use caffeine in training the way you plan to use it in the race. Your daily coffee is fine — there is no need to quit caffeine for weeks before a marathon, and the withdrawal is not worth it. But do rehearse the full race-day plan on your last two or three long runs: same breakfast timing, same products, same miles for each dose. That rehearsal is also how you learn your personal dose. If 100 mg at mile 14 makes you feel sharp, great. If it makes your heart pound, cut it in half next time and note it in your training log.
During the Marathon: Save It for the Hard Miles
Here is the strategy most experienced marathoners use: run the first half on carbohydrate alone, and introduce caffeine when the race gets honest — somewhere between mile 13 and mile 20. There are two reasons. First, the perceived-effort benefit matters most when effort is highest. Second, saving caffeine means the dose you take at mile 18 is still working at mile 26, instead of fading right when you need it.
A practical pattern:
- Miles 1–13: regular (non-caffeinated) fuel on your normal schedule.
- Around mile 13–16: first caffeinated gel or chew — about 50 to 100 mg.
- Around mile 19–21: second caffeinated dose — another 50 to 100 mg.
- Optional final dose: a small amount (even a few sips of cola from an aid station or a spectator) in the last 5K if you trained with it.
Make sure caffeine fits inside your overall fueling plan rather than replacing it — you still need your carbohydrate targets every hour. If you have not mapped those out yet, our marathon fueling calculator guide walks through the math, and our strategy guide on avoiding the wall at mile 20 shows how caffeine timing pairs with fueling when the race gets hard. Personally, I like Marathon Gummies late in races because small, steady bites are easier to manage than big gels when I am tired — and whatever caffeine I take rides along with that steady rhythm rather than one big hit.
The Downsides to Plan Around
- GI trouble: caffeine can stimulate your gut. This is the number one reason to practice your exact plan in training, including a full rehearsal on a long run.
- Jitters and heart rate: too much, too early can make the first miles feel frantic and push you out too fast. Start with the lower end of the range.
- Sleep: a marathon's worth of caffeine can still be circulating in the evening. Expect a lighter post-race nap and plan caffeine doses earlier in the race if sleep matters more than the final kick.
- Individual variation: genetics and habits mean some runners feel 50 mg strongly and others barely notice 200 mg. Your training log, not a chart, is the final word.
And the golden rule covers all of it: nothing new on race day. Every caffeine source, dose, and timing you use in the marathon should have been tested on at least one or two long runs first.
A Simple Caffeine Plan to Steal
Breakfast (2–3 hours before the start): your normal coffee — about 100 mg.
Start line to mile 13: non-caffeinated fuel only.
Mile 14ish: caffeinated gel or chews — 50 to 100 mg.
Mile 20ish: second caffeinated gel or chews — 50 to 100 mg.
Total: roughly 200 to 300 mg across the day, timed to peak when the race is hardest.
Caffeine will not run the marathon for you. But timed well, it can make the last ten miles feel like a race you are still in charge of — and that is exactly where marathons are won. Practice it, trust it, and go get your finish line.
