Vitamins and minerals

Magnesium oxide (supplement)

OTCGeneric only
Available as
  • Tablets and capsules: 250 mg, 400 mg, 500 mg (about 60% elemental magnesium)

Generic price NADAC

Strength and formPer unitTypical fill
Magnesium oxide 400 mg tablet$0.035 / tablet$1.05 / 30
Magnesium oxide 420 mg tablet$0.039 / tablet$1.18 / 30

Average price U.S. pharmacies pay to buy this medicine (CMS NADAC, week of November 25, 2026). Your cash price or copay will be different. Pharmacies add a dispensing fee, and insurance and discount cards change what you pay.

Magnesium oxide is a common, inexpensive form of magnesium used as a supplement and as an antacid or laxative. Magnesium is needed for nerve, muscle, heart and bone health. Only a small share of magnesium oxide is absorbed, and the rest draws water into the bowel, which can loosen stools.

Updated November 23, 2026 · Clinical review pending · Checked against the FDA label (label date October 21, 2025)

How Magnesium oxide (supplement) works

Video · 0:43
#481How Magnesium oxide (supplement) worksThis video is finished and will appear here soon.
Read the transcript

Magnesium oxide is a common magnesium supplement, used when diet or medicines leave levels low. Magnesium is a helper for hundreds of enzymes. Cells need it to use ATP, their energy currency. In muscles and nerves, magnesium balances calcium. Calcium triggers contraction, and magnesium helps the cell relax again. Low magnesium can cause muscle cramps, twitching, weakness and an irregular heartbeat. It can loosen stools. If you have kidney disease, ask first, and take it a few hours apart from some antibiotics and thyroid pills.

Uses of Magnesium oxide (supplement)

  • Dietary supplement to prevent or correct low magnesium (supplement use).
  • Antacid for heartburn and upset stomach (OTC labeling).
  • Occasional constipation at higher doses (OTC labeling).

Dosage

Who / conditionUsual dose
Supplement, adultsOften 250 to 500 mg once daily, or as directed.
Recommended intake (all sources)Adult men 400 to 420 mg a day; women 310 to 320 mg a day.
Upper limit from supplements350 mg of elemental magnesium a day for adults unless directed.
How to takeWith food to reduce stomach upset.

Doses are typical label doses for reference. Your prescriber may choose a different dose for you.

Who should not take Magnesium oxide (supplement)

  • Kidney disease: ask a doctor before use (label warning).

Warnings and precautions

  • Diarrhea is common at higher doses.
  • Kidney problems can cause magnesium to build up; ask a doctor first.
  • Do not use as a laxative for more than 7 days without a doctor.
  • Low magnesium from PPIs or diuretics should be evaluated by a clinician.

Side effects

Common

  • Diarrhea
  • Stomach cramps
  • Nausea
  • Bloating

Get medical help for

  • Muscle weakness, slow heartbeat, low blood pressure or confusion (high magnesium)
  • Severe or ongoing diarrhea with dizziness (dehydration)

To report a side effect to the FDA, use MedWatch at fda.gov/medwatch or call 1-800-FDA-1088.

Interactions

Medicine or substanceWhat can happen
Tetracycline, doxycycline, quinolone antibioticsMagnesium blocks absorption; separate by 2 to 6 hours.
Bisphosphonates (alendronate)Separate by at least 2 hours.
LevothyroxineSeparate by 4 hours.
Dolutegravir and other integrase inhibitorsMagnesium reduces absorption.

This is not a complete list. Tell your pharmacist about every prescription, OTC medicine and supplement you take.

Pregnancy and breastfeeding

Pregnancy

Magnesium needs rise slightly in pregnancy; supplements are generally safe at normal doses.

Breastfeeding

Generally safe at normal doses.

Overdose

High doses, especially with kidney problems, can cause dangerous high magnesium. Call Poison Help at 1-800-222-1222.

Storage

Store at room temperature in a dry place.

Frequently asked questions

Is magnesium oxide good for sleep or cramps?

Evidence is mixed. It is well absorbed only in part; other forms may be gentler.

Why does magnesium oxide cause diarrhea?

Unabsorbed magnesium draws water into the bowel.

Can I take magnesium with my antibiotic?

Separate doses, because magnesium can block antibiotic absorption.

How do I know if I'm low in magnesium?

A blood test can help, but levels do not always reflect body stores. Ask a clinician.

References

  1. Magnesium oxide 400 mg tablets (antacid) Drug Facts label. DailyMed, National Library of Medicine. Label revised October 21, 2025; checked November 23, 2026.
  2. FDA MedWatch safety information. fda.gov.