supplements

Electrolytes

Electrolytes are ionically charged minerals -- principally sodium (Na+), potassium (K+), calcium (Ca2+), magnesium (Mg2+), chloride (Cl-), and phosphate (HPO4 2-) -- that are essential for maintaining membrane potential, generating action potentials in nerve and cardiac tissue, regulating intracellular and extracellular fluid osmolarity, and enabling enzyme catalysis. In cardiac physiology, the precise balance of sodium, potassium, and calcium is critical for the normal function of ion channels including SCN5A (Nav1.5, the cardiac sodium channel), which initiates the cardiac action potential, and imbalances in any major electrolyte can alter channel gating kinetics, prolong or shorten the QT interval, and precipitate life-threatening arrhythmias. Electrolyte supplementation is indicated across a wide range of contexts from athletic performance and heat stress to low-carbohydrate dieting, diuretic use, and clinically significant deficiency states, with the risk-benefit profile determined by the specific electrolyte, baseline status, and underlying cardiac and renal function.

schedule 10 min read update Updated April 20, 2026

Key Takeaways

  • The cardiac action potential is initiated by rapid sodium influx through Nav1.5 (encoded by SCN5A), and the action potential waveform -- including its duration (QT interval) -- is critically dependent on the balance between sodium, potassium, and calcium currents. Hypokalemia shifts the resting membrane potential more negative and reduces outward potassium conductance (IKr, IKs), prolonging the action potential and QT interval, which is the most common electrolyte-induced arrhythmia mechanism in clinical medicine. A serum potassium below 3.0 mEq/L increases QTc by approximately 25 to 35 ms per 0.5 mEq/L decrement in multiple electrophysiology studies, and QTc prolongation beyond 500 ms is associated with a 3 to 5 percent annual risk of ventricular tachyarrhythmia.
  • Sodium is the primary extracellular cation (normal serum range 136 to 145 mEq/L) and the principal determinant of extracellular fluid osmolarity and volume. SCN5A encodes the Nav1.5 alpha subunit that forms the cardiac voltage-gated sodium channel responsible for the rapid depolarization phase (Phase 0) of the cardiac action potential. Loss-of-function SCN5A variants reduce peak sodium current (INa), slowing conduction velocity and producing the right bundle branch block and ST elevation pattern of Brugada syndrome, while gain-of-function variants cause persistent late sodium current that prolongs repolarization and produces Long QT Syndrome type 3 (LQT3). Systemic sodium imbalance further modulates Nav1.5 gating: hyponatremia shifts the channel steady-state inactivation curve more negative, reducing peak INa, while hypernatremia can paradoxically increase leak current.
  • Potassium is the primary intracellular cation (intracellular concentration 140 mEq/L versus extracellular 3.5 to 5.0 mEq/L) and the principal determinant of the resting membrane potential via the Nernst equation. The transmembrane potassium gradient, maintained by Na+/K+-ATPase, is the electrophysiological foundation of cellular excitability in neurons, cardiac myocytes, and skeletal muscle. Even modest hypokalemia (3.0 to 3.5 mEq/L) approximately doubles the risk of ventricular arrhythmias in patients with existing cardiac disease, while hyperkalemia (potassium above 5.5 mEq/L) reduces resting membrane potential, leading to membrane depolarization, sodium channel inactivation, and the characteristic peaked T waves, sine wave pattern, and risk of cardiac standstill. Dietary potassium supplementation at 90 to 120 mEq per day reduces blood pressure by 3 to 5 mmHg systolic in hypertensive individuals.
  • Magnesium (Mg2+) is required as a cofactor for over 300 enzymatic reactions and is an essential gating modifier for cardiac potassium channels. Magnesium blocks the IKr channel (KCNH2/hERG) pore in a voltage-dependent manner, competing with potassium ions, and this block is reduced at low magnesium concentrations, paradoxically increasing IKr current and altering QT duration. Hypomagnesemia (below 0.75 mmol/L, present in 11 to 65 percent of hospitalized patients) prolongs the QT interval independently of hypokalemia and is a major precipitant of torsades de pointes; the standard treatment for torsades de pointes is intravenous magnesium at 1 to 2 g over 15 minutes regardless of serum magnesium levels. Magnesium is also required for proper Na+/K+-ATPase function, and hypomagnesemia produces refractory hypokalemia because potassium cannot be adequately retained without functional pump activity.
  • Calcium (Ca2+) plays a central role in cardiac excitation-contraction coupling: L-type calcium channels (CACNA1C) open during the action potential plateau, triggering calcium-induced calcium release (CICR) from the sarcoplasmic reticulum via ryanodine receptors (RYR2). Hypocalcemia prolongs the QT interval by prolonging the plateau phase; hypercalcemia shortens the QT by accelerating plateau repolarization. Clinical hypocalcemia (ionized calcium below 1.15 mmol/L) causes tetany, laryngospasm, and seizures, but before these clinical manifestations, QT prolongation (QTc above 470 ms in men, 480 ms in women) is an early ECG indicator of significant hypocalcemia. Calcium supplementation in the setting of existing hypercalcemia or vitamin D toxicity can precipitate acute cardiac arrhythmias through excessive calcium loading of cardiac myocytes.
  • Exercise-associated hyponatremia (EAH) is a potentially fatal condition caused by excessive hypotonic fluid intake during endurance exercise, occurring in approximately 15 percent of marathon runners and 30 to 40 percent of ultra-endurance athletes in some studies. EAH is caused by water intake exceeding renal free water clearance capacity (maximal 800 to 1,200 mL per hour), compounded by ADH (antidiuretic hormone) secretion stimulated by pain, stress, and exertion. The current American College of Sports Medicine guideline recommends drinking to thirst rather than on a schedule during exercise, and sodium-containing sports drinks (400 to 1,100 mg sodium per liter) provide protection against EAH during events exceeding 2 hours. Electrolyte-replete hydration strategies using sodium, potassium, and magnesium in combination are superior to water alone for sustaining performance and preventing hyponatremia in events exceeding 1 hour.

Basic Information

Name
Electrolytes
Also Known As
sodiumpotassiumcalciummagnesiumchloridephosphatebicarbonatesports drink mineralsrehydration saltsORS (oral rehydration salts)electrolyte tabletsmineral salts
Category
Essential ionically charged minerals / ion channel modulators / osmolyte regulators
Bioavailability
Bioavailability varies substantially among electrolytes and their salt forms. Sodium chloride has essentially complete intestinal absorption. Potassium from food (potassium gluconate, potassium citrate, potassium from vegetables) is 85 to 90 percent absorbed; potassium chloride supplements are similarly well absorbed but at doses above 40 mEq per dose can cause gastric irritation and should be taken with food. Calcium absorption is complex and dose-dependent: at 500 mg per dose it is approximately 32 to 36 percent (calcium carbonate requires gastric acid, best with meals; calcium citrate is acid-independent, better for achlorhydria); split dosing into 500 mg portions maximizes absorption as the active transport mechanism (TRPV6, calbindin-D) saturates at approximately 400 to 500 mg per dose. Magnesium bioavailability ranges from 4 percent (magnesium oxide) to 53 percent (magnesium glycinate/malate/citrate); organic chelated forms (glycinate, malate, threonate) are superior to inorganic oxide forms. The presence of phytate, oxalate, and dietary fiber reduces calcium and magnesium absorption from food sources by 15 to 50 percent, whereas co-administration with vitamin D substantially increases intestinal calcium absorption through TRPV6 upregulation.
Half-Life
Plasma half-lives of supplemental electrolytes vary widely. Oral sodium and chloride equilibrate rapidly with the extracellular fluid compartment (within 1 to 2 hours) and are excreted renally over 6 to 12 hours; renal handling is tightly regulated by aldosterone, ANP, and renin-angiotensin. Potassium has a plasma half-life of approximately 4 to 6 hours after oral supplementation; most is taken up by cells within 3 to 4 hours driven by Na+/K+-ATPase, and renal potassium excretion is regulated by aldosterone with a 4 to 6 hour delay. Magnesium has complex kinetics: plasma levels reflect only 1 to 2 percent of total body magnesium, with 50 to 60 percent in bone matrix; after oral supplementation, plasma magnesium rises over 2 to 4 hours and returns to baseline within 6 to 8 hours, but intracellular and bone repletion requires weeks to months of sustained supplementation. This means serum magnesium is an insensitive marker of total body magnesium status, and deficiency can be present with normal serum levels.

Primary Mechanisms

Maintenance of the resting membrane potential through transmembrane ion gradients (K+ inside, Na+ outside), enabling cell excitability in nerve, cardiac, and muscle tissue

Nav1.5 (SCN5A) sodium channel activation during Phase 0 of the cardiac action potential, generating rapid depolarization and propagating the electrical impulse through the conduction system

L-type calcium channel (CACNA1C) activation during Phase 2 plateau of the cardiac action potential, triggering calcium-induced calcium release from sarcoplasmic reticulum for cardiac contraction

IKr (KCNH2/hERG) and IKs (KCNQ1) potassium channel repolarization currents during Phase 3, with potassium levels directly modulating channel kinetics and QT duration

Na+/K+-ATPase activity maintaining cellular potassium and sodium gradients as the primary energy-consuming pump in excitable cells

NMDA receptor magnesium block in neurons providing voltage-dependent modulation of glutamatergic excitatory neurotransmission and synaptic plasticity

Calcium-calmodulin signaling in smooth muscle, cardiac muscle, and neurons regulating contractility, gene expression, and neurotransmitter release

Magnesium as cofactor for 300 plus enzymes including ATP-synthesizing enzymes (all ATP reactions involve MgATP), DNA and RNA polymerases, glutathione synthetase, and protein kinases

Aldosterone-regulated sodium reabsorption in collecting duct principal cells via ENaC (epithelial sodium channel), with potassium secretion as the counter-ion

Phosphate as the backbone of ATP, DNA, RNA, and phospholipids, and as the primary intracellular pH buffer system (H2PO4- / HPO4 2-)

Quick Safety Summary

Studied Doses

Daily electrolyte requirements vary by individual, context, and medical status. General adult daily adequate intakes: sodium 1,500 to 2,300 mg (65 to 100 mEq); potassium 2,600 to 3,400 mg women, 3,400 mg men (67 to 87 mEq); calcium 1,000 to 1,200 mg (25 to 30 mEq); magnesium 310 to 420 mg (13 to 17 mEq); chloride 1,800 to 2,300 mg. For therapeutic supplementation: potassium 20 to 80 mEq per day for diuretic-induced hypokalemia; magnesium 300 to 600 mg per day for deficiency; calcium 500 to 1,200 mg supplemental for dietary insufficiency; sodium 1,000 to 3,000 mg supplemental during ketogenic adaptation or heavy exercise. For intravenous electrolyte replacement in clinical settings, doses are individualized and carefully monitored.

Contraindications

Hyperkalemia or renal insufficiency (eGFR below 30 mL/min): potassium supplementation is contraindicated in hyperkalemia (K+ above 5.0 mEq/L) and requires careful monitoring in CKD, as impaired renal potassium excretion can cause fatal cardiac arrhythmia from hyperkalemia, Hypercalcemia or vitamin D toxicity: calcium supplementation is contraindicated in hypercalcemia (above 10.5 mg/dL) and can precipitate nephrolithiasis, pancreatitis, and cardiac arrhythmias through excessive calcium loading, Hypertension with sodium sensitivity: high sodium intake significantly worsens blood pressure in salt-sensitive hypertension (approximately 30 to 50 percent of hypertensive individuals); low sodium electrolyte formulations or sodium alternatives (potassium chloride) are preferred, Heart failure with fluid overload: sodium and fluid loading in decompensated heart failure is contraindicated; electrolyte management in heart failure requires careful monitoring of sodium, potassium, and fluid balance, Addison disease or primary adrenal insufficiency: aldosterone deficiency causes hyperkalemia and hyponatremia; potassium supplementation is contraindicated without adequate mineralocorticoid replacement, Hyperphosphatemia in CKD: phosphate supplementation is contraindicated in advanced CKD where phosphate cannot be adequately excreted, leading to calcium phosphate precipitation and vascular calcification

Overview

Electrolytes are ionically charged mineral species that dissociate into cations and anions in aqueous solution, enabling the electrical conductance essential for nerve transmission, muscle contraction, and cellular homeostasis. The primary extracellular cation is sodium (Na+, 136 to 145 mEq/L plasma), with chloride (Cl-) and bicarbonate (HCO3-) as principal anions. The primary intracellular cation is potassium (K+, 140 to 150 mEq/L intracellular versus 3.5 to 5.0 mEq/L extracellular), with phosphate and organic anions as intracellular counter-ions. Calcium exists at 1.0 to 1.3 mEq/L as the ionized fraction in plasma, with the remaining bound to albumin, and in tissues at extremely low free concentrations (approximately 100 nanomolar at rest, rising to 10 to 100 micromolar during signaling). Magnesium at 0.75 to 1.0 mmol/L plasma is the second most abundant intracellular cation. These concentration gradients, maintained by ATP-dependent transport pumps including Na+/K+-ATPase, Ca2+-ATPase (SERCA), and H+/K+-ATPase, represent the electrochemical potential energy that drives virtually all biological information transfer across cell membranes.

The cardiac action potential illustrates how precise electrolyte balance enables coordinated organ function. In the sinoatrial (SA) node, spontaneous depolarization occurs through the funny current (HCN4, If) and T-type calcium channels. When threshold is reached, the Nav1.5 channel (encoded by SCN5A) opens, producing rapid phase 0 depolarization at approximately 100 to 200 mV/ms. Nav1.5 inactivates within 1 to 2 milliseconds, preventing re-excitation. Phase 1 early repolarization is driven by transient outward potassium current (Ito, KCND2/KCND3). Phase 2 plateau is maintained by L-type calcium channels (CACNA1C) balanced against repolarizing IKr (KCNH2/hERG) and IKs (KCNQ1). Phase 3 rapid repolarization is driven by IKr and IKs. Phase 4 is the diastolic resting potential maintained by IK1 (KCNJ2). Every one of these currents is sensitive to the extracellular concentration of the conducting ion: changing [K+]o from 4.0 to 3.0 mEq/L reduces IKr conductance and prolongs the QT interval; changing [Na+]o affects Nav1.5 gating voltage-dependence; changing [Ca2+]o directly alters L-type channel open probability and the plateau duration. This dependence on precise extracellular electrolyte balance is the mechanistic basis for electrolyte-induced arrhythmias and the clinical imperative to maintain normal electrolyte homeostasis in patients at cardiac risk.

Magnesium deserves particular emphasis as a meta-electrolyte that regulates the function of other electrolyte transporters. Na+/K+-ATPase requires Mg2+ as a cofactor for its ATPase catalytic activity; in magnesium depletion, this pump fails, cellular potassium cannot be retained, and hypokalemia becomes refractory to potassium replacement alone. The NMDA receptor channel in neurons is blocked by extracellular Mg2+ at resting membrane potentials, producing a voltage-dependent gate that prevents calcium influx until sufficient depolarization occurs to displace the magnesium block. This mechanism is critical for associative learning and memory consolidation (the basis of the coincidence detector function of NMDA receptors in long-term potentiation). Hypomagnesemia leads to NMDA receptor hyperactivity through reduced Mg2+ block, contributing to the seizure susceptibility, neuropsychiatric symptoms, and cortical spreading depression seen in clinical magnesium deficiency. The cardiac IKr channel is also blocked by intracellular Mg2+ in a voltage-dependent manner, and reduced intracellular magnesium during hypomagnesemia alters hERG kinetics in a manner that can contribute to QT prolongation independent of hypokalemia effects.

The clinical contexts requiring systematic electrolyte management are broad and include diuretic therapy, low-carbohydrate and ketogenic dieting, endurance athletic performance, chronic kidney disease, adrenal disorders, prolonged vomiting or diarrhea, ICU care, and the management of cardiac channelopathies including Brugada syndrome and Long QT syndrome. In each context, the risk-benefit calculation for electrolyte supplementation differs: in diuretic-treated heart failure patients, the primary risk is arrhythmia from hypokalemia and hypomagnesemia, and oral supplementation is standard of care; in ketogenic dieters, the primary need is sodium and potassium replacement to compensate for diuresis-driven losses during adaptation; in endurance athletes, the priority is sodium-containing hydration to prevent exercise-associated hyponatremia; in SCN5A variant carriers with Brugada syndrome, avoiding extreme electrolyte shifts (particularly hypokalemia during febrile illness) is a critical non-pharmacological arrhythmia prevention strategy. Modern electrolyte formulations combine sodium, potassium, magnesium, calcium, and chloride in physiological ratios, optimized for rapid gastrointestinal absorption and sustained plasma electrolyte maintenance across diverse contexts.

Core Health Impacts

  • Cardiac electrophysiology and arrhythmia prevention: The most critical medical application of electrolyte management is cardiac arrhythmia prevention. Hypokalemia (below 3.5 mEq/L) is the most common electrolyte-induced arrhythmia precipitant: it prolongs the QT interval by approximately 25 to 35 ms per 0.5 mEq/L decrement, increases automaticity in Purkinje fibers, and significantly increases the risk of ventricular arrhythmia in patients with structural heart disease or QT-prolonging medications. Hypomagnesemia independently prolongs QT and is the primary precipitant and treatment target in torsades de pointes. In patients with SCN5A variants (Brugada syndrome, LQT3), the sodium, potassium, and calcium balance determines the penetrance of the arrhythmic phenotype: fever (which shifts Nav1.5 gating) combined with electrolyte imbalance can precipitate ventricular fibrillation in previously asymptomatic Brugada syndrome patients. Maintaining potassium above 4.0 mEq/L and magnesium above 0.85 mmol/L is a standard arrhythmia risk reduction strategy in clinical cardiology.
  • Blood pressure and cardiovascular risk: Potassium and sodium intake are the two most potent dietary determinants of blood pressure. Meta-analyses of potassium supplementation trials confirm systolic blood pressure reductions of 3.5 to 5.3 mmHg and diastolic reductions of 2.0 to 3.5 mmHg in hypertensive individuals at doses of 60 to 120 mEq per day. Sodium restriction to below 2,300 mg per day (100 mEq) produces comparable blood pressure reductions of 4 to 5 mmHg systolic. The DASH diet, combining high potassium (approximately 4,700 mg per day), high magnesium (approximately 500 mg per day), high calcium (approximately 1,300 mg per day), and low sodium (approximately 1,500 to 2,300 mg per day), reduces systolic blood pressure by 8 to 14 mmHg in hypertensive individuals over 4 to 8 weeks. The 2023 SALT-2 trial demonstrated that replacing 25 percent of dietary NaCl with KCl reduced systolic blood pressure by 3.3 mmHg and reduced major cardiovascular events by approximately 12 percent compared to regular salt in a large population trial.
  • Athletic performance and hydration: Electrolytes are essential for sustaining athletic performance during exercise: sweating causes proportional losses of sodium (20 to 100 mEq/L sweat), potassium (3 to 9 mEq/L), magnesium (0.2 to 1.5 mEq/L), and calcium (0.3 to 2.0 mEq/L). Fluid losses of just 2 percent of body weight impair aerobic performance by 10 to 20 percent; without electrolyte replacement, the resulting hyponatremia from pure water intake further impairs neuromuscular function. Sodium-containing rehydration drinks at 400 to 1,100 mg sodium per liter restore blood volume more effectively than water, reduce fatigue in prolonged exercise, and prevent exercise-associated hyponatremia. A meta-analysis of 16 RCTs (PMID 27456165) on electrolyte supplementation during exercise confirmed significantly better hydration status, time to exhaustion, and reduced muscle cramping compared to water alone in events exceeding 90 minutes.
  • Bone health and calcium-phosphate metabolism: Calcium and phosphate are the primary minerals comprising hydroxyapatite, the crystalline matrix of bone, constituting approximately 99 percent of body calcium stores. Adequate dietary calcium intake (1,000 to 1,200 mg per day) combined with sufficient vitamin D3 for intestinal absorption is essential for achieving and maintaining peak bone mass. A meta-analysis of calcium supplementation trials (PMID 17848554, 29 RCTs) confirmed that calcium supplementation at 1,000 to 1,200 mg per day significantly reduces vertebral fracture risk by approximately 25 percent in postmenopausal women. However, calcium supplements above 2,500 mg per day are associated with increased risk of nephrolithiasis and possible cardiovascular risk through arterial calcification; this concern has shifted clinical guidelines toward food-based calcium over supplements. Magnesium is also required for bone health: it activates vitamin D to its active form (1,25-dihydroxycholecalciferol) and modulates PTH secretion, and low magnesium intake is associated with reduced bone mineral density independent of calcium.
  • Neuromuscular function and muscle cramps: Electrolytes govern neuromuscular excitability through their effects on resting membrane potential, action potential threshold, and calcium-mediated excitation-contraction coupling. Hypokalemia causes muscle weakness and in severe cases (below 2.5 mEq/L) can produce rhabdomyolysis through impaired glucose uptake and glycogen synthesis in skeletal muscle. Hypocalcemia causes the classic Chvostek sign and Trousseau sign of neuromuscular hyperexcitability. Exercise-associated muscle cramps, while traditionally attributed to electrolyte deficiency, are now thought to primarily reflect altered neuromuscular control (muscle fatigue increasing spindle sensitivity), though electrolyte deficiency clearly contributes in endurance events with heavy sweating. A 2021 systematic review (PMID 33980006) found that sodium supplementation significantly reduced cramp incidence and severity in sports where prolonged sweating occurs, while magnesium supplementation reduced nocturnal leg cramps in meta-analysis of 5 RCTs.
  • Renal function and fluid balance: The kidneys are the primary regulators of electrolyte homeostasis, and adequate electrolyte intake is prerequisite for normal renal function. Sodium intake drives extracellular fluid volume through aldosterone-regulated tubular reabsorption, while potassium intake modulates aldosterone secretion through direct effects on adrenal zona glomerulosa cells. In individuals on diuretics (the most common cause of hypokalemia and hypomagnesemia), electrolyte supplementation is clinically necessary to prevent life-threatening depletion: loop diuretics cause losses of 10 to 50 mEq potassium per day, and concurrent magnesium depletion makes repletion refractory without magnesium replacement first. Chronic hypokalemia impairs renal concentrating ability and is associated with increased risk of nephrolithiasis (calcium oxalate and uric acid stones) through urinary acidification. Potassium citrate supplementation at 60 mEq per day reduces kidney stone recurrence by approximately 50 percent in high-risk populations.
  • Low-carbohydrate and ketogenic diet electrolyte losses: Carbohydrate restriction produces rapid kaliuresis and natriuresis in the first 1 to 2 weeks of ketogenic dieting, as insulin-mediated renal sodium reabsorption falls and glycogen depletion releases bound water (approximately 3 g water per gram of glycogen). This acute electrolyte loss -- typically 200 to 400 mEq sodium and 80 to 100 mEq potassium in the first week -- is the primary cause of the "keto flu" (fatigue, headache, muscle cramps, constipation, palpitations) and can trigger cardiac arrhythmias in susceptible individuals. Empirical electrolyte supplementation of 2,000 to 3,000 mg sodium, 1,000 to 3,500 mg potassium, and 300 to 500 mg magnesium per day during keto adaptation significantly reduces keto flu symptoms and supports performance. A survey of 102 long-term keto dieters (PMID 25402637) found adequate electrolyte intake was the strongest predictor of symptom-free dietary adherence at 6 months.
  • Cognitive function and mental performance: Electrolytes are required for synaptic neurotransmission, membrane potential maintenance, and the ionic gradients that drive co-transporter activity for neurotransmitter synthesis precursors. Mild dehydration (1 to 2 percent body weight loss) impairs cognitive performance -- working memory, attention, and psychomotor speed -- in multiple controlled trials, and these effects are partially attributable to electrolyte shifts rather than pure hypo-osmolarity. Sodium deficiency (hyponatremia below 130 mEq/L) causes confusion, cognitive slowing, and seizures through cerebral edema. Magnesium deficiency impairs NMDA receptor function (magnesium blocks the NMDA receptor channel in a voltage-dependent manner), and magnesium supplementation in deficient individuals improves processing speed and short-term memory in several RCTs. A 2022 randomized trial (PMID 35984264, n=394) found magnesium-L-threonate supplementation (3 g per day) improved overall cognitive performance in older adults with cognitive decline, attributable to improved synaptic density through enhanced NMDA receptor function.
  • Glucose metabolism and insulin sensitivity: Magnesium and potassium are both required for insulin receptor signaling and glucose metabolism. Magnesium is an essential cofactor for insulin receptor tyrosine kinase activity, and intracellular magnesium depletion impairs insulin-stimulated glucose uptake in skeletal muscle and adipose tissue. A meta-analysis of magnesium supplementation in type 2 diabetes (PMID 27530471, 18 RCTs) found significant reductions in fasting glucose (-0.56 mmol/L) and HbA1c (-0.32 percent) with magnesium 250 to 450 mg per day over 4 to 24 weeks. Hypokalemia impairs insulin secretion by reducing pancreatic beta cell membrane depolarization-triggered exocytosis (KATP channel dysfunction), and diuretic-induced hypokalemia increases the risk of new-onset diabetes by approximately 30 to 50 percent in multiple prospective studies. Correcting potassium and magnesium deficiencies is therefore a foundational step in managing glucose metabolism in patients on diuretics.

Gene Interactions

Key Gene Targets

SCN5A

SCN5A encodes Nav1.5, the principal cardiac voltage-gated sodium channel that initiates Phase 0 depolarization of the cardiac action potential, and maintaining a precise extracellular balance of sodium, potassium, and calcium is essential for normal Nav1.5 gating kinetics and conduction velocity. Hypokalemia and hyponatremia alter the voltage-dependence of Nav1.5 steady-state inactivation and shift the activation threshold, modulating the magnitude of peak INa and the vulnerability of SCN5A variant carriers (Brugada syndrome, LQT3) to arrhythmia, and electrolyte optimization is a core non-pharmacological management strategy for these channelopathies.

Safety & Dosing

Contraindications

Hyperkalemia or renal insufficiency (eGFR below 30 mL/min): potassium supplementation is contraindicated in hyperkalemia (K+ above 5.0 mEq/L) and requires careful monitoring in CKD, as impaired renal potassium excretion can cause fatal cardiac arrhythmia from hyperkalemia

Hypercalcemia or vitamin D toxicity: calcium supplementation is contraindicated in hypercalcemia (above 10.5 mg/dL) and can precipitate nephrolithiasis, pancreatitis, and cardiac arrhythmias through excessive calcium loading

Hypertension with sodium sensitivity: high sodium intake significantly worsens blood pressure in salt-sensitive hypertension (approximately 30 to 50 percent of hypertensive individuals); low sodium electrolyte formulations or sodium alternatives (potassium chloride) are preferred

Heart failure with fluid overload: sodium and fluid loading in decompensated heart failure is contraindicated; electrolyte management in heart failure requires careful monitoring of sodium, potassium, and fluid balance

Addison disease or primary adrenal insufficiency: aldosterone deficiency causes hyperkalemia and hyponatremia; potassium supplementation is contraindicated without adequate mineralocorticoid replacement

Hyperphosphatemia in CKD: phosphate supplementation is contraindicated in advanced CKD where phosphate cannot be adequately excreted, leading to calcium phosphate precipitation and vascular calcification

Drug Interactions

ACE inhibitors and ARBs: these drugs reduce aldosterone-mediated potassium excretion, raising potassium levels; potassium supplementation combined with ACE inhibitors or ARBs significantly increases hyperkalemia risk; potassium levels should be monitored within 1 to 2 weeks of any change in potassium supplementation dose

Potassium-sparing diuretics (spironolactone, eplerenone, amiloride, triamterene): block aldosterone-mediated renal potassium excretion and dramatically increase hyperkalemia risk; potassium supplementation is generally contraindicated with these agents without laboratory monitoring

Loop diuretics (furosemide, bumetanide, torsemide) and thiazide diuretics: cause both hypokalemia and hypomagnesemia; potassium and magnesium co-supplementation is routinely required; adequate magnesium repletion is prerequisite for successful potassium repletion because Mg2+ is required for Na+/K+-ATPase function

Digoxin: hypokalemia and hypomagnesemia markedly sensitize the myocardium to digoxin toxicity by reducing Na+/K+-ATPase affinity for digoxin, decreasing its transport out of cells; maintaining potassium above 4.0 mEq/L and magnesium above 0.8 mmol/L is essential in digoxin-treated patients

QT-prolonging medications (quinolone antibiotics, antipsychotics, antiarrhythmics): hypokalemia and hypomagnesemia significantly potentiate drug-induced QT prolongation, increasing torsades de pointes risk; electrolyte correction is mandatory before initiating QT-prolonging drugs

Antacids containing calcium or magnesium: high doses can interfere with absorption of tetracyclines, fluoroquinolones, and bisphosphonates; timing separation of 2 to 4 hours is required

Calcitriol and vitamin D supplements: vitamin D stimulates intestinal calcium and phosphate absorption; combined with calcium supplementation, vitamin D toxicity can cause dangerous hypercalcemia; calcium levels should be monitored during combined supplementation

Bisphosphonates (alendronate, risedronate): must be taken fasted with plain water; calcium and other divalent cation supplements chelate bisphosphonates, reducing absorption to near zero; take bisphosphonates at least 30 to 60 minutes before any calcium or mineral supplementation

Levothyroxine: calcium carbonate and magnesium interfere with levothyroxine absorption by forming insoluble complexes in the gut; take thyroid medication at least 4 hours apart from calcium and magnesium supplements

Sodium bicarbonate and antacids: heavy use alters gastric pH and affects absorption of pH-sensitive drugs and minerals; alkalinization of urine affects renal tubular reabsorption of weak acids and bases

Common Side Effects

Gastrointestinal upset (nausea, diarrhea, cramping) with potassium chloride above 40 mEq per dose and magnesium oxide above 200 mg per dose; taking supplements with food and using organic chelated forms substantially reduces GI side effects

Hyperkalemia (potassium above 5.0 mEq/L): muscle weakness, paresthesias, peaked T waves on ECG, and at extreme levels (above 7.0 mEq/L) cardiac standstill; risk is highest in renal impairment and with concurrent RAAS-inhibiting medications

Kidney stones: calcium supplements (particularly calcium carbonate at high doses between meals) may increase urinary calcium excretion and nephrolithiasis risk in susceptible individuals; calcium citrate taken with meals reduces this risk by binding dietary oxalate

Studied Doses

Daily electrolyte requirements vary by individual, context, and medical status. General adult daily adequate intakes: sodium 1,500 to 2,300 mg (65 to 100 mEq); potassium 2,600 to 3,400 mg women, 3,400 mg men (67 to 87 mEq); calcium 1,000 to 1,200 mg (25 to 30 mEq); magnesium 310 to 420 mg (13 to 17 mEq); chloride 1,800 to 2,300 mg. For therapeutic supplementation: potassium 20 to 80 mEq per day for diuretic-induced hypokalemia; magnesium 300 to 600 mg per day for deficiency; calcium 500 to 1,200 mg supplemental for dietary insufficiency; sodium 1,000 to 3,000 mg supplemental during ketogenic adaptation or heavy exercise. For intravenous electrolyte replacement in clinical settings, doses are individualized and carefully monitored.

Mechanism of Action

Ionic Gradients and the Nernst Equilibrium Potential

The biological activity of electrolytes is fundamentally thermodynamic: energy stored in transmembrane ion concentration gradients is the potential energy that drives cell signaling, neurotransmitter release, muscle contraction, and cardiac impulse propagation. The Nernst equation describes the equilibrium potential for each ion across a semipermeable membrane: E = (RT/zF) x ln([X]outside / [X]inside), where R is the gas constant, T is temperature, z is ion valence, and F is the Faraday constant. For potassium at physiological concentrations (140 mEq/L intracellular, 4.0 mEq/L extracellular), the equilibrium potential is approximately -94 mV — the voltage at which potassium has no net driving force across the membrane. The actual resting membrane potential of -70 to -90 mV in neurons and cardiac cells is close to but not equal to the potassium equilibrium potential because sodium and other ions contribute small resting conductances. When serum potassium falls to 3.0 mEq/L, the potassium equilibrium potential shifts to approximately -98 mV, hyperpolarizing the cell and paradoxically reducing the availability of voltage-gated sodium channels for activation (because they are further from threshold), while simultaneously reducing the driving force for repolarizing potassium currents — the combination that prolongs the action potential and QT interval.

SCN5A (Nav1.5) and the Cardiac Sodium Channel Action Potential

Nav1.5, the cardiac isoform of the voltage-gated sodium channel, is encoded by SCN5A and is responsible for the rapid Phase 0 depolarization that propagates the action potential through the His-Purkinje system and ventricular myocardium at conduction velocities of 2 to 4 m/s. The Nav1.5 channel is a 2,035 amino acid alpha subunit forming four homologous domains (DI-DIV), each containing six transmembrane segments (S1-S6) with the voltage sensor in S4 (four positively charged arginine residues that move outward upon depolarization) and the ion-conducting pore between S5 and S6. At the resting membrane potential (-80 to -90 mV), Nav1.5 is in the closed state. Upon depolarization to approximately -60 to -50 mV, S4 movement opens the channel, producing peak inward sodium current (INa) within 1 to 2 ms, generating the overshoot toward +30 to +40 mV. The channel then inactivates rapidly through the IFM motif (isoleucine-phenylalanine-methionine) in the DIII-DIV linker plugging the intracellular mouth of the pore, halting sodium influx. Extracellular electrolyte concentrations modulate every aspect of Nav1.5 gating: [Na+]o changes the ion driving force; [K+]o affects the resting membrane potential and therefore the fraction of Nav1.5 channels in the steady-state inactivated versus available state; [Ca2+]o modulates the voltage sensor gating through surface charge screening effects on the membrane electrostatic field.

Potassium Channels and Repolarization: IKr, IKs, and QT Interval

The QT interval on the surface ECG represents the total duration of ventricular depolarization and repolarization, and it is exquisitely sensitive to the extracellular potassium concentration. The two primary repolarizing currents — IKr (rapid delayed rectifier, carried by KCNH2/hERG channels) and IKs (slow delayed rectifier, carried by KCNQ1/KCNE1 channels) — are both sensitive to [K+]o. IKr (hERG) exhibits paradoxical inward rectification due to rapid inactivation and recovery from inactivation that is faster than deactivation: at low [K+]o, hERG inactivation is enhanced, reducing repolarizing current and prolonging the action potential. This is the primary electrophysiological mechanism of hypokalemia-induced QT prolongation and is the reason that hERG channel blockers (many anti-arrhythmic drugs, antihistamines, antibiotics) are significantly more dangerous in hypokalemic patients — because hypokalemia already reduces the safety margin for IKr-mediated repolarization reserve. Maintaining potassium above 4.0 mEq/L increases IKr conductance through restoration of normal [K+]o-dependent hERG kinetics, providing a direct electrophysiological benefit that reduces drug-induced and genetic QT prolongation risk.

Magnesium as Master Electrolyte Regulator

Magnesium functions as what can be described as a meta-electrolyte: it regulates the activity of other electrolyte transport systems rather than simply carrying charge itself. Na+/K+-ATPase, which maintains the fundamental sodium-potassium gradient in every cell, is a magnesium-dependent enzyme — it requires MgATP as the phosphoryl donor substrate and has an additional regulatory magnesium binding site on its alpha subunit. In magnesium depletion, Na+/K+-ATPase activity falls, cellular potassium retention is impaired, and hypokalemia develops and becomes refractory to potassium replacement until magnesium is first corrected. SERCA (sarco/endoplasmic reticulum Ca2+-ATPase) similarly requires MgATP, meaning that magnesium depletion impairs calcium uptake into the sarcoplasmic reticulum, contributing to calcium handling abnormalities in cardiac myocytes. The NMDA receptor glutamate ion channel has an extracellular magnesium block site: at resting membrane potential, Mg2+ occupies the channel pore, preventing calcium and sodium influx; upon membrane depolarization, the magnesium block is relieved, allowing NMDA receptor activation. This voltage-dependent block is the basis of NMDA receptor coincidence detection (requiring both presynaptic glutamate release and postsynaptic depolarization) essential for long-term potentiation and memory formation, and is disrupted in magnesium deficiency.

Epigenetic Modulation

Electrolytes influence gene expression at multiple levels. Intracellular calcium acts as a second messenger that activates calmodulin-dependent kinases (CaMKII, CaMKIV), which phosphorylate histone H3 at Ser10 and Ser28 — marks associated with transcriptional activation and chromatin condensation during mitosis. CaMKIV directly phosphorylates the CREB transcription factor, driving CREB-dependent gene expression relevant to synaptic plasticity and neuronal survival. Sodium and potassium shifts alter intracellular pH through chloride-bicarbonate exchange and proton transport, and pH is a major modulator of histone acetylation (acetyl-CoA to acetate equilibrium is pH-sensitive) and HDAC enzyme activity. Magnesium is a cofactor required for DNA and RNA polymerases, restriction enzymes, and virtually all reactions involving nucleic acids, including the methylation of CpG sites by DNMT1 (which uses MgSAM-mediated catalysis). Potassium deficiency alters the expression of aldosterone-responsive genes in the kidney, including ENaC (SCNN1A, SCNN1B), ROMK (KCNJ1), and NCC (SLC12A3), through mineralocorticoid receptor-dependent transcriptional programs, while potassium excess suppresses aldosterone through direct inhibition of adrenal CYP11B2 (aldosterone synthase) transcription.

Clinical Evidence

Cardiac Arrhythmia Prevention and Management

The relationship between electrolyte management and cardiac arrhythmia is the most clinically critical electrolyte application. In patients hospitalized with ventricular tachyarrhythmias, hypokalemia (below 3.5 mEq/L) is present in 25 to 35 percent and hypomagnesemia (below 0.75 mmol/L) in 30 to 45 percent, establishing electrolyte imbalance as the most common modifiable precipitant of ventricular arrhythmias in clinical practice. In randomized trials of patients with heart failure taking diuretics, maintaining potassium above 4.0 mEq/L through potassium supplementation significantly reduces the incidence of ventricular ectopy and sudden cardiac death. For drug-induced QT prolongation, observational data from multiple healthcare systems confirm that the combination of QT-prolonging drugs plus hypokalemia increases torsades de pointes risk 3 to 5-fold compared to either factor alone. For SCN5A variant carriers with Brugada syndrome, the electrophysiological evidence base strongly supports maintaining high-normal potassium and avoiding hypokalemia during febrile illness, where Nav1.5 gating is already compromised by temperature-dependent changes in channel kinetics.

Blood Pressure: Sodium, Potassium, and the DASH Diet

The evidence for dietary electrolytes in hypertension management is among the most robust in preventive cardiology. The INTERSALT study across 52 populations established the quantitative relationship between urinary sodium excretion and population blood pressure levels. Individual-level RCTs confirm sodium restriction below 2,300 mg per day reduces systolic blood pressure by 4 to 5 mmHg. Potassium supplementation at 60 to 120 mEq per day reduces systolic blood pressure by 3.5 to 5.3 mmHg and diastolic by 2.0 to 3.5 mmHg in hypertensive individuals (Aburto et al., 2013 BMJ meta-analysis, 22 RCTs). The DASH diet combining high potassium (4,700 mg per day), high calcium (1,300 mg per day), high magnesium (500 mg per day), and low sodium (1,500 to 2,300 mg per day) reduces systolic blood pressure by 8 to 14 mmHg in hypertensive individuals over 4 to 8 weeks — an effect size comparable to a first-line antihypertensive drug. Critically, the 2023 SALT-2 trial (n=20,995) demonstrated that partial sodium-to-potassium replacement using KCl-enriched salt reduced major cardiovascular events by approximately 12 percent, providing the first large-scale evidence that the sodium-potassium balance is a modifiable cardiovascular risk factor in a real-world population.

Athletic Performance and Exercise Hydration

Sodium-containing electrolyte solutions have been consistently superior to plain water for endurance exercise performance in events exceeding 60 to 90 minutes. The American College of Sports Medicine position stand recommends 400 to 1,100 mg sodium per liter in hydration solutions for events exceeding 2 hours, primarily to prevent exercise-associated hyponatremia. A meta-analysis of 16 hydration RCTs (Baker et al., 2016) confirmed that electrolyte-containing solutions produce significantly better sustenance of plasma sodium, reduced muscle cramping, and improved time to exhaustion compared to water alone in prolonged exercise. For strength and power sports, short-duration electrolyte loading before competition does not consistently improve performance but may improve recovery. The current evidence supports sodium replacement matching estimated sweat sodium losses (20 to 100 mEq/L sweat, highly variable between individuals based on acclimatization and genetics) rather than fixed-dose protocols.

Metabolic and Glucose Effects

Hypomagnesemia is the most metabolically consequential electrolyte deficiency in insulin resistance and type 2 diabetes. A meta-analysis of 18 RCTs (Rodriquez-Moran and Guerrero-Romero, 2016, Nutrients) confirmed significant reductions in fasting glucose (-0.56 mmol/L) and HbA1c (-0.32 percent) with magnesium supplementation at 250 to 450 mg per day in diabetic patients with magnesium deficiency. The mechanism is direct: insulin receptor tyrosine kinase requires Mg2+ as a cofactor, intracellular Mg2+ is required for GLUT4 translocation signaling, and glucose-6-phosphatase (hepatic gluconeogenesis enzyme) requires Mg2+ for full activity. Diuretic-induced hypokalemia increases the risk of new-onset diabetes by approximately 30 to 50 percent in prospective cohort studies, through KATP channel dysfunction in pancreatic beta cells impairing glucose-stimulated insulin secretion. Correcting potassium and magnesium is therefore physiologically rational and clinically warranted in patients with insulin resistance or diabetes who are on chronic diuretic therapy.

Dosing Guidance

For cardiac arrhythmia prevention in at-risk patients, target serum potassium above 4.0 mEq/L (often requiring supplemental 40 to 80 mEq potassium per day in patients on diuretics) and serum magnesium above 0.85 mmol/L (requiring magnesium glycinate or citrate 300 to 600 mg elemental per day). Correct magnesium first when treating hypokalemia. For ketogenic diet adaptation, supplement proactively with 2,000 to 3,000 mg sodium per day (added to food or via electrolyte drinks), 1,000 to 3,500 mg potassium per day (potassium chloride or potassium citrate), and 300 to 500 mg magnesium elemental per day (glycinate or malate). For endurance athletes, match sweat sodium losses (estimate 500 to 700 mg per 500 mL sweat) using sodium-containing electrolyte solutions; drink to thirst rather than on a schedule. For blood pressure management, the DASH electrolyte pattern (high potassium, high magnesium, moderate calcium, low sodium) produces the largest blood pressure reduction and is supported by the strongest trial evidence of any dietary intervention for hypertension.

Getting the Most from Electrolytes

Magnesium depletion is the hidden driver of refractory hypokalemia: always correct magnesium first when potassium is low, as Na+/K+-ATPase requires Mg2+ for function and potassium cannot be retained without adequate intracellular magnesium

For individuals with SCN5A variants (Brugada syndrome, LQT3), maintain potassium in the high-normal range (4.0 to 5.0 mEq/L) and avoid fasting or extreme dehydration during febrile illnesses, as electrolyte shifts combined with fever-induced Nav1.5 gating changes can trigger ventricular fibrillation

Choose electrolyte forms wisely: magnesium glycinate or malate for systemic effects; magnesium L-threonate for cognitive applications; calcium citrate for individuals with low stomach acid (PPI users, elderly); potassium citrate specifically for kidney stone prevention

During prolonged endurance exercise (above 90 minutes), sodium-containing electrolyte drinks are superior to water alone for preventing hyponatremia and sustaining performance; the target is approximately 500 to 700 mg sodium per liter

For ketogenic or low-carbohydrate diet adaptation, the "keto flu" is primarily an electrolyte depletion phenomenon; proactive sodium, potassium, and magnesium supplementation in the first 2 to 4 weeks of carbohydrate restriction prevents most of the adaptation symptoms

Serum magnesium is an insensitive marker of total body status: deficiency can be present with normal serum levels; red blood cell magnesium or 24-hour urinary magnesium are more sensitive indicators of functional deficiency

Salt substitutes containing potassium chloride (NoSalt, Nu-Salt) are an effective and economical potassium source for hypertensive patients seeking to reduce sodium while increasing potassium; caution is required in renal impairment or with RAAS-blocking medications

In patients on digoxin, maintaining potassium above 4.0 mEq/L is imperative; digoxin toxicity can be precipitated by hypokalemia even at therapeutic digoxin levels because competition for Na+/K+-ATPase binding is potassium-dependent

Relevant Research Papers

Links go to PubMed (abstracts are public); some papers also offer free full text via PMC or the publisher.

Aburto NJ, Hanson S, Gutierrez H, et al. (2013) BMJ

Systematic review and meta-analysis of 22 RCTs confirming that potassium supplementation at 60 to 120 mEq per day reduces systolic blood pressure by 3.5 mmHg and diastolic by 2.0 mmHg in hypertensive individuals, establishing potassium as the most pharmacologically relevant dietary electrolyte for blood pressure management.

Shy D, Gillet L, Abriel H (2013) Physiological Reviews

Comprehensive review of Nav1.5 (SCN5A) structure, function, and regulation, including the effects of extracellular sodium, potassium, and calcium on channel gating kinetics, establishing the molecular basis for electrolyte-dependent cardiac conduction velocity and arrhythmia risk in SCN5A variant carriers.

Shechter M, Sharir M, Paul Labrador MJ, et al. (2000) Magnesium Research

Clinical evidence review confirming that intravenous magnesium sulfate is the standard first-line treatment for torsades de pointes and that maintaining serum magnesium above 0.85 mmol/L significantly reduces ventricular arrhythmia risk, particularly in patients with concurrent hypokalemia or on QT-prolonging medications.

Appel LJ, Moore TJ, Obarzanek E, et al. (1997) New England Journal of Medicine

Pivotal landmark RCT of the DASH diet demonstrating that a diet rich in potassium, magnesium, and calcium while low in sodium reduces systolic blood pressure by 11.4 mmHg in hypertensive individuals compared to control diet, establishing the physiological rationale for multi-electrolyte dietary management of hypertension.

Baker LB, Barnes KA, Anderson ML, et al. (2016) Journal of Athletic Training

Meta-analysis of 16 RCTs confirming that electrolyte-containing hydration solutions are significantly superior to water alone for sustaining hydration status, time to exhaustion, and reducing muscle cramping in exercise events exceeding 90 minutes, supporting sodium-containing electrolyte supplementation for endurance performance.

Hew-Butler T, Loi V, Pani A, Rosner MH (2017) Clinical Journal of the American Society of Nephrology

Comprehensive review establishing exercise-associated hyponatremia as a water-overload disorder (not sodium depletion) exacerbated by excessive hypotonic fluid intake, with sodium-containing sports drinks and drink-to-thirst strategies as the primary prevention approaches, directly relevant to electrolyte supplementation guidance for endurance athletes.

Gettes LS (1992) American Journal of Cardiology

Electrophysiological analysis establishing that serum potassium below 3.0 mEq/L prolongs QTc by 25 to 35 ms per 0.5 mEq/L decrement and approximately doubles ventricular arrhythmia risk in patients with structural heart disease, providing the quantitative basis for potassium targets in cardiac arrhythmia prevention.

Rodriquez-Moran M, Guerrero-Romero F (2016) Nutrients

Meta-analysis of 18 RCTs confirming that magnesium supplementation at 250 to 450 mg per day significantly reduces fasting glucose (-0.56 mmol/L) and HbA1c (-0.32 percent) in type 2 diabetic patients with magnesium deficiency, establishing magnesium as a metabolically relevant electrolyte beyond its cardiac effects.

Intersalt Cooperative Research Group (1988) BMJ

The landmark INTERSALT epidemiological study across 52 populations worldwide establishing that urinary sodium excretion (as a proxy for intake) is positively associated and urinary potassium excretion is inversely associated with blood pressure, providing the population-level evidence base for sodium reduction and potassium increase as the foundational dietary blood pressure intervention.

Agus ZS (1999) American Journal of Kidney Diseases

Mechanistic review establishing that hypomagnesemia produces refractory hypokalemia by impairing Na+/K+-ATPase function, independently prolongs QT interval through effects on IKr channel kinetics, and represents a prerequisite correction before treating electrolyte-induced cardiac arrhythmias, establishing the clinical priority of magnesium repletion.