What Causes Low Potassium and Magnesium Levels?

Low potassium and low magnesium tend to show up together because the two minerals are physiologically linked: when magnesium drops, the kidneys lose the ability to hold onto potassium, making it nearly impossible to correct one without addressing the other. The most common triggers include certain widely prescribed medications, gastrointestinal losses from chronic diarrhea or vomiting, heavy alcohol use, and a modern diet that has become quietly depleted of both minerals over recent decades. But the list extends well beyond those everyday causes, reaching into inherited kidney conditions, hormonal disorders, and even intense endurance exercise.

How Low Magnesium Pulls Potassium Down With It

The reason these two deficiencies so often travel as a pair comes down to what happens inside the kidney’s fine-tuning machinery. Potassium leaves the body through channels in the distal part of the kidney tubule. One of those channels, known as ROMK, is normally kept partially in check by magnesium sitting inside the cell. When intracellular magnesium falls, that brake lifts and ROMK opens wider, letting potassium pour into the urine. At the same time, another channel called ENaC, which drives sodium reabsorption, ramps up its activity, creating an electrical gradient that pulls even more potassium out of the blood and into the urine. Research confirms that both channels need to be activated for magnesium-driven potassium wasting to take hold.

This is why doctors who see a stubbornly low potassium level that refuses to respond to potassium supplements will check magnesium next. Replacing potassium alone is like bailing water from a boat without plugging the hole: the kidneys keep dumping it. Restoring magnesium closes the leak, and potassium levels often recover on their own once the magnesium deficit is corrected.

Medications That Drain Both Minerals

Several drug classes are well-documented culprits, and because they are prescribed to tens of millions of people, they account for a large share of combined deficiency cases.

Thiazide and Loop Diuretics

Thiazide diuretics, commonly used for high blood pressure, force the kidneys to excrete more sodium and water, but potassium and magnesium get swept out in the process. The losses are dose-dependent: the higher the dose, the lower both minerals fall, and those drops correlate with the appearance of abnormal heart rhythms.1The American Journal of Medicine. Potassium and magnesium abnormalities: diuretics and arrhythmias in hypertension In a hospital survey of severe low-potassium cases, diuretic therapy was a likely contributor in close to half of all patients.2PubMed Central. Hypokalaemia: common things occur commonly – a retrospective survey Loop diuretics such as furosemide work on a different part of the kidney but cause similar magnesium and potassium wasting. If you take any diuretic regularly, periodic blood work is standard practice for exactly this reason.

Proton Pump Inhibitors

Proton pump inhibitors (PPIs) like omeprazole and pantoprazole are among the most widely used drugs on the planet, and their link to magnesium depletion took years to recognize because the effect builds slowly. PPIs appear to interfere with magnesium absorption in the gut by disrupting specific transport channels in the intestinal lining.3PubMed Central. The Perilous PPI: Proton Pump Inhibitor as a Cause of Clinically Significant Hypomagnesaemia Animal studies have shown that omeprazole treatment reduced magnesium absorption in the colon by roughly 40%, and genetic variations in the TRPM6 channel gene make some people more susceptible to this effect than others.4PubMed Central. Mechanisms of proton pump inhibitor‐induced hypomagnesemia Once magnesium drops far enough, potassium follows through the renal wasting mechanism described above. The risk rises with long-term use, particularly beyond a year, which is why guidelines recommend reassessing whether a PPI is still needed at regular intervals.

Cisplatin and Other Chemotherapy Agents

Cisplatin, a cornerstone chemotherapy drug used against several cancers, is directly toxic to kidney tubules, and the damage hits magnesium handling especially hard. Patients receiving cisplatin-based chemotherapy develop significant drops in magnesium, calcium, potassium, and phosphorus over successive treatment cycles.5PubMed Central. Science behind cisplatin-induced nephrotoxicity in humans: a clinical study The magnesium wasting can persist long after chemotherapy ends because the kidney injury may be permanent. Research suggests cisplatin has a particular affinity for proteins that regulate magnesium reabsorption, which explains why the magnesium deficit is often more severe and more lasting than losses of other electrolytes.6PubMed. Cisplatin nephrotoxicity affects magnesium and calcium metabolism Oncology teams routinely supplement magnesium during and after cisplatin treatment for this reason, and potassium is monitored closely alongside it.

Gastrointestinal Losses

The gut is where both minerals enter the body, so anything that disrupts digestion or speeds food through the intestinal tract can cause double depletion. Diarrhea and vomiting are the most straightforward example. In a hospital review of patients with severely low potassium, diarrhea or vomiting accounted for about half of cases, making it the single most common identifiable cause.2PubMed Central. Hypokalaemia: common things occur commonly – a retrospective survey A bout of stomach flu is usually self-limited, but chronic conditions like inflammatory bowel disease, short bowel syndrome, and chronic diarrhea from any cause create ongoing losses that can be difficult to keep pace with through diet alone.

Celiac disease deserves a separate mention because it damages the absorptive surface of the small intestine. The immune-driven destruction of the finger-like villi that line the gut wall reduces the intestinal mucosa’s ability to pull nutrients from food.7PubMed Central. Nutritional Deficiencies in Celiac Disease: Current Perspectives Magnesium absorption takes a particular hit because it depends on intact intestinal tissue and adequate transit time. People with undiagnosed celiac disease sometimes present with unexplained electrolyte abnormalities that resolve once they adopt a gluten-free diet and intestinal healing begins.

Alcohol, Poor Intake, and Refeeding Risk

Heavy alcohol use is a triple threat to potassium and magnesium stores. Alcohol itself increases urinary excretion of both minerals, heavy drinkers tend to eat poorly, and the gastrointestinal damage from chronic alcohol use impairs absorption of whatever nutrients are consumed. Excessive alcohol disrupts the balance of several essential trace elements and minerals, compounding the risk of deficiency.8PubMed Central. Magnesium, Calcium, Potassium, Sodium, Phosphorus, Selenium, Zinc, and Chromium Levels in Alcohol Use Disorder: A Review In the same hospital survey cited earlier, acute alcohol intoxication or withdrawal featured in about one in ten severe low-potassium cases.2PubMed Central. Hypokalaemia: common things occur commonly – a retrospective survey

Even in people who do not drink, plain old inadequate food intake can deplete both minerals. This becomes dangerous in a specific clinical scenario called refeeding syndrome. When a person who has been starved or eating very little begins receiving nutrition again, insulin surges in response to incoming carbohydrates. That insulin spike drives potassium, magnesium, and phosphate out of the bloodstream and into cells, while the body’s anabolic recovery processes consume additional stores. The result can be a sudden, life-threatening plunge in circulating electrolytes.9PubMed Central. Refeeding syndrome: what it is, and how to prevent and treat it Refeeding syndrome is a well-known risk for hospitalized patients, people recovering from anorexia nervosa, and anyone resuming eating after a prolonged fast.

Hormonal and Genetic Conditions

Several endocrine disorders shift potassium and magnesium in different ways. Hyperaldosteronism, where the adrenal glands overproduce the hormone aldosterone, is a classic cause of combined potassium and magnesium loss because aldosterone tells the kidneys to retain sodium at the expense of both minerals. Cushing syndrome, which involves excess cortisol, can produce a similar pattern.

An overactive thyroid creates a different mechanism for potassium depletion. In thyrotoxic periodic paralysis, excess thyroid hormone overstimulates the sodium-potassium pumps on muscle cells, causing a sudden inward rush of potassium from the blood into muscles. The resulting drop in blood potassium can be profound enough to cause temporary paralysis.10Annals of Medicine and Surgery. Case report: Hyperthyroid hypokalemic periodic paralysis An important nuance for treatment is that this low potassium is caused by redistribution rather than true total-body depletion, so aggressive potassium replacement risks a dangerous rebound spike once thyroid levels are controlled.11PubMed Central. Management of hypokalemia in patients with thyrotoxicosis periodic paralysis in Soetomo general hospital: A case report

On the genetic side, two inherited kidney conditions stand out. Gitelman syndrome involves a mutation in the gene encoding a sodium-chloride transporter in the distal kidney tubule, leading to chronic potassium and magnesium wasting along with low urinary calcium. Bartter syndrome affects a different segment of the kidney and involves mutations in the sodium-potassium-chloride transporter or potassium channels. Both conditions block the normal reabsorption of calcium and magnesium in the kidney loop and cause lifelong electrolyte imbalances that require ongoing supplementation.12PubMed Central. Gitelman Syndrome Presenting with Hypomagnesemia, Hypokalemia and Hypocalciuria: A Case Report These syndromes are rare, but they are worth knowing about because they are frequently misdiagnosed as diuretic abuse or eating disorders, sometimes for years, before the correct diagnosis is made.

Heavy Sweating and Endurance Exercise

Sweat contains both potassium and magnesium, so prolonged intense exercise in warm conditions can produce meaningful losses. Endurance athletes are the group most affected: marathon runners, ultramarathon competitors, and triathletes who train for hours at a time can develop low potassium through profuse sweat losses during prolonged exercise.13Current Opinion in Endocrine and Metabolic Research. Exercise-associated electrolyte disorders Magnesium also leaves through sweat, though at lower concentrations than potassium. For the average gym-goer, this is rarely a concern. But for people training at high volumes in hot climates, or for manual laborers exposed to prolonged heat, the cumulative loss over weeks and months can contribute to depletion, especially if dietary intake is marginal to begin with.

A Modern Diet That Falls Short

Even without any medical condition, many people are not getting enough magnesium from food. Research shows that magnesium content in fruits and vegetables has dropped over the past fifty years, and about 80% of the mineral is lost during food processing.14PubMed Central. Going to the roots of reduced magnesium dietary intake: A tradeoff between climate changes and sources Long-term studies put the decline at roughly 20 to 30% in produce worldwide, driven by soil acidification, nutrient imbalances in agricultural soils, and intensive farming practices that deplete the ground faster than it can recover.15PubMed Central. Addressing Magnesium Deficiency Through Crop Biofortification: Plant-Soil-Human Perspective-A Review The result is that a large fraction of the global population does not meet the minimum daily magnesium requirement through diet alone.

Potassium intake has followed a somewhat different trajectory. The mineral is abundant in fruits, vegetables, beans, and dairy, but diets heavy in processed food tend to be lower in these whole-food sources and higher in sodium. Since the kidneys respond to high sodium loads by excreting more potassium, the combination of eating less potassium and losing more of it through sodium-driven excretion creates a slow drain. Neither mineral announces its absence with obvious symptoms in the early stages, which is why subclinical deficiency can persist unnoticed for a long time.

Why a Standard Blood Test Can Miss Magnesium Depletion

One of the trickiest aspects of magnesium deficiency is that the usual blood test, serum magnesium, is not very good at detecting it. Serum holds less than one percent of the body’s total magnesium, and the kidneys work hard to keep that small circulating pool within a normal range by pulling magnesium from bones and tissues as a buffer.16PubMed. Why Serum Magnesium Fails: A Narrative Review of Magnesium Biochemistry, Compartmental Exchange, and Endpoint Selection for Supplementation Trials A person can have substantial depletion in muscles, bones, and cells while their blood level reads as perfectly normal. By the time serum magnesium finally drops below the reference range, the deficit is already severe.

This matters practically because a doctor who checks your magnesium level and sees a “normal” result might not investigate further, even if your symptoms and history suggest depletion. Some clinicians use a magnesium loading test, where a large dose of intravenous magnesium is given and urine output is measured, as a more sensitive gauge: a body that is truly replete will excrete most of the load, while a depleted body will retain it. But this test is cumbersome and rarely done outside a research setting. For most people, the clinical picture and response to supplementation carry more weight than a single serum number.

Potassium testing is more straightforward because blood levels track total-body stores more reliably, though shifts between blood and cells can still cause momentary readings that do not reflect the full picture. The thyrotoxic paralysis scenario described earlier is a good example: blood potassium plummets even though total-body potassium is essentially normal.

Choosing a Magnesium Supplement That Actually Works

If you and your doctor decide supplementation makes sense, the form of magnesium you choose matters more than you might expect. Not all magnesium supplements are created equal in terms of how well the body absorbs them. Organic forms, where magnesium is bound to an organic molecule like citrate, glycinate, or taurate, tend to be better absorbed than inorganic forms like magnesium oxide. A systematic review of supplement bioavailability confirmed this pattern and noted that the percentage of magnesium absorbed also decreases as the dose increases, so splitting doses throughout the day is more efficient than taking one large amount.17PubMed. Bioavailability of magnesium food supplements: A systematic review

Magnesium oxide is the most common form sold, largely because it is cheap and packs the most elemental magnesium per pill, but it is also the most poorly absorbed. In a head-to-head comparison, magnesium citrate was substantially more soluble and bioavailable than magnesium oxide, with urinary magnesium output after a citrate dose far exceeding the output after an equivalent oxide dose.18PubMed. Magnesium bioavailability from magnesium citrate and magnesium oxide Magnesium oxide’s poor solubility also explains why it is more likely to cause loose stools: the unabsorbed magnesium sitting in the gut draws water into the intestine, which is useful if you want a laxative effect but counterproductive if you are trying to raise your magnesium stores.

Potassium supplementation is a different story. Over-the-counter potassium pills are typically capped at low doses because too much potassium too fast is dangerous for the heart. When significant potassium replacement is needed, it usually happens under medical supervision through prescription-strength formulations or intravenous infusions. In any case, if magnesium is also low, correcting the magnesium deficit first or simultaneously is essential; otherwise, the kidneys will continue wasting the potassium you are trying to replace.

Circadian Rhythms and Kidney Handling

An underappreciated factor in electrolyte balance is timing. The kidneys do not handle potassium and magnesium at a constant rate throughout the day. Kidney function follows a circadian rhythm, with daily oscillations in glomerular filtration rate, urine production, and electrolyte excretion.19PubMed Central. The circadian clock in the kidney This means that a blood sample drawn in the morning and one drawn in the evening might yield meaningfully different potassium readings in the same person on the same day. It also means that diuretic timing, exercise timing, and even meal timing can shift how much of each mineral the kidneys retain or discard. Clinicians generally standardize blood draws to the morning for consistency, but patients who have their blood taken at odd hours should keep this natural variation in mind when interpreting results.

For people managing chronic conditions that affect potassium or magnesium, such as taking diuretics for heart failure or living with Gitelman syndrome, awareness of these daily swings can influence practical decisions. Spacing supplements and meals to work with the kidney’s natural rhythm, rather than dumping a full day’s supplementation into a single dose, may improve how well the body retains both minerals. The evidence on optimizing supplement timing is still thin, but the physiological basis for the idea is solid.