Why Do Muscles Cramp? The Exercise-Cramp Audit: Why the Banana, the Salt Tablet and 'Just Drink More' All Fail the File, What Stops a Cramp in Under a Minute, and Why Faster Athletes Cramp More
Every gym has its cramp shrine. The banana on the water bottle, the electrolyte tablet that fizzes, the salt capsule a marathoner swore by, the pickle-juice shot a lineman made famous. When the calf locks mid-set or the quad folds in the last kilometre, the diagnosis arrives instantly and with total confidence: you're dehydrated, you're low on salt, eat a banana. This library has already cross-examined the neighbours — how much water your session actually needs, whether dehydration kills gains, whether lactic acid causes soreness — but never the lock itself. Why do muscles cramp — is your body really running out of salt, and if not, what actually stops one?
The evidence answers in three parts. The chemical story — dehydration, sodium, potassium — has been tested directly and fails every time it's weighed: athletes drained to almost 5% body-mass loss cramp at the same electrical threshold as when hydrated, and Ironman triathletes who cramped had serum electrolytes indistinguishable from matched finishers who didn't. The affirmative file is neural: a cramp is a runaway spinal reflex born in a fatigued muscle, which is why it picks the muscles crossing two joints and the fourth quarter of the race. And the treatment file follows from the mechanism — stretch the cramping muscle and the reflex breaks; shock the mouth with something acrid and the reflex breaks from the other end, roughly 49 seconds faster than water in the laboratory trial that settled it. Every number below comes from an abstract that was read directly and checked against its claim.
The short answer: a tired nerve, not an empty battery
Strip the folklore and a muscle cramp is this: the alpha motor neurons driving a muscle keep firing when they should stop, and no relaxation arrives between commands. The question is what lets that happen. The old answer — the muscle runs dry of water or electrolytes and seizes like an overheated engine — has a specific, checkable shape: crampers should be more dehydrated than non-crampers, lower on sodium or potassium, and restoring fluids or salt should fix and prevent the problem.
Every one of those predictions has been tested, and the tests came back negative. Men pushed to 4.7% body-mass loss — significant to serious dehydration, with 4 grams of sodium gone — cramped at exactly the same threshold frequency as when they arrived hydrated [3]. Ironman triathletes who cramped showed no meaningful serum-electrolyte differences from controls matched on finishing time and body mass [4]. Two hundred ten triathletes prospectively tracked through a full Ironman: crampers and non-crampers lost the same weight, held the same sodium — and the only independent risk factors were racing faster and having cramped before [5]. The review that assembled this file put the scorecard bluntly: the dehydration and electrolyte hypotheses rest on anecdotal observations, case series totalling 18 cases, and a single 10-person case-control study — against four prospective cohort studies that found nothing [2].
What the file supports instead is a reflex failure. In the fatigued muscle, the spindle (the sensor screaming contract) fires harder while the Golgi tendon organ (the sensor saying enough) goes quiet — and the spinal circuit that normally balances them tips into sustained firing [1]. It's a tuning problem, not a fuel problem. Which is why the fixes that work attack the reflex, not the blood.
Where the salt story came from — and what it was standing on
The salt story deserves a fair trial before the verdict, because it wasn't invented from nothing. Cramps cluster in hot races, late in events, in the muscles working hardest — the same places sweat and fatigue both live. Early sports medicine watched coal miners and steelworkers cramp in furnaces, measured salty sweat stains on their shirts, and wrote the diagnosis that stuck for a century: the body loses salt, the muscle loses its mind.
The problem is the evidence underneath never grew past the anecdote. When Schwellnus audited the entire file against evidence-based-medicine criteria, the dehydration and electrolyte hypotheses were supported by clinical impressions, case series adding up to fewer than twenty crampers total, and one small case-control study — while four prospective cohorts, the designs that can actually compare crampers to non-crampers, found no differences in body-weight change or serum sodium, potassium or magnesium [2]. The theory also fails mechanistically in the clinic it was meant to explain: EAMC hits the muscles that worked hardest, not the whole electrolyte-bathed body equally; it eases with stretching in seconds while no fluid or salt reaches tissue that fast; and it predicts that the saltiest sweaters should cramp most, which the cohorts don't show [2].
Meanwhile the rival hypothesis explains precisely the details the salt story waves away: why cramps pick muscles crossing two joints — the calf, the hamstring, the quadriceps — which are the muscles loaded with spindles and worked in shortened positions under fatigue [1]; why the cramping muscle's EMG stays electrically loud between spasms while recovery tracks the quieting of that signal [1][4]; and why the strongest risk factor in every cohort is a history of cramping — a nervous system that has done it once is easier to trip again [5][14].
The dehydration file: five percent lighter, the same threshold
The cleanest experiment in this literature deserves its own paragraph, because it's the one your feed's "hydrate to prevent cramps" advice cannot survive. Braulick and Miller's team took ten unacclimated men and cycled them, alternating limbs and upper-body work every fifteen minutes in 39 °C heat, until they had lost 4.7 ± 0.5% of body mass — 3.9 litres of fluid, 4.0 grams of sodium and 0.6 grams of potassium gone through sweat, an average of 3.8 hours of work [3]. Before and after, they induced and measured cramps in the foot's flexor hallucis brevis with percutaneous nerve stimulation — the cramp threshold frequency, a quantitative dial of cramp susceptibility, with fatigue and intensity controlled.
The dial didn't move: 15 ± 5 Hz hydrated, 13 ± 6 Hz dehydrated (p = 0.12) — nor did cramp intensity or EMG amplitude [3]. Significant to serious dehydration, with moderate electrolyte losses, changes nothing about how easily a muscle cramps. The field study agrees from the other direction: in 210 Ironman triathletes, percentage body-mass loss during the race did not differ between the 43 who cramped and the 166 who didn't [5]. If you are on a fluid plan for training in heat, keep it — the hydration file shows performance itself pays a real price past 2% loss. Just know the plan is buying output, not cramp insurance.
The electrolyte file: bananas, magnesium and the pharmacy
Potassium — the banana defence. The Ironman data handles this one. Sulzer's team matched eleven cramping triathletes with nine controls on finishing time and body mass and drew blood during recovery: post-race sodium was nominally lower in crampers — 140 vs 143 mmol/L, p = 0.01 — but inside the normal clinical range for post-race sodium, and potassium, magnesium, chloride, glucose and haemoconcentration all matched [4]. A difference within the normal band is a difference with no disease story to tell. Notably, the same study found the cramping muscles electrically louder than a control muscle for minutes after the race — high neuromuscular activity, not low electrolytes [4].
Magnesium — the supplement aisle's favourite. The Cochrane review is the sentence no magnesium brand prints. Eleven trials, 735 people; in the idiopathic cramp groups (largely older adults with night cramps), magnesium against placebo produced a −9.59% difference in weekly cramp change (95% CI −23.14 to 3.97), a −0.18 cramps/week difference (−0.84 to 0.49), and a 1.04 relative risk of achieving 25% fewer cramps (0.84–1.29) — all null, all with heterogeneity near zero, at moderate-to-high certainty [6]. If your cramps are exercise-related, the file is even quieter: the trials never supported that use in the first place.
Quinine — what happens when medicine tries harder than the evidence. The one drug that does beat placebo for cramps, and its file is the reason this guide exists. Across 23 trials and 1,586 people, quinine cut cramp number by 28%, cramp days by 20%, intensity by 10% over two weeks — and changed cramp duration not at all, while adding a 3% risk difference in minor adverse events, one trial thrombocytopenia, a documented record of fatal overdoses outside the trials, and regulatory restriction severe enough that several countries pulled it from over-the-counter use [7]. A drug with a real toxicity bill for a 28% reduction in episode count is the pharmacy's confession that the condition is hard to treat from the blood — because the condition isn't in the blood. (The painkiller interactions lifters actually care about live in their own audit.)
Who actually cramps: pace, history, and the fourth quarter
If salt doesn't pick the victims, what does? Two cohorts, one old and one enormous, and they tell one story.
The Ironman cohort prospectively tracked 210 triathletes through a full race with pre- and post-bloods and weights: 43 cramped. The crampers were not the saltier sweaters, the lighter finishers or the sloppier drinkers — they were the faster ones, against their own predicted times, with regression analysis landing on exactly two independent risk factors: faster overall race (and cycling) time, and a history of cramping in the last ten races [5]. Racing faster is racing closer to the ceiling — high-intensity output is fatiguing output, and fatigue is the trigger.
The cycling cohort is the biggest cramp study ever run: 21,460 entrants to the Cape Town Cycle Tour, questionnaire-based, published in 2026. Lifetime prevalence of exercise-associated cramps: 30.51% — nearly a third of a mass-participation field. They hit mainly the quadriceps, and they arrive in the fourth quarter of the race [14]. The independent risk factors read like a fatigue-and-conditioning ledger, not an electrolyte panel: every five additional years riding (PR 1.03), every two additional chronic diseases (PR 1.36), any allergy history (PR 1.18), medication before or during the event (PR 1.41), and a history of acute (PR 1.30) or gradual-onset (PR 1.29) injury [14]. Older engines working long hours with medical baggage and unfinished repairs — the exact profile of a neuromuscular system one hard hill-repeat away from mistuning.
Read those two files together and the practical picture assembles itself. Cramps are a fatigue-threshold event: the muscle that cramps is the one that got the most work at the highest intensity for the longest, in a body whose conditioning (or injuries, or medications, or chronic conditions) set that threshold lower today. That's why they love the last kilometre of the race, the last set of leg day, the calf at 5 a.m. after a hard week — and why the recurring crampers in every cohort are the people who've cramped before [5][14].
What actually stops one: the sixty-second protocol
The mechanism files the treatment directly, and both ends of the reflex are grabbable.
1. Stretch it — gently, and hold. The founding observation of the neural hypothesis was that passive stretching quiets the cramping muscle's EMG via the inverse stretch reflex — the Golgi tendon organ's veto — and clinical recovery tracks that quieting [1]. Twenty-five years later the evidence-based review's acute-care instruction is unchanged: self-applied gentle static stretching until symptoms abate, then address whatever loaded the muscle into that state [13]. Put the muscle on stretch, hold it there, let the sensor do its job. This is also why the folk move of contracting the opposite muscle sometimes helps — it's the other lever on the same reflex circuit.
2. Shock the mouth — the pickle-juice file. The most-cited acute result in this literature is Miller's hypohydration trial: cramps induced by tibial-nerve stimulation in men ~3% dehydrated, then a single mouthful — 1 mL/kg, about 74 mL — of pickle juice or deionized water. Water cramps lasted 133.7 ± 15.9 seconds; pickle-juice cramps lasted 84.6 ± 18.5 — 49.1 seconds shorter [8]. And here is the detail that kills the salt interpretation of the result: plasma composition was unchanged five minutes after either drink [8], with follow-up trials showing no electrolyte or osmolality movement for a full hour after pickle juice, mustard or water — about 1.5 grams of sodium ingested and nothing measurable in the blood, because 80 mL doesn't rehydrate anyone [9][10]. The effect is neural, not nutritional: acrid stimulation of the oropharynx fires a reflex that inhibits the cramping muscle's alpha motor neurons [8] — the same family of sensory trick the TRP-channel literature explores, with all its complexities [15]. A sour or acrid shot — pickle juice, mustard (the packet an American footballer swallows on the sideline [10]) — is a reflex trigger with a delivery vehicle, not a salt supplement. Two honesty tags: these were electrically induced lab cramps, and the trial was small; and the sports-drink version of this does nothing water doesn't [9].
3. Then stop paying the fatigue debt twice. Once the cramp releases, the honest move is the boring one: the muscle hit its threshold for a reason — intensity × duration × condition — and the review's bedside instruction is to identify the individual risk factor that got you there, not to chase sodium for the rest of the afternoon [13]. Downgrade the session, or end it; hydrate for hydration's sake; write the session off as a measurement, not a moral event.
What doesn't prevent them: the counterfile
The prevention aisle is where this market is loudest, and the trials are merciless.
Stretching before exercise does not prevent cramps. Fifteen subjects, randomized crossover, three minutes of static, PNF or nothing: both stretching protocols measurably improved toe-extension range of motion — 80° to 88° static, 81° to 90° PNF — and cramp threshold frequency didn't budge: 18 ± 7 Hz control, 16 ± 5 static, 16 ± 4 PNF (p = 0.37) [11]. More flexible minutes later, exactly as crampable. (What stretching does and doesn't buy you for growth lives in its own audit; what to do about the soreness that isn't cramping lives in the soreness guide.)
Pre-drinking pickle juice does nothing. Nine men, 38 °C heat, incremental treadmill run to exhaustion after 2 mL/kg of pickle juice, hypertonic saline or water: time to exhaustion 77.4 vs 77.4 vs 75.7 minutes — no differences, no thermoregulatory advantage [12]. The reflex trigger works during a cramp [8]; as a prophylactic it's just salty water. Notably, 19% of athletic trainers were still giving it prophylactically when that was measured [12].
"Drink more fluids" as blanket advice fails too — and the field has said so. The 2022 evidence-based review's prevention conclusion is the sentence this whole audit builds to: obtain the history, find the individual risk factors, and individualize — because generalized advice, the review's own example being drink more fluids, does not work [13]. Prevention lives in the risk-factor file: pace honestly for your current conditioning, respect the progressive ramp (progressive overload is the vaccine against the fourth quarter), don't race the last kilometre of a distance you last touched months ago, and treat the injuries and conditions that lower your threshold [13][14]. And if you cramp? Your history of cramping is itself the strongest flag you carry into the next event [5] — train the distance down before you race the intensity up.
The night-calf footnote
The 5 a.m. calf lock is the same reflex on a quieter trigger — a fatigued or shortened muscle overnight — but the research file for nocturnal cramps is its own literature, and it's mostly the nulls you've already met: magnesium's Cochrane verdict is built largely on older adults with night cramps, and it's null at moderate-to-high certainty [6]; quinine outperformed placebo modestly and lost its licence to toxicity [7]; the sensible acute move is the one you already know — get the muscle on stretch and let the inverse reflex break it [1]. The red-flag line belongs here too: cramps that come with weakness, sensory loss or swelling, cramps that started with a new medication (the cycling cohort's PR 1.41 for medication use is a flag, not a diagnosis [14]), or cramps severe enough to damage muscle are a conversation for a doctor — the same boundary this library draws for training while sick and for fatigue that isn't recovering.
How RightRep fits into this
The cramp file's one actionable variable — fatigue at high output — is measurable, and measurability is the whole game:
- The fourth quarter shows up in your rep quality first. The same fatigue that mistunes the spinal reflex shows up earlier as form decay — shallower depth, slower tempo, left-right symmetry slipping. A form check on every working set turns "I felt flat" into "my scores fell off after set four" — the fatigue curve you can actually train against, session by session.
- The rep score is your conditioning gauge. Cramp risk is a threshold problem: output × duration versus conditioning. A logged score on the same lifts, week over week, is the cheapest early-warning system for a threshold that's drifting down — the overreached week, the under-slept month — long before the calf files the complaint mid-set.
- The ramp is the vaccine. The cohorts finger unconditioned distance and resumed-too-fast intensity [5][14]. A camera and progressive overload — same movement, honestly graded, tracked — is the training-side answer to a risk-factor file that no supplement touches.
The bottom line
Why do muscles cramp? Not because the battery ran dry: dehydration to 4.7% body mass doesn't move cramp threshold [3], Ironman crampers' electrolytes match their controls' [4], and the salt hypotheses stand on 18 cases and one 10-person study against four refuting cohorts [2]. A cramp is a fatigued spinal reflex — spindles up, Golgi organs down, alpha motor neurons stuck on [1] — which is why it takes two-joint muscles in the race's fourth quarter [1][14], why faster racers and repeat crampers are the victims [5], and why 30.51% of 21,460 cyclists have met it [14]. The acute fix costs nothing: stretch gently until it abates [1][13], and a sour shot — pickle juice or mustard — cut lab cramps 49.1 seconds versus water with zero change in plasma, a mouth-triggered reflex and not a salt resupply [8][9][10]. Prevention is a conditioning problem, not a supplement one: pre-exercise stretching doesn't lower susceptibility [11], pre-loaded pickle juice doesn't extend time to exhaustion [12], magnesium is null [6], quinine's 28% came with a toxicity bill that got it restricted [7], and the field's own conclusion is individualized risk-factor management over "drink more" [13]. Build the ramp, respect the pace, watch the fatigue curve — and start at rightrep.app, where the camera counts the rep your fatigue tried to hide.
This post was written by the RightRep AI Assistant — the same AI that counts and scores your reps at rightrep.app.
Sources
- Schwellnus MP, Derman EW, Noakes TD. Aetiology of skeletal muscle 'cramps' during exercise: a novel hypothesis. Journal of Sports Sciences, 1997;15(3):277–285. pubmed.ncbi.nlm.nih.gov
- Schwellnus MP. Cause of exercise associated muscle cramps (EAMC) — altered neuromuscular control, dehydration or electrolyte depletion? British Journal of Sports Medicine, 2009;43(6):401–408. pubmed.ncbi.nlm.nih.gov
- Braulick KW, Miller KC, Albrecht JM, Tucker JM, Deal JE. Significant and serious dehydration does not affect skeletal muscle cramp threshold frequency. British Journal of Sports Medicine, 2013;47(11):710–714. pubmed.ncbi.nlm.nih.gov
- Sulzer NU, Schwellnus MP, Noakes TD. Serum electrolytes in Ironman triathletes with exercise-associated muscle cramping. Medicine and Science in Sports and Exercise, 2005;37(7):1081–1085. pubmed.ncbi.nlm.nih.gov
- Schwellnus MP, Drew N, Collins M. 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, 2011;45(8):650–656. pubmed.ncbi.nlm.nih.gov
- Garrison SR, Korownyk CS, Kolber MR, Allan GM, Musini VM, Sekhon RK, Dugré N. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020;9:CD009402. pubmed.ncbi.nlm.nih.gov
- El-Tawil S, Al Musa T, Valli H, Lunn MP, Brassington R, El-Tawil T, Weber M. Quinine for muscle cramps. Cochrane Database of Systematic Reviews, 2015;4:CD005044. pubmed.ncbi.nlm.nih.gov
- Miller KC, Mack GW, Knight KL, Hopkins JT, Draper DO, Fields PJ, Hunter I. Reflex inhibition of electrically induced muscle cramps in hypohydrated humans. Medicine and Science in Sports and Exercise, 2010;42(5):953–961. pubmed.ncbi.nlm.nih.gov
- Miller KC, Mack G, Knight KL. Electrolyte and plasma changes after ingestion of pickle juice, water, and a common carbohydrate-electrolyte solution. Journal of Athletic Training, 2009;44(5):454–461. pubmed.ncbi.nlm.nih.gov
- Miller KC. Electrolyte and plasma responses after pickle juice, mustard, and deionized water ingestion in dehydrated humans. Journal of Athletic Training, 2014;49(3):360–367. pubmed.ncbi.nlm.nih.gov
- Miller KC, Harsen JD, Long BC. Prophylactic stretching does not reduce cramp susceptibility. Muscle and Nerve, 2018;57(3):473–477. pubmed.ncbi.nlm.nih.gov
- Peikert J, Miller KC, Albrecht J, Tucker J, Deal J. Pre-exercise ingestion of pickle juice, hypertonic saline, or water and aerobic performance and thermoregulation. Journal of Athletic Training, 2014;49(2):204–209. pubmed.ncbi.nlm.nih.gov
- Miller KC, McDermott BP, Yeargin SW, Fiol A, Schwellnus MP. An Evidence-Based Review of the Pathophysiology, Treatment, and Prevention of Exercise-Associated Muscle Cramps. Journal of Athletic Training, 2022;57(1):5–15. pubmed.ncbi.nlm.nih.gov
- Pohl C, Schwellnus M, Sewry N, Boer P, Jordaan E, Viljoen C. Independent risk factors associated with a history of exercise associated muscle cramps (EAMC) among 21460 cycling race entrants (SAFER XXXVI): a descriptive cross-sectional study. Brazilian Journal of Physical Therapy, 2026;30(2):101559. pubmed.ncbi.nlm.nih.gov
- Schwellnus MP, Hoffman MD. Transient receptor potential channels and exercise-associated muscle cramping: a tale of multiple complexities. Muscle and Nerve, 2017;56(3):355–357. pubmed.ncbi.nlm.nih.gov