Back to Blog

Electrolytes: Sodium, Potassium, Magnesium, and When to Supplement

February 26, 2026·6 min read

Electrolytes are minerals that carry an electrical charge when dissolved in body fluids — a defining property that makes them essential for generating the electrochemical gradients that power nerve impulses, muscle contractions, heart rhythm, and fluid balance. Sodium, potassium, chloride, magnesium, calcium, phosphate, and bicarbonate are the principal electrolytes, each with distinct distributions and roles. Electrolyte imbalances — whether from inadequate intake, excessive loss, or medical conditions — are among the most common and potentially serious metabolic disturbances in clinical medicine. In the wellness context, electrolyte supplementation has grown rapidly among athletes, ketogenic diet adherents, and people managing general hydration and performance.

Sodium: The Primary Extracellular Electrolyte

Sodium (Na+) is the dominant cation of extracellular fluid and blood plasma. Its gradient across cell membranes, maintained by the sodium-potassium ATPase pump, drives nutrient transport, action potentials, and osmotic regulation of cell volume and blood pressure. Serum sodium is tightly regulated (135–145 mmol/L) by vasopressin (ADH), aldosterone, and renal tubular mechanisms.

Hyponatremia (low sodium) is one of the most common electrolyte disorders in hospitalized patients and is increasingly recognized in endurance athletes (exercise-associated hyponatremia, EAH). Paradoxically, EAH results not from sodium loss but from excessive water intake diluting plasma sodium. Symptoms range from nausea to seizures to death. Sodium supplementation during extended exercise (over 2 hours) reduces EAH risk — one of the few well-established indications for sodium supplementation in otherwise healthy people.

Hypernatremia (high sodium) from excess intake is rare given the kidney's ability to excrete sodium, but chronic high sodium intake is associated with hypertension, particularly in salt-sensitive individuals.

Potassium: The Dominant Intracellular Cation

Potassium (K+) is the primary intracellular cation, maintained at ~140 mmol/L inside cells versus ~4–5 mmol/L in plasma — a gradient critical for nerve and muscle cell resting membrane potential. Every action potential in every nerve fiber, every heartbeat, and every skeletal muscle contraction depends on regulated potassium flux across cell membranes through voltage-gated and ligand-gated channels.

Dietary potassium has well-established cardiovascular protective effects: higher potassium intake is associated with lower blood pressure (particularly in high-sodium diets), reduced stroke risk, and lower rates of kidney stones (potassium citrate alkalinizes urine and reduces calcium oxalate crystallization). The WHO recommends a potassium intake of at least 3,500 mg/day; typical Western diets provide only 1,500–2,500 mg/day.

Rich potassium sources: avocados (975 mg each), baked potatoes (900 mg), white beans (829 mg per cup), acorn squash (896 mg), bananas (422 mg). Supplements are limited to 99 mg per dose in the US due to concerns about rapid potassium delivery causing cardiac effects — a relevant limitation for those trying to correct deficiency via supplements alone.

Magnesium: The Intracellular Multitasker

Magnesium (Mg2+) is the fourth most abundant mineral in the body and the second most common intracellular cation after potassium. It is a cofactor for over 300 enzymes and is required for ATP synthesis (all ATP in cells exists as Mg-ATP), DNA replication and repair, RNA synthesis, protein synthesis, and every step of the glycolytic and oxidative phosphorylation pathways. It also regulates hundreds of ion channels — including NMDA receptors (blocked by Mg2+, preventing glutamate excitotoxicity) and voltage-gated calcium channels.

Magnesium deficiency is extremely common — surveys estimate 50–60% of Americans do not meet the RDA (420 mg/day for men, 320–360 mg/day for women). Symptoms of deficiency include muscle cramps, tremors, fatigue, insomnia, constipation, anxiety, irregular heartbeat, and increased migraine frequency. Low magnesium is associated with insulin resistance, hypertension, osteoporosis, cardiovascular disease, and metabolic syndrome.

Best supplemental forms: magnesium glycinate (high absorption, very well tolerated, good for sleep/anxiety), magnesium malate (good absorption, may support energy metabolism), magnesium L-threonate (uniquely crosses the blood-brain barrier, studied for cognitive effects), magnesium citrate (good absorption, osmotic laxative effect at high doses), magnesium oxide (poorly absorbed — avoid for deficiency correction).

Chloride: The Partner Ion

Chloride (Cl-) is the principal extracellular anion, co-secreted with sodium by sweat glands, kidneys, and the GI tract. It is essential for gastric acid production (as HCl), osmotic balance, and electrical neutrality. Deficiency (hypochloremia) causes metabolic alkalosis and can impair breathing drive. Isolated chloride deficiency is rare and usually accompanies sodium loss.

When to Supplement Electrolytes

Clear indications for electrolyte supplementation include: prolonged exercise (over 60–90 minutes, especially in heat and humidity — sweating depletes sodium, chloride, and smaller amounts of potassium and magnesium); low-carbohydrate and ketogenic diets (reduced insulin reduces sodium and potassium renal reabsorption, requiring increased intake); chronic diarrhea or vomiting; heat exposure; and documented deficiencies from blood testing.

Standard electrolyte supplement doses during exercise: 400–1,000 mg sodium, 200–400 mg potassium, 50–100 mg magnesium, and 400–1,000 mg chloride per liter of fluid consumed.

FAQ

Do electrolyte drinks improve performance in non-athletes? For sedentary people with adequate dietary mineral intake, commercial electrolyte drinks provide minimal benefit. For people eating very low salt diets, on diuretics, or with frequent muscle cramps, electrolyte supplementation may help. The primary benefit of electrolyte drinks is during or after significant physical activity.

What causes muscle cramps and do electrolytes help? Muscle cramps during exercise are often attributed to electrolyte imbalances — particularly sodium, magnesium, and potassium. Research support for this model is mixed; some evidence suggests cramps are more related to muscle fatigue and neuromuscular drive alterations than electrolyte levels. However, magnesium deficiency specifically is associated with increased cramping frequency at rest, and magnesium supplementation reduces nocturnal leg cramps in multiple trials.

Is it possible to overdo electrolyte supplementation? Yes. Sodium excess worsens hypertension in salt-sensitive individuals. Potassium supplements in people with kidney disease can cause dangerous hyperkalemia (cardiac arrhythmia). Magnesium excess causes diarrhea and at very high doses (typically IV) can cause cardiac or respiratory arrest. At typical oral supplement doses in healthy individuals, electrolyte toxicity is uncommon but kidney function should be normal before aggressive supplementation.

Related Articles

Track your supplements in Optimize.

Want to optimize your health?

Create your free account and start tracking what matters.

Sign Up Free