Allure+

« Muscle cramps during exercise come from a lack of sodium and other electrolytes. »

It's often said that…

Muscle cramps during exercise come from a lack of sodium and other electrolytes.

In reality…

The electrolyte-depletion theory has weakened as evidence accumulated against it: cramping athletes often show blood electrolyte levels no different from non-cramping athletes in the same race, and cramps can be triggered locally, in a specific overworked muscle, rather than throughout the body as a systemic electrolyte deficit would predict. The alternative explanation, altered neuromuscular control, proposes that fatigue and sustained high-intensity contraction disturb the normal balance between excitatory signals from muscle spindles and inhibitory signals from Golgi tendon organs, producing sustained, involuntary firing in an overloaded muscle — matching how cramps concentrate in the muscles doing the most work, and why they can be relieved quickly by stretching, which resets that reflex loop, well before any ingested electrolyte could possibly have been absorbed. Electrolyte replacement still matters for long, hot efforts with heavy sweat losses — it just isn't the explanation for the cramp itself.

Debated

Openly debated in the literature — sometimes by the very authors of the model.

Sources
Schwellnus M.P. (2009). Cause of exercise associated muscle cramps (EAMC) — altered neuromuscular control, dehydration or electrolyte depletion?. British Journal of Sports Medicine, 43(6), 401–408. doi:10.1136/bjsm.2008.050401