Yes—magnesium supplements are safe for many people taking medications, but there are important exceptions. The issue is usually drug absorption, kidney function, or changes in magnesium levels, rather than magnesium being universally unsafe.
O
ODs
+1
Medications that need special attention
1. Certain antibiotics
Magnesium can bind to antibiotics such as doxycycline, ciprofloxacin, and levofloxacin, reducing their absorption. These medicines generally need to be taken separately from magnesium—often at least 2 hours before or 4–6 hours after the supplement.
O
ODs
2. Osteoporosis medicines
Magnesium can reduce absorption of oral bisphosphonates such as alendronate. Separate magnesium and the bisphosphonate by at least 2 hours.
O
ODs
3. Levothyroxine
Magnesium may reduce absorption of thyroid hormone. A recent clinical study found reduced levothyroxine absorption when it was taken together with certain magnesium preparations. It’s sensible to separate magnesium from levothyroxine and follow your pharmacist/doctor’s timing instructions.
P
PubMed Central (PMC)
4. Diuretics (“water pills”)
Drugs such as furosemide, bumetanide and hydrochlorothiazide can increase magnesium loss, while potassium-sparing diuretics such as spironolactone can reduce magnesium excretion. Your clinician may need to monitor your magnesium level depending on the circumstances.
O
ODs
5. Proton-pump inhibitors (PPIs)
Long-term use of medicines such as omeprazole, esomeprazole and lansoprazole can sometimes cause low magnesium. In some cases, supplementation may actually be appropriate—but this should be assessed medically.
O
ODs
⚠️ Kidney disease is especially important
Healthy kidneys remove excess magnesium. If kidney function is significantly impaired, magnesium can accumulate and potentially become dangerous.
G
GOV.UK
How much is too much?
For adults, the U.S. NIH sets an upper limit of 350 mg/day of magnesium from supplements and medications unless a healthcare professional recommends otherwise. This limit doesn’t include magnesium naturally present in food. Excess supplemental magnesium commonly causes diarrhea, nausea and abdominal cramps; very high amounts can cause serious toxicity.
O
ODs
Bottom line: Don’t automatically avoid magnesium because you take medication. But check the exact medication and dose before starting a supplement, especially if you take antibiotics, thyroid medicine, osteoporosis medication, diuretics, or have kidney problems.
If you give me the names and doses of your medications plus the magnesium product/dose, I can tell you which ones need separation or extra caution.
O
P
G
Sources
