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 group | What happens | Practical approach |
|---|---|---|
| Tetracyclines | Magnesium binds the drug and absorption falls | Take magnesium at least 2 hours before or 4–6 hours after; on a short course, pausing the supplement is simplest |
| Fluoroquinolones | Same mechanism — insoluble complexes form | Same spacing; pausing for the course is preferred |
| Levothyroxine | Absorption may be reduced | Sources 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 bisphosphonates | Absorption 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 |
| Gabapentin | Absorption may fall by 20–40% | Wait at least 2 hours after magnesium |
| Proton pump inhibitors | A different situation: long-term use is linked to <em>low</em> magnesium | Not a question of spacing; monitoring magnesium levels is advised with long-term use |
| Diuretics | Some increase magnesium excretion | A 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?
Can I take it at the same time as my thyroid medication?
I take a stomach medicine. Does it affect magnesium?
Can I take magnesium with calcium, iron or zinc?
Do over-the-counter antacids and laxatives count?
Sources give different intervals. Which is right?
Related reading
- Kidney health and magnesium — accumulation risk and what to do
- Pregnancy and breastfeeding — why the decision belongs to your doctor
- Magnesium intake and deficiency — why intake falls short, and food sources
- All guides
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.
