Skip to main content

Hydration · lesson 9 of 9

Electrolytes deep dive

What sodium, potassium, magnesium, and chloride each do — and when a supplement actually earns its place.

7 min read · reviewed October 2026

Lesson 3 introduced the four key electrolytes. This is the deep dive: what each one does, how they balance against each other, and — the question worth real money — when supplementing helps versus when food already has you covered.

The short version: for most people eating normal meals, food covers electrolytes automatically. Supplements earn their place in a handful of specific situations, which we'll name precisely.

The four electrolytes, in depth

Sodium (Na⁺)

The master regulator of extracellular fluid and blood volume. Drives nerve impulses and muscle contraction. Lost heavily in sweat. Most people get plenty from processed food — the supplement case is the opposite of most nutrients: you add sodium around heavy sweat, fasting, keto, or fluid-losing illness, not for daily diet.

Potassium (K⁺)

The dominant intracellular electrolyte; balances sodium and supports healthy blood pressure. Found in fruit, vegetables, legumes, potatoes, dairy. Most people get too little — but the fix is food, not pills (high-dose potassium supplements are tightly regulated because excess is dangerous for the heart).

Magnesium (Mg²⁺)

Cofactor for 300+ enzymes, including the sodium-potassium pumps that maintain every gradient. Involved in muscle relaxation, nerve function, and sleep. Commonly under-consumed; among the more defensible electrolyte supplements when diet is short — glycinate/citrate forms are well-absorbed.

Chloride (Cl⁻)

Sodium's partner anion — together they carry most extracellular charge and maintain acid-base balance. Also a building block of stomach acid. You almost never need to think about it separately: where there's dietary sodium (salt = sodium chloride), there's chloride.

How the electrolytes balance each other

In plain terms

Sodium pulls water out of cells; potassium and the pumps that move them pull it back in. Health comes from the ratio and the constant pumping, not from any one mineral alone.

How it works →

Sodium is concentrated outside cells, potassium inside — a gradient maintained by the sodium-potassium ATPase pump, which uses energy (and magnesium as a cofactor) to push 3 Na⁺ out and 2 K⁺ in. This gradient powers nerve signals, muscle contraction, and nutrient transport. Chloride follows sodium to keep charge neutral; magnesium keeps the pumps and hundreds of other enzymes running. Disturb one and the others shift — e.g. low magnesium impairs the pump, which can worsen potassium loss.

What the studies show →

Population evidence consistently links higher potassium and lower sodium intakes (i.e. a better Na:K ratio, the pattern of whole-food diets like DASH) with healthier blood pressure. Magnesium intake below recommendations is common in modern diets, and correcting a genuine shortfall supports normal muscle and nerve function and may aid sleep quality in those who are low. Crucially, these are about balance and adequacy — there's no benefit to loading electrolytes beyond need, and excess sodium or supplemental potassium carries real risk.

Key concept

When supplementing actually helps

Add electrolytes when: you're sweating heavily (long/hot exercise, manual labor), fasting or on a strict keto/very-low-carb diet (low insulin makes kidneys dump sodium), recovering from illness with vomiting or diarrhea, or eating a very clean whole-food diet so low in salt that you feel light-headed/headachy on hot days. You probably don't need them when: you eat normal meals with some salt and produce, and you're not doing prolonged hard exercise — food has it covered.

Choosing and using electrolytes sensibly

  • Match the situation: sodium is the one you replace around sweat/fasting/illness — not a daily habit for most.
  • Favor potassium and magnesium from food (produce, legumes, nuts, dairy); use supplements to close a measured gap, not as routine.
  • Skip the sugar if you don't need fuel — many sports drinks are mostly sugar; plain electrolyte mixes exist.
  • If you take blood-pressure, heart, or kidney medication, check with a clinician before adding sodium or potassium.
Check yourself

For someone on a strict keto or fasting protocol, which electrolyte most often needs deliberate replacing?

  1. Chloride — it's the first to run out
  2. Sodium — low insulin makes the kidneys excrete more of it
  3. None — fasting raises all electrolytes
  4. Only magnesium, never sodium
Show the answer →

B.Sodium — low insulin makes the kidneys excrete more of it

Low carbohydrate intake lowers insulin, which signals the kidneys to excrete more sodium (and water with it). That's why 'keto flu' and fasting fatigue often respond to added sodium — plus magnesium and potassium. With normal eating, food covers these automatically.

Try it in the app
Check your mineral coverage

See where your potassium, magnesium, and sodium intake actually land before deciding whether a supplement is worth it.