Walk down the beverage aisle of any supermarket, and you'll see it: a wall of neon bottles, turquoise, magenta, electric yellow, each one designed for someone crossing a finish line. Yet you’re just as likely to have come from your car, not a run. The ads are for athletes, but the body doesn’t make that distinction.
Sodium, potassium, calcium, magnesium, and chloride are the ions your cells rely on to generate electrical signals, contract muscles, and move fluid in and out of tissues. Without them, the nervous system can't fire, the heart can't keep rhythm, and the kidneys can't regulate volume. The story we've inherited from sports advertising says electrolytes are niche athletic fuel. The story physiology tells is less glamorous and more universal: small, sustained imbalances are common in sedentary adults, older adults, dieters, and people on routine medications [1]. Let's walk through where they actually matter most.
How the body runs on ions
Every cell in your body maintains a small voltage across its membrane by pumping sodium out and potassium in. When a neuron fires or a muscle contracts, what actually moves is ions, not water. Water is the medium, and the signal is electrical. The body defends these concentrations narrowly, which is why even small, sustained drifts matter. With that foundation set, the tour begins.
First stop: The nervous system and why sodium runs your brain
Sodium opens the gate on every nerve impulse. When sodium channels open, the neuron depolarizes. Potassium then restores the resting state. So when blood sodium drifts downward, even modestly, the brain notices first.
Research shows that low blood sodium is the most common electrolyte disturbance seen in everyday clinical practice, and rates rise sharply with age [1]. It's usually mild and chronic, but mild is not harmless: it has been linked to falls, gait instability, attention lapses, and cognitive slowing, the kinds of symptoms easy to write off as "just getting older" [1].
Hydration plays a role here too, with nuance. A study showed that once fluid losses pass roughly 2 percent of body weight, attention, executive function, and motor coordination all take measurable hits [2]. Newer research in middle-aged and older adults who simply drink less water than they should has linked that habit to weaker sustained attention [3], the same kind of focus you lean on during a long meeting or a drive home. In controlled trials, even a 1 to 1.5 percent drop in body water was enough to raise fatigue, tension, and the sense that ordinary tasks felt harder [2]. None of that requires exercise. A warm office, a skipped glass of water, and a few hours will do it.
Beyond the biochemistry, the practical implication is that the brain is a high-maintenance organ, electrically speaking, and subtle shifts in what you eat, drink, or take as medication can show up in how well it performs on any given afternoon. That headache you blame on screen time, the 3 PM energy dip you blame on lunch, the foggy half-hour after a morning of meetings: these can all have a partial electrolyte component.
Second stop: Muscles, cramps, and the magnesium myth
Muscle contraction is a choreography of four ions: calcium triggers the actin-myosin bridge, and magnesium helps it release. Potassium and sodium reset the cell's electrical charge for the next contraction. Any of these out of balance, and the choreography stumbles.
This is the corner of the wellness market most eager to sell solutions, especially for cramps. It is also where the evidence is most humbling. When researchers reviewed the available randomized trials, they concluded that magnesium supplements do not meaningfully reduce everyday leg cramps in older adults, with conflicting or insufficient evidence for pregnancy-related or exercise-related cramps [4]. A more recent analysis looking specifically at nocturnal leg cramps reached the same conclusion: no meaningful reduction in cramp frequency compared with placebo [5]. The most consistent effect reported was gastrointestinal upset.
That doesn't mean magnesium is unimportant. It participates in hundreds of enzymatic reactions, and a real deficiency compromises neuromuscular function. It means the idea that cramps always equal magnesium deficiency is, for most people, not supported by the evidence. The more interesting question is upstream: why is the cramp happening? Common medications such as thiazide diuretics, statins, and some antidepressants, along with subclinical dehydration, prolonged immobility, and age-related nerve changes, are more likely drivers than a dietary magnesium gap [1,4]. Muscles, like neurons, are supported best by balance, not by loading a single mineral.
It's worth sitting with this because "take magnesium for cramps" has been repeated so often it now feels like common sense. When the trials consistently don't back the assumption, the assumption has to give. For most people with cramps, the next most useful step is a conversation with a clinician who can look at medications, hydration, and other actual drivers.
Third stop: What daily hydration actually looks like
Most people live here, and this is where the most useful reframing happens. The old "eight glasses of water a day" prescription treats hydration as a volume problem. Physiology treats it as a composition problem. Drinking plain water without attention to electrolytes can, paradoxically, set the stage for a rare but real condition called exercise-associated hyponatremia, in which overhydrated endurance athletes dilute their own blood sodium. Reported rates run in the single digits to mid-teens in marathon runners and considerably higher in ultra-distance events [6]. More relevant to the non-athlete: thirst itself is an imperfect signal, and it becomes less reliable with age.
Research shows that older adults need a stronger physiological trigger before thirst kicks in, and they drink less after fluid loss than younger adults do [7]. Combine that with medications that increase fluid or sodium loss, and you have a population at chronic risk of low-grade dehydration, linked in observational studies to worse cognitive performance, longer hospital stays, and higher rates of hospitalization [7]. Beyond older adults, quiet shifts in electrolyte balance show up in several everyday groups: people on low-carb or fasting diets (which flush sodium early on), heavy coffee drinkers, those taking antidepressants, diuretics, or proton pump inhibitors (like omeprazole), and anyone sweating hard in a warm climate without replacing salt. For most of these groups, water alone won't solve the problem. The fluid has to arrive with the minerals that direct it into the right compartments.
Daily hydration is also shaped by what's on the plate. The ratio of sodium to potassium may matter more than the absolute amount of either. A large international study found that the lowest risk of death and major cardiovascular events occurred in people with moderate sodium intake paired with higher potassium intake. Higher potassium actually softened the cardiovascular risk linked to higher sodium [8]. A more recent study confirmed the same pattern: higher sodium-to-potassium ratios tracked with higher cardiovascular risk in an almost linear fashion [9]. In plain terms, most adults benefit less from chasing "electrolyte replacement" drinks than from eating the potassium-rich foods, beans, leafy greens, potatoes, bananas, and yogurt that traditional diets supplied in abundance and modern ones often don't.
Four practical moves to try this week
If you want to turn this science into something you can actually do, a few adjustments tend to outperform any bottle on the wellness shelf:
-
Rebuild your plate around potassium-rich whole foods. Leafy greens, beans, potatoes, avocado, and plain yogurt deliver potassium, magnesium, and calcium in the ratios the body evolved to expect, alongside cofactors that isolated supplements can't replicate.
-
Check your real hydration baseline. Pay attention to urine color in the early afternoon rather than first thing in the morning. Pale straw usually signals adequate hydration. Consistently dark yellow is a nudge to drink earlier in the day, not later.
-
Don't mistake persistent fatigue, brain fog, or sluggish focus for simple tiredness. These are often downstream signals that the body's electrical foundations, hydration, electrolytes, glucose, and sleep have drifted out of sync. Address the foundation before reaching for stimulants.
-
If you've already dialed in the basics and still want to optimize cognitive performance, look for precision-dosed, science-backed options rather than generic supplements with vague formulations. Approaches that bypass first-pass metabolism in the liver, such as sublingual or buccal formulations, may produce more predictable effects at lower doses, which is why compounding pharmacies have used them for decades.
Putting this together
For the vast majority of people who are not running marathons, three takeaways hold:
- Electrolyte status is a daily matter, not an athletic one. The nervous system and muscles work on electrical gradients sensitive to cumulative shifts: a processed-food diet, a coffee-heavy morning, a medication change, or simply getting older [1,7].
- More is not better. Chasing cramps with magnesium supplements is, on the best available evidence, unlikely to help [4,5]. Loading up on sodium for "energy" is not supported either. The cardiovascular sweet spot looks like moderate sodium paired with generous potassium [8,9].
- Food outperforms bottles for the foundation. Whole foods deliver electrolytes in the ratios and with the cofactors the body expects, without the added sugars of engineered beverages. Targeted, precision-dosed support has a legitimate place, but only on top of that foundation, not instead of it.
The neon aisle isn't wrong about electrolytes mattering. They don't care whether you ran a marathon this morning or sat at a desk for eight hours. The body's need for balance is the same either way, and it shows up daily whether you're paying attention to it or not.
References
-
Refardt, J. (2025). Special considerations of hyponatremia in the elderly patient. Best Practice & Research: Clinical Endocrinology & Metabolism, 40(1), 102040.
-
Wittbrodt, M. T., & Millard-Stafford, M. (2018). Dehydration impairs cognitive performance: A meta-analysis. Medicine & Science in Sports & Exercise, 50(11), 2360–2368.
-
Rosinger, A. Y., John, J. D., & Murdock, K. W. (2024). Ad libitum dehydration is associated with poorer performance on a sustained attention task but not other measures of cognitive performance among middle-to-older-aged community-dwelling adults: A short-term longitudinal study. American Journal of Human Biology, 36(7), e24051.
-
Garrison, S. R., Korownyk, C. S., Kolber, M. R., Allan, G. M., Musini, V. M., Sekhon, R. K., & Dugré, N. (2020). Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, (9), CD009402.
-
Wongsirilukk, S., Segsarnviriya, C., Kawinchotpaisan, K., & Wattanaseth, T. (2025). The effect of magnesium therapy on nocturnal leg cramps: A systematic review and meta-analysis. Gerontology & Geriatrics Studies , 9(4).
-
Klingert, M., Nikolaidis, P. T., Weiss, K., Thuany, M., Chlíbková, D., & Knechtle, B. (2022). Exercise-associated hyponatremia in marathon runners. Journal of Clinical Medicine, 11(22), 6775.
-
Li, S., Xiao, X., & Zhang, X. (2023). Hydration status in older adults: Current knowledge and future challenges. Nutrients, 15(11), 2609.
-
O'Donnell, M., Mente, A., Rangarajan, S., McQueen, M. J., O'Leary, N., Yin, L., Liu, X., Swaminathan, S., Khatib, R., Rosengren, A., Ferguson, J., Smyth, A., Lopez-Jaramillo, P., Diaz, R., Avezum, A., Lanas, F., Ismail, N., Yusoff, K., Dans, A., … Yusuf, S. (2019). Joint association of urinary sodium and potassium excretion with cardiovascular events and mortality: Prospective cohort study. BMJ, 364, l772.
-
Ma, Y., He, F. J., Sun, Q., Yuan, C., Kieneker, L. M., Curhan, G. C., MacGregor, G. A., Bakker, S. J. L., Campbell, N. R. C., Wang, M., Rimm, E. B., Manson, J. E., Willett, W. C., Hofman, A., Gansevoort, R. T., Cook, N. R., & Hu, F. B. (2022). 24-hour urinary sodium and potassium excretion and cardiovascular risk. New England Journal of Medicine, 386(3), 252–263.
