Electrolyte Balance on Long Runs: Sodium, Potassium, and Cramping

Learn what research says about sodium, potassium, and cramping on long runs. Build a practical electrolyte strategy that actually works for trail runners.

You're 50 kilometers into a mountain race. Your calves lock up, then your quads, then somehow your feet. You reach for an extra salt tab. The cramping gets worse. What went wrong?

This is the story of electrolyte balance on long runs told wrong, repeatedly, by advice that is half right at best. Sodium matters. But so does potassium. So does your sweat rate, the heat, how hard you're going, and whether the cramps hitting you are even caused by electrolytes in the first place. This article works through what the research actually says, and what that means for your next long run or race.

What Are Electrolytes and Why Do Runners Lose Them?

Electrolytes are minerals with an electric charge that your body needs to move fluids, fire nerve signals, and contract muscles. For runners, the ones that matter most are sodium, potassium, magnesium, chloride, and calcium.

Sweat is the problem. Every hour on the trail, you lose fluid and electrolytes through perspiration, and the losses vary dramatically from person to person. On average, runners lose roughly 800 mg of sodium, 195 mg of potassium, 20 mg of calcium, and 10 mg of magnesium per hour through sweat. But "average" is doing a lot of work in that sentence. Research on professional athletes has shown sodium loss ranging from 642 mg per hour all the way to 6.7 grams per hour. That is a tenfold difference. Your personal number sits somewhere in that range, and you probably do not know where without testing.

The implications are real. If you are a heavy, salty sweater running a 10-hour mountain race in warm conditions, you face a very different electrolyte problem than a lighter runner in cool temperatures doing a 3-hour trail run. Generic advice skips over this, and that is where runners get into trouble.

Sodium: The Electrolyte Trail Runners Obsess Over

Sodium is the dominant electrolyte in sweat and the one most closely tied to hydration. It regulates blood volume, assists carbohydrate absorption in the gut, and keeps water from pooling in the wrong places. When sodium drops too low, serious problems follow.

Hyponatremia, defined clinically as blood sodium below 135 mmol/L, can produce symptoms including headache, fatigue, nausea, muscle weakness, and in severe cases, altered mental status, seizures, and loss of consciousness. The main cause is sodium dilution from overdrinking hypotonic fluids, including water.

The New England Journal of Medicine tracked Boston Marathon runners and found that the strongest single predictor of hyponatremia was weight gain during the race, which correlated with excessive fluid intake. Drinking too much plain water, not too little sodium, is the mechanism that kills blood sodium concentration in most cases.

This matters practically. Many trail runners, especially those in shorter ultras at slower paces, are more at risk from overdrinking than from sodium depletion. Drinking to thirst helps prevent both dehydration and hyponatremia, which occurs when the body's sodium levels are diluted by excessive water intake.

For sodium supplementation during running, the ACSM's baseline recommendations give a starting point. The ACSM recommends 0.5 to 0.7 g/L of sodium for exercise lasting more than one hour, though for ultra-marathons the practical intake recommendation from research is 300 to 600 mg per hour (roughly 1,000 to 2,000 mg of salt), with higher end targeting hot conditions above 25°C.

For light sweaters or smaller individuals, around 200 mg of sodium per hour may be adequate. For heavy sweaters, larger individuals, or hot conditions, 400 to 600 mg per hour or more is the practical range.

The nuance: simply piling on sodium without matching it with water can cause bloating, stomach sloshing, and paradoxically worsen the situation. If you take salt tablets, drink sufficient water alongside them. A large intake of sodium without water can cause bloating as water moves from the bloodstream to dilute the sodium concentration.

Potassium: The Electrolyte Everyone Forgets

Potassium is sodium's partner inside your cells. While sodium sits mostly outside cells and in blood plasma, potassium operates mainly inside muscle cells. The two work together to create the electrical gradient your muscles need to contract and relax. When that ratio gets out of balance, things go wrong.

Research measuring sweat composition in 157 marathoners found average sodium losses of 42.9 mmol/L and potassium losses of 6.0 mmol/L, roughly a 7:1 ratio in sweat. But individual variation was enormous: sodium ranged from 7.0 to 95.5 mmol/L.

Here is a pattern that shows up in ultra-endurance events: a runner loads up on high-sodium electrolytes because the forums say to, then cramps badly from mile 60 onward. More sodium goes in. The cramping worsens. The mechanism: giving the body massive amounts of sodium without adequate potassium forces cells to draw on their own potassium reserves to maintain balance, ultimately worsening the intracellular deficit.

Low potassium causes weakness and cramping even when sodium is adequate. Potassium regulates fluid balance inside muscle cells. Research targeting ultra runners suggests aiming for around 200 mg of potassium per serving of electrolyte supplement.

Foods naturally high in potassium that work well on the trail: bananas, dates, oranges, boiled or roasted potatoes (an ultra-running staple at aid stations), and avocado for pre-race meals. These are not just comfort food. They fill a gap that salt tabs alone cannot.

The Cramping Question: What Does Science Actually Say?

Here is where the electrolyte story gets genuinely complicated. The assumption that most trail runners carry is this: cramps are caused by electrolyte deficiency, so electrolytes fix cramps. The research does not support this cleanly.

Multiple theories for the cause of exercise-associated muscle cramps (EAMC) have been proposed: the serum electrolyte and dehydration theory, the metabolic abnormalities theory, the environmental theory, and the altered neuromuscular control theory. Of these, the altered neuromuscular control theory has the most scientific support in the current literature.

Contemporary research increasingly supports the role of neuromuscular fatigue and altered spinal reflex activity as key mechanistic contributors to EAMC, rather than electrolyte imbalances and dehydration alone.

In plain language: when your muscles are deeply fatigued, the feedback loop between muscle spindles (which sense stretch) and Golgi tendon organs (which sense load) can malfunction, leading to uncontrolled, sustained contractions. That is a cramping mechanism that no amount of sodium will fix.

A study on a 161-km ultramarathon found something striking: exercise-associated muscle cramping, dehydration, hyponatremia, and nausea during events up to 30 hours in hot environments were unrelated to total sodium intake, despite a common belief among ultramarathon runners that sodium prevents these problems. Study participants averaged over nine times the adequate daily sodium intake during the race.

That does not mean electrolytes are irrelevant to cramping. It means they are one piece of a more complex picture. Dehydration makes neuromuscular fatigue worse. Electrolyte imbalances can lower the threshold at which cramping occurs. Research comparing oral rehydration solution versus plain water showed that muscle cramp susceptibility was increased with plain water ingestion during exercise in the heat, suggesting electrolytes do play a role even if they are not the primary driver.

For trail runners, this means two things. First, do not expect electrolytes alone to solve cramping that is primarily coming from too much climbing on too little training. Second, do not dismiss electrolytes because "the science says sodium doesn't prevent cramps." The full picture is: train the muscles, manage fatigue and pacing, and support all of it with sensible electrolyte and fluid strategy.

Practical Electrolyte Strategy by Run Duration

Runs Under 60 Minutes

For most runners in typical conditions, electrolyte supplementation adds nothing. Your pre-run sodium from a normal meal is sufficient, and fluid losses are low enough that water is fine. Focus on arriving at the run hydrated.

Runs 1 to 3 Hours

This is where intentional electrolyte intake starts to pay off, particularly in heat above 20°C or for heavy sweaters. Aim for 200 to 400 mg of sodium per hour through electrolyte drinks, food (salted pretzels, gels with sodium), or tablets. Include some potassium through real food: a banana before the run, dates or orange slices during.

Runs 3 to 6 Hours

Electrolyte management becomes structured work. Research recommends 300 to 600 mg of sodium per hour, adjusted upward in hot or humid conditions, alongside fluid intake of 450 to 750 ml per hour. Include foods with naturally occurring potassium at aid stations or in your pack. Avoid relying purely on salt tablets without tracking potassium intake. Test your strategy in training before race day.

Runs Over 6 Hours (Ultra Distance)

At this duration, sodium from food becomes a larger part of the equation. Salty real foods such as broth, crackers, and potatoes provide sodium alongside potassium and other minerals in a form your gut tolerates better during prolonged effort than isolated supplements. The risk of hyponatremia from overdrinking plain water also peaks here. Carry electrolytes in your fluid, not just alongside it, and drink to thirst rather than on a fixed schedule beyond a basic minimum.

Warning Signs and Adjustments Mid-Run

Knowing when your electrolytes are off can help you course-correct before things deteriorate.

  • Likely low sodium: bloating, puffiness in hands, nausea late in a long run, mental fogginess. If you have been drinking a lot of plain water, prioritize electrolyte intake immediately and ease back on plain fluid.
  • Likely dehydration: dark urine, dry mouth, elevated heart rate at a given effort, lightheadedness on climbs.
  • Neuromuscular cramping: cramps that hit specific well-trained muscles in a shortened position (calves during climbs, hamstrings going downhill). Stretching and reducing intensity often help more than another salt tab.

Trailia's Race Readiness tool can help you assess whether your training, pacing, and preparation are aligned before your next long effort, since fatigue management and electrolyte strategy are not separate problems.

Building Your Personal Electrolyte Protocol

The honest answer is that the right electrolyte strategy for you requires some experimentation, because the variables (sweat rate, sweat sodium concentration, climate, pace, body size) all interact. Here is a starting framework:

  • Use your long training runs to test different sodium doses. Start at 300 mg per hour in moderate conditions, and see how your body responds over 3-plus hours.
  • Add potassium from real food deliberately, not as an afterthought. A banana has around 420 mg of potassium. Dates provide roughly 160 mg per two pieces. At aid stations, grab the boiled potatoes.
  • Weigh yourself before and after a key long run in race-like conditions. Weight loss of 1 to 2% of body mass is acceptable. Weight gain means you overhydrated.
  • If you cramp consistently in the same muscles at the same point in long runs, consider that fatigue and pacing may be bigger contributors than electrolytes.

For race-specific fueling planning, Trailia's Race Predictor factors in elevation and pace to help you project finishing times and estimate effort levels across a course, which directly informs how much you will sweat and how hard your electrolyte demands will be.

Key Takeaways

  • Sodium is the primary electrolyte lost through sweat, but individual loss rates vary by a factor of ten or more. Your dose needs to reflect your body and your conditions.
  • Potassium works alongside sodium inside muscle cells. High-sodium supplementation without adequate potassium can worsen muscle function, not help it.
  • Cramping during exercise is partially neuromuscular in origin, not just electrolyte-driven. Training load, pacing, and muscle fatigue matter as much as what is in your bottle.
  • Overdrinking plain water is a real risk in events lasting more than 3 hours. Hyponatremia from dilution is more common than dehydration-induced hyponatremia at slow ultra paces.
  • Test your electrolyte strategy in training. Race day is the wrong time for experiments.

Conclusion

Electrolyte balance on long runs is not a problem you solve by grabbing the highest-sodium product on the shelf and taking it every 30 minutes regardless of conditions. Sodium matters. Potassium matters more than most runners account for. And cramping may be telling you something about your training and pacing as much as your electrolyte intake.

The best electrolyte strategy is one you have tested, one that accounts for your sweat rate and the specific demands of your course, and one flexible enough to adjust mid-run based on how your body is actually responding. Build it in training, refine it over long efforts, and carry real food alongside your supplements.

Citations

Frequently Asked Questions

How much sodium should I take per hour on a long trail run?

A practical starting range is 200 to 400 mg of sodium per hour for moderate conditions, and 400 to 600 mg per hour in heat above 25°C or for heavy sweaters. The ACSM baseline recommendation is 300 to 600 mg per hour for exercise lasting more than one hour. The right dose for you depends on your sweat rate, body size, and environmental conditions, so test different amounts on your long training runs before committing to a race-day plan.

Can taking too much sodium cause problems during a run?

Yes. Consuming large amounts of sodium without enough water alongside it can cause bloating, nausea, and stomach discomfort. The symptoms of sodium overconsumption can also resemble those of sodium deficiency, including cramping and fatigue. Start with a moderate dose and dial it up or down based on how your body responds.

What causes muscle cramps during trail running?

Cramping during exercise is now understood to have multiple causes. The altered neuromuscular control theory has strong research support: fatigued muscles disrupt the feedback loop between muscle spindles and Golgi tendon organs, triggering sustained involuntary contractions. Electrolyte imbalances and dehydration can lower the threshold at which cramping happens, but they are often not the primary driver. Pacing too hard and under-trained muscles contribute significantly.

Will taking more salt tablets stop my cramps?

Not necessarily. If your cramps are primarily caused by neuromuscular fatigue (muscles working beyond their trained capacity), more salt tablets will not help. Research on ultramarathon runners found that sodium intake was unrelated to cramping incidence even when participants were consuming over nine times the recommended daily sodium allowance. Reducing intensity, stretching the affected muscle, and addressing training load may help more in these cases.

What is hyponatremia and how do I avoid it?

Hyponatremia is low blood sodium, typically caused by drinking more water than your kidneys can process, diluting the sodium in your blood. It can cause headache, nausea, confusion, and in severe cases seizures. The main prevention strategy is to avoid overdrinking plain water on long efforts, drink electrolyte-containing fluids rather than pure water, and use thirst as a guide rather than drinking on a fixed schedule beyond a sensible baseline.

How does potassium relate to electrolyte balance and cramping?

Potassium is the main electrolyte inside muscle cells and works alongside sodium to maintain the electrical gradient needed for muscle contractions. Supplementing heavily with sodium without adequate potassium can force muscle cells to draw on their own potassium reserves, potentially worsening muscle function. Aim for natural potassium from food sources like bananas, dates, and boiled potatoes at aid stations, and look for electrolyte products that include potassium alongside sodium.

Do I need electrolytes for runs under one hour?

For most runners in normal temperatures, no. A well-balanced meal before a short run provides sufficient electrolytes, and fluid losses are low enough that water replaces what you need. Electrolyte supplementation becomes more relevant when runs extend past 60 to 90 minutes, especially in warm or humid conditions or for heavy sweaters.

What foods provide good electrolytes on the trail?

Real food covers more bases than isolated salt tabs. Bananas provide around 420 mg of potassium. Boiled or roasted potatoes are an ultra aid station staple that supply both potassium and sodium. Salty pretzels, miso soup broth, and pickles address sodium. Dates and dried apricots are compact potassium sources that carry well. At longer races, broth at aid stations is one of the most effective whole-food electrolyte options available.

How do I know if my electrolyte strategy is working?

Weigh yourself before and after a long training run under race-like conditions. A weight loss of 1 to 2% of body mass is within a normal and acceptable range. Weight gain means you over-hydrated and likely diluted your blood sodium. Monitor how you feel in the final third of your long runs: persistent nausea, bloating, or mental fog that does not improve with food may indicate a sodium imbalance worth addressing.

Should my electrolyte strategy change in hot weather?

Yes, meaningfully. Sweat rate increases in heat, which means both fluid and electrolyte losses rise. Research recommends targeting the higher end of the sodium range (up to 600 mg per hour or more) when temperatures exceed 25°C or humidity is high. Drink slightly more frequently, keep electrolytes in your fluid rather than separate, and pay closer attention to how your body is responding because the margin for error on a hot day is smaller than in cool conditions.