Back to Minerals

Does Magnesium Interact With Any Medicines?

Does Magnesium Interact With Any Medicines?
Supplements Guide 7 June 2026

Magnesium interacts with medicines in both directions. It binds several common drugs in the gut so neither is properly absorbed, and a number of widely prescribed medicines deplete magnesium over time. Both are worth knowing about.

Which medicines does magnesium bind?

  • Tetracycline antibiotics including doxycycline and lymecycline
  • Quinolone antibiotics such as ciprofloxacin and levofloxacin
  • Levothyroxine for underactive thyroid
  • Bisphosphonates for osteoporosis
  • Some HIV medicines and certain antifungals
  • Gabapentin, where magnesium may reduce absorption

All of these are solved by spacing rather than avoidance. Taking the medicine and the magnesium a few hours apart preserves the effectiveness of both.

The levothyroxine interaction is the most frequently missed, because both are widely taken and the consequence is a gradual drift in thyroid levels rather than an obvious failure.

Which medicines deplete magnesium?

Proton pump inhibitors such as omeprazole and lansoprazole are the most significant. Regulators have issued warnings about low magnesium associated with long term use.

The depletion can develop after months or years, and importantly it may not correct with supplements while the medicine continues, sometimes requiring the medicine to be stopped or changed.

Loop diuretics such as furosemide and thiazide diuretics increase urinary magnesium losses substantially. Some chemotherapy agents, particularly platinum based ones, and certain immunosuppressants also deplete it.

Why does depletion matter?

Because low magnesium causes low potassium and low calcium that resist correction until the magnesium itself is replaced.

Someone with a stubbornly low potassium not responding to supplements often turns out to be magnesium deficient. This is a well recognised clinical pattern and a reason magnesium is checked in that situation.

Does magnesium affect heart medicines?

It can. Magnesium may enhance the effect of some calcium channel blockers and muscle relaxants, and there are theoretical concerns about combining it with medicines affecting heart conduction.

Anyone with a heart rhythm condition or taking digoxin should check with a pharmacist before starting magnesium, since electrolyte balance matters considerably in that context.

What about magnesium in over the counter products?

This is easy to miss. Magnesium appears in many antacids, in milk of magnesia and other laxatives, and in some indigestion remedies.

Someone taking a magnesium supplement plus an antacid regularly may exceed what they intended, and these products also carry the same binding interactions with antibiotics and levothyroxine.

Who should be most careful?

Anyone with kidney disease, since the kidneys clear magnesium and impaired function allows it to accumulate to dangerous levels.

People with myasthenia gravis, where magnesium can worsen muscle weakness, and anyone with significant heart conduction problems.

Older adults deserve caution generally, since kidney function declines with age and may be reduced without having been identified.

What should you do?

Keep one list of every medicine and supplement, including antacids and laxatives, and show it to a pharmacist. The consultation is free and requires no appointment.

Ask specifically about spacing rather than whether the combination is permitted, since timing is usually the answer. Never stop prescribed medication because of something you have read.

Report suspected reactions through the MHRA Yellow Card scheme. This article is general information and not medical advice.

Does magnesium affect any tests?

Magnesium containing antacids and laxatives can affect some blood results if taken shortly before testing, and this is rarely significant at supplement doses.

More usefully, if you are having potassium or calcium checked because of persistent abnormalities, mention magnesium supplements, since they change how the results should be read.

What should you ask about?

Whether any of your medicines need spacing from magnesium, whether any of them deplete it, and whether your kidney function has been checked recently if you plan to supplement regularly.

Those three questions cover almost everything that matters and take a couple of minutes at a pharmacy counter.

Magnesium is a good example of why supplements deserve the same scrutiny as medicines. It interacts meaningfully in both directions, and none of that appears on the packet because it is sold as a food.