Skip to content
Guide

Which medicines does magnesium interfere with?

Magnesium binds to certain drug molecules in the gut and prevents them being absorbed. In most cases the answer is not to stop the medicine but to separate the times.

Short answer: The clearest conflict is with antibiotics. Magnesium ions bind directly to tetracyclines and fluoroquinolones, forming insoluble complexes the gut cannot absorb. Spacing is also needed with thyroid medication and bisphosphonates. If you take medicines regularly, confirm the timing with your pharmacist or doctor — what follows is general information, not prescribing advice.

Timing table

Drug groupWhat happensPractical approach
TetracyclinesMagnesium binds the drug and absorption fallsTake magnesium at least 2 hours before or 4–6 hours after; on a short course, pausing the supplement is simplest
FluoroquinolonesSame mechanism — insoluble complexes formSame spacing; pausing for the course is preferred
LevothyroxineAbsorption may be reducedSources report spacing of 2 to 4 hours. As the drug is taken fasting in the morning, moving magnesium to the evening is the practical answer
Oral bisphosphonatesAbsorption is impaired (oral forms only)Drug on an empty stomach in the morning with water; magnesium later in the day — at least 2 hours apart
GabapentinAbsorption may fall by 20–40%Wait at least 2 hours after magnesium
Proton pump inhibitorsA different situation: long-term use is linked to <em>low</em> magnesiumNot a question of spacing; monitoring magnesium levels is advised with long-term use
DiureticsSome increase magnesium excretionA clinical assessment — dose and monitoring are a doctor’s decision

Spacing intervals differ between sources; the more cautious values are given here. For the exact interval, the drug’s own prescribing information and your pharmacist are authoritative.

Stomach medicines: an interaction in the other direction

Proton pump inhibitors behave differently. The issue is not magnesium blocking the drug but long-term drug use lowering magnesium. A meta-analysis reported low magnesium in a median 27.1% of people taking these drugs (range 11.3–55.2%) against 18.4% in those not taking them (range 4.3–52.7%).

The evidence is contested: a 2016 study in long-term users reported that chronic use did not appear associated with low magnesium in the absence of other risk factors. Clinical practice generally leans towards checking magnesium levels in long-term users, particularly those also taking diuretics or other drugs that lower magnesium.

A note on antacids and laxatives

These interactions are not limited to supplements. Some over-the-counter antacids and laxatives contain magnesium and cause the same conflicts. Include them when you list your medicines — most people do not.

A practical routine

  • If you take medicines fasting in the morning (thyroid medication, bisphosphonates), moving magnesium to the evening resolves most conflicts in one step.
  • During a course of antibiotics, pausing the magnesium supplement is safer and simpler than calculating hours.
  • When starting a new medicine, take your list of supplements with you. A photo of the label is enough.
  • If your kidney function is impaired, magnesium carries a risk of accumulation — a separate matter covered in Kidney health and magnesium.

Frequently asked

The questions most often searched on this topic, answered as they are.

Can I take magnesium while on antibiotics?
Spacing is needed. Magnesium ions bind to tetracyclines and fluoroquinolones and form complexes the gut cannot absorb. On a short course, the simplest answer is to pause the supplement for the duration.
Can I take it at the same time as my thyroid medication?
No — leave an interval. Sources report spacing of 2 to 4 hours. Since the drug is taken fasting in the morning, moving magnesium to the evening resolves most conflicts in one step.
I take a stomach medicine. Does it affect magnesium?
Here the interaction runs the other way: long-term proton pump inhibitor use is linked to low magnesium. A meta-analysis reported low magnesium in a median 27.1% of users against 18.4% of non-users; the evidence is contested. Monitoring is advised with long-term use.
Can I take magnesium with calcium, iron or zinc?
The common advice is not to take them at the same time; sources suggest leaving a few hours between these minerals. If you take several supplements, spreading them across the day is a practical arrangement.
Do over-the-counter antacids and laxatives count?
Yes. Some contain magnesium and cause the same conflicts. Include them when you list your medicines — most people do not.
Sources give different intervals. Which is right?
The intervals genuinely differ between sources; the more cautious values are given on this page. For the exact interval, the drug’s own prescribing information and your pharmacist are authoritative.

Related reading

This content is for information only and is not medical advice. Food supplements should not be used as a substitute for a varied and balanced diet and are not intended to prevent or treat any disease. If you are pregnant or breastfeeding, have a long-term health condition or take regular medication, talk to your doctor before taking a supplement. Do not exceed the recommended daily dose.