Ingredient guide · Ingredient reference

Magnesium with antibiotics: the exact medicine determines the schedule

Magnesium can bind some antibiotics in the digestive tract and reduce their absorption. Ask about the named prescription and all magnesium-containing supplements, antacids and laxatives.

Read the evidence ↓

Supplement Science Insights Editorial Team

Published September 23, 2026

Certain antibiotics can form poorly absorbed complexes

ODS identifies tetracyclines, including doxycycline, and quinolones, including ciprofloxacin and levofloxacin, as antibiotics that can form insoluble complexes with magnesium. The concern is reduced antibiotic absorption, not proof that magnesium is incompatible with every antibiotic. [1]

A medicine list should include antacids and laxatives as well as products marketed as supplements. Magnesium remains relevant when its package is labeled for stomach symptoms rather than nutrition. [1]

Direction matters in a separation interval

The ODS summary advises taking these antibiotics at least two hours before, or four to six hours after, a magnesium supplement. The prescriber or pharmacist should reconcile that general guidance with the actual drug’s instructions and the full regimen. [1]

Do not turn those two different intervals into a universal two-hour gap. Nor should antibiotic doses be omitted or moved arbitrarily to accommodate an optional supplement. A medication-specific schedule is the useful output of the review. [1]

Write the order of the products explicitly

Imagine a note says only “separate by two hours.” It does not state which product comes first and may not match the antibiotic’s instructions. A useful record lists the drug, magnesium product, planned times and pharmacist-confirmed interval.

Hypothetical example — an incomplete timing note
ObservationMeaning
Antibiotic name missingDrug-specific directions unknown
Two-hour gap onlyOrder not specified
Exact products and timesA schedule the pharmacist can review
Magnesium with antibiotics: the exact medicine determines the schedule — original article outline diagram
Original editorial diagram of this article’s sections; no product photograph or clinical finding is depicted.

Sources for this article

  1. NIH ODS: Magnesium
    Source consulted: 2026-09-17. This is a reference resource, not a claim that we conducted the studies or tested a product.