Nutrition

Electrolytes: It's Not Just About Sodium

Sodium dominates electrolyte talk, but magnesium and potassium gaps are what actually wreck endurance performance and sleep during summer training.

Overhead view of salt, avocado, banana, and spinach arranged on warm cream linen in soft natural light.

Electrolytes: It's Not Just About Sodium

Every sports drink on the market leads with sodium. Every electrolyte tablet, every hydration powder, every post-run recovery tip circles back to the same mineral. Sodium matters. Nobody's arguing otherwise. But if sodium is the only electrolyte you're tracking during summer training, you're likely leaving real performance on the table. And wrecking your sleep in the process.

The minerals quietly draining out of your body during long sessions in the heat. magnesium, potassium, and chloride. don't get the same marketing budget. They don't have a catchy color on a label. But their absence during heavy summer training blocks is one of the most common and least-addressed reasons athletes plateau, cramp, and lie awake at night unable to recover properly.

Why Sodium Gets All the Credit

Sodium dominates the electrolyte conversation for a legitimate reason. It's the most abundant electrolyte in sweat, typically ranging between 500 and 1,000 milligrams per liter depending on individual sweat rate and heat acclimatization. It's also directly tied to fluid retention and plasma volume, both of which tank during prolonged exercise in hot conditions.

The science on sodium replacement is solid, and athletes who ignore it pay a clear price: early fatigue, headaches, and in serious cases, hyponatremia from over-hydrating without adequate sodium replacement. That last risk gets a lot of media coverage, which is part of why sodium became the headline electrolyte.

But sweat isn't just sodium. Alongside every milligram of sodium leaving your body, you're also losing potassium at roughly 150 to 500 milligrams per liter of sweat, and magnesium at lower but still meaningful concentrations, particularly under heat stress. Most electrolyte products replace only a fraction of those losses. Many replace none at all.

Magnesium: The Recovery Mineral You're Probably Depleting

Magnesium is involved in over 300 enzymatic reactions in the body. That includes muscle contraction and, critically, muscle relaxation. When magnesium drops, muscles have a harder time releasing tension after contraction. That's not a minor inconvenience. That's the mechanism behind nighttime leg cramps, persistent muscle tightness, and the low-grade soreness that won't resolve between sessions.

The sleep connection is just as significant. Magnesium plays a direct role in regulating the nervous system's shift from sympathetic to parasympathetic activity. Lower magnesium levels are associated with lighter, more fragmented sleep and reduced slow-wave sleep, the deep restorative phase where growth hormone is released and tissue repair peaks. When you're training hard in summer heat and sweating heavily every day, magnesium depletion accelerates. The result is a negative feedback loop: poor sleep impairs recovery, which impairs performance, which requires harder effort to hit the same output, which depletes magnesium further.

Research consistently shows that a significant portion of the general population. and athletes even more so. falls short of recommended magnesium intake. Adults need roughly 310 to 420 milligrams daily depending on sex and age, and most people eating a standard Western diet don't reliably hit that baseline even before factoring in sweat losses. If you're putting in two-a-days or logging 90-minute sessions in July heat, your deficit is almost certainly larger than you think.

Good dietary sources include dark leafy greens, pumpkin seeds, almonds, and dark chocolate. Magnesium glycinate and magnesium malate supplements are well-absorbed and less likely to cause the digestive issues associated with magnesium oxide forms. Rest and recovery are increasingly recognized as foundational to athletic performance, and maintaining magnesium status is one of the most direct levers you can pull to protect both.

The Potassium-Sodium Ratio: A Smarter Way to Think About Cramping

Most cramping conversations focus on sodium loss, but the ratio of potassium to sodium may matter more than the absolute level of either mineral. Potassium is the dominant intracellular electrolyte. It works in opposition to sodium to maintain the electrical charge across cell membranes that makes muscle contraction possible. When that ratio gets disrupted through selective sodium replacement without matching potassium, the signal transmission between nerve and muscle becomes erratic.

A growing body of evidence suggests that chronic low potassium intake relative to sodium intake. a pattern very common in processed-food-heavy diets. is associated with elevated blood pressure, increased cramping susceptibility, and impaired exercise recovery. The recommended dietary intake for potassium sits at 2,600 to 3,400 milligrams daily for adults. Most people in the US get well under 2,500 milligrams. Athletes sweating heavily are almost certainly in deficit.

This is worth paying attention to beyond athletic performance. The cardiovascular implications of a poor potassium-to-sodium ratio are well-documented, and if you're putting in regular endurance work specifically to protect your long-term health, understanding the exact fitness and nutrition factors that protect your heart means looking at the full mineral picture, not just your sodium intake.

Why Whole Foods Beat Most Electrolyte Tablets on Potassium

Here's where the supplement industry quietly falls short. Most electrolyte tablets and powders contain between 50 and 200 milligrams of potassium per serving. That's because the FDA caps potassium in over-the-counter supplements at 99 milligrams per serving due to concerns about hyperkalemia risk in people with kidney conditions. The result is that commercial electrolyte products can't legally or practically replace meaningful potassium losses through supplementation alone.

Whole foods don't have that problem. A medium baked potato with skin delivers around 900 milligrams of potassium. A cup of cooked spinach provides roughly 840 milligrams. Half an avocado contributes about 485 milligrams. A banana, the classic athlete's food, gives you around 420 milligrams. Combining two or three of these foods in a pre- or post-training meal makes it realistic to hit your daily target through diet rather than relying on supplements that can't bridge the gap anyway.

  • Baked potato (medium, with skin): ~900 mg potassium
  • Cooked spinach (1 cup): ~840 mg potassium
  • Avocado (half): ~485 mg potassium
  • Banana (medium): ~420 mg potassium
  • Cooked edamame (1 cup): ~676 mg potassium
  • Plain yogurt (1 cup): ~380 mg potassium

This doesn't mean electrolyte supplements are useless. They're genuinely helpful for sodium and sometimes chloride replacement during long sessions. But if you're expecting a tablet to handle your potassium needs, you're building your nutrition strategy on a product that structurally can't deliver what you need. Food has to do that work. Building a performance diet around nutrient-dense whole foods remains the most reliable way to close micronutrient gaps that supplementation can't fully address.

Timing Matters More Than Most Athletes Realize

The default electrolyte habit for most athletes is reactive. You finish a long session drenched in sweat, feel the headache or cramp coming on, and reach for a recovery drink. That approach is better than nothing, but it misses the performance window that matters most.

Pre-loading electrolytes in the two to three hours before a long session. particularly one exceeding 90 minutes in heat. has been shown to improve fluid retention, delay the onset of cardiovascular strain, and reduce the perception of effort in the final third of a workout. Starting a session with well-stocked electrolyte levels means your body isn't compensating for deficits when you're already under stress. It means you're operating from a full baseline.

During sessions longer than 60 minutes in summer conditions, replacing electrolytes in real time rather than banking on post-session recovery is equally important. Sweat rate in heat can exceed one liter per hour for trained athletes. Waiting until the end to replace what you've lost means spending the last 30 to 45 minutes of your session in a functionally depleted state. That's the window where form breaks down, pace drops, and the risk of heat-related issues rises.

A practical intra-session approach: sodium-containing fluids or tabs every 45 to 60 minutes, paired with a potassium-rich meal in the two hours before your session and a magnesium-focused meal or supplement in the evening. That three-part timing structure addresses the full electrolyte picture without requiring a complicated protocol.

Sleep quality also depends partly on when you're eating. Magnesium consumed in the evening with food improves absorption and aligns with the body's natural wind-down process. The relationship between sleep quality and sustained exercise performance is one of the most robust in the literature. Getting the timing of your mineral intake right is a low-effort intervention with measurable returns.

Building an Electrolyte Strategy That Actually Works

The practical takeaway here isn't to abandon your electrolyte tabs. It's to recognize that sodium replacement is one piece of a larger puzzle, and that the other pieces. magnesium, potassium, chloride. require deliberate dietary attention, particularly during summer training blocks when sweat losses compound daily.

Start with your food. Build meals around potassium-dense whole foods in the days around hard sessions. Prioritize magnesium-rich foods or a quality magnesium supplement in the evenings during heavy training weeks. Use commercial electrolyte products for what they do well. sodium and convenience during sessions. without expecting them to cover the full spectrum.

Your performance in August shouldn't look worse than your performance in April just because it's hotter outside. But if you're only replacing one electrolyte while losing four, the math on that gap catches up with you. It catches up in cramped calves at 2 a.m. In flat workouts that should have felt easier. In sleep that doesn't leave you rested. The fix isn't complicated. It just requires paying attention to the minerals that don't get the marketing spotlight.