How Does Magnesium Affect Hypoparathyroidism and Calcium?
At a Glance
Severe magnesium deficiency can suppress parathyroid hormone release and make the body resistant to its effects, so calcium may remain low despite treatment. Correcting magnesium under medical supervision can improve calcium control, but does not restore damaged parathyroid glands.
In this answer
4 sections
Yes, low magnesium can cause or severely worsen low calcium [1]. If you have a severe magnesium deficiency, it can become very difficult to correct your calcium levels until the magnesium is replaced [2]. Magnesium is a vital mineral that your body needs to properly produce and use parathyroid hormone (PTH), which regulates your calcium [3]. Treating low magnesium is an important part of managing stubborn low calcium [4].
🚨 When to Seek Urgent Help
If you experience severe symptoms of low calcium—such as severe muscle cramps, tingling around your mouth or in your hands, seizures, trouble breathing, fainting, confusion, or a racing heart—seek emergency medical care immediately. Do not try to self-treat or wait for routine magnesium blood test results. Severe hypocalcemia requires urgent, monitored medical evaluation and often intravenous (IV) treatment.
The Magnesium and PTH Connection
Magnesium plays an essential role in how your parathyroid glands function. When magnesium levels drop significantly, it creates a two-step problem for your body’s calcium balance:
- Suppressed PTH Production: While a mild drop in magnesium might initially stimulate your parathyroid glands, a severe or prolonged deficiency can paradoxically suppress the release of PTH [1].
- PTH Resistance: Severe magnesium deficiency also causes peripheral resistance [2]. This means that your bones and kidneys stop responding effectively to whatever PTH is still in your bloodstream [3].
For someone who already has hypoparathyroidism (under-functioning or absent parathyroid glands), a magnesium deficiency adds a layer of complication. It further blunts any residual PTH your body can make and makes your tissues resistant to it [5]. Correcting your magnesium levels can improve your body’s tissue response to PTH, but it will not bring back absent or permanently damaged parathyroid glands [5].
Balancing Calcium, Vitamin D, and Magnesium
If your magnesium is significantly low, taking your prescribed calcium and active vitamin D (such as calcitriol) often will not be enough to raise your calcium levels to your target range [4][6]. Because the core issue is the tissue resistance caused by the lack of magnesium, the low calcium is refractory—meaning it resists standard treatment [2].
Once the magnesium deficiency is corrected, your tissues will start responding to PTH and your calcium medications more effectively [6]. Crucially, you should never stop or reduce your prescribed calcium or active vitamin D without your doctor’s instruction. Magnesium replacement helps return your calcium control to its baseline, but it does not replace your core hypoparathyroidism treatments [5].
Common Causes of Magnesium Loss
Magnesium deficiency (hypomagnesemia) can be caused by conditions or medications that prevent your body from absorbing magnesium or cause it to lose too much:
- Gastrointestinal (GI) Losses: Chronic diarrhea, bowel resection surgeries, or malabsorption issues can severely limit how much magnesium you absorb [7][8].
- Medications for Acid Reflux: Long-term use of proton-pump inhibitors (PPIs) can reduce your intestines’ ability to absorb magnesium [9][10].
- Diuretics (“Water Pills”): Both loop and thiazide diuretics force your kidneys to excrete extra fluid, which can increase magnesium loss in your urine [11]. Note: Thiazide diuretics are often deliberately prescribed to patients with hypoparathyroidism to help the kidneys retain calcium. Do not stop taking them without consulting your doctor.
- Other Medical Contributors: Uncontrolled diabetes, heavy alcohol use, poor nutrition, strong antibiotics (like aminoglycosides), calcineurin inhibitors, and certain chemotherapy drugs can also cause your kidneys to waste magnesium [12][13].
Evaluation and Treatment
If you have hard-to-control low calcium, your doctor can order a specific blood test for magnesium, as it is not always included in standard metabolic panels [14]. Your doctor will likely look at the full picture, checking your corrected or ionized calcium, phosphate, potassium, and kidney function [15].
If your magnesium is low, your doctor will guide your treatment safely:
- Kidney Function Check: Because magnesium is cleared from the body by the kidneys, patients with impaired kidney function are at higher risk of developing dangerously high magnesium levels (hypermagnesemia) if they take too much [16][17]. Never self-treat with high-dose over-the-counter magnesium supplements.
- Further Testing: If the cause of the low magnesium is unclear, your doctor may order a 24-hour urine test to see if your kidneys are inappropriately flushing magnesium out, or if the loss is happening in your digestive tract [18][19].
- Prescribing Magnesium Replacement: For severe, highly symptomatic cases, magnesium is given intravenously (IV) in a hospital [20][21]. For milder deficiencies or long-term maintenance, oral magnesium supplements are used to slowly rebuild the body’s stores [22].
- Managing Side Effects: Oral magnesium supplements commonly cause diarrhea, which can ironically worsen your magnesium loss [22]. You will need to work with your doctor or pharmacist to find a dose and formulation that your digestive system tolerates.
Common questions in this guide
Can magnesium deficiency make hypoparathyroidism-related low calcium worse?
Why might calcium and calcitriol not raise my calcium when magnesium is low?
What can cause magnesium deficiency in someone with hypoparathyroidism?
How do doctors test and treat low magnesium?
When is low calcium an emergency?
Related questions
Show more
Get notified when new evidence is published on Hypoparathyroidism.
We monitor PubMed for new peer-reviewed studies on this topic and email a short summary when something meaningful changes.
References
References (22)
- 1
A Case of Renal Tubular Acidosis with Sjogren's Syndrome Showing Paradoxical Block of PTH Due to Severe Hypomagnesemia.
Kumar BV, Sivalingam M, Kumaran GS, Balakrishnan B
Indian journal of clinical biochemistry : IJCB 2017; (32(4)):496-499 doi:10.1007/s12291-016-0629-y.
PMID: 29062185 - 2
Delayed recognition of hypomagnesemia causing refractory Hypocalcemia after Reoperative neck surgery in a resource-limited setting. a case report.
Flores CS, Vásquez SM, Pineda A, et al.
Oxford medical case reports 2026; (2026(7)):omag132 doi:10.1093/omcr/omag132.
PMID: 42516777 - 3
Spectrum of Disorders associated with Tetany.
Santra G
The Journal of the Association of Physicians of India 2023; (71(3)):11-12 doi:10.5005/japi-11001-0203.
PMID: 37354510 - 4
Paradoxical Inadequate Parathyroid Hormone Secretion Secondary to Severe Hypomagnesemia: A Review of the Literature.
Albert A, Hinkel UP, Bohlender T, et al.
Kidney medicine 2025; (7(8)):101046 doi:10.1016/j.xkme.2025.101046.
PMID: 40740723 - 5
Hypoparathyroidism in a Case of Transfusion Dependent Thalassemia.
Majumder A, Basu S
Journal of the ASEAN Federation of Endocrine Societies 2020; (35(1)):129-132 doi:10.15605/jafes.035.01.23.
PMID: 33442182 - 6
Suppression of Parathyroid Hormone in a Patient with Severe Magnesium Depletion.
Mutnuri S, Fernandez I, Kochar T
Case reports in nephrology 2016; (2016()):2608538 doi:10.1155/2016/2608538.
PMID: 27190662 - 7
Extreme hypomagnesemia: characteristics of 119 consecutive inpatients.
Cheminet G, Clain G, Jannot AS, et al.
Internal and emergency medicine 2018; (13(8)):1201-1209 doi:10.1007/s11739-018-1898-7.
PMID: 29951810 - 8
Low Prevalence of Hypomagnesemia in Long-term Recipients of Proton Pump Inhibitors in a Managed Care Cohort.
Sharara AI, Chalhoub JM, Hammoud N, et al.
Clinical gastroenterology and hepatology : the official clinical practice journal of the American Gastroenterological Association 2016; (14(2)):317-21.
PMID: 26499924 - 9
Proton pump inhibitors and hypomagnesemia in the general population: a population-based cohort study.
Kieboom BC, Kiefte-de Jong JC, Eijgelsheim M, et al.
American journal of kidney diseases : the official journal of the National Kidney Foundation 2015; (66(5)):775-82.
PMID: 26123862 - 10
Mechanisms of proton pump inhibitor-induced hypomagnesemia.
Gommers LMM, Hoenderop JGJ, de Baaij JHF
Acta physiologica (Oxford, England) 2022; (235(4)):e13846 doi:10.1111/apha.13846.
PMID: 35652564 - 11
Thiazide but not loop diuretics is associated with hypomagnesaemia in the general population.
Kieboom BCT, Zietse R, Ikram MA, et al.
Pharmacoepidemiology and drug safety 2018; (27(11)):1166-1173 doi:10.1002/pds.4636.
PMID: 30095199 - 12
An overview of diagnosis and management of drug-induced hypomagnesemia.
Liamis G, Hoorn EJ, Florentin M, Milionis H
Pharmacology research & perspectives 2021; (9(4)):e00829 doi:10.1002/prp2.829.
PMID: 34278747 - 13
The Clinical Spectrum of Acquired Hypomagnesemia: From Etiology to Therapeutic Approaches.
Floris M, Angioi A, Lepori N, et al.
Biomedicines 2025; (13(8)) doi:10.3390/biomedicines13081862.
PMID: 40868117 - 14
Proton pump inhibitor-induced hypomagnesemia, a rare cause of reversible delirium: A case report with literature review.
Zhao W, Zhang J, Jia H, et al.
Medicine 2024; (103(40)):e39729 doi:10.1097/MD.0000000000039729.
PMID: 39465769 - 15
Best practice recommendations for the diagnosis and management of hypoparathyroidism.
Khan AA, Ali DS, Bilezikian JP, et al.
Metabolism: clinical and experimental 2025; (171()):156335 doi:10.1016/j.metabol.2025.156335.
PMID: 40581321 - 16
Quantifying the Serum Magnesium Response and Predictors of Response Following Intravenous Magnesium Replacement in Critically Ill Patients.
Said N, Angelotti G, Awad W, et al.
Pharmacotherapy 2026; (46(7)):e70175 doi:10.1002/phar.70175.
PMID: 42266166 - 17
Hypomagnesemia and hypermagnesemia.
Van Laecke S
Acta clinica Belgica 2019; (74(1)):41-47 doi:10.1080/17843286.2018.1516173.
PMID: 30220246 - 18
Proton-pump inhibitor use amongst patients with severe hypomagnesemia.
Seah S, Tan YK, Teh K, et al.
Frontiers in pharmacology 2023; (14()):1092476 doi:10.3389/fphar.2023.1092476.
PMID: 36794273 - 19
An approach to the diagnosis and management of a case presenting with recurrent hypomagnesemia secondary to the chronic use of a proton pump inhibitor.
dos Santos LM, Guerra RA, Lazaretti-Castro M, et al.
Magnesium research 2015; (28(4)):136-45 doi:10.1684/mrh.2015.0395.
PMID: 26878253 - 20
Magnesium biology.
Kröse JL, de Baaij JHF
Nephrology, dialysis, transplantation : official publication of the European Dialysis and Transplant Association - European Renal Association 2024; (39(12)):1965-1975 doi:10.1093/ndt/gfae134.
PMID: 38871680 - 21
Hypomagnesemia in critically ill patients.
Hansen BA, Bruserud Ø
Journal of intensive care 2018; (6()):21 doi:10.1186/s40560-018-0291-y.
PMID: 29610664 - 22
Acquired Disorders of Hypomagnesemia.
Rosner MH, Ha N, Palmer BF, Perazella MA
Mayo Clinic proceedings 2023; (98(4)):581-596 doi:10.1016/j.mayocp.2022.12.002.
PMID: 36872194
This page explains how magnesium deficiency can affect hypoparathyroidism and calcium control for informational purposes only; it is not medical advice. Do not change calcium, vitamin D, diuretic, or magnesium treatment without your clinician, and seek emergency care for severe low-calcium symptoms.