11 September 2026
How Much Caffeine Should You Take for a Marathon or Ultra?
Caffeine is one of the most widely used endurance aids there is - most runners have relied on a coffee or a caffeinated gel at some point in a long race. But dose and timing tend to be an afterthought, worked out on the fly rather than planned. Given how much caffeine varies between products, it's worth actually thinking it through.
What caffeine is generally understood to do
Caffeine is widely used by endurance athletes to help with alertness and perceived effort, particularly in the later, more mentally taxing stages of a long race or run when concentration naturally starts to fade. It's a fuelling and focus aid, not a performance guarantee - individual response to caffeine varies a lot, and it isn't a substitute for proper training or pacing.
How much is generally considered safe
For healthy adults, 400mg of caffeine a day is a commonly cited general guideline - roughly what you'd get from three to four cups of coffee. That's a ceiling for the day as a whole, not a race-day dose on top of your normal intake, so it's worth accounting for any coffee you've already had before you start adding caffeinated fuel on course. Sensitivity varies a lot between individuals - some people feel jittery or get an upset stomach well under that number, so this is a general guideline to plan around, not a target to hit every time.
Timing it around race day
Two things matter more than the total dose: testing your tolerance in training first, and spreading intake out rather than front-loading it. Caffeine taken all at once early in a race does you little good six hours later when you actually need it. Many endurance athletes hold some of their caffeine back for the second half of a long effort, when focus is hardest to maintain, rather than taking it all in the first hour. As with any fuelling strategy, never trial a new caffeine dose for the first time on race day - test it on a long training run first.
Who should be cautious with caffeine
Caffeine isn't right for everyone. If you're pregnant, breastfeeding, under 15, sensitive to caffeine, or taking medication, talk to your healthcare professional before adding a caffeinated fuel source to your training or racing. This is general information, not personalised medical advice.
Work out your own caffeine and carb plan for race day.
Try the Fuel Guide Calculator