Magnesium and Thyroid Function: What the Evidence Actually Shows
Magnesium plays a biochemical role in thyroid hormone production, helping the gland use iodine and convert T4 into active T3. Observational data link very low magnesium to higher thyroid antibodies and TSH, but no randomized trial has shown that magnesium supplementation alone improves thyroid function.
Why magnesium and your thyroid keep getting connected
If you have Hashimoto's or hypothyroidism, you've probably seen magnesium recommended for everything from leg cramps to sleep to "supporting your thyroid". The biology behind a thyroid link is real: magnesium is involved in the ATP-dependent steps your thyroid uses to take up iodine and to convert T4 into the active hormone T3 [C3]. The harder question is whether topping up magnesium actually moves thyroid numbers in people. That answer is much less settled — which is why the evidence here sits in the "emerging" bucket, weaker than what we have for selenium or iodine.
What the research actually shows
The strongest human signal comes from a 2018 cross-sectional study of 1,257 Chinese adults. People with severely low serum magnesium (≤0.55 mmol/L) had roughly three times higher odds of being positive for anti-thyroglobulin antibodies and around 2.7–2.8 times higher odds of having Hashimoto's compared with those whose magnesium was adequate; odds for subclinical hypothyroidism were roughly four to five times higher [C1]. About 6% of the sample fell into that severely-low group, and 28% had inadequate magnesium overall [C1].
Mechanistically, a 2022 review in Frontiers in Endocrinology summarises magnesium as "essential for thyroid utilization of iodine and the conversion of inactive T4 into active T3" [C3]. That role shows up in older animal work too: in a 1984 rat study, magnesium-depleted animals had lower plasma T4 and a blunted T4 response to TRH, with the authors concluding the drop "could be due to an impaired T4 synthesis or release in Mg-deficient rats" [C4]. A separate group has proposed a magnesium-plus-selenium-plus-CoQ10 protocol based on small uncontrolled clinical observations [C5, C6]. The closest thing to a randomized trial is a 10-week placebo-controlled study in 86 hypothyroid patients that combined zinc, vitamin A, and magnesium and found a significant rise in free T4, with no change in TSH or free T3 [C7].
Where the evidence is weaker
Three caveats matter here. First, no magnesium-monotherapy randomized trial has tested whether supplementation lowers thyroid antibodies, normalizes TSH, or improves symptoms in autoimmune thyroid disease. The Rabbani trial is a three-nutrient combination — magnesium's specific contribution can't be pulled out of the result [C7]. Second, the Wang study is cross-sectional, so it can't tell us whether low magnesium contributes to thyroid dysfunction or simply travels alongside it (poor diet, gut malabsorption, and chronic illness can all drag magnesium down) [C1]. Third, only about 1% of the body's magnesium sits in serum, and serum levels are tightly regulated, so a "normal" blood test doesn't rule out tissue depletion — and a low one is a fairly blunt instrument. On the symptomatic side, a 2020 Cochrane review concluded it is "unlikely that magnesium supplementation provides clinically meaningful cramp prophylaxis to older adults", with mixed results in pregnancy and no eligible trials in exercise- or disease-associated cramps [C8].
Practical guidelines
- Start with food. The NIH RDA is 310–320 mg/day for adult women and 400–420 mg/day for adult men, and most of that is achievable from regular meals [C2]. Strong sources per serving include pumpkin seeds (about 156 mg per ounce), chia seeds (about 111 mg per ounce), almonds (about 80 mg per ounce), boiled spinach (about 78 mg per half cup), cashews (about 74 mg per ounce), and black beans (about 60 mg per half cup) [C2]. These are the same foods that show up in selenium- and zinc-friendly meals, so one shopping list does a lot of work — see our pieces on selenium and Hashimoto's and zinc and the thyroid for how those minerals stack up.
- Keep symptomatic relief and thyroid function separate in your head. Many people genuinely sleep better or get fewer night-time cramps when their magnesium intake goes up — that's a different claim from "this will change my TSH". The cramp evidence specifically is mixed and largely null in older adults [C8]; the thyroid-function evidence is emerging at best.
- Talk to your healthcare provider before adding a supplement. The NIH lists a tolerable upper limit of 350 mg/day for magnesium from supplements and medications (food magnesium is not capped), and magnesium can interact with kidney function and certain medications [C2]. Your provider can also check whether a magnesium test makes sense alongside your usual thyroid panel.
Frequently asked questions
Can I get enough magnesium from food alone? For most people, yes. The NIH RDA of 310–420 mg/day is reachable with regular servings of seeds, nuts, leafy greens, and legumes — for example, an ounce of pumpkin seeds plus a half cup of cooked spinach already covers more than 230 mg [C2]. People with celiac disease, inflammatory bowel disease, or long-term proton-pump inhibitor use may absorb less and should ask their provider about testing [C2].
Does magnesium lower TSH or thyroid antibodies? Not according to the strongest available evidence. The observational signal in Wang 2018 connects severely low magnesium to higher antibodies and TSH, but it can't show a causal direction [C1]. No randomized monotherapy trial has tested this endpoint, and the one combination RCT mixed magnesium with zinc and vitamin A, so the magnesium-specific effect is unknown [C7].
Will magnesium help with my hypothyroid leg cramps and poor sleep? Possibly, but the evidence is mixed. The 2020 Cochrane review found no clinically meaningful benefit for cramps in older adults, with contradictory results in pregnancy [C8]. Some smaller post-Cochrane trials have shown benefit. A food-first approach is low-risk; a supplement is worth a conversation with your provider [C2].
Is it safe with levothyroxine? Magnesium-containing antacids and supplements can bind to levothyroxine and reduce its absorption when taken at the same time. The NIH fact sheet flags this kind of interaction, and the standard advice for thyroid medication is to separate it from minerals — discuss the timing window with your provider [C2].
Bottom line
Magnesium is genuinely involved in how your thyroid makes hormone, and people with very low magnesium do appear to have more thyroid trouble in observational data — but no monotherapy trial has shown that supplementation moves thyroid numbers in either direction. Aim for magnesium from food first (pumpkin seeds, chia, almonds, spinach, black beans), keep "helps me sleep" and "helps my thyroid" as separate questions, and bring any supplement plan to your healthcare provider before you start.
Sources
- [C1] Wang K, Wei H, Zhang W, et al. (2018). Severely low serum magnesium is associated with increased risks of positive anti-thyroglobulin antibody and hypothyroidism: a cross-sectional study. Scientific Reports. PMC: PMC6028657
- [C2] NIH Office of Dietary Supplements. Magnesium Fact Sheet for Health Professionals (2024). ods.od.nih.gov
- [C3] Zhou Q, Xue S, Zhang L, Chen G. (2022). Trace elements and the thyroid. Frontiers in Endocrinology. 10.3389/fendo.2022.904889
- [C4] Hsu JM, Root AW, Duckett GE, et al. (1984). The effect of magnesium depletion on thyroid function in rats. The Journal of Nutrition, 114(8):1510–7. PubMed: 6747732
- [C5] Moncayo R, Moncayo H. (2014). The WOMED model of benign thyroid disease: acquired magnesium deficiency due to physical and psychological stressors. BBA Clinical. PMC: PMC4661500
- [C6] Moncayo R, Moncayo H, Reisenzahn C. (2020). Repairing the damaged thyroid proteome through tailored supplementation with magnesium, selenium and coenzyme Q10. JCCR. oatext.com
- [C7] Rabbani E, Golgiri F, Janani L, et al. (2021). Randomized study of the effects of zinc, vitamin A, and magnesium co-supplementation on thyroid function, oxidative stress, and hs-CRP in patients with hypothyroidism. Biological Trace Element Research. PubMed: 33409923
- [C8] Garrison SR, Korownyk CS, Kolber MR, et al. (2020). Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews. PMC: PMC7025716
For educational purposes only. Not medical advice. Always consult your healthcare provider.
Sources
- A
- ANIH Office of Dietary Supplements — Magnesium Fact Sheet for Health Professionals· 2024 · government-fact-sheet
- AZhou, Xue, Zhang, Chen 2022 — Trace elements and the thyroid· 2022 · review
- AHsu et al. 1984 — Magnesium depletion and thyroid function in rats· 1984 · animal-study
- AMoncayo & Moncayo 2014 — WOMED model: magnesium deficiency, stress, thyroid· 2014 · mechanism-paper
- AMoncayo, Moncayo, Reisenzahn 2020 — Magnesium + selenium + CoQ10 combination· 2020 · clinical-observation
- ARabbani et al. 2021 — Zinc, vitamin A, and magnesium supplementation in hypothyroidism (RCT)· 2021 · randomized-controlled-trial
- AGarrison et al. 2020 — Magnesium for skeletal muscle cramps (Cochrane Review)· 2020 · systematic-review