Can You Take Magnesium With Hypothyroidism?

Magnesium is safe to take when you have hypothyroidism, and there are reasons it may even be helpful, but the timing of your dose matters if you take levothyroxine. Magnesium can reduce how much thyroid medication your body absorbs, and the size of that effect depends on the form of magnesium you use. Beyond the drug interaction, the relationship between magnesium and thyroid function is more intertwined than most people realize, with evidence suggesting that very low magnesium levels are themselves linked to a higher risk of hypothyroidism.

The Levothyroxine Absorption Problem

The biggest practical concern for someone with hypothyroidism taking magnesium is that magnesium can interfere with levothyroxine absorption in the gut. A randomized crossover trial in healthy volunteers found that taking magnesium aspartate at the same time as levothyroxine reduced the amount of thyroxine reaching the bloodstream by about 12%, while magnesium citrate reduced it by roughly 7%.1PubMed Central. Single Center, Open‐Label, Randomized Crossover Trial on Drug–Drug Interactions of Levothyroxine/Magnesium‐Citrate and Levothyroxine/Magnesium‐Aspartate in Healthy Subjects—The ThyroMag Trial A 12% drop might sound modest, but for someone whose doctor is targeting a narrow TSH range, that can be enough to push levels out of the sweet spot and bring symptoms creeping back.

The mechanism is straightforward. Divalent cations like magnesium, calcium, and iron can bind to levothyroxine in the stomach and small intestine, forming complexes that your gut cannot absorb as easily. This is not unique to magnesium; calcium supplements and iron tablets cause similar problems, and the effect with magnesium appears to be somewhat smaller than what has been reported for calcium or iron. Earlier case reports documented marked TSH spikes in hypothyroid patients who began taking magnesium-containing antacids or laxatives alongside their levothyroxine, with TSH normalizing again once the magnesium products were stopped.2PubMed. Intestinal adsorption of levothyroxine by antacids and laxatives: case stories and in vitro experiments

The fix is simple: separate the doses. Take your levothyroxine on an empty stomach, ideally first thing in the morning with a glass of water, and wait at least four hours before taking a magnesium supplement. Some people find it easiest to take magnesium at lunch or before bed. If you stick to that spacing, the interaction becomes a non-issue.

Why Compliance With Timing Gets Tricky

Telling someone to separate their pills by four hours sounds easy enough, but in practice it trips people up. A large surveillance study found that participants who struggled to follow levothyroxine administration guidance were more than twice as likely to stop taking their medication altogether for over a month compared to those who found timing easy to manage.3Annals of Thyroid. Drug administration as a factor affecting levothyroxine therapy—results of the CONTROL Surveillance II study People who found the timing difficult were also more likely to be dissatisfied with their therapy overall. If you are someone who already takes multiple supplements or medications in the morning, adding a separation window for magnesium can feel like yet another scheduling puzzle. Nighttime dosing for magnesium is one workaround that many people find easier to sustain, with the added benefit that some users report magnesium at bedtime helps with sleep.

The Form of Magnesium Matters

Not all magnesium supplements behave the same way in your gut. The ThyroMag trial specifically compared magnesium citrate and magnesium aspartate and found that citrate caused a smaller reduction in levothyroxine absorption than aspartate.1PubMed Central. Single Center, Open‐Label, Randomized Crossover Trial on Drug–Drug Interactions of Levothyroxine/Magnesium‐Citrate and Levothyroxine/Magnesium‐Aspartate in Healthy Subjects—The ThyroMag Trial The researchers suggested that if a patient must take magnesium closer in time to levothyroxine, citrate may be the better choice. Meanwhile, earlier in vitro work found that magnesium oxide on its own did not bind levothyroxine, though combination antacid products containing magnesium hydroxide and magnesium carbonate did.2PubMed. Intestinal adsorption of levothyroxine by antacids and laxatives: case stories and in vitro experiments

This means the common advice to “avoid magnesium with your thyroid medication” is a bit of an oversimplification. The degree of interaction varies by formulation, and the clinical significance depends on how tightly your TSH needs to be controlled. Someone on a stable dose with TSH comfortably in range has more margin for error than someone whose doctor is fine-tuning their dose after a thyroidectomy.

How Magnesium Supports Thyroid Function

Setting the drug interaction aside, magnesium plays a background role in how your thyroid makes its hormones. The mineral is not directly involved in the way iodine is, but it supports several steps in the production chain. The sodium-iodide symporter that pulls iodine into thyroid cells runs on energy from ATP, and magnesium is an essential cofactor for ATP generation. Later in the process, the enzymes that convert the less active form of thyroid hormone (T4) into the more active form (T3) also rely on magnesium-dependent pathways in the electron transport chain.4PubMed Central. Activities of Serum Magnesium and Thyroid Hormones in Pre-, Peri-, and Post-menopausal Women Think of magnesium less as a building block of thyroid hormones and more as part of the machinery that keeps the production line running.

There is also a connection through selenium. Magnesium deficiency can impair the bioavailability of selenium, another mineral that thyroid function depends on. When magnesium is very low, selenium levels in tissues drop as well, potentially compounding the effect on thyroid hormone metabolism.5PubMed Central. The Role of Nutrition on Thyroid Function

Low Magnesium and the Risk of Hypothyroidism

A cross-sectional study of over 1,200 subjects found that people with severely low serum magnesium levels had a sharply elevated risk of hypothyroidism. Those in the lowest magnesium quartile had roughly four to five times the odds of having subclinical or overt hypothyroidism compared to those in the adequate range. The prevalence of subclinical hypothyroidism in the lowest quartile was about 32%, compared to much lower rates in the other groups.6PubMed Central. Severely low serum magnesium is associated with increased risks of positive anti-thyroglobulin antibody and hypothyroidism: A cross-sectional study The same study found that low magnesium was linked to higher rates of positive anti-thyroglobulin antibodies, a marker associated with autoimmune thyroid disease.

This is a cross-sectional finding, so it cannot prove that low magnesium causes hypothyroidism. The relationship might run in the other direction, or both could share a common upstream cause. Still, the association is strong enough that some researchers have suggested screening magnesium levels in people diagnosed with autoimmune thyroiditis or unexplained hypothyroidism.5PubMed Central. The Role of Nutrition on Thyroid Function

Magnesium Supplementation and Hashimoto’s Thyroiditis

Given the association between low magnesium and thyroid autoimmunity, a natural question is whether supplementing magnesium helps people with Hashimoto’s. A study in euthyroid Hashimoto’s patients (meaning they had the autoimmune condition but their thyroid hormone levels were still normal) looked at what happened after two months of magnesium supplementation. Serum magnesium rose, but the antibody markers of autoimmunity, anti-TPO and anti-TG, did not change significantly. TSH increased slightly, though it stayed within the normal range.7Cumhuriyet Medical Journal. Effects of Magnesium Coadministration on Thyroid Function and Autoantibody Titers in Euthyroid Hashimoto’s Thyroiditis

The lack of antibody reduction after two months does not mean magnesium is irrelevant to thyroid autoimmunity. It may simply mean the effect takes longer to manifest, or that correcting a deficiency prevents worsening rather than reverses existing damage. The evidence here is thin, and nobody should expect magnesium to be a treatment for Hashimoto’s on its own. What it suggests is that correcting a genuine deficiency may help optimize the metabolic environment around the thyroid, even if it does not flip a clear switch on autoimmune markers in the short term.

Symptoms That Look Like Hypothyroidism but Might Be Magnesium Deficiency

One underappreciated wrinkle is that magnesium deficiency and hypothyroidism share a long list of symptoms: fatigue, muscle cramps, brain fog, constipation, low mood. Researchers at one clinical center found that symptoms traditionally attributed to hypothyroidism in their patients were in some cases directly associated with magnesium deficiency rather than inadequate thyroid hormone replacement.8PubMed Central. The WOMED model of benign thyroid disease: Acquired magnesium deficiency due to physical and psychological stressors relates to dysfunction of oxidative phosphorylation In their data, patients under higher physical or psychological stress tended to have lower blood magnesium levels and more of these overlapping symptoms.

This matters practically. If you are on levothyroxine and your TSH looks fine on paper but you still feel lousy, it is worth considering whether magnesium deficiency could be contributing to lingering symptoms. Many doctors do not routinely check magnesium, and when they do, the standard blood test has real limitations.

Why Standard Blood Tests Can Miss Magnesium Deficiency

Only about 0.8% of the body’s total magnesium is in the blood serum, which is what a standard lab test measures.9PubMed Central. Challenges in the Diagnosis of Magnesium Status Your body tightly regulates that small circulating fraction, drawing on stores in bone and muscle to keep serum levels stable even when total body stores are running low. The result is that you can have a “normal” serum magnesium level while actually being depleted at the cellular level. Research in geriatric patients confirmed this directly, finding many individuals with normal serum magnesium but low intracellular magnesium.10The Journal of nutrition, health and aging. Intra-Erythrocyte Magnesium Levels and their Clinical Implications

Red blood cell (RBC) magnesium testing is somewhat better at catching this hidden deficiency, though it is not perfect either and is not available everywhere. If your doctor only runs a basic metabolic panel, magnesium deficiency can easily fly under the radar. Given the symptom overlap with hypothyroidism, this is a gap worth being aware of.

How Hypothyroidism Changes Magnesium Handling

The interaction between magnesium and the thyroid runs both ways. Not only does magnesium status affect thyroid function, but thyroid disease changes how your body processes magnesium. Research measuring magnesium transport found that hypothyroid patients excreted about 30% less magnesium through their kidneys compared to controls, while hyperthyroid patients excreted about 80% more. When patients were treated and returned to normal thyroid function, their magnesium handling normalized as well.11The Journal of Clinical Endocrinology & Metabolism. Magnesium Transport in Patients with Thyroid Disease

This means that as your hypothyroidism is treated and your thyroid levels normalize, your magnesium excretion may increase. Someone who was not deficient while hypothyroid might find their magnesium status slipping as their levothyroxine dose ramps up, particularly if their dietary intake is marginal. It is a subtle shift that rarely gets discussed in clinical settings.

Safety and Who Should Be Cautious

For most people with normal kidney function, magnesium supplements within standard doses (typically 200 to 400 mg of elemental magnesium per day) are well tolerated. The most common side effect is loose stools, especially with magnesium citrate or magnesium oxide at higher doses. Hypermagnesemia, where blood magnesium climbs to dangerous levels, almost always occurs in the setting of kidney disease combined with high magnesium intake.12PubMed. Magnesium metabolism in health and disease If your kidneys are healthy, they can readily clear excess magnesium from the blood.

There is one counterintuitive finding worth mentioning. Animal research has suggested that chronically high magnesium intake can actually disrupt thyroid function by altering enzyme activity and iodothyronine metabolism, leading to changes in T3 and T4 levels and even thyroid gland enlargement.5PubMed Central. The Role of Nutrition on Thyroid Function This was observed at very high doses in rats, so it is not directly translatable to normal human supplementation. But it is a good reminder that more is not always better. Correcting a deficiency is one thing; megadosing is another.

Magnesium and Thyroid Concerns During Pregnancy

Pregnancy adds another layer of complexity. Magnesium demands increase during pregnancy, and thyroid hormone requirements also rise, often requiring levothyroxine dose adjustments. Research on women undergoing IVF found that magnesium levels dropped significantly in early pregnancy while TSH levels rose, and the two tracked together.13Elsevier / BBA Clinical. The role of magnesium and thyroid function in early pregnancy after in-vitro fertilization (IVF): New aspects in endocrine physiology This does not prove that falling magnesium caused the TSH rise, but it highlights that both nutrients are under pressure during early pregnancy and may influence each other.

For pregnant women with hypothyroidism, the takeaway is to be mindful of both magnesium and thyroid hormone levels, and to maintain the timing separation between any magnesium supplement and levothyroxine. Prenatal vitamins often contain magnesium alongside iron and calcium, all of which can interfere with levothyroxine absorption, so the standard advice to take your thyroid pill well before your prenatal vitamin is especially important.

Food Sources Versus Supplements

Getting magnesium from food avoids the timing headache almost entirely. A handful of pumpkin seeds, a serving of dark chocolate, a cup of cooked spinach, or a portion of almonds each delivers a meaningful dose of magnesium. Because food-based magnesium enters the gut alongside other nutrients and is absorbed more gradually, it is much less likely to form the kind of concentrated bolus that binds levothyroxine in the stomach. You still would not want to eat a magnesium-heavy meal right alongside your thyroid pill, but a normal breakfast taken an hour or so after your levothyroxine is typically fine.

Dietary surveys consistently show that a large portion of the population does not meet the recommended daily intake of magnesium through food alone, which is why supplements are popular in the first place. If you can close the gap through diet, that is the path of least resistance for someone managing hypothyroidism. If you need a supplement, separating it by four hours from levothyroxine and choosing a form like magnesium citrate or glycinate that is both well absorbed and less likely to cause gastrointestinal distress is a reasonable approach.

When to Talk to Your Doctor

If you are already on a stable levothyroxine dose and want to add a magnesium supplement, the most important thing is to space them apart and then recheck your TSH after six to eight weeks. That is the standard interval for catching any shift in thyroid hormone levels after a medication or supplement change. If your TSH stays in range, you are in the clear. If it drifts up, the first thing to evaluate is whether you have been taking the supplements too close together before assuming you need a levothyroxine dose increase.

For anyone experiencing persistent fatigue, muscle cramps, or other overlapping symptoms despite “normal” thyroid labs, asking specifically about magnesium testing is worthwhile. Be aware that a standard serum magnesium test can come back normal even when body stores are low, and ask whether an RBC magnesium test is available. The conversation is especially relevant if you have Hashimoto’s thyroiditis, since the association between low magnesium and thyroid autoantibody positivity gives extra reason to ensure your levels are adequate.6PubMed Central. Severely low serum magnesium is associated with increased risks of positive anti-thyroglobulin antibody and hypothyroidism: A cross-sectional study