How to Prevent Leg Cramps in a Triathlon (Science-Based Guide)
Why triathletes cramp in races and the four proven fixes — sodium, pacing, neuromuscular fatigue, and pre-race training. Practical protocol for sprint to Ironman.
By Lotte
Exercise-associated muscle cramps are multifactorial. Fatigue, pacing, training specificity, heat and individual susceptibility can all contribute; a cramp does not prove sodium deficiency. Slow or stop safely, gently shorten and relax the affected muscle, and seek medical help for severe, persistent or systemic symptoms.
Key takeaways
- 1No single theory explains every exercise-associated cramp
- 2Cramps are not a reliable test for low sodium or dehydration
- 3Use race-specific training and conservative pacing, but do not promise prevention
- 4Pickle juice evidence is limited and does not justify a guaranteed time-to-relief claim
- 5Confusion, collapse, severe weakness or persistent symptoms need urgent assessment
In this article
Quick answer: what should you do when a cramp starts?
Move out of danger, reduce or stop the effort and gently position the muscle so the contraction can relax. Do not force an aggressive stretch or immediately swallow a large salt dose. Resume only when movement is controlled and no concerning symptoms are present.
Why cramps happen
Current reviews describe exercise-associated muscle cramps as multifactorial. Neuromuscular fatigue is important, while hydration and electrolyte factors may matter in some contexts. The evidence does not support diagnosing the cause from cramp location, salt marks or one race.
Prevention without promises
Build training that resembles the race's duration, terrain and intensity; pace early sections conservatively; arrive recovered; and rehearse the complete fueling and fluid plan. These steps reduce avoidable stress but cannot guarantee that an athlete will not cramp.
Sodium, magnesium and pickle products
Use sodium as part of an individualized hydration plan, not as a cramp cure. Magnesium supplementation is not a general race-day solution without a diagnosed need. Small studies of strong-tasting products do not prove a reliable universal response, and they can still cause stomach problems.
When to get help
Seek urgent medical assessment for confusion, collapse, chest symptoms, severe generalized cramping, marked weakness, dark urine, persistent vomiting or symptoms that do not resolve with rest. Recurrent localized cramps also deserve review of training, bike fit, medication and health history with an appropriate professional.
Sources
Sources are listed so readers can verify consequential claims and dated details.
- Cause of Exercise Associated Muscle Cramps: A Narrative Review — PubMed (accessed August 1, 2026)
- Exercise-Associated Hyponatremia: 2017 Update — PubMed (accessed August 1, 2026)
Frequently asked questions
Do bananas really prevent cramps?
Not directly. The potassium dose from a banana is small relative to what your body has, and potassium isn't the limiting electrolyte. Bananas are useful as easy carbs, but they won't override poor pacing or low sodium.
How fast does pickle juice work?
Studies show 60–90 seconds. The mechanism is a neural reflex triggered by TRP channels in the mouth — it works before the sodium could possibly enter your bloodstream.
Should I take salt tabs the morning of a race?
Add 1500–2000 mg of sodium to your pre-race breakfast and sipping bottle if it's hot. Don't take large salt doses in one go on an empty stomach — it can cause nausea.
Why do I only cramp in races, not training?
Because you race harder than you train. Add 2–4 sessions at true race intensity in the final 6 weeks so your neuromuscular system has seen that load before.
Can stretching during a race make it worse?
Aggressive stretching of a fully cramped muscle can occasionally cause minor tears. Stretch gently to the point of tension, hold for 20–30 seconds, then walk before restarting.