For people who train hard or sweat heavily, the three electrolytes that matter most are sodium, potassium, and magnesium. Sodium losses in sweat drive most hydration problems, potassium supports muscle and cardiac function, and magnesium is involved in energy metabolism. Needs vary with sweat rate, climate, and diet, and generic sports-drink dosing often undershoots heavy sweaters.
If you train hard, sweat heavily, or compete in heat, the generic advice to "drink electrolytes" collapses into noise pretty quickly. Sodium, potassium, and magnesium are not interchangeable. They are lost at different rates, matter for different physiology, and the common failure mode — cramping, fatigue, bonking late in a session — usually traces to one of them in particular, not all three at once.
Here is a clinician's-eye walk-through of what each one actually does under load, how much you lose, and how to think about replacement without over-engineering it.
Why electrolytes matter when you sweat — in plain English
Sweat is not just water. It is a dilute salt solution, and the dominant electrolyte lost is sodium, followed by chloride, with much smaller amounts of potassium, calcium, and magnesium. When you lose fluid and sodium in sweat, your plasma volume drops. That raises cardiovascular strain, reduces heat dissipation, and — past about 2% body-mass loss — begins to measurably impair endurance performance, per the ACSM position stand on fluid replacement.
The opposite problem is also real. Drinking large volumes of plain water during long events, especially in slower finishers, can dilute serum sodium and produce exercise-associated hyponatremia (EAH), which has caused deaths at marathons and ultra events. The 2015 international EAH consensus statement is explicit that overdrinking, not underdrinking, is the usual trigger.
So the goal is not "more electrolytes." The goal is matching losses roughly to intake, with sodium doing most of the heavy lifting.
Sodium: the one that actually drives hydration
Sweat sodium concentration varies enormously between people. A 2017 review by Baker in Sports Medicine found typical ranges of roughly 10–90 mmol/L, which translates to about 230–2,070 mg of sodium per liter of sweat. In practical terms, two athletes doing the same workout in the same heat can lose three to five times different amounts of sodium.
What raises your sweat sodium losses:
- Higher sweat rates (bigger athletes, hotter conditions, harder efforts)
- Being a "salty sweater" — visible salt crust on skin or kit, stinging eyes, gritty hat
- Low heat acclimatization (acclimatized athletes conserve more sodium)
- Long sessions, especially over 60–90 minutes
For sessions under an hour in moderate conditions, most people do not need to replace sodium during the workout. For longer or hotter sessions, standard sports-drink sodium (roughly 400–700 mg/L) is a reasonable starting point, and heavy or salty sweaters often need more than that. The ACSM stand frames this as individualized rather than one-size-fits-all.
If you cramp late, finish sessions headachy, or your kit has visible salt lines, sodium is the first lever to pull — not magnesium.
The 80/20 of sweatFor most people who train hard or in heat, sodium replacement does 80% of the work. Potassium and magnesium matter, but they are rarely the acute bottleneck.
Potassium: small losses, steady need
Potassium is the main intracellular cation and matters for membrane potential, muscle contraction, and cardiac rhythm. Sweat potassium concentrations are relatively low — typically around 4–8 mmol/L — so acute losses during a single session are modest compared to sodium.
The larger issue is baseline intake. The Dietary Reference Intakes set adequate intake for potassium at 2,600 mg/day for adult women and 3,400 mg/day for adult men, and most Western diets fall short. Athletes eating a lot of processed, low-produce food can run chronically low even without heavy training.
Food tends to outperform supplementation here. Potatoes, beans, lentils, bananas, yogurt, leafy greens, and tomato products are dense sources. Sports drinks typically contain small amounts of potassium (100–200 mg/L), which is fine for topping up during exercise but not a substitute for daily intake from food.
High-dose potassium supplements can be risky in people with kidney disease or on certain blood-pressure medications, which is why over-the-counter potassium is capped at low doses in most markets.
Magnesium: the one everyone blames for cramps
Magnesium is a cofactor in hundreds of enzymatic reactions, including ATP metabolism and neuromuscular signaling. Nielsen and Lukaski's review in Magnesium Research summarized evidence that intense exercise increases magnesium requirements modestly and that marginal deficiency can impair exercise performance and recovery.
Sweat magnesium losses are small — typically under 20 mg per liter — so the acute during-exercise case for magnesium is weak. The stronger case is dietary adequacy. The RDA sits around 310–420 mg/day depending on sex and age, and surveys consistently show a meaningful fraction of adults, including athletes, running below that.
The cramp story is more complicated than supplement marketing suggests. Exercise-associated muscle cramps are increasingly understood as a neuromuscular control problem driven by fatigue, not a simple electrolyte deficit, and placebo-controlled trials of magnesium for exercise cramps have been underwhelming. That does not mean magnesium is useless — chronic adequacy supports sleep, bone, and metabolic health — just that popping magnesium mid-race is unlikely to fix a cramp.
For supplementation, magnesium glycinate and citrate are generally better tolerated than oxide, which is poorly absorbed and tends to cause loose stools.
How to think about replacement without over-engineering it
A reasonable framework for a heavy sweater or endurance athlete:
- Before training: be hydrated, not overloaded. Pale-yellow urine is a decent gauge.
- During training under 60 minutes: water is usually enough unless it is very hot.
- During training over 60–90 minutes or in heat: fluid with sodium, roughly 400–1,000 mg per liter depending on sweat rate and saltiness, with carbohydrate if intensity is high.
- After training: rehydrate with 1.25–1.5x the fluid lost, with sodium, and eat a normal meal — this covers potassium and magnesium far better than any powder.
- Daily baseline: prioritize potassium and magnesium from food. Supplement only if intake is genuinely low.
A simple way to estimate individual sweat rate is to weigh yourself nude before and after a one-hour session, correct for fluid consumed, and the difference in kilograms approximates liters lost. That number, more than any marketing chart, tells you how aggressive your replacement needs to be.
When bloodwork is worth running
Most healthy athletes do not need routine electrolyte panels. But if you have persistent cramping, unexplained fatigue, palpitations, or you are on medications that affect electrolytes (diuretics, ACE inhibitors, PPIs for magnesium), the labs worth having on hand include a basic metabolic panel (sodium, potassium, chloride, bicarbonate, creatinine) and a serum magnesium — recognizing that serum magnesium is an imperfect reflection of total body stores.
Iron status and vitamin D are often more useful than electrolytes for athletes complaining of fatigue, and worth considering in the same workup. A clinician reviewing your symptoms, training load, diet, and any labs you have run is better positioned than a supplement label to tell you what is actually missing.
Electrolytes are not magic. They are plumbing. Get sodium approximately right around hard sessions, keep potassium and magnesium adequate through food, and reserve supplementation for the gaps you can actually identify.
References
- Sawka MN, Burke LM, Eichner ER, et al. American College of Sports Medicine position stand: Exercise and fluid replacement. Med Sci Sports Exerc. 2007. Source
- Hew-Butler T, Rosner MH, Fowkes-Godek S, et al. Statement of the Third International Exercise-Associated Hyponatremia Consensus Development Conference, Carlsbad, California, 2015. Clin J Sport Med. 2015. Source
- Institute of Medicine. Dietary Reference Intakes for Water, Potassium, Sodium, Chloride, and Sulfate. National Academies Press. 2005. Source
- Nielsen FH, Lukaski HC. Update on the relationship between magnesium and exercise. Magnes Res. 2006. Source
- Baker LB. Sweating Rate and Sweat Sodium Concentration in Athletes: A Review of Methodology and Intra/Interindividual Variability. Sports Med. 2017. Source
Physician-formulated supplement protocols.
DirectCare AI clinicians curate supplement protocols matched to your actual bloodwork — not a generic multivitamin.
Browse supplements →Editorial disclosure: This article is for informational purposes only and does not constitute medical advice. All treatments at DirectCare AI are prescribed by US-licensed clinicians based on individual medical evaluation. Compounded medications are not FDA-approved and are not reviewed by the FDA for safety, effectiveness, or quality. Always consult a US-licensed clinician before starting or changing any therapy.
