PaceOverlay
Blog›Training

Electrolytes for Endurance Athletes: Why You Cramp and How to Prevent It

Muscle cramps during long runs and rides are often blamed on dehydration, but electrolyte balance — sodium in particular — plays a much bigger role than most athletes realise.

July 9, 2026 · 7 min read

Electrolytes for Endurance Athletes: Why You Cramp and How to Prevent It: PaceOverlay blog cover
Contents
  1. What Electrolytes Actually Do
  2. Why You Actually Cramp
  3. How Much Sodium Do You Actually Need?
  4. Practical Ways to Get Electrolytes on Long Sessions
  5. Frequently Asked Questions

Muscle cramps during long runs, rides, or hot-weather races are one of the most common and frustrating problems in endurance sport, and the conventional advice — "just drink more water" — often misses the real issue. Electrolyte balance, and sodium in particular, plays a central role in both muscle function and fluid regulation, and understanding it properly changes how you should actually fuel for long or hot sessions.

What Electrolytes Actually Do

Electrolytes are minerals — primarily sodium, potassium, magnesium, and chloride — that carry an electrical charge and are essential for muscle contraction, nerve signalling, and fluid balance between your cells and bloodstream. Sodium is the electrolyte lost in by far the largest quantity through sweat, and it's also the one most directly linked to exercise-associated muscle cramping in current research.

💡 Sweat rate and sodium loss vary enormously between individuals — from around 200 mg to over 2,000 mg of sodium per litre of sweat depending on genetics and heat acclimatisation. This is why identical hydration strategies work brilliantly for one athlete and fail completely for another.

Why You Actually Cramp

The old theory that cramps are purely caused by dehydration and electrolyte depletion has been challenged by newer research showing that neuromuscular fatigue — essentially, overworked muscles firing erratically — is also a major factor, especially for cramps that happen even in well-hydrated, well-fuelled athletes. That said, sodium depletion remains a well-documented and significant contributor, particularly for "salty sweaters" (athletes who lose unusually high amounts of sodium, often visible as white salt marks on dried workout clothing) during long, hot efforts.

In practice, both factors matter: adequate sodium intake reduces cramping risk for many athletes, while pacing appropriately and building a progressive training base reduces the neuromuscular fatigue component.

How Much Sodium Do You Actually Need?

General Sodium Intake Guidance for Endurance Sessions
Session LengthConditionsGeneral Sodium Target
Under 60 minAnyWater alone is usually sufficient
60–90 minModerate heat300–500 mg/hour via drink or gel
90+ minHot/humid or known salty sweater500–1000+ mg/hour, individually tuned

These are starting points, not prescriptions — the right amount for you depends heavily on your individual sweat rate and sodium concentration, which is why experienced endurance athletes test their hydration and electrolyte strategy extensively in training before relying on it in a race.

Practical Ways to Get Electrolytes on Long Sessions

Commercial electrolyte tablets and drink mixes are formulated specifically around these sodium targets and are the simplest way to hit a consistent number. Electrolyte-enhanced gels serve double duty as fuel and sodium source on long runs. For DIY options, a pinch of table salt in a water bottle, or salty snacks like pretzels or salted nuts during ultra-distance events, both work. Whatever you choose, test it repeatedly in training — introducing a new electrolyte strategy on race day is a classic way to discover a stomach-tolerance problem at the worst possible time.

Frequently Asked Questions

Can drinking too much water actually be dangerous?

Yes — overdrinking plain water without adequate sodium intake during long endurance events can lead to hyponatremia (dangerously low blood sodium), which is a genuine medical emergency and has caused serious incidents in marathon and ultra events. Drinking to thirst, with adequate sodium intake on long or hot sessions, is safer than deliberately over-hydrating.

Do pickle juice or mustard actually stop cramps?

Some research suggests these can provide rapid, short-term cramp relief through a neural reflex triggered by the strong taste, independent of actual electrolyte absorption, which happens too slowly to explain the fast relief some athletes report. They're a reasonable emergency tool but not a substitute for a proper ongoing hydration and sodium strategy during long events.

How do I know if I'm a "salty sweater"?

Visible white, crusty salt marks on dark workout clothing or a cap after a sweaty session are a strong practical indicator of above-average sweat sodium concentration. Athletes with this pattern generally benefit from more aggressive sodium replacement on long or hot sessions than the general population.

Put your run on every story

Add your pace, distance, time and route map to your photos and videos with PaceOverlay. Upload your GPX file or type in your numbers.

Get Started