Magnesium works quietly in the background, but it can get in the way of a few common medications. In most cases, a couple of hours between them is the fix.
Written by Vita Globe Editorial Team | Reviewed against NIH Office of Dietary Supplements guidance
What shouldn't you take with magnesium?
Separate magnesium from bisphosphonates (osteoporosis drugs) by at least 2 hours, and from tetracycline or quinolone antibiotics by taking the antibiotic at least 2 hours before or 4 to 6 hours after[1]. Some diuretics and long-term acid reflux medications also affect magnesium levels[1].
Bisphosphonates
Bisphosphonates like alendronate (Fosamax) treat osteoporosis. Magnesium-rich supplements and medications can reduce how well they're absorbed. The NIH recommends taking them at least 2 hours apart[1].
Antibiotics
Magnesium can bind to tetracycline antibiotics (like doxycycline and minocycline) and quinolone antibiotics (like ciprofloxacin and levofloxacin), lowering how much your body absorbs[1]. Take these antibiotics at least 2 hours before or 4 to 6 hours after magnesium[1].
Diuretics
Diuretics work in both directions with magnesium[1]:
- Loop and thiazide diuretics (like furosemide and hydrochlorothiazide) can increase magnesium loss in urine and lower your levels over time.
- Potassium-sparing diuretics (like spironolactone) reduce magnesium loss, so adding a supplement could push levels higher.
This isn't fixed by timing. If you take a diuretic, ask your doctor whether a magnesium supplement makes sense for you.
Proton pump inhibitors
Taking acid reflux medications like omeprazole or lansoprazole for more than a year can cause low magnesium in some people[1]. If you've been on a PPI long term, your doctor may want to check your levels.
Very high-dose zinc
Very high zinc intakes, far above normal supplement doses, can interfere with magnesium absorption[1]. At typical amounts, this isn't a concern. See how much zinc per day.
What pairs well with magnesium
- Vitamin D. Magnesium plays a role in vitamin D metabolism. See magnesium and vitamin D.
- Turmeric. The two are combined in our Strength & Mobility Bundle.
Our option
Our vegan magnesium citrate gummies are easy to take at a set time each day, which makes spacing around medications simpler. Take 15% off with code BLOG15.
Frequently asked questions
Can I take magnesium and calcium together?
Many products combine them. If you take large doses of both, splitting them between morning and evening is a reasonable precaution.
Can I take magnesium with coffee?
We're not aware of research showing a meaningful problem. Caffeine can slightly increase magnesium lost in urine, but not enough to worry about for most people.
What are the side effects of magnesium?
Sources
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease. This article is for informational purposes only and is not a substitute for medical advice. Talk to your healthcare provider before starting any new supplement, particularly if you are pregnant, nursing, taking medication, or caring for a child.