Answers › Can you take magnesium with antibiotics?
Can you take magnesium with antibiotics?
This page hasn't been reviewed by a pharmacist yet. It's general information, not medical advice.
Short answer
Magnesium can form insoluble complexes with some antibiotics, specifically tetracyclines (such as doxycycline) and quinolones (such as ciprofloxacin), which can reduce how much antibiotic is absorbed. NIH ODS says these antibiotics should be taken at least 2 hours before or 4 to 6 hours after a magnesium-containing supplement. Your pharmacist can confirm timing for your prescription.
What NIH ODS says
Magnesium can form insoluble complexes with tetracyclines, such as doxycycline, and quinolone antibiotics, such as ciprofloxacin; these antibiotics should be taken at least 2 hours before or 4 to 6 hours after a magnesium-containing supplement. [1]
Other minerals
Zinc has a similar note for these antibiotic classes in the NIH ODS zinc fact sheet. [2] Check every product for minerals, including multis and antacids.
Upper limit reminder
The Australian/NZ adult upper level for supplemental magnesium is 350 mg/day. [3]
FAQ
Does this apply to all antibiotics?
NIH ODS names tetracyclines and quinolones. Other antibiotics may have different advice; ask your pharmacist.
Should I stop magnesium while on antibiotics?
Don't change a prescribed medicine or supplement routine without advice. Ask your pharmacist or GP about timing.
Related
- How much magnesium is too much? The Australian upper limit
- Is it safe to take magnesium and zinc together?
- Every source the Checker uses
Sources
- NIH ODS: Magnesium fact sheet for health professionals
- NIH ODS: Zinc fact sheet for health professionals
- NHMRC Nutrient Reference Values: Magnesium
Sources checked 2026-10-18. Last updated 2026-10-18.