Sweatr
All articles
Fueling Strategy9 min read22 May 2026

Caffeine in Your Racing Gels: How Much Helps, When to Take It, and When to Skip It

A practical guide to caffeine dosing and timing in racing gels so you get the boost without the gut bomb.

Caffeine in Your Racing Gels: How Much Helps, When to Take It, and When to Skip It

In Summary

  • Caffeine boosts endurance performance by 2–4% — but only if you dose and time it right.
  • The sweet spot is 3–6 mg per kg of body weight, spread across the second half of your race.
  • Taking caffeinated gels too early wastes the benefit; taking too many causes gut distress.
  • Sweatr builds caffeine timing into your personalised fueling plan automatically.

Most runners have a vague sense that caffeinated gels "help." So they grab whichever gel is caffeinated, take it whenever they remember, and hope for the best.

That works about as well as your fueling plan did the first time you bonked at mile 20. Which is to say: not very well.

Caffeine is one of the most studied and most effective legal performance aids in endurance sport. The research is clear that it works. But how much, when, and whether to bother are questions that most gel packets don't answer — and neither does the internet, which will happily tell you everything from "caffeine is essential" to "caffeine will destroy your stomach."

Here's what the science actually says, translated into a plan you can use on your next race day.

What Caffeine Does During Endurance Exercise

Caffeine works primarily on your central nervous system, not your muscles. It blocks adenosine receptors in the brain — the chemical signals that make you feel tired. The result is that the same effort feels easier, particularly in the later stages of a long race when fatigue is highest.

The measurable effect is a 2–4% improvement in endurance performance. That might not sound like much, but for a 4-hour marathoner, a 3% improvement is over 7 minutes. For a 2-hour half marathoner, it's nearly 4 minutes. That's a meaningful difference for zero extra training.

Caffeine also increases fat oxidation slightly, which can spare glycogen stores, and it improves reaction time and decision-making — useful when you're 3 hours into a race and trying to remember your pacing strategy.

How Much Caffeine You Actually Need

The evidence points to a sweet spot of 3–6 mg of caffeine per kilogram of body weight for endurance performance. Below 3 mg/kg and the effect is minimal. Above 6 mg/kg and you're mostly adding side effects — jitters, anxiety, GI distress — without a proportional benefit.

For a 70 kg (154 lb) runner, that's 210–420 mg total across the race. For a 60 kg (132 lb) runner, it's 180–360 mg.

Here's where it gets practical. A typical caffeinated gel contains 25–50 mg of caffeine. Some high-caffeine gels pack 75–100 mg. So depending on the gel you choose and your body weight, you might need anywhere from 3 to 8 caffeinated gels to hit the effective dose range.

But you don't take them all at once, and you don't spread them evenly. Timing matters more than total dose.

A quick calculation

| Body weight | Target range (3–6 mg/kg) | Typical caffeinated gels needed (at 50 mg each) | |-------------|--------------------------|--------------------------------------------------| | 55 kg / 121 lb | 165–330 mg | 3–7 gels | | 65 kg / 143 lb | 195–390 mg | 4–8 gels | | 75 kg / 165 lb | 225–450 mg | 5–9 gels | | 85 kg / 187 lb | 255–510 mg | 5–10 gels |

That upper range sounds like a lot. It is. Most runners should aim for the lower end (3–4 mg/kg) the first time they use a caffeine strategy, and only increase if they tolerate it well.

When to Take Caffeinated Gels: The Timing Strategy

This is where most runners get it wrong. They take a caffeinated gel in the first 30 minutes of the race "for energy" — but caffeine doesn't give you energy. It reduces your perception of effort. And in the first 30 minutes of a marathon, effort perception is low anyway.

Caffeine peaks in your blood about 30–60 minutes after you take it. Its performance benefit is greatest when fatigue is highest. So the optimal strategy for most marathon runners is:

First half of the race: Non-caffeinated gels only. Your glycogen stores are full, your perceived effort is manageable, and you don't need the caffeine boost yet.

From the halfway point onward: Switch to caffeinated gels. This means the caffeine is peaking in your system between miles 16–22 — exactly when the marathon gets hard and exactly when most bonking happens.

Last gel (if you take one in the final 5K): Make it caffeinated. The mental boost in the final miles is where caffeine pays its biggest dividend.

Marathon caffeine timing example (4:00 finish)

| When | Gel type | Why | |------|----------|-----| | 45 min | Non-caffeinated | Glycogen topping up. No caffeine needed yet. | | 1:15 | Non-caffeinated | Still relatively fresh. Save the caffeine. | | 1:45 | Caffeinated (first dose) | Caffeine will peak around mile 16–17. | | 2:15 | Caffeinated | Sustaining the effect through the hardest miles. | | 2:45 | Caffeinated | Final mental push for the last 10K. | | 3:15 | Caffeinated (optional) | Last 45 min boost if stomach tolerates it. |

For a half marathon, the window is tighter. Take your caffeinated gel at around 40–50 minutes in so it peaks for the final third of the race.

When to Skip Caffeine Entirely

Caffeine isn't always the right call. Skip or reduce it if:

You're racing in serious heat. Caffeine is a mild diuretic (though the effect is smaller during exercise than at rest). In hot conditions where you're already losing more fluid than you can replace, adding a diuretic effect — even a mild one — isn't ideal. More importantly, heat already stresses your gut. Caffeine can add to that stress and increase the risk of nausea and cramping.

You're a heavy daily caffeine consumer. If you drink 4+ cups of coffee a day, you've built significant tolerance. You'll need a higher dose to feel any effect, which increases the risk of GI issues. Some athletes taper caffeine intake for 3–5 days before a race to restore sensitivity. This works, but caffeine withdrawal can cause headaches and lethargy during taper week — not great timing.

You've never tested it in training. This should go without saying, but race day is not the day to discover that caffeine makes you need a bathroom stop at mile 15. Test your caffeinated gel strategy on at least 3–4 long runs before race day.

You get anxious before races. Caffeine amplifies anxiety. If you're already dealing with pre-race nerves and adrenaline, adding 200+ mg of caffeine on top can make you feel jittery and spike your heart rate beyond what's useful.

The Stacking Mistake: Don't Double Up

One of the most common caffeine mistakes is stacking sources. You take a caffeinated gel, wash it down with a caffeinated sports drink from the aid station, and then wonder why your stomach is in revolt at mile 19.

A single serving of caffeinated sports drink (like those at many race aid stations) can contain 30–75 mg of caffeine. If you're also taking caffeinated gels every 30 minutes, you can easily exceed 6 mg/kg without realising it.

The fix is simple: pick one caffeine source and stick with it. If your gels are caffeinated, drink only water or non-caffeinated electrolyte drinks at aid stations. If you prefer to get your caffeine from a sports drink, use non-caffeinated gels.

Sweatr handles this automatically. When you build your race plan, it factors in caffeine from every source — gels, drinks, and chews — so you hit your target dose without accidentally stacking.

How to Test Your Caffeine Strategy Before Race Day

Don't wait until race morning to find out how 300 mg of caffeine interacts with 60 g/hour of carbohydrates and a nervous stomach.

Step 1: Pick your caffeinated gel. Note the exact caffeine content per packet.

Step 2: On a long run of 90+ minutes, use non-caffeinated gels for the first half and switch to your caffeinated gel at the halfway point. Note how your stomach responds, when you feel the boost, and whether it changes your perceived effort.

Step 3: Repeat on at least 2 more long runs, adjusting timing if needed. Try it once on a warm day if your race will be in warm conditions.

Step 4: Calculate your total race-day caffeine load. Make sure it lands in the 3–6 mg/kg range and that no single 30-minute window has you consuming more than 100 mg.

If you log your training in Strava and connect it to Sweatr, your fueling plan will automatically adjust caffeine timing based on your race distance, expected finish time, and the conditions forecast for race day.

Which Gels Have How Much Caffeine

Not all caffeinated gels are created equal. Here's a rough guide to the caffeine content of popular options:

| Gel | Caffeine per serving | Carbs per serving | |-----|---------------------|-------------------| | GU Roctane (caffeinated) | 35 mg | 21 g | | Maurten Gel 100 CAF 100 | 100 mg | 25 g | | SiS GO Energy + Caffeine | 75 mg | 22 g | | Precision Fuel & Hydration PF 30 Caffeine | 50 mg | 30 g | | Spring Energy Awesome Sauce | 25 mg | 23 g | | HIGH5 Energy Gel Caffeine | 30 mg | 23 g | | Clif Shot (Citrus flavour) | 25 mg | 24 g |

The 100 mg options (like Maurten CAF 100) are powerful but you need fewer of them — and each one carries more risk if your stomach is sensitive. Lower-dose gels (25–35 mg) are gentler and give you more flexibility to fine-tune your total intake.

Sweatr's product library maps each gel to its exact caffeine and carbohydrate content, so your fueling plan always adds up to the right numbers.

The Bottom Line

Caffeine works. The research is robust and the effect is meaningful. But "works" depends entirely on getting the dose, timing, and source right for your body, your race, and your conditions.

The key principles:

  1. Target 3–6 mg/kg body weight in total across the race. Start at the lower end.
  2. Back-load your caffeine — save caffeinated gels for the second half when fatigue is highest.
  3. Don't stack sources. Pick gels or drinks, not both.
  4. Test it in training. At least 3 long runs with your race-day caffeine strategy.
  5. Adjust for heat. Hot conditions may warrant reducing your caffeine or switching to non-caffeinated gels entirely.

If building this into a plan sounds like a lot of moving parts, that's because it is. Sweatr calculates your caffeine timing alongside your carbohydrate and fluid targets — pulled from your wearable data, race distance, and weather forecast. One plan, everything dialled in.