Magnesium and Potassium: Why the Two Work as a Pair

Magnesium and potassium are the two most abundant minerals inside your cells, and the body cannot hold on to one without the other. Magnesium runs the pump that pulls potassium into cells and keeps the kidneys from flushing it out, so when magnesium is low, potassium drains no matter how much you take in. That is why low potassium that will not correct is one of the most common clues to a hidden magnesium problem, and why the two are checked and replaced together. After two decades of practicing medicine, I treat them as one conversation, not two.

The pair at a glance

PotassiumMagnesium
Where it livesAbout 98% inside cellsAbout 99% inside cells and bone
Main jobSets the electrical charge that makes nerves fire and muscles, including the heart, contractPowers every reaction that uses cellular energy, 300 or more of them, and runs the potassium pump
Low levels feel likeWeakness, fatigue, cramps, palpitations, skipped beatsCramps, twitching, irritability, poor sleep, palpitations
Who loses itDiuretics, vomiting, diarrhea, heavy sweating, low intakeDiuretics, long-term acid reducers, alcohol, diarrhea, processed diets
The blood test catchCan read normal while cells run lowReads normal even more often; under 1% is in the blood
Who must be carefulReduced kidney function, certain blood pressure medicinesReduced kidney function

How the two depend on each other

Every cell runs a pump that pushes sodium out and pulls potassium in. That pump only works with magnesium attached to its fuel. When magnesium runs low, two things happen at once: the pump slows, so cells cannot hold potassium, and a channel in the kidney that normally stays partly closed opens up and lets potassium leak into the urine. The result is a leak at both ends. You can take potassium all day and watch the level stay flat until the magnesium is fixed. Nephrologists call this refractory hypokalemia, and the fix is not more potassium. It is magnesium first, or both together.

Why the same people lose both

  • Diuretics. Loop and thiazide water pills, the most common blood pressure medicines in the country, flush both minerals. Even with aggressive potassium replacement, about 1 in 10 people on a diuretic stay low, and that is the magnesium signal.
  • Long-term acid reducers. Proton pump inhibitors quietly block magnesium absorption over months and years.
  • Alcohol, vomiting, and diarrhea. All three drain both minerals faster than food replaces them.
  • A processed-food diet. Leafy greens, beans, nuts, seeds, and whole fruit carry both minerals. Packaged food carries neither.

What the heart has to say about it

Low potassium lengthens the heart’s electrical reset and raises the risk of dangerous rhythms. Low magnesium does the same and makes heart cells more sensitive to that instability. High levels of either are dangerous too, which is the whole reason this is a measured problem, not a guessed one. In people on dialysis, the combination of low magnesium and low potassium together predicted higher mortality than either one alone, a 2023 cohort finding that says more about the pair than any single number does.

Blood pressure and blood sugar: the pair in trials

In a randomized crossover trial of people with elevated blood pressure, a combined potassium-magnesium citrate lowered a urine marker of oxidative stress, while potassium chloride alone lowered nighttime systolic pressure. Each mineral contributed something the other did not. In a 2026 randomized trial of people with diabetes and insomnia, magnesium alone and magnesium plus potassium lowered insulin resistance, while potassium alone and placebo did not. These are small trials, but they point the same direction: magnesium is the piece most people are missing, and potassium works better with it in place.

Our math: the thiazide study

Our math: in a randomized study of people on a thiazide diuretic, a single daily dose of combined potassium-magnesium citrate raised blood potassium from 3.3 to 3.8 mEq/L. That half-point move is the difference between a level that worries a cardiologist and one that does not, and it came with the magnesium loss corrected at the same time. One product, two gaps closed. The lesson is not the brand. It is that treating the pair works where treating one alone had stalled.

The kidney rule

Both minerals leave the body through the kidneys. When kidney function falls, both can build up to dangerous levels, and the goal flips from replacing to normalizing. Salt substitutes, which are mostly potassium chloride, and magnesium-based antacids and laxatives are the common hidden sources that cause trouble. Blood pressure medicines in the ACE inhibitor, ARB, and spironolactone families raise potassium on their own. This is why we check kidney function and current medications before anyone leaves with a supplement, and why nobody with reduced kidney function should start either one on their own.

How we approach it: measure, don’t guess

  1. Test both, plus kidney function. One draw covers potassium, magnesium, creatinine, and the companion labs that explain the fatigue or cramps when the minerals do not.
  2. Find the leak. Diuretics, acid reducers, alcohol, and gut losses are fixable causes. Fixing the cause beats chasing the level.
  3. Magnesium first, or together. If potassium is low, magnesium is replaced at the same time, because potassium alone stalls.
  4. Food before capsules. Greens, beans, avocado, nuts, seeds, and whole fruit carry both.
  5. Recheck. Two to four weeks after any change, because the only proof a plan worked is a number that moved.

Which magnesium form fits is its own question, answered on types of magnesium. If cramps, twitches, or a flat mood brought you here, start with the signs of magnesium deficiency.

Your next step

Check both minerals and your kidneys together. One will not hold without the other.

Labs

The CMP covers potassium and kidney function. Both numbers matter before any mineral is replaced. Pay at your draw. No insurance needed.

In our store

Potassium pills are a prescriber decision. Food comes first.

Read next

Frequently asked questions

Why will my potassium not come up?

The most common reason is low magnesium. Without it, cells cannot hold potassium and the kidneys leak it. Checking and correcting magnesium is the first step when potassium stays low despite replacement.

Can I take magnesium and potassium together?

They are often replaced together, and combined citrate products exist for that reason. Whether you should, and how much, depends on your levels, your kidney function, and your medications, which is a lab conversation, not a store-shelf one.

Which foods have both?

Spinach and other leafy greens, beans and lentils, avocado, pumpkin seeds, almonds, bananas, potatoes with the skin, and salmon. A plate built around these covers both minerals for most healthy adults.

Do water pills cause low magnesium?

Yes. Loop and thiazide diuretics flush both potassium and magnesium. People on them long term are the group most likely to be low in both without knowing it.

Is it dangerous to have too much of either?

Yes. High potassium and high magnesium both disturb heart rhythm, and the risk rises sharply with reduced kidney function. That is why we test before replacing and recheck after.

Does a normal blood test rule out a deficiency?

Not fully. Both minerals live mostly inside cells, so blood can read normal while stores run low. The blood test counts most alongside your symptoms, medications, and companion labs.

Bring your medication list and your questions. What would make a difference for you?

Magnesium and potassium

Questions about your magnesium and potassium? Your consultation is complimentary.

Wellness subscription starting at $88/month

Questions first? Text us. Ready? Book now. · 1910 S Stapley Dr #120, Mesa, AZ 85204

To Health and Wellness, Dr. Ty Tallman
Updated October 2026.


References

  • The New England Journal of Medicine, 2024 — magnesium disorders
  • The New England Journal of Medicine, 2015 — an integrated view of potassium homeostasis
  • The New England Journal of Medicine, 1998 — hypokalemia
  • Physiological Reviews, 2015 — magnesium in man: implications for health and disease
  • Archives of Internal Medicine, 2000 — guidelines for potassium replacement in clinical practice
  • Journal of the American College of Cardiology, 2020 — abnormalities of potassium in heart failure
  • American Journal of Kidney Diseases, 1999 — potassium magnesium citrate and thiazide-induced hypokalemia and magnesium loss
  • American Journal of Cardiology, 2016 — potassium magnesium citrate, ambulatory blood pressure, and oxidative stress
  • Journal of Investigative Medicine, 2026 — magnesium and potassium and insulin resistance, randomized trial
  • Scientific Reports, 2023 — magnesium and potassium product and mortality in hemodialysis patients
  • American Journal of Kidney Diseases, 2020 — KDOQI clinical practice guideline for nutrition in CKD
  • American Family Physician, 2023 — potassium disorders: hypokalemia and hyperkalemia

Integrative Medical Partners
1910 S Stapley Dr #120, Mesa, AZ 85204
480-219-2624

This page is educational and reflects published evidence as of October 2026. It is not medical advice and does not establish a physician-patient relationship. Mineral replacement decisions are made with your clinician after reviewing your labs, kidney function, medications, and health history.

Already a patient? A short review helps the next person find the care you found.

Review us on Google
Scroll to Top