What happens when you take ciprofloxacin with magnesium?
Ciprofloxacin (Cipro) is a fluoroquinolone antibiotic used for urinary tract, respiratory, skin and other bacterial infections. Magnesium is taken as a supplement for sleep, cramps and constipation, and magnesium hydroxide is the active ingredient in Milk of Magnesia and many antacids. When magnesium is in the gut at the same time as ciprofloxacin, it can bind the antibiotic and lower how much is absorbed.
- Ciprofloxacin has chemical groups that grip metal ions such as magnesium and aluminum.
- In the gut, the bound antibiotic forms a complex that crosses the gut wall poorly.
- Less ciprofloxacin reaches the blood, and the effect is largest when the two are taken close together.
The Cipro label says antacids containing magnesium hydroxide or aluminum hydroxide may reduce ciprofloxacin bioavailability by as much as 90%. Section 2.4 says to give ciprofloxacin at least 2 hours before or 6 hours after magnesium antacids, and the Medication Guide gives patients the same rule for supplements and multivitamins that have magnesium.
Why is this important?
With a magnesium and aluminum antacid, the drop can be very large. In one study, healthy men who took the antacid 5 to 10 minutes before ciprofloxacin absorbed only about 15% of the usual amount. That could leave an infection undertreated.
The evidence for magnesium supplements on their own is thinner. The antacids studied also contained aluminum, which binds ciprofloxacin strongly, and no study of a magnesium supplement alone was found. That is why this is rated moderate rather than high: the label names magnesium and the risk is real, but the size of the effect for a plain magnesium supplement is unknown.
The risk is the antibiotic working less well, not a toxic reaction.
What should you do?
Timing is the main tool here.
Before your first dose: Tell your prescriber or pharmacist about magnesium supplements, magnesium laxatives, antacids and multivitamins you use.
Every day during the course: Take ciprofloxacin at least 2 hours before or 6 hours after any magnesium product, as the Cipro label directs. Evening magnesium often fits well if your doses fall at other times; ask your pharmacist to check your schedule.
If you need heartburn relief: Ask your pharmacist about an option without minerals. The label says H2-blocker acid reducers (the group that includes famotidine) appear to have no significant effect on ciprofloxacin absorption.
After the course ends: You can take magnesium at your usual time again.
Which specific products are affected?
On the medication side, this applies to oral ciprofloxacin: Cipro tablets, Cipro oral suspension and generic ciprofloxacin tablets. Ciprofloxacin ear drops and eye drops are not swallowed, so this gut interaction does not apply to them.
On the magnesium side, it applies to magnesium supplements in any form (oxide, citrate, glycinate, malate, threonate, chloride), magnesium laxatives such as Phillips' Milk of Magnesia and magnesium citrate solution, antacids that contain magnesium hydroxide such as Maalox and many Mylanta liquids, zinc-magnesium blends, calcium-magnesium combinations and most multivitamins.
Magnesium stearate, a filler used in many tablets, is listed as an inactive ingredient in Cipro tablets themselves; the label warning is about magnesium products, not this trace filler. Check the Supplement Facts or Drug Facts panel for magnesium as an active ingredient.
The science behind it
The Cipro prescribing information (section 2.4) says to give ciprofloxacin at least 2 hours before or 6 hours after magnesium and aluminum antacids. Section 12.3 states that antacids containing magnesium hydroxide or aluminum hydroxide may reduce ciprofloxacin bioavailability by as much as 90%, and the Medication Guide names supplements and multivitamins with magnesium.
Nix DE, et al. (Clin Pharmacol Ther. 1989; PMID 2598571) gave healthy men an aluminum and magnesium antacid (Maalox) at different times before ciprofloxacin. Relative absorption was 15.1% when the antacid came 5 to 10 minutes before the dose, 23.2% at 2 hours before and 70% at 4 hours before. Taking the antacid 6 hours before or 2 hours after ciprofloxacin did not affect absorption, which matches the label rule.
Frost RW, et al. (Antimicrob Agents Chemother. 1992; PMID 1503446) found that an aluminum hydroxide antacid alone, taken 5 minutes before ciprofloxacin, cut relative absorption to about 15% in 12 healthy volunteers. This shows how strongly aluminum binds, and it is part of why the magnesium-aluminum antacid results may overstate the effect of magnesium alone.
What was not shown: no study of a magnesium supplement alone (such as glycinate or citrate) with ciprofloxacin was found, so no percentage can be given for it. The studies used single doses in healthy adults and did not measure cure rates.
Frequently Asked Questions
How far apart should I take ciprofloxacin and magnesium?
The Cipro label says to take ciprofloxacin at least 2 hours before or 6 hours after magnesium products. In an antacid study, that spacing preserved absorption.
Does my magnesium glycinate or citrate supplement count?
Yes. The Medication Guide names supplements that have magnesium. No study was found that measured how much a plain magnesium supplement lowers ciprofloxacin, so space it as the label says.
Can I take Milk of Magnesia or Maalox while on ciprofloxacin?
Only with careful timing. These contain magnesium hydroxide, and an aluminum and magnesium antacid taken just before a dose cut absorption to about 15%. Ask your pharmacist before using them during the course.
What can I take for heartburn instead?
Ask your pharmacist. The label says H2-blocker acid reducers (the group that includes famotidine) appear to have no significant effect on ciprofloxacin absorption.
My tablet lists magnesium stearate. Is that a problem?
No. Magnesium stearate is a trace filler, and Cipro tablets list it as an inactive ingredient themselves. The warning is about magnesium supplements, laxatives and antacids.
What if I took them together by mistake?
That dose may have been absorbed less well. Do not take an extra antibiotic dose. Go back to proper spacing and tell your pharmacist if it happened more than once.
Key takeaways
- Magnesium can bind ciprofloxacin in the gut and lower its absorption.
- The Cipro label says magnesium or aluminum hydroxide antacids may cut absorption by as much as 90%.
- No study of a magnesium supplement alone was found, so its effect size is unknown.
- Take ciprofloxacin at least 2 hours before or 6 hours after magnesium products, as the label directs.
- Ask your pharmacist about mineral-free heartburn options during the course.
