I have finished a hard century and spent the next three hours waking up every 45 minutes with calf cramps so bad I had to stand on the tile floor in the dark. If you have cramped at mile 80, or woken up at 3am with a calf locked solid, you already know the problem is not that you did not try hard enough.
What most of us were taught about cramps (you sweated out too much salt, so eat a banana) does not hold up well when researchers follow athletes through real races. Here is what the studies actually found, what to do in the moment, and where supplements honestly fit. Score your own risk factors below first.
What Actually Causes Leg Cramps in Endurance Athletes?
The best evidence points to fatigue of the working muscle, not sweat losses. When researchers followed Ironman triathletes through a race, faster racing and a history of cramping predicted who cramped, while dehydration and blood sodium did not. The electrolyte theory rests mainly on anecdotes and a handful of small case series.
| Study | What it looked at | What it found |
|---|---|---|
| Sulzer, Schwellnus and Noakes, 2005 | Ironman triathletes who cramped against those who did not | No difference in body mass loss and no clinically significant difference in blood electrolytes |
| Schwellnus, 2009 (review) | The evidence behind each theory | Support for the electrolyte and dehydration theories came from anecdotes, case series totalling 18 cases and one small case-control study; four prospective cohort studies did not support them |
| Schwellnus, Drew and Collins, 2011 | Ironman triathletes followed through the race | Faster race times and previous cramps predicted cramping, not dehydration or blood sodium changes |
| Maughan and Shirreffs, 2019 (review) | Laboratory and field evidence | Dehydration had no effect in laboratory studies; fatigue of the cramping muscle is the leading explanation |
The fatigue explanation, developed in detail by Professor Martin Schwellnus, holds that sustained effort upsets the balance of signals that tell a muscle to contract and to stop contracting (Schwellnus, 2008). The muscle tires, the "stop" signal weakens, and the muscle locks. That fits what most of us see: cramps arrive late in a long effort, in the muscles doing the most work, often when we are going harder than we trained for, and in well-hydrated athletes too.
Sweat and sodium still matter for other reasons. Heavy, salty sweating over many hours affects performance and, with too much plain water, can lead to low blood sodium. The sodium calculator sets an hourly target for that. It just is not a proven cramp cure.
What Helps During a Cramp?
Rest and passive stretching of the cramping muscle are the most effective immediate treatment, according to the leading cramp researcher's clinical review. In a small laboratory study, a swallow of pickle juice ended electrically induced cramps 49 seconds sooner than water, which the researchers traced to a reflex from the mouth and throat rather than to restored electrolytes.
- Stop and stretch the muscle that is cramping (Schwellnus, 2008). For a calf, pull the toes toward the shin; for a hamstring, straighten the leg. Hold until it releases.
- Ease off. On the bike or the run, back off the pace for a few minutes. Since fatigue is the likely driver, the cramp often returns if you go straight back to the same effort.
- Pickle juice, if you have it. In the lab study (Miller et al., 2010), about 1 ml per kg of body weight was swallowed as the cramp began. The effect came too fast for the salt to be absorbed, so it is a reflex, not a refill.
How to Prevent Cramps on Race Day
The prevention that follows from the evidence is pacing and preparation: do not race much harder than your longest comparable training efforts, build long sessions at goal intensity into training, and treat a history of cramps as a warning to start conservatively. Fuel and drink to a plan, but do not count on electrolytes alone.
- Pace to your training. Faster racing predicted cramping in the Ironman cohort. Going out above the intensity you have practised for that duration is the clearest risk you control.
- Train the specific demand. Long rides or runs with sustained efforts at race intensity prepare the exact muscles that cramp late in an event.
- Respect your history. Previous cramping was one of the two strongest predictors. If you have cramped in this kind of event before, start more conservatively and plan the second half.
- Keep fuelling and drinking to a plan. Carbohydrate and fluid hold back the fatigue that precedes cramps, and sodium replacement protects against low blood sodium on long, hot days. The carb fueling plan and the sodium calculator set both.
Do Supplements Prevent Leg Cramps?
No supplement has been shown to prevent exercise-associated cramps in a controlled trial. A Cochrane review found magnesium unlikely to help nocturnal cramps in older adults and found no trials in exercise cramps. The most encouraging data is for creatine, from one open-label football season. Beta-alanine and taurine have no exercise cramp trials.
| Supplement | Cramp trials | What they found |
|---|---|---|
| Magnesium | Cochrane review: 11 trials, 735 people (Garrison et al., 2020) | Unlikely to give a meaningful benefit for idiopathic cramps, mostly in older adults; no trials at all in exercise cramps |
| Potassium | None in exercise cramps | Sweat losses are modest (about 100 to 400 mg an hour); see potassium for endurance athletes |
| Creatine monohydrate | One open-label season study (Greenwood et al., 2003) | Players who chose to take it had fewer cramps than those who did not; not placebo-controlled |
| Beta-alanine | None | Raises muscle carnosine by about 42 to 64% over 4 weeks (Harris et al., 2006); a buffering mechanism, not a cramp result |
| Taurine | Only in people with liver cirrhosis (Vidot et al., 2018) | Fewer cramps in those patients; no trials in athletes |
That is a thinner list than most cramp articles give you, including an earlier version of this one. Magnesium and potassium are still worth getting from food for general health, and nothing in the cramp research says creatine or beta-alanine hurt. But anyone promising that a supplement will stop your cramps is getting ahead of the studies.
Does Creatine Cause Leg Cramps?
No. The evidence points the other way: in a season-long study of 72 college football players training in heat up to 37 C, the 38 who chose to take creatine had fewer cramps, muscle strains and heat illness episodes than those who did not. The study was open-label rather than placebo-controlled, but no well-designed study has shown creatine causes cramping.
The myth had a plausible story behind it: creatine draws water into muscle cells, so a dehydrated athlete taking it should cramp more. When it was studied, that did not happen (Greenwood et al., 2003).
Two things likely muddied the picture. The 1990s protocols used 20 to 25 grams a day for 5 to 7 days, doses that cause real gastrointestinal distress, and stomach cramping may have been reported as muscle cramping. And athletes who start creatine often start training harder at the same time, which, from the research above, is the more plausible culprit.
Where Endurance360 Fits
Endurance360 is not a cramp treatment, and we do not sell it as one. It is a daily capsule for training and racing: creatine monohydrate and beta-alanine in a disclosed 2,000 mg Endurance Blend, with cordyceps and rhodiola. Creatine is the one ingredient in the cramp research above with data pointing in a good direction.
Endurance360 Complete is built for the work that decides how a long event goes: repeated hard efforts and the late-race push. It is not an electrolyte product; the only mineral on its label is 20 mg of calcium. For race-day sodium, use the sweat sodium calculator and a dedicated drink mix.
Frequently Asked Questions
What actually prevents leg cramps in endurance athletes?
Pacing within what you have trained for, and training long efforts at race intensity. In a prospective Ironman study, faster racing and a history of cramps predicted cramping, while dehydration and blood sodium did not. No supplement has been shown to prevent exercise cramps in a controlled trial.
Does magnesium really help leg cramps?
Not on current evidence. A 2020 Cochrane review of 11 trials found magnesium unlikely to give a meaningful benefit for idiopathic cramps, mostly in older adults, and found no trials in exercise-associated cramps.
Does creatine cause leg cramps?
No. In a season-long open-label study of college football players, those who chose to take creatine had fewer cramps than those who did not. It was not placebo-controlled, but no well-designed study has shown creatine causes cramping.
Does pickle juice work for cramps?
In one small laboratory study, swallowing pickle juice ended electrically induced cramps 49 seconds sooner than water. The effect came too quickly to be from absorbed salt, so the researchers credit a reflex from the mouth and throat.
Why do I cramp even when I drink plenty of electrolytes?
Because electrolytes are probably not what is causing it. Studies of Ironman triathletes found cramping athletes had blood electrolytes similar to everyone else. Fatigue from racing harder or longer than your training prepared you for is the more likely driver.
The Bottom Line
Leg cramps in endurance athletes look like a fatigue problem first: pace to your training, build race-specific long efforts, and respect a history of cramps. Stop and stretch the muscle when one hits, and keep pickle juice in mind. Electrolytes and supplements have other good uses, but none has been proven to prevent exercise cramps.
Not training for an event, just trying to stop waking up at 3am? Nighttime cramps have different risk factors (age, pregnancy, medications, sedentary days), which the general guide to nighttime charley horses covers. Magnesium gets a fuller treatment in why magnesium is essential for endurance athletes.
Sources
- Sulzer NU, Schwellnus MP, Noakes TD. Serum electrolytes in Ironman triathletes with exercise-associated muscle cramping. Medicine and Science in Sports and Exercise, 2005.
- Schwellnus MP. Muscle cramping in athletes: risk factors, clinical assessment, and management. Clinics in Sports Medicine, 2008.
- Schwellnus MP. Cause of exercise associated muscle cramps: altered neuromuscular control, dehydration or electrolyte depletion? British Journal of Sports Medicine, 2009.
- Schwellnus MP, Drew N, Collins M. Increased running speed and previous cramps rather than dehydration or serum sodium changes predict exercise-associated muscle cramping. British Journal of Sports Medicine, 2011.
- Maughan RJ, Shirreffs SM. Muscle cramping during exercise: causes, solutions, and questions remaining. Sports Medicine, 2019.
- Miller KC, et al. Reflex inhibition of electrically induced muscle cramps in hypohydrated humans. Medicine and Science in Sports and Exercise, 2010.
- Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020.
- Greenwood M, et al. Cramping and injury incidence in collegiate football players are reduced by creatine supplementation. Journal of Athletic Training, 2003.
- Harris RC, et al. The absorption of orally supplied beta-alanine and its effect on muscle carnosine synthesis in human vastus lateralis. Amino Acids, 2006.
- Vidot H, et al. Randomised clinical trial: oral taurine supplementation versus placebo reduces muscle cramps in patients with chronic liver disease. Alimentary Pharmacology and Therapeutics, 2018.
Technical FAQ Extension
What actually prevents leg cramps in endurance athletes?
Pacing within what you have trained for, and training long efforts at race intensity. In a prospective study of Ironman triathletes (Schwellnus 2011), faster racing and a history of cramps predicted cramping, while dehydration and blood sodium did not. No supplement has been shown to prevent exercise-associated cramps in a controlled trial.
Does magnesium really help leg cramps?
Not on current evidence. A 2020 Cochrane review of 11 trials (735 people) found magnesium unlikely to give a meaningful benefit for idiopathic cramps, mostly in older adults, and found no randomised trials of magnesium for exercise-associated cramps.
Does creatine cause leg cramps?
No. In a season-long open-label study of 72 college football players (Greenwood 2003), the 38 who chose to take creatine had fewer cramps, muscle strains and heat illness episodes than those who did not. It was not placebo-controlled, but no well-designed study has shown creatine causes cramping. The myth likely grew from 1990s loading doses of 20 to 25 grams a day, which cause stomach upset.
Does pickle juice work for cramps?
In one small laboratory study (Miller 2010), swallowing pickle juice ended electrically induced cramps 49 seconds sooner than water. The effect came too quickly to be from absorbed salt, so the researchers credit a reflex from the mouth and throat. Rest and passive stretching remain the standard first response.
Why do I cramp even when I drink plenty of electrolytes?
Because electrolytes are probably not what is causing it. Studies of Ironman triathletes found athletes who cramped had blood electrolytes similar to those who did not (Sulzer 2005, Schwellnus 2011). Fatigue from racing harder or longer than your training prepared you for is the more likely driver.
Related Articles

Aug 17, 2026
Best Cordyceps Supplements for Endurance Athletes
How to choose a cordyceps supplement: species, extraction form, dose, and third-party testing. Full comparison table and dosing guidance for athletes.

Aug 17, 2026
Best Supplements for Lactic Acid: What Actually Works
Ranked by evidence: beta-alanine, sodium bicarbonate, and exogenous lactate salts, plus the physiology mistake some lactic acid products are built on.

Jun 2, 2026
Best CoQ10 Supplements for Athletes (2026)
The best CoQ10 supplement for athletes is ubiquinol, 100 to 300mg daily with a fatty meal. Supports mitochondrial ATP and eases statin-related muscle fatigue.
Complete
Endurance 360
Our product
- Chronic Lactic Acid Buffering
- ATP & Cellular Saturation
- Cordyceps & Adaptogen Matrix

*Technical citations and PubMed references are provided for performance education only. These statements have not been evaluated by the FDA.
