Electrolytes are electrically charged minerals that regulate fluid balance, nerve conduction, and muscle contraction. During exercise you lose them in sweat — and when key electrolytes drop below the threshold needed for normal cell function, performance drops measurably before you feel it coming. A 2% body weight fluid loss impairs aerobic performance by 10–20%. Add sodium and potassium depletion to that picture and you have the physiological recipe for a bad race, cramping, or worse.
This guide gives you the specific numbers: what each electrolyte does, how much you lose in sweat, when to supplement, and how to build a hydration strategy that works for your training load and climate.
The Four Key Electrolytes
| Electrolyte | Primary Role | Normal Blood Range | Sweat Loss Rate | Food Sources | When to Supplement |
|---|---|---|---|---|---|
| Sodium (Na+) | Fluid balance, nerve signaling, blood pressure | 135–145 mmol/L | 400–1200 mg/L sweat | Salt, pickles, sports drinks, bread, cheese | Any training > 60 min, especially in heat |
| Potassium (K+) | Muscle contraction, heart rhythm, fluid balance | 3.5–5.0 mmol/L | 100–200 mg/L sweat | Banana, sweet potato, avocado, spinach, salmon | High-volume training; rarely needs isolated supplement |
| Magnesium (Mg2+) | Muscle relaxation, ATP production, nerve function | 0.75–0.95 mmol/L | 4–30 mg/L sweat | Nuts, seeds, dark chocolate, leafy greens, whole grains | During heavy training blocks; often deficient in athletes |
| Calcium (Ca2+) | Muscle contraction, bone density, nerve function | 2.1–2.6 mmol/L | 15–40 mg/L sweat | Dairy, fortified plant milk, sardines, broccoli | Rarely needed as supplement if diet is adequate; monitor in high-sweat athletes |
Sodium: The Most Critical Electrolyte for Athletes
Sodium is the dominant electrolyte in sweat, and it drives fluid balance more than any other mineral. Your kidneys regulate blood sodium concentration within a tight range — when it falls too low (hyponatremia), cells swell with water, causing headaches, confusion, nausea, and in severe cases, seizures or death.
Sweat sodium concentration varies enormously between individuals — "salty sweaters" can lose 1,200+ mg/L while "light sweaters" lose 400 mg/L. You can estimate whether you're a salty sweater if you notice white residue on your skin or kit after a long session in the heat.
Sodium Needs by Training Scenario
| Scenario | Sodium Target | Fluid Volume |
|---|---|---|
| Training < 60 min, mild temps | 0–200 mg | Water only sufficient |
| Training 60–90 min, mild temps | 200–400 mg | 500–750 ml/hr |
| Training 90 min+, mild temps | 400–600 mg/hr | 500–750 ml/hr |
| Training 60–90 min, hot/humid | 400–600 mg | 750 ml/hr |
| Training 2+ hours, hot/humid | 600–1000 mg/hr | 750–1000 ml/hr |
| Ultra-endurance (4+ hours) | 800–1200 mg/hr | As tolerated; don't overdrink |
Hyponatremia risk: The greatest risk is not under-drinking but over-drinking plain water. Athletes who drink excessive amounts of plain water during long events dilute their blood sodium, causing hyponatremia. The treatment is sodium, not more fluid. This is why experienced endurance athletes drink to thirst (not on a schedule) and use sodium-containing drinks during long events.
Potassium: Important but Rarely Needs Supplementing
Potassium is critical for muscle contraction and maintaining the electrical potential across cell membranes. However, sweat potassium concentrations are relatively low (100–200 mg/L) and dietary intake is usually adequate even in active athletes.
Exception: Athletes eating a very low-vegetable diet or in extreme heat with heavy sweat loss over multiple consecutive days may benefit from targeted potassium replenishment. A single banana (400–450 mg potassium) covers approximately 2–3 hours of moderate sweat loss.
Foods high in potassium (mg per 100g):
- Avocado: 485 mg
- Sweet potato (cooked): 475 mg
- Banana: 358 mg
- Spinach (cooked): 466 mg
- Salmon: 384 mg
- White beans: 560 mg
Eating a diet rich in these foods covers potassium needs for most athletes without supplementation.
Magnesium: The Underappreciated Recovery Mineral
Magnesium is involved in over 300 enzymatic reactions including ATP synthesis, muscle relaxation, protein synthesis, and nervous system regulation. It's one of the most commonly deficient minerals in athletes.
Why athletes are often deficient:
- Exercise increases magnesium losses through sweat and urine
- High-carbohydrate diets (common in endurance athletes) require more magnesium for glucose metabolism
- Processed food diets provide insufficient magnesium
Signs of magnesium deficiency in athletes:
- Muscle cramps, especially at night or late in long sessions
- Poor sleep quality and difficulty falling asleep
- Elevated resting heart rate
- Reduced HRV
- Fatigue disproportionate to training load
- Increased anxiety
Supplementation: 200–400 mg of magnesium glycinate or magnesium citrate before bed is well-tolerated and often improves sleep quality and reduces cramping within 1–2 weeks. Magnesium oxide (the cheapest form) has poor bioavailability — avoid it.
Calcium: Not Just for Bones
Calcium's role in muscle contraction is fundamental: it's the trigger molecule that initiates every contraction event in both skeletal and cardiac muscle. While calcium deficiency is less acute than sodium deficiency during exercise, chronically low calcium intake impairs bone density — a significant risk factor for stress fractures in endurance athletes.
Stress fracture risk and calcium: Female endurance athletes in particular are at elevated risk for the female athlete triad: low energy availability + menstrual dysfunction + low bone density. Adequate calcium (1000–1300 mg/day) and Vitamin D (1000–2000 IU/day) are essential for bone health in high-mileage athletes.
Sources: 300 ml of cow's milk provides ~350 mg calcium. If dairy isn't an option, fortified plant milks, sardines (with bones), fortified tofu, and calcium-set legumes are the best non-dairy sources.
Building Your Race-Day Hydration Strategy
A hydration plan built on your individual sweat rate is more effective than generic "drink 500ml/hour" recommendations.
Step 1: Calculate your sweat rate
- Weigh yourself (without clothes) immediately before a 60-minute run or ride in your target race conditions
- Exercise at race intensity for exactly 60 minutes, drinking nothing
- Weigh yourself again immediately after
- Sweat rate = (pre-weight − post-weight) × 1000 ml/kg/hr
Example: 75.0 kg before, 74.2 kg after = 0.8 kg lost = 800 ml/hour sweat rate.
Step 2: Match fluid intake to sweat rate (±20%)
Don't replace 100% of sweat losses — aim for 80% replacement and allow a small deficit. Replacing 100%+ during exercise risks GI distress and hyponatremia.
Step 3: Add sodium to match your sweat type
If you notice white sweat stains or significant salt crust on skin: assume 800–1000 mg sodium/L. If your sweat tastes relatively mild: assume 500–700 mg/L.
Sample Race-Day Hydration Plan (Sprint Triathlon, 25°C)
| Phase | Fluid | Sodium | Notes |
|---|---|---|---|
| Night before | 500 ml water with dinner | — | Salty dinner acceptable |
| Race morning | 500 ml water + light meal | 400–500 mg via food | 2–3 hours before start |
| 30 min pre-start | 200 ml sports drink | ~100 mg | Final top-up |
| Swim (15–25 min) | None | None | Short; no opportunity |
| Bike (30–40 min for beginners) | 500 ml sports drink | 400–500 mg | Sip every 10 min |
| Run (5 km) | Sip at aid stations | Minimal | Short run; minimal needed |
| Post-race | 500–750 ml + salty food | 500–800 mg | Begin recovery |
Electrolyte Products: What to Look For
When comparing electrolyte products, the key number is sodium per serving.
| Product Type | Sodium per Serving | Useful For | Notes |
|---|---|---|---|
| Sports drinks (Gatorade, Lucozade) | 110–200 mg/500 ml | 60–90 min sessions | Also provides carbs |
| Electrolyte tablets (SaltStick, Precision Hydration) | 250–1000 mg/tablet | 90+ min sessions; hot weather | No carbs; add to water |
| Electrolyte powders (LMNT, Liquid IV) | 500–1000 mg/packet | Hot weather, heavy sweaters | Check sugar content |
| Coconut water | ~250 mg/500 ml | Light recovery; high potassium | Low sodium for heavy sweaters |
| Plain water | 0 | Sessions under 60 min | Always appropriate base |
For most athletes in training sessions under 90 minutes in mild weather, plain water is sufficient. Sports drinks and electrolyte supplements add meaningful value in heat, humidity, sessions over 90 minutes, and multi-day training blocks.
Train Smarter with FlipMP
FlipMP connects all your fitness apps — Strava, Garmin, Apple Health, Zwift — and gives you AI coaching based on your actual data. Start free at flipmp.com →
FAQ
Q: Do electrolytes cause or prevent muscle cramps?
A: The relationship between electrolytes and cramps is more complex than it appears. Low sodium and magnesium are associated with cramping, but the majority of exercise-associated muscle cramping (EAMC) in trained athletes is now thought to be neuromuscular in origin — caused by fatigue and altered motor control rather than electrolyte imbalance alone. That said, sodium supplementation in hot-weather exercise consistently reduces cramping frequency in athletes with high sweat rates. Magnesium supplementation reduces nocturnal (nighttime) cramps in athletes and in the general population. If you're cramping during races, both electrolyte supplementation and better pacing/training are worth addressing.
Q: Can I drink too many electrolytes?
A: Sodium excess (hypernatremia) from supplementation is extremely rare in athletes who drink adequate water. However, consuming electrolyte tablets without enough water can cause nausea and GI distress. Follow product instructions — typically 1 tablet per 500–700 ml of water. High sodium intake from food (not exercise supplements) over long periods is a cardiovascular risk factor for the general population, but athletes with high sweat rates have significantly higher sodium needs and tolerance.
Q: Is coconut water as good as a sports drink for hydration?
A: Coconut water is a reasonable light hydration option, high in potassium and natural sugars. However, its sodium content (~250 mg/500 ml) is too low to replace heavy sweat losses in hot conditions, and its potassium-to-sodium ratio is inverted compared to sweat composition. For training over 90 minutes in heat, a traditional sports drink or water + electrolyte tablet combination provides more appropriate electrolyte ratios. Coconut water works well for light recovery sessions or as a post-ride drink alongside food.
Q: Should I take electrolytes before a race or just during?
A: Pre-loading sodium 1–2 days before a hot-weather race or long event is a strategy used by experienced endurance athletes. Consuming an extra 500–1000 mg sodium per day in the 24–48 hours before a race slightly expands plasma volume, which improves cardiovascular efficiency and delays the point of meaningful dehydration. For shorter events (sprint triathlon, 5K, 10K), pre-loading isn't necessary — a normal diet with adequate salt the day before is sufficient. For events over 3 hours in heat, sodium loading is worth considering.
Q: How do I know if my electrolyte intake is adequate?
A: Signs of adequate electrolyte intake: urine that is light yellow (not dark yellow or clear), no significant muscle cramping during long sessions, no headaches or mental fog after long sessions, and normal energy levels across multi-day training. Signs of inadequate electrolyte intake: dark urine with low volume, cramping in the later stages of long sessions, headaches post-exercise, nausea during exercise, or feeling disproportionately fatigued after hot sessions. Getting a comprehensive blood panel (sodium, potassium, magnesium, calcium) once or twice per year is the most accurate assessment tool.
Related Articles
- Cycling Nutrition: What to Eat Before, During, and After — complete fueling framework including electrolytes
- Sleep and Athletic Performance — magnesium's role in sleep quality
- Athlete Meal Plan: 2000 Calories — daily electrolyte needs through food