Magnesium tops supplement sales alongside vitamin D and omega-3. People take it for sleep, cramps, stress. Almost nobody asks whether it gets along with the medications already in the drawer.

Most of its interactions share one simple mechanism: the magnesium ion binds certain drugs in the gut, forming complexes the intestine cannot absorb. The medication does not «fail». It just never reaches the blood at the dose your doctor calculated. The good news: almost all of these interactions are solved with a clock, not with giving anything up.

Levothyroxine

Magnesium salts reduce levothyroxine absorption. In practice this shows up as TSH creeping upward in a patient who used to be well controlled. The label recommends separating doses by at least 4 hours. Since levothyroxine is taken fasting in the morning, the easiest fix is moving magnesium to the evening.

Quinolones and tetracyclines

The strongest interaction in this list. Magnesium chelates ciprofloxacin, levofloxacin and doxycycline: with some preparations antibiotic absorption drops so sharply the treatment can fail. Practical rule: antibiotic 2 hours before magnesium or 4–6 hours after. During a short antibiotic course, pausing the supplement is the safest option.

Bisphosphonates

Alendronate and its analogues are poorly absorbed to begin with: under 1% of the dose. Any cation (magnesium, calcium, iron) cuts that further. That is why bisphosphonates are taken fasting with plain water, and magnesium no sooner than 30–60 minutes later, ideally at another time of day.

Gabapentin

Magnesium-containing antacids reduce gabapentin bioavailability by roughly 20%. Sounds small, but in neuropathic pain the difference is felt. A 2-hour gap solves it.

The reverse twist: omeprazole and its siblings

Here the relationship flips. Long-term use of proton pump inhibitors (omeprazole, esomeprazole, pantoprazole) can cause hypomagnesemia: AEMPS and the FDA warned about it back in 2011. Cramps, fatigue, arrhythmias in severe cases. If you have been on a PPI for years and these symptoms appear, the right question is not «which supplement am I missing?» but «has anyone measured my magnesium?».

In practice

MedicationSeparation from magnesium
LevothyroxineAt least 4 hours
Ciprofloxacin, levofloxacin, doxycyclineAntibiotic 2 h before or 4–6 h after, consider pausing the supplement
AlendronateBisphosphonate fasting, magnesium 30–60 min later or at another time
Gabapentin2 hours
Long-term PPINot a timing issue: ask for serum magnesium if symptoms appear

Two things not to do. Do not stop a prescription medication out of fear of a supplement interaction: the correct order is the opposite. And do not give up magnesium if it helps you: in nearly every case, moving it to a different hour is enough.

If you take several medications and a new supplement enters the routine, review the full regimen with your pharmacist or doctor. It takes ten minutes and prevents months of underdosed treatment.


Viktoriya Gankova, MD with a primary-care background, medical editor. Founder of Evigrade, an evidence-based reference on medications and cosmetic ingredients.

Educational reference information. It does not replace the judgment of your doctor or pharmacist. Sources: summaries of product characteristics (CIMA, AEMPS), AEMPS and FDA safety communications on PPI-induced hypomagnesemia (2011). Each substance page on evigrade.com links the primary sources.