⚠ Evidence warning: Clinical trials or other evidence do not support the claim that nocturnal leg cramps respond better to magnesium repletion than to potassium. This page keeps it as a report of what people, websites or other media say.

Potassium for Muscle Function

Muscle Function — scientific infographic poster

Skeletal muscle contains roughly 70% of the body's total potassium — a staggering 2,800–3,000 mEq stored inside muscle fibers at a concentration approximately 35× the extracellular level. Every voluntary contraction depends on a precise dance between sodium flooding in and potassium flooding out, governed by voltage-gated channels and reset between contractions by the Na+/K+-ATPase pump that consumes roughly 20% of resting energy expenditure in muscle. Hypokalemia produces a textbook progression from leg cramps and weakness through flaccid paralysis and rhabdomyolysis; hyperkalemia produces paresthesias and ascending paralysis with cardiac arrhythmia as the lethal complication. Exercise itself releases potassium from contracting fibers fast enough to transiently elevate plasma K+ to 6–8 mEq/L during maximal effort, figures a 2024 historical review of the field also gives. This page maps the molecular machinery, the clinical syndromes at both extremes, the specific cramp and weakness presentations of common potassium-wasting conditions, the exercise-and-recovery cycle, and the dangerous refeeding hypokalemia that kills underweight patients restarted on carbohydrate too aggressively.


🔃 Interactive Visualization The Sodium–Potassium Pump — why you have a voltage Run the pump that gives every cell its charge — three sodium out, two potassium in, on Mg-ATP — then drop the magnesium and see exactly why low potassium refuses to correct. Launch →

Table of Contents

  1. The Na+/K+-ATPase Pump and Resting Potential
  2. Skeletal Muscle Action Potential
  3. Hypokalemic Weakness, Cramps, and Paralysis
  4. Hyperkalemic Paralysis and Paresthesias
  5. Exercise-Induced Potassium Shifts
  6. Leg Cramps and Nocturnal Spasms
  7. Hypokalemic and Hyperkalemic Periodic Paralysis
  8. Dietary Potassium for Athletes
  9. Refeeding Hypokalemia
  10. Smooth Muscle and the Gastrointestinal Tract
  11. Key Research Papers
  12. Connections
  13. Featured Videos

The Na+/K+-ATPase Pump and Resting Potential

Every skeletal muscle fiber maintains a steep electrochemical gradient: intracellular potassium sits at approximately 140–150 mEq/L while the extracellular fluid carries only 3.5–5.0 mEq/L. Inverted relative to that, intracellular sodium is approximately 10 mEq/L against an extracellular concentration of 140 mEq/L. This 35× potassium gradient and 14× sodium gradient are established and maintained by the sodium-potassium ATPase pump (Na+/K+-ATPase), a membrane-spanning enzyme that for every one molecule of adenosine triphosphate (ATP) hydrolyzed transports three sodium ions out of the fiber and two potassium ions in.

The energy cost is enormous. In resting skeletal muscle the Na+/K+-ATPase is said to account for approximately 20% of resting energy expenditure, and during intense exercise that figure is said to climb to 30% or more as the pump works overtime to restore the sodium and potassium displacements caused by each action potential; this page could not trace those two figures to a source. Across the whole body, a 1997 review estimates that about 80% of the oxygen used by mitochondria at rest is coupled to making adenosine triphosphate (ATP), and that the pump takes 19–28% of that coupled share — a substantial fraction of why warm-blooded mammals require so much food.

The pump establishes the resting membrane potential of approximately −90 mV in skeletal muscle fibers, driven primarily by the potassium gradient through potassium-selective leak channels that allow potassium to slowly diffuse out of the cell down its concentration gradient. The Nernst equation predicts that with normal intracellular and extracellular potassium concentrations, the equilibrium potential for K+ should be approximately −94 mV; the actual resting potential is slightly less negative due to small contributions from sodium and chloride permeability. This polarized resting state is what allows the fiber to fire an action potential the moment a motor neuron releases acetylcholine at the neuromuscular junction.

Back to Table of Contents

Skeletal Muscle Action Potential

When acetylcholine binds the nicotinic receptors at the neuromuscular junction, sodium rushes through the receptor channel and depolarizes the post-junctional membrane to threshold. Voltage-gated sodium channels (Nav1.4 in skeletal muscle) snap open, producing a rapid depolarization spike to approximately +40 mV. Within 1–2 milliseconds the sodium channels inactivate and voltage-gated potassium channels open, allowing potassium to flow out of the fiber down its concentration gradient. This potassium efflux drives the membrane potential back toward the resting value — repolarization — resetting the fiber for the next action potential.

Each action potential displaces a small but measurable amount of potassium from inside the fiber to the extracellular fluid. During sustained contractions or repeated firing, this potassium loss accumulates. The local extracellular potassium concentration in the T-tubule system (the invagination of the surface membrane that delivers depolarization into the muscle fiber interior) can rise to 10–15 mEq/L during intense activity — high enough to depolarize the resting potential and slow further sodium channel availability. This is one of the cellular mechanisms underlying muscle fatigue during high-intensity exercise.

Recovery requires the Na+/K+-ATPase pump to actively transport accumulated extracellular potassium back into the fiber while pushing out the sodium that entered during depolarization. The pump's activity is stimulated by both elevated intracellular sodium (its substrate) and by hormonal signals including insulin and catecholamines, which is why the muscular weakness of hypokalemia is reversed within minutes of intravenous potassium administration but only if the pump itself is functioning normally.

Back to Table of Contents

Hypokalemic Weakness, Cramps, and Paralysis

Hypokalemia (serum potassium <3.5 mEq/L) produces a remarkably stereotyped clinical syndrome in skeletal muscle. The presentation progresses with worsening severity:

The paradox of hypokalemic weakness is that the resting membrane potential becomes more negative (hyperpolarized) by the Nernst equation, yet sodium channels become functionally less available. The mechanism is that potassium itself regulates sodium channel availability through processes including slow inactivation gating — severe hypokalemia leaves sodium channels in a state where they cannot recover normal availability. Action potential propagation slows, the safety factor for neuromuscular transmission falls, and the fiber simply fails to contract on command.

In hypokalemic periodic paralysis the fiber can go the other way. A 2018 expert review describes a leak current through the faulty channel that makes fibers prone to “paradoxical depolarization” when potassium is low, so the fiber ends up less negative, not more, and a 2025 study describes attacks of weakness as “precipitated by depolarization of muscle.” A fiber that stays depolarized switches its sodium channels off and stops responding to the nerve signal.

Common causes of hypokalemia producing muscle symptoms include thiazide and loop diuretic therapy, chronic vomiting or diarrhea, hyperaldosteronism (Conn's syndrome, Cushing's syndrome, licorice ingestion), magnesium depletion (which prevents the kidney from conserving potassium even in the face of low serum levels), and the surreptitious laxative or diuretic abuse seen in some eating disorders.

Back to Table of Contents

Hyperkalemic Paralysis and Paresthesias

Hyperkalemia (serum potassium >5.0 mEq/L) produces a partly opposite muscle syndrome. Mild elevation initially increases nerve and muscle excitability because the resting membrane is partially depolarized closer to threshold, which can produce paresthesias (tingling, numbness), muscle twitches, and increased deep tendon reflexes. As potassium rises further the partial depolarization persists long enough to inactivate sodium channels, dropping the safety factor for action potential propagation and producing a weakness progressing to paralysis qualitatively similar to severe hypokalemic paralysis.

The clinical importance of recognizing hyperkalemic muscle symptoms early is that the same intervention (calcium gluconate to stabilize the membrane, insulin and glucose to shift potassium into cells, definitive removal of potassium from the body) addresses both the muscle and the cardiac toxicity. Common causes include renal failure (especially with concurrent angiotensin-converting enzyme inhibitor (ACE inhibitor), angiotensin receptor blocker (ARB), or potassium-sparing diuretic use), rhabdomyolysis (releasing intracellular potassium into the circulation), severe tissue trauma or burns, and tumor lysis syndrome.

Back to Table of Contents

Exercise-Induced Potassium Shifts

The most counterintuitive feature of muscle potassium handling is that intense exercise produces transient, sometimes substantial, hyperkalemia — not hypokalemia as one might expect from a "depleting" activity. Measurements in human volunteers show that plasma potassium routinely rises to 6–8 mEq/L during maximal effort, returning to baseline within minutes of cessation.

A 2024 historical review (McKenna and colleagues) gives the numbers for intense exercise in humans: potassium inside the muscle cell falls by 21 mM (range 13 to 39), potassium in the fluid between the fibers rises to 12–13 mM, and plasma potassium rises to 6–8 mM, then falls rapidly afterward as the pump catches up. The same review notes that the older studies largely excluded women and used very small samples.

The mechanism is straightforward: every action potential in a contracting fiber releases potassium into the interstitial space, where it diffuses into the circulation. With many fibers firing many times per second across many large muscle groups during whole-body exercise, the cumulative potassium efflux is enormous — on the order of milliequivalents per minute. The Na+/K+-ATPase pump is being driven hard by both elevated intracellular sodium and by exercise-induced catecholamine release, but it cannot reabsorb potassium faster than active contraction is releasing it.

This exercise hyperkalemia has several physiological consequences:

These measurements show that exercise potassium dynamics are completely different from the slow, hormone-mediated potassium balance of resting metabolism — a key insight that informs modern exercise physiology and the management of athletes with potassium-related cardiac risk.

Back to Table of Contents

Leg Cramps and Nocturnal Spasms

The garden-variety leg cramp — a sudden, painful, involuntary contraction usually in the calf, often at night, lasting seconds to minutes — is commonly attributed to potassium deficiency in popular health writing. The clinical reality is more nuanced. Nocturnal leg cramps in healthy adults are most often associated with one of the following:

For most healthy adults with nocturnal cramps, the approach usually described is: (1) checking magnesium status, (2) adequate hydration, (3) more potassium from whole foods (see the Rich-Foods page), (4) stretching the affected muscle before bed. Routine potassium supplementation is rarely the answer and can produce hyperkalemia in older adults with reduced renal reserve or those on RAAS-blocking medications.

A 2026 randomized trial in Finland enrolled 121 people aged 50–85 who had at least two leg cramps a week. They used knee-high compression stockings, magnesium or placebo pills daily for 4 weeks. At week 8 the median was 2 cramps a week with stockings and 3 with placebo; after adjusting for baseline, stockings cut cramps by 1.43 a week more than placebo (P=.001). Four people stopped wearing the stockings because of adverse reactions, and no serious adverse events were reported.

Exercise-associated cramping — the calf or hamstring cramp that strikes a runner mid-race or a basketball player in the fourth quarter — is a separate syndrome whose dominant mechanism is now believed to be altered neuromuscular control (Schwellnus' "altered neuromuscular control" hypothesis) rather than electrolyte depletion. The traditional electrolyte-replacement-only approach addresses one of several contributing factors but not the dominant mechanism in most athletes. In a study of 210 Ironman triathletes, 43 cramped; their blood electrolyte and body-weight changes did not differ from the non-crampers, and faster race time and a history of cramps were the only two independent risk factors.

Back to Table of Contents

Hypokalemic and Hyperkalemic Periodic Paralysis

The periodic paralysis syndromes are a family of rare inherited disorders in which a defect in a muscle ion channel produces intermittent attacks of flaccid weakness or paralysis triggered by shifts in plasma potassium. They are genetically distinct conditions that share an electrophysiological theme:

Dichlorphenamide was tested in two randomized, double-blind, placebo-controlled trials lasting 9 weeks, in 44 people with the low-potassium form and 21 with the high-potassium form. Median attacks per week were 0.3 on the drug and 2.4 on placebo in the low-potassium form (p=0.02), and 0.9 and 4.8 in the high-potassium form, a difference that was not statistically significant (p=0.10). Muscle strength and mass did not change. Tingling (47% vs 14%) and confusion (19% vs 7%) were the most common side effects.

The 2018 expert review adds a safety fact: total body potassium is not depleted in hypokalemic periodic paralysis, because the potassium has only shifted from the blood into the muscle, and the review advises caution with acute potassium doses “to avoid overshoot.”

These are rare conditions but worth recognizing because of the unique trigger pattern and because the inappropriate intervention can worsen attacks (giving potassium during a HyperKPP attack, or giving glucose-insulin during a HypoKPP attack).

Back to Table of Contents

Dietary Potassium for Athletes

The athletic population has somewhat different potassium considerations than the general population, but the key insight is that the body's potassium homeostasis is robust enough that well-fed athletes very rarely become hypokalemic from exercise alone. The dominant risk factors for athletic hypokalemia are concurrent issues — eating disorders, diuretic abuse for "making weight" in combat sports or rowing, severe rapid weight cuts, gastroenteritis combined with continued training, or the rare misuse of beta-agonist asthma medications (which drive potassium into cells).

For routine training and recovery, sports-nutrition writing describes the following:

The exception is the athlete with a separately diagnosed potassium-wasting condition (Gitelman syndrome, Bartter syndrome, primary hyperaldosteronism) for whom training amplifies the underlying renal potassium losses and supplementation is genuinely needed.

Back to Table of Contents

Refeeding Hypokalemia

One of the most dangerous and under-recognized clinical scenarios involving potassium and muscle is refeeding syndrome, which can kill underweight or chronically malnourished patients when carbohydrates are reintroduced too aggressively. The mechanism involves potassium, phosphate, magnesium, and thiamine all simultaneously, but the potassium component is responsible for much of the cardiac and muscle morbidity.

In starvation, the body adapts to use fat and protein as fuel, depleting intracellular phosphate, magnesium, and potassium stores even while serum concentrations may appear normal due to renal conservation and shifts from intracellular pools. The reintroduction of carbohydrate triggers a surge of insulin release. Insulin drives glucose into cells, and along with the glucose, it drives potassium, phosphate, and magnesium into cells via the Na+/K+-ATPase pump and through phosphorylation of glycolytic intermediates. Serum potassium can drop precipitously from a borderline-normal baseline to dangerous levels within hours.

The clinical presentation includes:

Populations at highest risk: patients hospitalized after prolonged starvation (anorexia nervosa, severe alcohol use disorder, prolonged NPO status in critical illness, prisoner-of-war survivors), patients on prolonged total parenteral nutrition started too fast, and the elderly post-surgical patient who has been hospitalized for a week without adequate nutrition then started on enteral feeds aggressively.

The clinical management is conservative reintroduction of nutrition (start at 5–10 kcal/kg/day for the highest-risk patients and advance over a week), pre-emptive thiamine before any carbohydrate, daily monitoring and pre-emptive replacement of potassium, phosphate, and magnesium during the first 5–7 days, and continuous cardiac monitoring for those with serum potassium below 3.0 mEq/L. The NICE refeeding syndrome guidelines and the more recent American Society for Parenteral and Enteral Nutrition (ASPEN) consensus recommendations provide the operational framework most hospitals follow.

The 2020 ASPEN document defines refeeding syndrome by a fall in blood phosphorus, potassium or magnesium within 5 days of restarting calories: a 10–20% fall is mild, 20–30% moderate, and over 30%, or organ damage from such a fall or from thiamin deficiency, severe.

Back to Table of Contents

Smooth Muscle and the Gastrointestinal Tract

The same potassium principles that govern skeletal muscle apply, with modifications, to smooth muscle throughout the body. Smooth muscle resting membrane potentials are typically less negative (−55 to −60 mV) than skeletal muscle, and contraction is governed by complex interactions between voltage-gated calcium channels, calcium-activated potassium channels, and second-messenger systems. The most clinically visible consequences of potassium disturbance in smooth muscle are gastrointestinal:

Back to Table of Contents

Key Research Papers

  1. McKenna MJ, Renaud JM, Ørtenblad N, Overgaard K (2024). A century of exercise physiology: effects of muscle contraction and exercise on skeletal muscle Na+,K+-ATPase, Na+ and K+ ions, and on plasma K+ concentration — historical developments. European Journal of Applied Physiology;124(3):681-751. — PubMed PMID: 38206444
  2. Adolph EF, Brown AH, Goddard DR, et al. (1947). Physiology of man in the desert. Interscience Publishers, New York.
  3. Clausen T (2003). Na+-K+ pump regulation and skeletal muscle contractility. Physiological Reviews;83(4):1269-1324. — doi:10.1152/physrev.00011.2003
  4. Lindinger MI, Sjøgaard G (1991). Potassium regulation during exercise and recovery. Sports Medicine;11(6):382-401. — PubMed PMID: 1656509
  5. Sejersted OM, Sjøgaard G (2000). Dynamics and consequences of potassium shifts in skeletal muscle and heart during exercise. Physiological Reviews;80(4):1411-1481. — doi:10.1152/physrev.2000.80.4.1411
  6. Cannon SC (2010). Voltage-sensor mutations in channelopathies of skeletal muscle. Journal of Physiology;588(11):1887-1895. — doi:10.1113/jphysiol.2010.186874
  7. Schwellnus MP, Drew N, Collins M (2008). Muscle cramping in athletes — risk factors, clinical assessment, and management. Clinics in Sports Medicine;27(1):183-194. — PubMed PMID: 18206574
  8. Mehler PS, Brown C (2015). Anorexia nervosa — medical complications. Journal of Eating Disorders;3:11. — doi:10.1186/s40337-015-0040-8
  9. Crook MA, Hally V, Panteli JV (2001). The importance of the refeeding syndrome. Nutrition;17(7-8):632-637. — doi:10.1016/S0899-9007(01)00542-1
  10. Mehanna HM, Moledina J, Travis J (2008). Refeeding syndrome: what it is, and how to prevent and treat it. BMJ;336(7659):1495-1498. — doi:10.1136/bmj.a301
  11. Statland JM, Fontaine B, Hanna MG, et al. (2018). Review of the diagnosis and treatment of periodic paralysis. Muscle & Nerve;57(4):522-530. — doi:10.1002/mus.26009
  12. Maughan RJ, Shirreffs SM (2019). Muscle cramping during exercise: causes, solutions, and questions remaining. Sports Medicine;49(Suppl 2):115-124. — doi:10.1007/s40279-019-01162-1
  13. Shahzad T, Murray A (2026). Severe hypokalemia with rhabdomyolysis — a case report. Clinical Case Reports;14(9):e73527. — PubMed PMID: 42757188
  14. Rolfe DF, Brown GC (1997). Cellular energy utilization and molecular origin of standard metabolic rate in mammals. Physiological Reviews;77(3):731-758. — PubMed PMID: 9234964
  15. da Silva JSV, Seres DS, Sabino K, et al. (2020). ASPEN consensus recommendations for refeeding syndrome. Nutrition in Clinical Practice;35(2):178-195. — PubMed PMID: 32115791
  16. Sansone VA, Burge J, McDermott MP, et al. (2016). Randomized, placebo-controlled trials of dichlorphenamide in periodic paralysis. Neurology;86(15):1408-1416. — PubMed PMID: 26865514
  17. Foy BD, Dupont C, Walker PV 2nd, et al. (2025). Mechanisms underlying the distinct K+ dependencies of periodic paralysis. Journal of General Physiology;157(3):e202413610. — PubMed PMID: 39903205
  18. Kuusipalo A, Laitila J, Lehtonen E, et al. (2026). Secondary prevention of leg cramps using compression stockings or magnesium supplements: a three-arm randomized clinical trial. Trials;27(1):216. — PubMed PMID: 41680812
  19. Schwellnus MP, Drew N, Collins M (2011). Increased running speed and previous cramps rather than dehydration or serum sodium changes predict exercise-associated muscle cramping: a prospective cohort study in 210 Ironman triathletes. British Journal of Sports Medicine;45(8):650-656. — PubMed PMID: 21148567

PubMed Topic Searches

  1. PubMed: Na/K-ATPase in skeletal muscle and exercise
  2. PubMed: Hypokalemic periodic paralysis (CACNA1S)
  3. PubMed: Hyperkalemic periodic paralysis (SCN4A)
  4. PubMed: Refeeding syndrome hypokalemia
  5. PubMed: Exercise-associated muscle cramps and electrolytes

Back to Table of Contents

Connections

Back to Table of Contents