The headline “NEVER use magnesium if you are taking any of these medications” is too absolute. Magnesium supplements can interact with certain medicines, but in many cases the issue is timing or reduced absorption, not that magnesium must never be used. (ODS)
Medicines that deserve particular attention
- Certain antibiotics — especially doxycycline and other tetracyclines, and antibiotics such as ciprofloxacin or levofloxacin. Magnesium can bind these medicines and reduce their absorption. NIH guidance recommends taking the antibiotic at least 2 hours before or 4–6 hours after a magnesium supplement. (ODS)
- Oral bisphosphonates such as alendronate, used for osteoporosis. Magnesium can reduce absorption, so they should generally be separated by at least 2 hours. (ODS)
- Diuretics (“water pills”) can change magnesium levels—some increase magnesium loss while others reduce it. (ODS)
- Proton-pump inhibitors (PPIs) such as lansoprazole or esomeprazole can, when used for a long time, contribute to low magnesium levels. This is an interaction worth discussing with a clinician rather than simply avoiding magnesium. (ODS)
One more important point
Magnesium from normal foods isn’t generally the concern here. The interactions mainly involve magnesium supplements or magnesium-containing medicines. (ODS)
For adults, the NIH lists 350 mg/day as the upper limit for magnesium from supplements and medications unless a healthcare professional recommends otherwise. Excessive supplemental magnesium can cause diarrhea, nausea and abdominal cramps, and extremely high amounts can be dangerous. (ODS)
Don’t stop a prescribed medication or a necessary magnesium supplement without medical advice. If you give me the names and doses of the medicines you’re taking, I can check which ones interact with magnesium and how they should be spaced.
