Skip to main content
6 Medication Classes Deplete This

Magnesium Depletion: Medications, Symptoms & Food Sources

Magnesium is a cofactor for over 600 enzymatic reactions including energy production, nerve signaling, and vitamin D activation. Six medication classes deplete it — PPIs, thiazide diuretics, loop diuretics, corticosteroids, oral contraceptives, and fluoroquinolones. Over 50% of adults are deficient. Symptoms include muscle cramps, anxiety, insomnia, heart palpitations, and migraines. Magnesium glycinate at bedtime is the preferred replacement form.

Which of YOUR medications deplete this nutrient?Free, 10 seconds →

Data sourced from CTD, PubMed, USDA, FAERS. How we verify this data →
Sources verified as of April 2026
[01]

What It Does

Magnesium is a cofactor for over 600 enzymatic reactions in your body — making it involved in more biochemical processes than any other mineral. It is required for ATP energy production (every molecule of ATP must bind to magnesium to be biologically active), DNA and RNA synthesis, nerve impulse transmission, muscle contraction and relaxation, blood sugar regulation, blood pressure control, and protein synthesis. Critically, magnesium is the required cofactor for both steps of vitamin D activation: the liver conversion (CYP2R1) and the kidney conversion (CYP27B1). Without adequate magnesium, vitamin D supplementation is ineffective — the vitamin cannot be activated regardless of how much you take. The CTD database catalogs 656 randomized controlled trials involving magnesium across 1,004,839 patients, with therapeutic evidence spanning cardiovascular disease, metabolic syndrome, migraine prevention, and neurological conditions.

Despite its fundamental importance, magnesium deficiency is the most widespread mineral deficiency in developed nations — over 50% of adults do not meet the recommended daily allowance from diet alone. Modern agricultural practices have depleted soil magnesium by 25-80% over the past century, and food processing strips additional magnesium from grains and produce. On top of this dietary shortfall, six major medication classes actively deplete magnesium through intestinal absorption blockade or renal excretion. PubMed indexes 13,895 articles on magnesium with 138 meta-analyses confirming that repletion improves sleep quality, reduces anxiety symptoms, lowers blood pressure, decreases migraine frequency, and improves insulin sensitivity. The FDA issued a specific safety warning in 2011 about PPI-induced hypomagnesemia, acknowledging that long-term PPI use can cause clinically dangerous magnesium depletion.

Which of YOUR medications deplete this nutrient?

Check free — no signup, 10 seconds →
[02]

Symptoms of Deficiency

Muscle cramps, twitches, and spasms — especially in calves, feet, and eyelidsAnxiety and a 'wired but tired' feeling that won't settleInsomnia — particularly difficulty staying asleep through the nightHeart palpitations, racing heart, or skipped beatsHeadaches and migraines that increase in frequencyChronic constipation unresponsive to fiberBrain fog and poor concentrationRestless legs at night — overlaps with iron deficiency symptomJaw clenching and teeth grinding (bruxism)
[03]

Medications That Deplete This Nutrient

Medication / ClassSeverityMechanism
Proton Pump Inhibitors (PPIs)HighPPIs reduce intestinal magnesium absorption through the TRPM6 and TRPM7 transporter channels in the gut wall. The depletion is dose- and duration-dependent — risk increases significantly after 12 months of continuous use, and the FDA issued a formal safety warning about PPI-induced hypomagnesemia in 2011. Severe cases can cause tetany (involuntary muscle contraction), seizures, and cardiac arrhythmias. The danger is compounded because standard serum magnesium tests miss most deficiency — only RBC magnesium reveals true intracellular status.
Thiazide Diuretics (Hydrochlorothiazide, Chlorthalidone)HighThiazide diuretics increase renal magnesium excretion by blocking sodium reabsorption in the distal convoluted tubule, which disrupts the electrochemical gradient that normally drives passive magnesium reabsorption. Every dose flushes magnesium into the urine. Because thiazides are prescribed long-term for blood pressure control — often for decades — the cumulative magnesium loss is substantial. This is one of the most common medication-driven depletions in elderly hypertensive patients.
Loop Diuretics (Furosemide, Bumetanide)HighLoop diuretics block the NKCC2 cotransporter in the thick ascending limb of the loop of Henle, eliminating the positive lumen potential that drives passive magnesium reabsorption. The magnesium wasting is more aggressive than thiazides because loop diuretics act at a segment that handles a larger fraction of total magnesium reabsorption. Heart failure and edema patients on chronic furosemide are at particularly high risk and should have RBC magnesium monitored quarterly.
Corticosteroids (Prednisone, Dexamethasone)ModerateCorticosteroids increase renal magnesium excretion by impairing tubular reabsorption in the kidney. The mechanism parallels their effect on calcium — both minerals are flushed at accelerated rates during corticosteroid therapy. Even moderate-dose prednisone courses lasting more than two weeks can measurably lower magnesium levels, and patients on chronic corticosteroid therapy for autoimmune conditions face ongoing depletion that requires proactive supplementation.
Oral Contraceptives (Combined Estrogen-Progestin)Low-moderateEstrogen in combined oral contraceptives may increase urinary magnesium excretion and alter magnesium distribution between intracellular and extracellular compartments. The depletion is milder than PPI or diuretic effects but contributes meaningfully over years of continuous use. Many symptoms attributed to oral contraceptive side effects — anxiety, insomnia, mood changes, headaches — overlap precisely with magnesium deficiency symptoms, suggesting that some of these side effects may be magnesium-mediated.
Fluoroquinolone Antibiotics (Ciprofloxacin, Levofloxacin)ModerateFluoroquinolones chelate magnesium in the gastrointestinal tract, forming insoluble complexes that reduce absorption of both the mineral and the antibiotic. They may also increase renal magnesium excretion through direct tubular effects. The chelation interaction is strong enough that prescribing guidelines require separating fluoroquinolone doses from magnesium supplements by four or more hours to preserve antibiotic efficacy.
[04]

Double Depletion Risks

The PPI-plus-thiazide-diuretic combination is the most dangerous magnesium double depletion pattern. PPIs block intestinal magnesium absorption through TRPM6/7 channel impairment, while thiazide diuretics simultaneously flush magnesium through the kidneys at an accelerated rate. This creates a supply-and-demand collapse where less magnesium enters the body while more leaves it. The combination is extremely common in elderly patients managing GERD alongside hypertension — two of the most frequently co-prescribed medication classes. Patients on both drugs should be on prophylactic magnesium supplementation (300-400mg glycinate daily) with RBC magnesium monitoring every six months, regardless of whether serum magnesium appears normal.

The corticosteroid-plus-loop-diuretic combination creates a parallel double depletion that mirrors the pattern seen with calcium. Both drug classes increase renal magnesium excretion through separate tubular mechanisms, with the combined effect exceeding either drug alone. This pattern is common in heart failure patients and those with severe inflammatory conditions requiring both fluid management and immunosuppression. Any patient on two or more magnesium-depleting medication classes simultaneously should be considered magnesium-deficient until proven otherwise by RBC magnesium testing — not serum magnesium, which reflects only 1% of total body magnesium and can appear normal while intracellular stores are severely depleted.

[05]

Top Food Sources

FoodAmount per Serving
Pumpkin seeds (roasted)156mg per oz
Dark chocolate (70-85%)65mg per oz
Almonds (roasted)80mg per oz
Spinach (cooked)157mg per cup
Cashews (roasted)74mg per oz
Black beans (cooked)120mg per cup
Edamame (shelled)100mg per cup
Avocado58mg per fruit
Brown rice (cooked)84mg per cup
Swiss chard (cooked)150mg per cup

Source: USDA Food Composition Database

[06]

Supplement Forms

Magnesium Glycinate (Bisglycinate)
Absorption: High — chelated to glycine for excellent bioavailability
Best for: First-choice form for sleep, anxiety, muscle cramps, and general repletion. The glycine amino acid carrier adds its own calming neurotransmitter effect. Best tolerated form with the fewest GI side effects. Ideal bedtime supplement.
Price: moderate
Magnesium L-Threonate (Magtein)
Absorption: High — uniquely crosses the blood-brain barrier
Best for: Brain fog, memory, and cognitive symptoms of magnesium deficiency. The only form clinically demonstrated to raise magnesium levels in cerebrospinal fluid. Lower elemental magnesium per capsule (typically 144mg across 3 capsules), so pair with glycinate if total body repletion is also needed.
Price: high
Magnesium Citrate
Absorption: Moderate-high — good value with mild osmotic laxative effect
Best for: Magnesium repletion combined with constipation relief. The mild laxative effect is beneficial if constipation is a symptom, but a drawback if bowels are already loose. Budget-friendly option with decent absorption. Available in powder form for easy dosing.
Price: low
Magnesium Taurate
Absorption: Moderate-high — taurine adds cardiovascular benefits
Best for: Heart palpitations, arrhythmias, and cardiovascular support. Taurine has its own cardiac-protective properties and combines synergistically with magnesium for rhythm stabilization. Preferred form when cardiac symptoms are the primary complaint.
Price: moderate
Magnesium Oxide
Absorption: Low — only 4-5% absorbed
Best for: Not recommended for deficiency correction. Despite containing the highest elemental magnesium per capsule, only 4-5% reaches the bloodstream. Most passes through the gut as a laxative. The cheapest form but effectively useless for repletion.
Price: very low
[07]

When to Take

Take magnesium at bedtime — glycinate and threonate promote relaxation and improve sleep quality through GABA receptor modulation. If you also take calcium at high doses (above 500mg), separate them by at least 2 hours because they compete for shared intestinal transport channels (take calcium with lunch, magnesium at bedtime). Separate from fluoroquinolone antibiotics by 4+ hours due to chelation. Separate from levothyroxine (thyroid medication) by 4 hours. Can be taken with food to reduce nausea. If your total daily dose exceeds 400mg elemental magnesium, split into morning and bedtime doses for better absorption. Magnesium citrate is the best morning option if you also need laxative support; glycinate is the best evening option for sleep.

[08]

FAQ

[09]

References

  1. [1]CTD database: 656 magnesium-related randomized controlled trials across 1,004,839 patients with therapeutic evidence spanning cardiovascular, metabolic, and neurological conditions. Accessed April 2026.
  2. [2]PubMed: 13,895 indexed articles on magnesium with 138 meta-analyses covering repletion outcomes for sleep, anxiety, blood pressure, and migraine frequency. Accessed April 2026.
  3. [3]FDA Drug Safety Communication: Low magnesium levels can be associated with long-term use of proton pump inhibitor drugs (PPIs). March 2011.
  4. [4]USDA FoodData Central: magnesium content analysis across food composition database entries. Accessed April 2026.
  5. [5]Boyle NB, Lawton C, Dye L. The effects of magnesium supplementation on subjective anxiety and stress — a systematic review. Nutrients. 2017;9(5):429. PMID:28445426.
  6. [6]Abbasi B, Kimiagar M, Sadeghniiat K, et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. J Res Med Sci. 2012;17(12):1161-1169. PMID:23853635.
This information is generated from peer-reviewed molecular databases including the Comparative Toxicogenomics Database (CTD), ChEMBL, and indexed PubMed research. It is not medical advice. Always consult your healthcare provider before making changes to your medications or supplements. See our methodology →

Check If Your Medications Deplete This

Free. No signup. 10 seconds.

Check Now →