The headline “Don’t EVER use magnesium if you’re on any of the following medications” is too absolute. Magnesium does interact with several medications, but in many cases the issue is timing or absorption, not that magnesium must never be used.
Magnesium is an essential mineral involved in muscle and nerve function, blood pressure regulation, and many other processes. Magnesium supplements can also interact with certain medicines, so it is important to check before taking them regularly. (ODs.nih.gov)
1. Certain antibiotics
Magnesium can bind to some antibiotics in the digestive tract and reduce how much of the medicine is absorbed.
This includes antibiotics such as:
- Doxycycline
- Ciprofloxacin
- Levofloxacin
- Other tetracycline and quinolone antibiotics
NIH guidance recommends separating magnesium from these antibiotics. Depending on the antibiotic, it may need to be taken at least 2 hours before or 4–6 hours after magnesium. (ODs.nih.gov)
2. Bisphosphonates for osteoporosis
Medicines such as alendronate can have reduced absorption when taken too close to magnesium-containing supplements or medicines.
Magnesium should generally be separated from oral bisphosphonates by at least 2 hours. (ODs.nih.gov)
3. Levothyroxine
There is evidence that magnesium-containing products can reduce the absorption of levothyroxine, a thyroid medication.
A recent clinical trial found that magnesium taken together with levothyroxine reduced thyroid-hormone absorption, supporting the practice of separating the two. (PubMed)
4. Diuretics (“water pills”)
Diuretics don’t necessarily make magnesium unsafe. Instead, different types of diuretics can change how much magnesium the kidneys lose.
For example, loop and thiazide diuretics can increase magnesium loss, while potassium-sparing diuretics such as amiloride and spironolactone can reduce magnesium excretion. (ODs.nih.gov)
5. Long-term proton pump inhibitors
Medications such as esomeprazole and lansoprazole can cause low magnesium levels when used for prolonged periods.
Interestingly, this doesn’t mean magnesium should automatically be avoided. In some cases, healthcare professionals may actually recommend magnesium supplementation or monitoring. (ODs.nih.gov)
The important distinction
Don’t stop a prescribed medication just because you take magnesium. In many situations, the solution is simply to separate the doses or have your doctor/pharmacist monitor your magnesium level.
Also remember that magnesium is found in some antacids and laxatives, not just dietary supplements, so check labels carefully. (ODs.nih.gov)
If you’re taking prescription medication and considering magnesium, tell your doctor or pharmacist the exact medication, dose, and magnesium product you’re using. This is especially important if you take several medications at once. (ODs.nih.gov)
Bottom line: Magnesium isn’t universally dangerous with these medications, but it can interfere with the absorption or effectiveness of certain drugs. The safest approach is to check the specific combination rather than assuming you must avoid magnesium altogether.