Caffeine and Running: How to Use It to Boost Your Performance

Caffeine and Running: How to Use It to Boost Your Performance

Everything you need to know about caffeine as an ergogenic aid for runners: dosage, timing, sources, race-day protocol and how to manage tolerance.

Nutrition · Feb 22, 2026 · Updated Dec 4, 2026 · 13 min read

If you run regularly, you probably already have a relationship with caffeine. Maybe you grab a coffee before heading out for a morning run, or you have noticed that some energy gels come in a caffeinated version. Caffeine is not just a stimulant for waking up: it is one of the most studied legal ergogenic aids in endurance sport.

Its effect, though, is smaller than is often claimed. In a meta-analysis of 46 studies, it improved time in endurance time trials by 2.2% on average, with a lot of variation between people; in two studies, some participants were slower (Southward 2018). In running, another meta-analysis found a small effect in time trials and a somewhat larger one in time-to-exhaustion tests (Wang 2022). If your half marathon time is 1:45, 2% would be about 2 minutes, but that is an average, not a promise.

Caffeine is not magic. It works best when you use it deliberately, with a dose and a timing you have tried, and with an understanding of how your body reacts. In this guide we explain what the studies show so that caffeine can be a real performance tool rather than a source of jitters and stomach problems. If you are looking for a broader view of sports nutrition, check out our complete nutrition guide for runners.

Important: This guide is informational and does not replace medical advice. If you are pregnant or breastfeeding, are under 18, take medication, or have heart problems, high blood pressure, anxiety or other medical conditions, consult a healthcare professional before using caffeine to improve performance.

1. How caffeine works in running

To understand why caffeine can help you run faster, it helps to know its mechanisms of action. It is not simply about waking up or feeling more alert.

Blocking adenosine receptors

This is the primary mechanism. Adenosine is a molecule your brain naturally produces during exercise and throughout the day. When adenosine accumulates and binds to its receptors in the brain, it creates feelings of fatigue, drowsiness and reduced motivation. It is the natural mechanism your body uses to tell you to stop and rest.

Caffeine has a molecular structure very similar to adenosine. When you consume caffeine, it binds to the adenosine receptors before adenosine can, blocking them. The result is that your brain does not receive the fatigue signal with the same intensity. It is not that your legs are less tired, but that your brain perceives less fatigue. This is the mechanism to which current evidence gives the most weight in explaining its effect on endurance (ISSN, Guest 2021).

Reduced perceived exertion (RPE)

RPE (Rating of Perceived Exertion) is the scale that measures how hard the effort feels. In a meta-analysis of 21 studies, caffeine reduced perceived exertion during exercise at the same intensity by 5.6% on average (Doherty 2005). In other words, the same pace feels somewhat more manageable, which can help you hold it.

Increased fat oxidation

For years the effect of caffeine was explained by greater use of fat as fuel, which would spare glycogen. Today that mechanism is considered to carry little weight compared with its action on the central nervous system (ISSN, Guest 2021). It is not a good idea to use caffeine with the aim of “burning more fat”.

Performance improvement: small and variable

Meta-analyses agree that caffeine improves endurance performance, but the average improvement is small and it does not happen to everyone. In time trials, the average improvement was 2.2% in time and 3% in power (Southward 2018). A review of 21 meta-analyses rated the quality of the evidence as moderate and noted that most participants were young men (Grgic 2020). In runners, the Wang meta-analysis pooled 21 trials with 254 participants, of whom only 19 were women (Wang 2022).

To put it in perspective, this is what improvements of 1 to 3% would mean for three example times. It is an illustrative calculation, not a prediction of what will happen to you:

DistanceCurrent time1% improvement2% improvement3% improvement
10K50:0049:3049:0048:30
Half marathon1:45:001:43:571:42:541:41:51
Marathon3:30:003:27:543:25:483:23:42

Legal in competition: WADA's position

Caffeine was on the World Anti-Doping Agency (WADA) prohibited list until 2004. Since then it has not been banned, and the agency tracks it in the WADA monitoring program: laboratories analyse it, but its presence is not sanctioned. The 2027 monitoring program (official document in French), which applies from 1 January 2027, keeps it under monitoring in competition only. If you compete with testing, check the current list every year. Being legal does not mean that any dose is safe: we cover that in the risks section.

2. Dose: what has been studied

Dose is probably the most important aspect of using caffeine for performance. Too little and you will not notice any effect. Too much and the side effects cancel out the benefits. It is worth separating two things: the doses that have been studied for performance, and the safety references, which come with their own conditions.

The 3-6 mg/kg body weight range

The doses that most consistently improve performance in studies are between 3 and 6 milligrams of caffeine per kilogram of body weight. The minimum effective dose is not clear and could be about 2 mg/kg (ISSN, Guest 2021). This is how that range translates by body weight:

Body weight3 mg/kg4.5 mg/kg6 mg/kg
55 kg165 mg248 mg330 mg
65 kg195 mg293 mg390 mg
75 kg225 mg338 mg450 mg
85 kg255 mg383 mg510 mg

These figures are doses used in performance studies, not safety recommendations. EFSA assessed single doses of up to 200 mg, about 3 mg/kg for a 70 kg person, as safe for healthy adults (EFSA 2015). Almost every figure in the table is above those 200 mg, and EFSA did not assess larger single doses. If you decide to try it, start at the low end and never try a new dose on race day.

More is not better

Raising the dose does not multiply the effect. Very high doses, such as 9 mg/kg, are associated with many more side effects (jitters, rapid heart rate, tremors, digestive discomfort, worse sleep) and do not appear to be necessary to improve performance (ISSN, Guest 2021).

Genetics: fast and slow metabolizers (CYP1A2)

Not everyone responds to caffeine in the same way. The CYP1A2 gene influences how quickly the liver clears it. In a study of 101 male athletes who completed a 10 km cycling time trial, carriers of the AA genotype improved with 2 and 4 mg/kg; those with AC did not change, and the small CC group was slower with 4 mg/kg (Guest 2018).

It is an interesting result, but it comes from male cyclists and has not been reproduced consistently in other studies. That is why we do not recommend choosing your dose with a commercial genetic test, or inferring your genotype from how you sleep after a coffee. The practical approach is to start low and observe how it sits with you.

Practical tip: If you want to try it, start with a low dose, for example your usual coffee or a 100 mg capsule, in a quality workout. Count all the caffeine you have had that day and do not try any new dose on race day.

3. Timing: when to take caffeine

When you take it also matters, although there is no exact minute that works for everyone.

Find your running with a group

Train with others on CorrerJuntos. Free on iOS.

Download free

60 minutes before the race

The most common protocol in studies is to take caffeine about 60 minutes before exercise. The ideal moment probably depends on the format: caffeinated chewing gum, for example, seems to need less waiting time than capsules (ISSN, Guest 2021). If you take it just before setting off, you may run the first kilometers without any effect.

How long it stays in your body

Caffeine takes hours to clear, and that time varies a lot from one person to another. That is why a morning dose can still be present hours later, and an afternoon dose can reach bedtime.

In a meta-analysis of 24 studies, caffeine reduced total sleep time by 45 minutes on average and deep sleep by about 11 minutes (Gardiner 2023). For afternoon workouts, that cost can outweigh the small improvement in a single session.

Do not take it too late

The same meta-analysis estimated that, to avoid losing sleep, a coffee (about 107 mg) should be taken at least 8.8 hours before bedtime, and a typical pre-workout dose (about 218 mg) about 13 hours before (Gardiner 2023). These are averages. If you train in the afternoon, try it without caffeine and keep your caffeine trials for morning sessions.

4. Caffeine sources for runners

Caffeine can be consumed in several forms, and each has advantages and disadvantages for runners. The important thing is to choose the source that fits your race-day logistics and lets you control the dose.

Coffee

Caffeine pills

Caffeinated energy gels

Pre-workouts

Energy drinks

5. Race-day protocol

Race day is not the time to improvise. You need a protocol you have rehearsed in training and that suits your target distance.

Do you need to give up coffee beforehand? Probably not

It is common to hear that you should stop caffeine 7-14 days before a race so that it has more effect. The available studies do not support this: in 40 trained male cyclists, habitual caffeine intake did not change the improvement from a 6 mg/kg dose (Gonçalves 2017); in 12 male cyclists, four days without caffeine did not increase the effect compared with continuing to take it (Irwin 2011). These are small studies, in men and in cycling, so it is not a closed conclusion. What is certain is that stopping abruptly can cause headaches and tiredness in the very week of the race.

The protocols below are examples of how to organise your intake, not validated prescriptions. Adjust them to what you have rehearsed.

Protocol for 10K and half marathon

TimingActionDetail
-90 minUsual breakfastWhatever you have tested in training. No caffeine.
-60 minCaffeine doseThe one you have tested in training. EFSA reference for healthy adults: up to 200 mg per single dose.
-15 minWarm-upYour usual warm-up.
RaceRunIn a 10K or half marathon, a single pre-race dose is usually enough.

Protocol for marathon

TimingActionDetail
-90 minUsual breakfastCarbohydrates + some protein. No caffeine.
-60 minInitial caffeine doseA moderate dose you have already tested (for example, 100-200 mg).
Km 1-25Caffeine-free gelsFollow your usual energy gel plan.
Km 28Caffeinated gelIf you have rehearsed it, a gel with 50-100 mg.
Km 35Caffeinated gel (optional)Only if the day's total is still within what you tolerate.

Many marathoners split their caffeine between a pre-race dose and gels in the second half; there are no studies showing that this split is better than a single dose. Add up all the caffeine of the day, including breakfast coffee and gels: EFSA puts habitual intake that raises no safety concerns at 400 mg/day for non-pregnant adults, and it did not assess intake in intense heat (EFSA 2015). To plan your complete race-day nutrition, check our race-day nutrition guide.

Golden rule: Never do anything new on race day. If you plan to use caffeine pills, test them at least 3-4 times during quality workouts. If you plan to combine a pre-race pill with caffeinated gels, rehearse that exact combination on a long run.

6. Caffeinated gels and capsules

Caffeinated gels are a practical way to take caffeine during a race. They let you combine carbohydrate intake with caffeine in a single action. These are four products with the caffeine content stated on their listing. We have not analysed them in a laboratory: the data for each one comes from its Amazon.es listing, consulted on 4 December 2026. For a broader guide to energy gels (with and without caffeine), visit our running energy gel guide (in Spanish).

Transparency: this section contains Amazon affiliate links. If you buy through them, we may receive a small commission at no extra cost to you. Check the current price and availability on Amazon before buying.

1. GU Roctane Energy Gel (sample pack)

Caffeine: depends on the flavor

Suited to: anyone who wants to try several flavors from the Roctane range

The link goes to a sample pack of 6 GU Roctane gels. According to the listing, each gel provides 100 kcal and 1,425 mg of amino acids. The Roctane range has flavors with and without caffeine, and the listing for this pack does not detail how much each gel contains: check the packaging before adding up the day's caffeine.

It is a thick-textured gel, so it is best taken with water.

Not available on Amazon.es at our last check (4 December 2026). We keep the link to its listing in case it becomes available again.

See listing on Amazon (not available) →

2. SiS GO Energy + Caffeine Gel

Caffeine: 75 mg per gel

Suited to: anyone who wants a caffeinated gel that the brand designs to be taken without water

The link goes to a box of 30 cola-flavored 60 ml gels. According to the listing, each gel provides 22 g of carbohydrates and 75 mg of caffeine. It is an isotonic gel: the brand designs it to be taken without water, although every runner tolerates gels differently.

Its texture is more liquid than that of most gels, which makes it easy to swallow at a fast pace. At 75 mg per gel, two gels already add up to 150 mg: bear that in mind if you have also had coffee.

See SiS GO + Caffeine on Amazon →

3. Maurten Gel 100 CAF 100

Caffeine: 100 mg per gel

Suited to: anyone who already tolerates Maurten gels and wants the caffeinated version

According to the listing, each gel contains 100 mg of caffeine and is a hydrogel with a fructose-to-glucose ratio of 0.8:1. The brand attributes better digestive tolerance to its hydrogel technology. A systematic review of nine trials with alginate hydrogels found digestive tolerance similar to that of conventional drinks and gels, and inconsistent effects on performance (Li 2026).

The flavor is very mild, which some runners appreciate in the final kilometers. Bear in mind that 100 mg is a considerable dose for a single gel.

Not available on Amazon.es at our last check (4 December 2026). We keep the link to its listing in case it becomes available again.

See listing on Amazon (not available) →

4. 226ERS Caffeine Express (100 mg capsules)

Caffeine: 100 mg per capsule

Suited to: controlling the milligrams of your pre-race dose and combining it with caffeine-free gels

The link goes to the 100-capsule tub of Caffeine Express, from the Spanish brand 226ERS. According to the Amazon.es listing, each capsule contains 100 mg of caffeine anhydrous. A single capsule is within the 200 mg per single dose that EFSA considers safe for healthy adults (EFSA 2015).

The brand indicates 1 to 4 capsules 45 minutes before or during exercise. Bear in mind that 4 capsules are 400 mg: twice the single dose that EFSA assessed. If you try it, start with one capsule in a training session, with water and not on an empty stomach.

See 226ERS Caffeine Express on Amazon →

7. Side effects and risks

Side effects depend on the dose and on the person. Knowing them helps you decide whether caffeine is worth using and in what amount.

Anxiety and jitters

Caffeine stimulates the central nervous system and can cause anxiety, especially in sensitive individuals or when high doses are combined with natural race-day nerves. If you are already an anxious person before competitions, a high caffeine dose can amplify that feeling to counterproductive levels. Always start with a small amount and only increase it if you tolerate it well.

Gastrointestinal discomfort

Caffeine stimulates the gut, which can cause urgency to use the bathroom, especially when combined with the jostling of running. If you tend to have digestive problems in races, test the format and the dose on long training runs before using them in competition. See also our guide to avoiding stomach issues while running.

Sleep disruption

As we saw in section 3, caffeine can reduce total sleep time and deep sleep (Gardiner 2023). Sleeping badly on a regular basis harms recovery, so watch afternoon doses in particular.

Dependence

Regular caffeine consumption creates physical dependence. This is not necessarily a problem if your intake is moderate and consistent, but it does mean that abrupt withdrawal will cause unpleasant symptoms (headache, fatigue, irritability) for a few days. If you decide to do a washout before an important race, plan it in advance and not during your peak training week.

EFSA safety references and their conditions

The European Food Safety Authority (EFSA) reviewed the safety of caffeine in 2015 (EFSA 2015). Its conclusions refer to the healthy general population and come with specific conditions:

Many of the doses in performance studies (3-6 mg/kg) exceed those 200 mg per single dose. The fact that they have been used in trials with healthy volunteers does not mean they are safe for everyone, or in every situation. If you take medication or have a health condition, check with a healthcare professional. For more information on responsible supplementation, check our supplements for runners guide.

8. Tolerance: what the studies show

The body adapts to the caffeine you take every day, which is why daily coffee is often thought to blunt the effect on race day. For performance, the available studies do not clearly confirm this:

These are small studies, in men and in cycling, so they cannot rule out that tolerance matters for some people. What we do know is that stopping caffeine abruptly can cause headaches, tiredness and difficulty concentrating for a few days.

Practical tip: you do not need to give up coffee before your goal race. If you want to use caffeine in competition, rehearse the same dose and the same format beforehand in key workouts, such as a long run at race pace.

Frequently asked questions

How much caffeine should I take before running?

In studies, the doses that most consistently improve performance are 3 to 6 mg per kilogram of body weight, usually about 60 minutes beforehand; 2 mg/kg might be enough. These are doses studied for performance, not a safety limit: EFSA considers a single dose of up to 200 mg (about 3 mg/kg for 70 kg) to be of no safety concern for healthy adults. Start low and test it in training.

Does coffee work as well as caffeine pills?

Coffee also provides caffeine, but the amount varies a lot depending on the bean and the preparation: EFSA estimates about 80 mg in a 60 ml espresso and about 90 mg in a 200 ml cup of filter coffee. Capsules and caffeinated gels state the exact milligrams, which is why it is easier to control the dose with them. See our running energy gel guide (in Spanish).

Is caffeine banned in competition?

No. Caffeine was removed from the World Anti-Doping Agency (WADA) prohibited list in 2004 and since then the agency has tracked it in its monitoring program: it is analysed, but not sanctioned. If you compete with testing, check the current list every year. Being legal does not mean that any dose is safe.

Can I take caffeine if I train in the afternoon?

It may make it harder to sleep. A meta-analysis estimated that, to avoid losing sleep, a coffee (about 107 mg) should be taken at least 8.8 hours before bedtime, and a typical pre-workout dose (about 218 mg) about 13 hours before. These are averages and sensitivity varies a lot between people. If you train in the afternoon, try it without caffeine or with less.

Is it better to take caffeine at the start or end of a race?

The most studied protocol is a single dose about 60 minutes before the start. In a marathon, many runners split their caffeine between a pre-race dose and caffeinated gels in the second half, but there are no studies showing that this split is better than a single dose. What matters is having rehearsed it and adding up all the caffeine of the day. You can dive deeper into nutrition strategies in our marathon energy gel guide.

How many days do I need to reset caffeine tolerance?

You probably do not need to stop. In trained cyclists, habitual coffee intake did not change the improvement produced by a dose of caffeine, and four days without caffeine did not increase the effect compared with continuing to take it. These are small studies, in men and in cycling. Stopping abruptly can cause headaches and tiredness in the very week of the race.

Does caffeine dehydrate runners?

During exercise, hardly at all. A meta-analysis of 16 studies found a small diuretic effect at rest, somewhat larger in women, that disappeared during exercise. Stick to your usual hydration plan. Source: Zhang 2015. See also our running hydration guide.

Scientific sources

We summarise what each source studied and with whom. Many trials were carried out with cyclists and young men, so their results do not transfer directly to all runners.

Improve your nutrition by running with others

Share nutrition tips and discover what other runners eat. Join a free group run.

Join CorrerJuntos

App Store Google Play