Which medicines should you take apart from magnesium?
Updated 10 Nov 2026
Short answer
Some antibiotics and some osteoporosis medicines. NIH ODS gives these time gaps:
- Bisphosphonates for osteoporosis, such as alendronate: magnesium lowers their absorption, so take magnesium-rich supplements or medicines at least 2 hours before or after them.[1]
- Tetracycline antibiotics, such as doxycycline, and quinolone antibiotics, such as ciprofloxacin and levofloxacin: magnesium binds them into compounds that do not dissolve. Take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium.[1]
Other medicines change the body's magnesium level:
- Loop diuretics, such as furosemide, and thiazide diuretics, such as hydrochlorothiazide, raise the loss of magnesium in urine.[1]
- Potassium-sparing diuretics, such as amiloride and spironolactone, lower that loss.[1]
- Proton pump inhibitors, stomach acid medicines such as esomeprazole, can cause low blood magnesium when taken for more than about a year. In a quarter of the cases the FDA reviewed, supplements did not correct it.[1]
Some antacids and laxatives contain magnesium too, and the US upper limit counts magnesium from both supplements and medicines.[1] People who take a medicine every day should ask a doctor or pharmacist first.[1]
Sources (1)
- Magnesium: Fact Sheet for Health Professionals. NIH Office of Dietary Supplements. ods.od.nih.gov
More about magnesium
What is magnesium?Which foods are good sources of magnesium?What does elemental magnesium mean on a supplement label?What are magnesium's main benefits?Who is most likely to have low magnesium?Is magnesium safe?For education; not medical advice. Talk to a doctor before you start, stop or change a supplement.