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.
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:
| Distance | Current time | 1% improvement | 2% improvement | 3% improvement |
|---|---|---|---|---|
| 10K | 50:00 | 49:30 | 49:00 | 48:30 |
| Half marathon | 1:45:00 | 1:43:57 | 1:42:54 | 1:41:51 |
| Marathon | 3:30:00 | 3:27:54 | 3:25:48 | 3: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 weight | 3 mg/kg | 4.5 mg/kg | 6 mg/kg |
|---|---|---|---|
| 55 kg | 165 mg | 248 mg | 330 mg |
| 65 kg | 195 mg | 293 mg | 390 mg |
| 75 kg | 225 mg | 338 mg | 450 mg |
| 85 kg | 255 mg | 383 mg | 510 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.
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.
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
- Content: it varies a lot. EFSA estimates about 80 mg in a 60 ml espresso and about 90 mg in a 200 ml cup of filter coffee (EFSA 2015).
- Advantages: Accessible and familiar to most people. Many runners already have a pre-run coffee routine.
- Disadvantages: Dosing is imprecise (it varies by bean type, preparation method and serving size). The liquid volume can cause stomach discomfort or the need to use the bathroom before the race. Not practical at the starting area of a marathon.
- Verdict: Fine for training, less practical for an important competition.
Caffeine pills
- Content: Typically 100 or 200 mg per capsule.
- Advantages: Stated dose, easy to carry, no liquid volume, no taste. They suit runners who want to control the milligrams.
- Disadvantages: May irritate an empty stomach. Since they have no taste, there is no sensory feedback (you do not notice you have taken it).
- Verdict: A practical option before a race. Easy to bring to the starting area.
Caffeinated energy gels
- Content: Between 25 and 100 mg of caffeine per gel, depending on the brand.
- Advantages: They combine caffeine with carbohydrates, so one product provides both energy and stimulation.
- Disadvantages: The caffeine dose per gel is usually low to use as your only pre-race source.
- Verdict: Useful as a complement during the race, especially from km 28-30 onward in a marathon. For more details on energy gels, check our marathon energy gel guide.
Pre-workouts
- Content: Variable, typically 150-300 mg of caffeine plus other ingredients (beta-alanine, citrulline, etc.).
- Advantages: They combine caffeine with other compounds. Some runners enjoy the flavor as a pre-workout ritual.
- Disadvantages: Many additional ingredients lack solid evidence for endurance running. The beta-alanine tingling can be uncomfortable. It is hard to know how much each ingredient contributes.
- Verdict: Unnecessary for most runners if what you are after is the caffeine.
Energy drinks
- Content: 80-160 mg of caffeine per can, plus sugar, taurine and other additives.
- Advantages: Sold in most shops. There are sugar-free versions.
- Disadvantages: Large liquid volume, high sugar content in regular versions, carbonation that can cause bloating and discomfort while running.
- Verdict: Not recommended before running. There are more specific options for runners.
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
| Timing | Action | Detail |
|---|---|---|
| -90 min | Usual breakfast | Whatever you have tested in training. No caffeine. |
| -60 min | Caffeine dose | The one you have tested in training. EFSA reference for healthy adults: up to 200 mg per single dose. |
| -15 min | Warm-up | Your usual warm-up. |
| Race | Run | In a 10K or half marathon, a single pre-race dose is usually enough. |
Protocol for marathon
| Timing | Action | Detail |
|---|---|---|
| -90 min | Usual breakfast | Carbohydrates + some protein. No caffeine. |
| -60 min | Initial caffeine dose | A moderate dose you have already tested (for example, 100-200 mg). |
| Km 1-25 | Caffeine-free gels | Follow your usual energy gel plan. |
| Km 28 | Caffeinated gel | If you have rehearsed it, a gel with 50-100 mg. |
| Km 35 | Caffeinated 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.
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).
1. GU Roctane Energy Gel (sample pack)
Caffeine: depends on the flavorSuited 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.
2. SiS GO Energy + Caffeine Gel
Caffeine: 75 mg per gelSuited 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.
3. Maurten Gel 100 CAF 100
Caffeine: 100 mg per gelSuited 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.
4. 226ERS Caffeine Express (100 mg capsules)
Caffeine: 100 mg per capsuleSuited 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.
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:
- Single dose: up to 200 mg (about 3 mg/kg for a 70 kg person) does not raise safety concerns in healthy adults, including when taken less than 2 hours before intense exercise under normal environmental conditions. Intense heat is not part of that assessment.
- Habitual daily intake: up to 400 mg a day from all sources does not raise concerns in non-pregnant adults.
- Pregnancy and breastfeeding: up to 200 mg a day.
- Children and adolescents: EFSA did not have enough data to set a safe amount and proposes 3 mg/kg a day as guidance.
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:
- In 40 trained male cyclists, divided by habitual intake (from about 60 to about 350 mg a day), a 6 mg/kg dose improved time-trial performance equally in all three groups (Gonçalves 2017).
- In 12 male cyclists who took caffeine daily, four days without it did not increase the improvement produced by a 3 mg/kg dose compared with continuing to take it (Irwin 2011).
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.
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.
- Guest NS et al. (2021). International Society of Sports Nutrition (ISSN) position stand on caffeine and performance. J Int Soc Sports Nutr. Literature review; doses studied, timing and side effects. doi:10.1186/s12970-020-00383-4
- Southward K et al. (2018). Meta-analysis of 46 studies on caffeine and endurance time trials. Sports Med. doi:10.1007/s40279-018-0939-8
- Wang Z et al. (2022). Meta-analysis of 21 trials in running (254 participants, 19 women). Nutrients. doi:10.3390/nu15010148
- Grgic J et al. (2020). Review of 21 meta-analyses; moderate-quality evidence, mostly in young men. Br J Sports Med. doi:10.1136/bjsports-2018-100278
- Doherty M, Smith PM (2005). Meta-analysis of 21 studies on caffeine and perceived exertion. Scand J Med Sci Sports. doi:10.1111/j.1600-0838.2005.00445.x
- Guest N et al. (2018). CYP1A2 genotype and a 10 km cycling time trial in 101 male athletes. Med Sci Sports Exerc. doi:10.1249/MSS.0000000000001596
- EFSA (2015). Scientific opinion on the safety of caffeine. EFSA Journal. Healthy general population; conditions of each reference in section 7. doi:10.2903/j.efsa.2015.4102
- Gardiner C et al. (2023). Meta-analysis of 24 studies on caffeine and sleep. Sleep Med Rev. doi:10.1016/j.smrv.2023.101764
- Gonçalves LS et al. (2017). Habitual caffeine intake and the effect of a 6 mg/kg dose in 40 male cyclists. J Appl Physiol. doi:10.1152/japplphysiol.00260.2017
- Irwin C et al. (2011). Four days without caffeine and a time trial in 12 male cyclists. J Sports Sci. doi:10.1080/02640414.2010.541480
- Zhang Y et al. (2015). Meta-analysis of 16 studies on caffeine and diuresis at rest and during exercise. J Sci Med Sport. doi:10.1016/j.jsams.2014.07.017
- Li et al. (2026). Systematic review of nine trials with alginate hydrogels in sport. Front Nutr. doi:10.3389/fnut.2026.1774380
- World Anti-Doping Agency: WADA monitoring program.
Improve your nutrition by running with others
Share nutrition tips and discover what other runners eat. Join a free group run.
Join CorrerJuntos
