Low potassium that refuses to rise despite pills or IV drips often has a hidden partner: low magnesium.1JAMA Internal Medicine. Refractory Potassium Repletion: A Consequence of Magnesium Deficiency That’s why magnesium is usually fixed first, or at least alongside, because without it the body can’t hold on to the potassium it’s given. Magnesium isn’t just another number on the report. It controls how other minerals are kept, so getting it right can make very large potassium doses unnecessary.
How Low Magnesium Makes the Kidneys Leak Potassium
Near the end of the kidneys’ filtering tubes, the kidneys fine-tune how much potassium you keep. In that stretch, cells have a channel that lets potassium leak out into the urine.2PubMed Central. Magnesium: The Forgotten Electrolyte—A Review on Hypomagnesemia Normally, magnesium inside those cells sits in the channel’s opening and blocks the leak.2PubMed Central. Magnesium: The Forgotten Electrolyte—A Review on Hypomagnesemia When magnesium inside the cells falls, the block lifts and potassium flows out into the urine.3Journal of the American Society of Nephrology. Mechanism of Hypokalemia in Magnesium Deficiency Low magnesium turns the kidneys into a drain for potassium.4PubMed Central. Magnesium, Calcium, Potassium, Sodium, Phosphorus, Selenium, Zinc, and Chromium Levels in Alcohol Use Disorder: A Review Replacing magnesium closes it, so the potassium you’re given stays.
Because the loss is a steady trickle rather than a single event, it can go on for days or weeks before a blood test catches it. You won’t feel it happening, and since the loss is through urine, eating more potassium alone doesn’t stop it.
The plug that blocks the channel is magnesium inside the kidney cells, not the magnesium floating in the blood. That is one reason a person can have a blood result that looks acceptable and still have a leaky channel. What matters for the leak is the supply inside cells.
Magnesium also powers the pump that pulls potassium in from the blood and holds it inside cells. In animal heart studies, too little magnesium in the diet slowed that pump without reducing how many pumps there were.5PubMed. Effects of dietary magnesium on sodium-potassium pump action in the heart of rats So low magnesium may weaken potassium storage in tissues as well as speed its loss through the kidneys.
What Happens When Potassium Is Given Alone
Until magnesium is corrected, giving potassium will not effectively fix low potassium.1JAMA Internal Medicine. Refractory Potassium Repletion: A Consequence of Magnesium Deficiency6PubMed. Refractory potassium repletion. A consequence of magnesium deficiency7PubMed Central. Don’t Take It ‘Lytely’: A Case of Acute Tetany That’s why medical guides tell clinicians to check magnesium and replace it before potassium.8AMBOSS. Electrolyte repletion Among people low in potassium, roughly 4 in 10 are also low in magnesium.6PubMed. Refractory potassium repletion. A consequence of magnesium deficiency
In practice, repeat blood tests show potassium barely rising despite pills or IV doses. A doctor then adds magnesium, often by IV in hospital, and potassium often starts climbing once magnesium is restored.
When the kidneys are leaking, much of each potassium dose is passed into the urine soon after it is absorbed or infused. Blood levels may rise briefly and then fall back, which is why repeat tests can look like nothing happened. Bigger doses aren’t the safe answer, because too much potassium given quickly carries its own risk to the heart. If your potassium hasn’t budged, asking whether your magnesium was checked is reasonable.9tl;dr pharmacy. A Clinician’s Guide to Inpatient Electrolyte Replacement
“Before” doesn’t always mean waiting days. Often both are given together, and what matters is not skipping magnesium. In emergencies, potassium is still given while magnesium is corrected.
Why the Heart Is the Main Concern
Potassium and magnesium help each heartbeat’s electrical signal reset properly. Low magnesium can stretch the heart’s recharge time, which shows on an ECG (heart tracing) as a longer QT interval.10PubMed Central. The Role of Hypomagnesemia in Cardiac Arrhythmias: A Clinical Perspective A longer recharge time leaves a window in which an extra, mistimed beat can set off a chaotic rhythm.
A stretched recharge time sets the stage for torsade de pointes, a twisting, fast rhythm that can be life-threatening.10PubMed Central. The Role of Hypomagnesemia in Cardiac Arrhythmias: A Clinical Perspective About 28% of torsade de pointes cases are tied to low potassium and low magnesium together.11PubMed Central. Torsade de Pointes Due to Hypokalemia and Hypomagnesemia It can come in short bursts that cause dizziness or fainting, and it can then stop on its own. If it continues, it can turn into a rhythm that stops blood from reaching the brain, so it is treated as an emergency.
That’s why hospitals watch closely. People on heart-rhythm monitors may get both minerals topped up quickly, and some medicines also lengthen the QT, adding to the risk.
Palpitations, fluttering, or a racing heartbeat deserve attention, as do fainting or near-fainting and severe muscle weakness or cramps. Any of these in someone with known low potassium or low magnesium warrant urgent care.
Why a Normal Magnesium Test Can Still Hide a Shortage
The usual test, listed as serum magnesium, measures magnesium in the liquid part of blood.12PubMed Central. Evaluation of magnesium deficiency Only about 1% of the body’s magnesium is in that fluid; the rest is in bones and cells.12PubMed Central. Evaluation of magnesium deficiency That is why a clinician may rely on risk factors and symptoms as well as the number.
The body keeps the blood level within a narrow range, drawing on bone and other stores to do so. Blood levels can be propped up from those stores while cells run short.13PubMed Central. Intra-erythrocyte magnesium levels and their clinical implications in geriatric outpatients In older outpatients, many with low magnesium inside red blood cells had normal blood results.13PubMed Central. Intra-erythrocyte magnesium levels and their clinical implications in geriatric outpatients
A typical normal range for serum magnesium is about 1.7 to 2.2 mg/dL.14Mito Health. RBC Magnesium vs Serum: The Right Test and Optimal Ranges A result inside that range may still sit at the low end, and a low-normal level can matter in a person with symptoms or stubborn low potassium. Labs use somewhat different ranges, so read the number against the range printed on your report. A single result is a snapshot, and levels change with time, illness, and treatment.
Some labs measure ionized magnesium, the active free form, mostly in intensive care.15PubMed Central. Ionized or Total Magnesium levels, what should we measure in critical ill patients? In a surgical ICU, over 80% of low total magnesium results were not truly low when ionized magnesium was checked.16PubMed. Total and ionized magnesium testing in the surgical intensive care unit – Opportunities for improved laboratory and pharmacy utilization So in very ill hospital patients the standard blood magnesium test can also overcall a shortage, which is why doctors interpret it with the whole picture.
If your potassium is stubborn but your magnesium looks normal, ask whether a low-normal magnesium could still matter. Mention medicines and drinking habits that drain magnesium. Doctors sometimes give magnesium on a trial basis anyway. Red blood cell magnesium tests exist but aren’t standard everywhere.
Low Magnesium Also Drags Down Calcium
Low magnesium can also cause low calcium and low phosphate.17PubMed Central. An overview of diagnosis and management of drug‐induced hypomagnesemia The parathyroid glands in the neck release a hormone that raises blood calcium when it drops. It does this by acting on bones, kidneys, and the gut, which together adjust how much calcium enters the blood. The whole system depends on magnesium: the glands need it to release their hormone, and the bones and kidneys need it to respond.18PubMed Central. Paradoxical Inadequate Parathyroid Hormone Secretion Secondary to Severe Hypomagnesemia: A Review of the Literature
So there are two breakdowns. When magnesium is very low, the glands release too little hormone even though low calcium should trigger release. And the bones and kidneys respond poorly to the hormone that is present. The result is a low calcium that doesn’t self-correct.
That’s why low calcium from low magnesium can’t be fixed with calcium or vitamin D alone.18PubMed Central. Paradoxical Inadequate Parathyroid Hormone Secretion Secondary to Severe Hypomagnesemia: A Review of the Literature Calcium supplements add calcium but don’t repair the hormone signal that holds blood calcium steady. Vitamin D helps the gut take in calcium, but it too depends on a working hormone response. Treatment may seem to fail until magnesium is restored, the same pattern as with potassium. Giving magnesium can raise that hormone within minutes and restore calcium.19Endokrynologia Polska. Hypomagnesaemia leading to parathyroid dysfunction, hypocalcaemia, and hypokalaemia as a complication of long-term treatment with a proton pump inhibitor — a literature review
Tingling, cramps, or muscle spasms can come from low calcium. When low potassium, calcium, and magnesium show up together, magnesium is often the root, and correcting it can improve several results at once.
Who Is Most Likely to Be Low in Both
Heavy alcohol use often lowers magnesium and with it potassium.4PubMed Central. Magnesium, Calcium, Potassium, Sodium, Phosphorus, Selenium, Zinc, and Chromium Levels in Alcohol Use Disorder: A Review Drinking increases magnesium loss through the kidneys and often comes with poor eating, so intake falls while losses rise. Vomiting and diarrhea add to the loss. Because the shortages build gradually, a person may feel only vague weakness until a test reveals them.
Long-term use of proton pump inhibitors such as omeprazole can cause low magnesium, low calcium and low potassium.19Endokrynologia Polska. Hypomagnesaemia leading to parathyroid dysfunction, hypocalcaemia, and hypokalaemia as a complication of long-term treatment with a proton pump inhibitor — a literature review This usually develops after long use, often a year or more, and it isn’t a problem for most people who take them. Water pills (diuretics) that flush salt also flush magnesium and potassium, though some types hold potassium in. A clinician may check minerals periodically in people on these medicines for a long time.
Restarting food after starvation can shift potassium, magnesium and phosphate into cells and drop blood levels fast.20Pharmacotherapy: The Journal of Human Pharmacology and Drug Therapy. The Refeeding Syndrome: An Approach to Understanding Its Complications and Preventing Its Occurrence This refeeding problem is why nutrition is restarted slowly with electrolyte checks.21Clinical Nutrition Open Science. Electrolyte replacement strategies in refeeding syndrome: A narrative review of current evidence and practical considerations
At an appointment, you can ask whether your acid reducer or water pill could be lowering your magnesium. Mention vomiting, diarrhea, or heavy drinking honestly. If your potassium is low, ask whether your magnesium should be checked too. And don’t stop prescribed medicines without talking to your doctor.
How Magnesium Is Usually Replaced
Severe or symptomatic shortages are usually treated with IV magnesium in hospital. It’s given through a drip over a set time, and the speed is controlled because rapid infusion can cause flushing or low blood pressure. Levels are rechecked afterward, since a single dose may not be enough to refill the stores. Kidney function is considered before dosing so that magnesium doesn’t build up.
Milder shortages are often treated with tablets. Magnesium oxide dissolves poorly, while magnesium citrate dissolves much better, so more magnesium reaches the body from citrate than from the same dose of oxide.22PubMed. Magnesium bioavailability from magnesium citrate and magnesium oxide Tablets raise levels slowly because the gut absorbs only part of each dose, and some magnesium is lost in urine as levels rise. A person with a deep shortage may need weeks of tablets before stores recover, and a blood test can improve before the stores are fully refilled, so the clinician decides how long to continue.
Diarrhea is the most common side effect of oral magnesium. People with kidney disease can build up too much magnesium and need supervision.
At home, splitting doses through the day limits stomach upset. A pharmacist can tell you which form your product contains. Expect repeat blood tests to confirm both levels are rising. Food sources include nuts, seeds, beans and leafy greens.

