·9 min read

Caffeine Timing for Endurance Races: When and How Much to Take

The right caffeine plan is usually smaller than people think.

If you slam 300 or 400 milligrams before the start because some podcast said caffeine is free speed, you might feel amazing at mile 3 and like garbage at mile 20. Jitters, bathroom panic, lousy sleep later, all of that is on the table.

Caffeine does work. The trick is using enough to help without cashing the whole check too early.

In a 2025 network meta-analysis, low-dose caffeine capsules, about 3 mg/kg, came out as the most effective strategy for endurance time-trial performance, with moderate-dose capsules and gum also helping (Xue et al.). The ISSN position stand lands in a similar place: 3-6 mg/kg works consistently, benefits may start around 2 mg/kg, and big doses like 9 mg/kg bring more side effects than upside.

So what should you actually do on race day? My boring-but-effective answer is body weight first, source second, and race length third. A 55 kg runner taking a 200 mg caffeinated gel and an 85 kg cyclist sipping the same amount over two hours are not having the same experience.

Start lower than the internet tells you

The old-school caffeine advice was basically "take a lot and send it." That's not where the evidence points now.

A 2018 meta-analysis found a small but real endurance benefit with moderate doses in the 3-6 mg/kg range, improving time-trial completion time by about 2.2% on average (Southward et al.). Useful? Absolutely. But the newer 2025 network meta-analysis is the more practical takeaway for most age-group athletes: low-dose capsules, roughly 3 mg/kg, ranked best for time-trial performance (Xue et al.).

Count the milligrams.

Here's what that looks like in real life:

Body weight1.5 mg/kg3 mg/kg
55 kg / 121 lb80 mg165 mg
65 kg / 143 lb100 mg195 mg
75 kg / 165 lb115 mg225 mg
85 kg / 187 lb130 mg255 mg

That table is why fixed-dose advice gets messy fast. A single 200 mg product is a moderate hit for a bigger athlete and a pretty aggressive dose for a smaller one. Female athletes usually get ignored in supplement writing, and yeah, we're not doing that here. In trained cyclists and triathletes, 3 mg/kg improved endurance performance in women and men by a similar amount, which supports using the same mg/kg framework rather than some separate watered-down rule (Skinner et al.).

And if you're smaller, anxious, or prone to race-day GI drama, I'd start closer to 1.5-2 mg/kg, not 4-6.

Want the exact carb, fluid, sodium, and caffeine numbers for your body and your race? It takes about 60 seconds in the free EnduranceOS planner.

Timing changes with the source

The default timing is still simple: take caffeine about 45-60 minutes before the start if you're using capsules, tablets, or coffee. That's still the most common protocol in the literature, and it's the timing the ISSN position stand calls out most clearly.

But gum is different.

A meta-analysis on caffeinated chewing gum found it helped when taken within 15 minutes of starting exercise, and didn't show the same benefit when used earlier (Barreto et al.). That's useful if you don't want a big pre-race hit sitting in your stomach for an hour, or if you want a late-race booster without taking another capsule.

Coffee can work too. A recent review found coffee can produce similar ergogenic effects in endurance exercise, but responses are more variable because caffeine content and tolerance are more variable too (Domaszewski). So if your pre-race routine is one familiar mug at home and you've tested it, fine. If you want tighter control, capsules, labeled gels, or gum are easier to dose.

Commercial coffee is the wild card. One coffee shop "large" can be a perfectly reasonable dose. Another can turn your hands into maracas.

So what should you actually do on race day?

This part is partly an inference from the sources, not a direct one-study rule, because there isn't a perfect randomized trial for every marathon, 70.3, and overnight ultra setup. But the logic holds up well.

Half marathon, marathon, 70.3, gran fondo

If your race is going to last about 90 minutes to 6 hours, a pre-race dose usually does most of the work.

Here's what I'd actually tell most athletes:

  • Start with 1.5-3 mg/kg.
  • Use coffee or capsules about 45-60 minutes before the gun.
  • Use gum closer to the start or later in the race if you want a faster hit.
  • Add a smaller late-race top-up only if you've practiced it in training.

For a marathon, that might mean your normal coffee or a 150-200 mg capsule before the start, then a caffeinated gel later around the part of the race where everything gets existential. The marathon fueling guide covers the carb side of that. For a half marathon, a full late-race top-up is often overkill unless you're out there for a while.

Same idea for a 70.3 or hard gran fondo. Use enough caffeine to help focus and effort tolerance, then save the extra ammo for later if you know you respond well. Don't blow through the whole plan on the drive to transition.

Ironman and longer ultras

This is where people get themselves in trouble.

For an Ironman, 50 miler, 100K, or 100 miler, front-loading a huge dose is usually bad supply and command. You can feel great early, then spend the back half of the race trying to prop up a fading buzz with random aid-station cola and whatever caffeinated gel is left in your pocket. Plenty of podcast bros still act like 400 mg at the start is a personality trait. Then they're wondering why they're shaky and hunting for a port-a-john before the race has even settled in.

I'd rather see most athletes start modest, then use a few strategic boosters later. Maybe 1.5-2 mg/kg before the start, then smaller doses when fatigue, focus, and motivation start to slide. In really long ultras, saving a meaningful portion for the overnight or early-morning low point often makes more sense than hammering caffeine at sunrise and hoping for the best.

That's not because caffeine stops working after hour one. It's because long races are management problems. You're pacing, eating, drinking, dealing with heat, trying not to torch your gut, and trying to avoid turning the second half into a death march. Caffeine should fit inside that bigger system, not become its own little side quest. The Ironman carb guide matters a lot more to your day than one extra espresso hit does.

And no, caffeine doesn't rescue bad fueling. If you under-eat carbs, fall behind on fluid, or ignore sodium on a hot day, caffeine can't do rocket surgery on that. The hot weather nutrition post is the better fix there.

Evening races and late training

Caffeine still works in the evening. The tradeoff is sleep.

A 2025 systematic review on athletes found caffeine can hurt sleep and recovery, with timing relative to bedtime being a big part of the problem (Bodur et al.). Another trial in cyclists and triathletes found late-afternoon split dosing improved performance but also increased sleep onset latency and cut sleep quality later that night (Miller et al.).

So if your event starts late, count the cost honestly. A PR at 7 p.m. is cool. Lying awake until 2 a.m. when you have kids or work the next morning is also real.

The mistakes that make caffeine backfire

Using a flat number instead of mg/kg.
That 200 mg can be a tidy dose or a little grenade depending on your size.

Counting coffee as free and the gels as the real dose.
Nope. If you had two coffees with breakfast and then add a caffeinated gel, it all counts.

Trying a new source on race morning.
Your stomach doesn't care that the expo booth said their new espresso gel is smooth. If it wasn't in training, it doesn't belong in the plan.

Taking caffeine too early.
If your wave doesn't start on time, or you dose on the drive and then stand around for 45 minutes in a cold corral, you've used part of the benefit just waiting.

Trying to fix fatigue that actually came from underfueling.
This is a big one. If your issue is low carb intake, dehydration, or a messed-up breakfast, more caffeine can just make you tired and jittery at the same time. The pre-race breakfast guide, the gut training post, and the GI problems post matter just as much here.

Assuming more is always better.
For most healthy adults, the FDA says 400 mg/day is an amount not generally associated with negative effects, but individual sensitivity varies a lot (FDA). In sport, you can absolutely hit race-helpful numbers well below that. You do not need to flirt with the ceiling just because you can.

My default caffeine playbook

If you want the shortest version that actually works, it's this:

  • Start with 1.5-3 mg/kg, not some macho fixed dose.
  • Take it about 45-60 minutes before the start if it's coffee or capsules.
  • Use gum closer to the gun or later in the race if you want a faster option.
  • For marathons and 70.3s, consider a smaller late-race top-up only if you've practiced it.
  • For Ironman and ultras, be more strategic. Save some for when the race tries to break you.
  • If late caffeine wrecks your sleep, that counts. Recovery is part of the cost, and a 2 a.m. ceiling stare is part of the bill.

Caffeine is one of the few supplements that really earns its keep. But the best plan usually looks boring: measured dose, tested source, right timing, no heroics.

Want the exact carb plus caffeine numbers dialed for your body and your race? The free EnduranceOS planner builds the full plan in about 60 seconds.

Frequently Asked Questions

Based on published sports science research including ACSM position stands, ISSN guidelines, and peer-reviewed work by Jeukendrup, Sawka, and others. Not medical or dietary advice — individual needs vary. Test your strategy in training.

Ready to build your race nutrition plan?

Get a personalized, hour-by-hour fueling blueprint based on your body, your race, and your weather. Free, no account needed.

Build Your Plan