Founded in London, UK. We respect your privacy.

Used by 1,500+ happy people

The short answer Caffeine is one of the few legal performance boosters with strong research behind it. Aim for 3 to 6 milligrams per kilogram of body weight, taken 45 to 60 minutes before your run. That is roughly one to two strong coffees for most adults. It helps most on long runs, races, and hard sessions. It does not help much on easy runs, and it can wreck your sleep if taken too late in the day.
2-4%Endurance boost in studies
3-6 mg/kgEffective dose range
45-60 minTiming before run
~5 hoursCaffeine half-life

If you run before work, race on weekends, or just want a bit more energy on long Sundays, caffeine is probably the cheapest legal performance boost you can buy. The catch is that most beginners get the dose wrong, the timing wrong, or both. This guide fixes that.

We will cover what the research actually says, how much to take, when to take it, which sources work best, and when caffeine is doing nothing for you. There is also an interactive calculator further down so you can plug in your weight and run type and get a personal dose.

Does caffeine actually work for runners?

Yes. This is one of the most studied performance aids in sport. Reviews going back two decades consistently show a 2 to 4 percent improvement in endurance performance when caffeine is taken at the right dose before exercise.

For a beginner running a 5K in 30 minutes, that is roughly 30 to 70 seconds faster. For a marathon, it can be 5 to 10 minutes over the full distance. It is not magic. But it is the biggest legal edge most runners will ever get from a single thing.

How does it work? Caffeine blocks adenosine, the chemical that builds up in your brain and tells you that you are tired. Block adenosine and the same effort feels easier. You can hold a hard pace for longer before you cave. Caffeine also slightly increases adrenaline, mobilises fat as fuel, and may reduce how much glycogen you burn in the first hour of a run.

The effect is real, but it is modest. Caffeine will not turn a 25 minute 5K runner into a 20 minute runner. It will help you finish the last mile of a hard session without falling apart.

The right dose: 3 to 6 mg per kg of body weight

This is the range the research keeps landing on. Below 3 mg per kg, the effect is small and inconsistent. Above 6 mg per kg, you get more side effects (jitters, racing heart, gut problems) without more performance benefit.

For a 70 kg adult, that is 210 to 420 mg of caffeine. For reference:

  • A standard mug of filter coffee: 80 to 120 mg
  • A double espresso: 120 to 150 mg
  • A caffeinated running gel (like SiS Beta Fuel + caffeine, Maurten 100 CAF): 75 to 100 mg
  • A standard caffeine pill (ProPlus, generic): 50 to 100 mg
  • A can of energy drink: 80 to 160 mg (often with sugar and other stuff you do not need)

So 70 kg runner doing a hard session might have one strong coffee (around 150 mg) about an hour before, then a caffeinated gel mid-run. That puts them in the 3 to 4 mg per kg range, which is the sweet spot for most beginners.

If you have never used caffeine before a run, start low Try 1 to 2 mg per kg first. See how your stomach handles it. Add more only after a few sessions go well. Some people are very sensitive and feel jittery at low doses. That is genetic and worth knowing about yourself before race day.

Timing: 45 to 60 minutes before you run

Caffeine peaks in your blood roughly 45 to 60 minutes after you drink it. That is when the performance effect is strongest. So if your run starts at 7am, your coffee should be in hand by 6am.

That said, some forms work faster. Caffeinated gels and chewing gum are absorbed through the mouth and gut faster than coffee, so they kick in within 15 to 30 minutes. Useful if you forgot to drink your coffee in time, or if you want a top-up at mile 10 of a long run.

The half-life of caffeine is around 5 hours, meaning half of it is still in your system that long after you took it. That matters for sleep. A coffee at 4pm means a quarter of that caffeine is still in your blood at 2am. Most sleep researchers suggest no caffeine after 2pm if you go to bed around 10pm.

Caffeine sources compared

SourceCaffeineOnsetBest for
Filter coffee80-120 mg per mug45-60 minPre-run, everyday training
Double espresso120-150 mg30-45 minQuick pre-race hit, no volume in stomach
Caffeinated gel75-100 mg per gel15-30 minMid-run top-up, long sessions, races
Caffeine pill50-200 mg per tab30-45 minRace day, exact dosing, no taste
Caffeine gum40-100 mg per piece5-15 minFast onset, late top-up
Energy drink80-160 mg per can30-45 minNot recommended (sugar, taurine, volume)

For most beginners, black coffee is the easiest option. It is cheap, you probably already drink it, and the dose is in a sensible range. Caffeine pills are useful for race day because you know exactly what you are getting. Caffeinated gels are excellent for long runs and marathons. Energy drinks are best avoided before running because the volume of liquid and the extra ingredients often cause stomach problems.

Interactive: Caffeine Dose Calculator

Plug in your weight and run type

This calculator uses the 3 to 6 mg per kg guideline, adjusted for sensitivity and run type. It is a starting point, not medical advice.

Enter your details above
Your personalised dose will appear here.

When caffeine works best

The research is clearest on three situations:

  • Long runs (90 minutes or more). Caffeine helps spare glycogen in the first hour and keeps perceived effort lower as you fatigue. A coffee before, plus a caffeinated gel at the 60 to 75 minute mark, is a classic long run setup.
  • Races. 5K, 10K, half marathon, marathon. The harder you are pushing, the more caffeine helps. Race day is where you want your full dose, properly timed.
  • Hard sessions. Intervals, tempo runs, hill reps. Sessions where you are deliberately working at high effort benefit because caffeine lowers perceived effort.

When caffeine does not really help

Easy runs. Recovery runs. Anything where the goal is to run gently and let your body adapt without much stress.

Two reasons. First, the performance benefit only really shows up at hard efforts. On an easy 5K at conversational pace, you would have run that 5K just fine without it. Second, training without caffeine occasionally keeps your sensitivity high. If you have a coffee before every run, your body adapts and the race day boost is much smaller.

Use caffeine like a tool, not a daily habit. Save it for sessions where it matters.

Tapering caffeine before a big race

This is the trick most beginners miss. If you drink three coffees a day, your body has built up a tolerance. The 5 mg per kg dose on race day will not hit the way it does for someone who rarely has caffeine.

The fix is to taper for 5 to 7 days before a target race. Cut your normal intake by about half, then half again, so by the day before the race you are at zero or near zero. Yes, you will get withdrawal headaches for 2 to 3 days. Drink lots of water. Sleep more.

Then on race morning, take your full dose. Because your sensitivity has reset, that dose will land much harder. Many runners report this is the difference between a small effect and a noticeable one.

Skip the taper if it is going to wreck your week with headaches and mood swings. Better to race on your normal caffeine intake than to be miserable for a week beforehand.

Side effects and sleep

Caffeine is generally safe, but there are real downsides to know about:

  • Jitters and anxiety. Especially at higher doses or for sensitive people. If you feel shaky and your heart is racing on the start line, you took too much.
  • GI distress. Caffeine increases gut motility. Translation: it can send you running for the loo mid-race. Test your dose in training, not on race day.
  • Sleep disruption. The big one. A caffeine pill at 4pm before an evening run means your sleep that night will be worse, even if you do not feel awake. Bad sleep means worse recovery, worse training the next day.
  • Withdrawal headaches. Stop suddenly and you may get a dull headache for 2 to 3 days. Not dangerous, but uncomfortable.
  • Heart conditions. If you have a heart condition, high blood pressure, or are on medication, talk to a GP before using caffeine as a performance aid.
YMYL note This guide is general information for healthy adult runners. It is not medical advice. If you are pregnant, have heart conditions, anxiety disorders, or take medication that interacts with stimulants, talk to your GP or a registered sports dietitian before using caffeine for performance. The British Dietetic Association is a good starting point for finding qualified professionals.

How Edge fits into your training

Honest about what Edge does and does not do

Edge is a UK training app with 17,000+ members. A real coach builds your starting plan within 24 hours. You get Flexi Swap to move sessions around your life, Edge AI for 30 second answers plus the option to speak to coaches, general strength and mobility, progress tracking, voice prompts, and a free 7 day trial. Plans are £19.99 monthly or £119.99 annual.

What Edge does not do: Edge plans cover running, strength, and mobility. They do not include caffeine guidance, dosing recommendations, or caffeine tracking. That side of fuelling is on you. Use this guide as a starting point. For personalised nutrition or stimulant advice, especially if you have heart conditions or are sensitive to caffeine, see a sports dietitian or registered nutritionist.

Start your free 7 day trial

Frequently asked questions

Is coffee good before running?

Yes, for most healthy adults. A standard mug of filter coffee (about 100 mg of caffeine) taken 45 to 60 minutes before a run is a reliable, cheap, and well studied way to boost endurance performance by 2 to 4 percent. Skip it for easy runs and avoid it after 2pm if you want to sleep that night.

How much caffeine should I take before a run?

3 to 6 mg per kg of body weight. For a 70 kg adult that is 210 to 420 mg, or roughly two to four coffees. Start at the lower end if you are new to caffeine before exercise. Anything above 6 mg per kg gives more side effects without more performance benefit.

Are caffeine pills better than coffee for running?

Not better, just different. Pills give you a precise dose with no liquid volume in your stomach, which is useful on race day. Coffee gives you the same caffeine plus some antioxidants and a familiar ritual. Both work. Pick what suits your stomach and your routine.

When should I take caffeine before a run?

45 to 60 minutes before you start. That is when blood caffeine peaks. Espresso and caffeinated gels work slightly faster (30 to 45 minutes). Caffeine gum is fastest at 5 to 15 minutes, which makes it useful as a mid-run top-up.

Should I cut caffeine before a race?

Optional. Tapering for 5 to 7 days before a race resets your tolerance so the race day dose hits harder. You will probably get withdrawal headaches for 2 to 3 days. If that sounds awful, just race on your normal intake. Many runners do fine without the taper.

Can caffeine cause stomach problems while running?

Yes. Caffeine speeds up gut motility, which can mean urgent toilet stops mid-run. This is more common at higher doses, with coffee on an empty stomach, or in nervous race day conditions. Test your dose in training first. If your stomach is sensitive, try a caffeine pill or gum instead of coffee.

Keep reading

Edge is a UK running and strength app. Making fitness feel good for everyone. 17,000+ members. Free 7 day trial.

Read More Articles

Home Blog
🎬
Free Edge for posting a reel. More views, more free Edge.
🎬  Earn free Edge

Post a reel. The more views, the more free Edge you earn.

Show Edge to the world. We reward you based on how far the video travels. Simple as that.

✦ The ladder

10K+ viewsHalf price for a month
20K+ viewsOne month free
50K+ viewsThree months free
100K+ viewsLifetime free membership

✦ The rules

Post on Instagram and TikTok. Both platforms required.
Tag @findyouredgeapp and include #ad in your caption on both posts.
Account must be public so we can verify views.
Show the app in use and talk about at least one feature.
Get started →

Already a member? DM us on Instagram with your reel.

Free 7-day trial

Train your way.
Free for 7 days.

Real training that fits your week, your kit, and your real life. Start in under two minutes.

Personalised plan in under 2 minutes
Strength, running, and HIIT in one schedule
Cancel any time, no fuss
Start my free program

Joining 17,000+ members already training with Edge.