Mag-Ox 400 (magnesium oxide): uses, dosage, side effects and refills
Magnesium oxide (Mag-Ox 400) is an over-the-counter mineral used as an antacid, a magnesium supplement and, at higher doses, a laxative. A 400 mg tablet supplies 241.3 mg of elemental magnesium. The key safety point: people with kidney disease should ask a doctor first, because magnesium can build up (magnesium oxide Drug Facts).
Prices checked on October 6, 2026
Cost
Magnesium oxide is one of the cheapest supplements. Walgreens.com listed (checked 6 Oct 2026):
| Product | Count | Price | Per tablet or softgel |
|---|---|---|---|
| Mag-Ox 400 magnesium oxide tablets | 120 | $23.99 | $0.20 |
| Nature Made Extra Strength Magnesium Oxide 400 mg softgels | 60 | $17.99 | $0.30 |
When a prescriber writes magnesium oxide on prescription, some insurance plans cover it; others treat it as an OTC item and do not. Check the elemental magnesium on the label when comparing, since that, not the compound weight, is what counts.
Quick facts
- Generic name
- Magnesium oxide (MgO)
- Brand names
- Mag-Ox 400, Maox, Uro-Mag; many store brands
- Drug class
- Mineral supplement; antacid; osmotic (saline) laxative
- Used for
- Acid indigestion and upset stomach; low dietary magnesium; short-term or chronic constipation; migraine prevention under supervision
- Forms and strengths
- 400 mg tablets (241.3 mg elemental magnesium); capsules and softgels; other strengths as supplements
- How often
- Antacid: 1 to 2 tablets a day. Other uses: as directed, 1 to 4 times daily
- Prescription status
- Over the counter as an antacid or dietary supplement; some pharmacies fill it on prescription. Not controlled
- Generic available?
- Yes; sold under many store brands
- Boxed warning
- None
- Pregnancy
- Drug Facts: ask a doctor before use if pregnant or breastfeeding. Supplement upper limit 350 mg/day applies in pregnancy
- Typical cash price
- Mag-Ox 400, 120 tablets $23.99 (Walgreens.com, checked 6 Oct 2026)
- Can Temi refill it?
- No prescription needed. A Temi physician can review a prescription-written refill
What it is
Magnesium oxide is a simple magnesium salt. By weight it is rich in magnesium: a 400 mg tablet provides 241.3 mg of elemental magnesium, the amount that counts toward your daily needs (magnesium oxide 400 mg Drug Facts, Westminster). Supplement labels list elemental magnesium rather than the weight of the whole compound (NIH Office of Dietary Supplements).
It is sold in two regulatory forms. Some 400 mg tablets carry an OTC Drug Facts label as an antacid for acid indigestion and upset stomach. Others, including Mag-Ox 400, are sold as dietary supplements for people whose diet falls short. MedlinePlus covers both, plus its use as a laxative.
Magnesium is involved in more than 300 enzyme systems, including muscle and nerve function, blood glucose control, blood pressure regulation and the synthesis of DNA and bone (NIH ODS). ClinCalc ranks magnesium salts as the 171st most-prescribed medicine in the US, with about 3.3 million prescriptions in 2024.
Uses
Labeled antacid use (Drug Facts). Relief of acid indigestion and upset stomach.
Dietary supplement. MedlinePlus lists magnesium oxide as a supplement when diet does not supply enough. Adult needs are 310 to 420 mg of magnesium a day from all sources, depending on age and sex (NIH ODS). An analysis of 2013 to 2016 national survey data found 48% of Americans take in less magnesium from food than they need.
Laxative. MedlinePlus describes short-term use for rapid emptying of the bowel. For chronic idiopathic constipation, the 2023 AGA-ACG guideline makes a conditional recommendation for magnesium oxide (Chang et al., Gastroenterology 2023). In a 90-patient trial, 1.5 g daily for 28 days improved overall symptoms in 68.3% versus 11.7% with placebo (Morishita et al., Am J Gastroenterol 2021). A smaller 34-woman trial of 0.5 g three times daily reported 70.6% versus 25.0% (Mori et al., 2019).
Low magnesium from medicines. Long-term proton pump inhibitors can cause low magnesium; in cases FDA reviewed, supplements often corrected it, but in 25% the PPI had to be stopped (NIH ODS).
Migraine prevention (off-label). The American Academy of Neurology and American Headache Society concluded magnesium is probably effective. Doses used exceed the supplement upper limit, so this needs medical supervision (NIH ODS).
How it works
As an antacid, magnesium oxide is a base. It neutralizes stomach acid, which is why its Drug Facts purpose is "antacid."
As a laxative, most of a large dose is not absorbed. The unabsorbed magnesium salt pulls water into the intestine and colon by osmosis and also stimulates gastric motility, producing a softer, looser stool (NIH ODS). That is also why diarrhea is its most common side effect.
As a supplement, the absorbed portion tops up the body's magnesium. An adult body holds about 25 g of magnesium, 50% to 60% of it in bone. The kidneys control the balance, excreting about 120 mg a day and holding on to more when stores run low (NIH ODS).
Absorption is modest. Small studies found that magnesium citrate, aspartate, lactate and chloride are absorbed more completely than magnesium oxide (NIH ODS). Oxide's advantage is that each tablet carries a lot of magnesium for its size and cost.
Before taking it
Ask a doctor before use if you (magnesium oxide Drug Facts):
- have kidney disease;
- take a prescription drug, since antacids may interact with certain prescription drugs;
- are pregnant or breastfeeding.
Why kidneys matter. The kidneys are the body's way of getting rid of extra magnesium. With impaired kidney function, the risk of magnesium toxicity rises because that route is reduced or lost (NIH ODS).
Also tell your doctor if you have, or have had, heart, liver or intestinal disease or high blood pressure, and if you follow a low-salt, low-sugar or other special diet (MedlinePlus).
List your medicines. Magnesium binds to some antibiotics and osteoporosis drugs, and several common medicines change magnesium levels: see the interactions table. MedlinePlus specifically names aspirin and the acid reducers cimetidine and ranitidine among nonprescription products that may interact.
Allergy. Tell your pharmacist if you are allergic to magnesium oxide, other antacids or laxatives.
How to take it
Separate it from other medicines. Take any other medicine and magnesium oxide at least 2 hours apart (MedlinePlus). Some antibiotics need a longer gap; see interactions.
As an antacid. Take 1 or 2 tablets a day; do not exceed 2 tablets in 24 hours unless a physician directs (Drug Facts). Do not use it as an antacid for more than 2 weeks unless your doctor says to (MedlinePlus).
As a laxative. Take it with a full 8-ounce glass of cold water or fruit juice. Do not take a laxative dose late in the day on an empty stomach, and do not use it as a laxative for more than 1 week without your doctor's advice (MedlinePlus).
As a supplement. Follow the package or your prescriber. MedlinePlus notes it is usually taken one to four times a day depending on the brand and the reason. Remember that the supplement upper limit of 350 mg of elemental magnesium a day is less than two 400 mg tablets.
Taste. To avoid an unpleasant taste, take the tablet with citrus fruit juice or a carbonated citrus drink (MedlinePlus).
Keep a consistent schedule if your doctor has you taking it regularly.
Dosing
| Use | Typical dose | Maximum | Notes |
|---|---|---|---|
| Antacid for acid indigestion or upset stomach (Drug Facts) | 1 to 2 tablets (400 to 800 mg MgO) daily | 2 tablets in 24 hours unless a physician directs | Westminster 400 mg Drug Facts. May have a laxative effect. MedlinePlus: no more than 2 weeks |
| Supplement for low dietary intake, adults | As labeled or prescribed; one 400 mg tablet gives 241.3 mg elemental magnesium | 350 mg elemental magnesium per day from supplements (UL) | NIH ODS. Amounts above the UL only under medical supervision |
| Chronic constipation (trial doses) | Trials used 1.5 g daily, or 0.5 g three times daily | Set by your clinician | Morishita 2021; Mori 2019. AGA-ACG 2023 conditional recommendation |
| Short-term laxative | As directed, with a full glass of cold water or juice | No more than 1 week without a doctor | MedlinePlus. Avoid late-day doses on an empty stomach |
| Migraine prevention (off-label) | Trials used up to 600 mg magnesium a day; a review suggested 300 mg twice daily | Above the UL, so only under medical supervision | NIH ODS; AAN/AHS: probably effective |
Dosing notes
Kidney disease: ask a doctor before any use; toxicity risk rises as kidney function falls (Drug Facts; NIH ODS).
Older adults absorb less magnesium from the gut and lose more in urine, and are more likely to take medicines that change magnesium status (NIH ODS). That cuts both ways: deficiency is more likely, and so is accumulation if kidney function is reduced.
Count every source. The 350 mg upper limit covers supplements and medicines combined, not food. Milk of magnesia provides 500 mg elemental magnesium per tablespoon and some antacids add more (NIH ODS).
Your prescriber sets your dose. The table shows label and study doses, not a personal plan. Ask: "What is my magnesium level, and how much elemental magnesium should I take a day?"
If you miss a dose
On a regular schedule? Take the forgotten tablet once you realize, but leave it out if your next dose is due soon, and never take two together (MedlinePlus). For as-needed antacid use, there is nothing to make up. If you are unsure whether you took it, wait for the next scheduled dose.
Overdose
Very large doses of magnesium-containing laxatives and antacids, typically more than 5,000 mg of magnesium a day, have caused magnesium toxicity, including deaths (NIH ODS). Early signs include low blood pressure, nausea, vomiting, facial flushing, urine retention and lethargy, progressing to muscle weakness, trouble breathing, irregular heartbeat and cardiac arrest. Suspected overdose: phone Poison Control on 1-800-222-1222; dial 911 if the person is breathing slowly, collapses or seizes.
What to avoid
- Taking it within 2 hours of other medicines, and longer for some antibiotics.
- More than 2 tablets a day as an antacid without a doctor's advice.
- Stacking magnesium products, such as milk of magnesia, magnesium-containing antacids and supplements, beyond the 350 mg supplemental limit.
- Use with kidney disease unless a doctor supervises it.
- Late-day laxative doses on an empty stomach.
Common side effects
| Side effect | Frequency | Source |
|---|---|---|
| Diarrhea | Reported; most common with high doses; no label rate | MedlinePlus; NIH ODS |
| Abdominal cramping | Reported; no rate given | MedlinePlus; NIH ODS |
| Nausea | Reported with high doses | NIH ODS, Health Risks from Excessive Magnesium |
| Laxative effect at antacid doses | Label: "may have a laxative effect" | Magnesium oxide 400 mg Drug Facts |
| Unpleasant taste | Reported | MedlinePlus (take with citrus juice) |
| Severe treatment-related events in a 28-day constipation trial | 0% (1.5 g daily for 28 days) | Morishita et al., Am J Gastroenterol 2021 |
Serious side effects
| Effect | Signs | What to do |
|---|---|---|
| Magnesium toxicity (hypermagnesemia) | Low blood pressure, flushing, nausea, vomiting, lethargy, muscle weakness, slow breathing, irregular heartbeat | Stop it and get urgent care; call 911 if breathing is slow or you faint |
| Allergic reaction | Rash or hives, itching | Stop it and call your doctor; call 911 if the throat or face swells or breathing is hard |
| Dizziness or lightheadedness | Feeling faint, especially with diarrhea | Call your doctor immediately (MedlinePlus) |
| Mood or mental changes, unusual tiredness or weakness | Confusion, drowsiness, new weakness | Call your doctor immediately; can signal a high magnesium level |
| Ongoing vomiting or severe diarrhea | Unable to keep fluids down, many watery stools, little urine | Stop it and call your doctor; seek urgent care if faint |
Interactions
| Substance | Level | What happens |
|---|---|---|
| Tetracyclines (doxycycline, demeclocycline) | avoid | Magnesium forms insoluble complexes with them. Take the antibiotic 2 hours before or 4 to 6 hours after magnesium (NIH ODS) |
| Quinolone antibiotics (ciprofloxacin, levofloxacin) | avoid | Same binding problem; take the antibiotic 2 hours before or 4 to 6 hours after magnesium (NIH ODS) |
| Oral bisphosphonates (alendronate) | use with caution | Magnesium lowers absorption; separate by at least 2 hours (NIH ODS). Fosamax label: take alendronate first, 30 minutes before anything else |
| Loop and thiazide diuretics (furosemide, hydrochlorothiazide) | monitor | Long-term use increases urinary magnesium loss and can cause depletion (NIH ODS) |
| Potassium-sparing diuretics (spironolactone, amiloride) | monitor | Reduce magnesium excretion, so levels can rise (NIH ODS) |
| Proton pump inhibitors (omeprazole, esomeprazole, pantoprazole) | monitor | Use for over a year can cause low magnesium; FDA advises checking levels (NIH ODS) |
| Aspirin | use with caution | MedlinePlus lists aspirin among nonprescription products that may interact; space doses 2 hours apart |
| Cimetidine and other acid reducers | use with caution | MedlinePlus names cimetidine and ranitidine; tell your pharmacist before combining |
| High-dose zinc supplements | monitor | Zinc at 142 mg a day interfered with magnesium absorption and balance in one study (NIH ODS) |
| Other magnesium products (milk of magnesia, some antacids) | avoid | Adds magnesium toward toxicity, especially with kidney disease (NIH ODS) |
| Alcohol | monitor | No direct interaction listed, but chronic heavy drinking depletes magnesium (NIH ODS) |
| NSAIDs (ibuprofen, naproxen) | no known interaction | Not listed on the Drug Facts label, MedlinePlus or the ODS fact sheet |
| Grapefruit | no known interaction | Not listed in any of these sources |
Pregnancy and breastfeeding
The magnesium oxide Drug Facts label says to ask a doctor before use if you are pregnant or breastfeeding, and MedlinePlus says to call your doctor immediately if you become pregnant while taking it.
Magnesium needs rise slightly in pregnancy: the RDA is 350 to 360 mg a day for adults 19 to 50, and 310 to 320 mg while breastfeeding (NIH ODS). The upper limit for supplemental magnesium stays at 350 mg a day in pregnancy and lactation. A single 400 mg tablet supplies 241.3 mg, and prenatal vitamins often contain magnesium too, so check the totals. Ask: "Do I need extra magnesium beyond my prenatal vitamin, and how much?"
Storage
Store at controlled room temperature, 15° to 30°C (59° to 86°F). Do not use the bottle if the imprinted safety seal under the cap is broken or missing (Drug Facts). Keep it tightly closed, away from heat and moisture, not in the bathroom, and out of children's reach (MedlinePlus).
Related medications
- Calcium carbonate: another mineral antacid and supplement.
- Polyethylene glycol 3350 (MiraLAX): an osmotic laxative with a strong AGA-ACG recommendation.
- Senna and docusate: a stimulant laxative that matched magnesium oxide in the Morishita trial.
- Omeprazole and pantoprazole: PPIs that can lower magnesium with long-term use.
- Furosemide: a loop diuretic that increases magnesium loss.
- Rimegepant: an FDA-approved migraine medicine.
Getting it with Temi
Magnesium oxide is available without a prescription, both as an antacid and as a supplement. Where a clinician has prescribed it, say to fix a low level caused by another medicine, Temi can have a physician look at the refill: $15 for the first request and $69 for each after, or included with Temi Care at no charge (prescription refills, checked 4 Dec 2026). A new-prescription doctor review is priced at $69 (get prescribed, checked 4 Dec 2026), with a decision inside 48 hours. Checking a low magnesium level takes blood tests, which your own clinician arranges.
Frequently asked questions
How much elemental magnesium is in magnesium oxide 400 mg?
A 400 mg magnesium oxide tablet contains 241.3 mg of elemental magnesium, according to the Westminster Drug Facts label. Elemental magnesium is the figure that counts toward the adult RDA of 310 to 420 mg a day and the 350 mg daily upper limit for supplements (NIH ODS). Two tablets give about 483 mg, which is above that upper limit.
Is magnesium oxide good for constipation?
It can be. In a 90-patient trial, 1.5 g a day for 28 days improved overall symptoms in 68.3% of patients versus 11.7% on placebo (Morishita 2021), and the 2023 AGA-ACG guideline makes a conditional recommendation for it in chronic idiopathic constipation. It works by drawing water into the bowel. People with kidney disease should not use it this way without a doctor.
Is magnesium oxide poorly absorbed?
Compared with some other forms, yes. NIH ODS reports that small studies found magnesium citrate, aspartate, lactate and chloride more completely absorbed and more bioavailable than magnesium oxide. Oxide makes up for it partly by packing a lot of magnesium into each tablet. Its poor absorption is also what makes it work as a laxative.
Can I take magnesium oxide every day?
As a supplement, many people do, but supplemental magnesium should stay at or below 350 mg of elemental magnesium a day unless a doctor advises more (NIH ODS). As an antacid, MedlinePlus says no more than 2 weeks without your doctor, and as a laxative no more than 1 week. People with kidney disease should ask a doctor before any regular use.
Does magnesium oxide help prevent migraines?
The American Academy of Neurology and American Headache Society concluded that magnesium is probably effective for migraine prevention, according to NIH ODS. Three of four small trials found modest benefit at up to 600 mg a day. Because those doses exceed the supplement upper limit, ODS says this should only be done under a health care provider's supervision.
Can I take magnesium oxide with omeprazole?
Generally yes, and sometimes it is the reason to take it. Long-term proton pump inhibitors such as omeprazole can lower magnesium; FDA advises clinicians to consider checking magnesium before and during long-term PPI use (NIH ODS). In the cases FDA reviewed, supplements often corrected low levels, but a quarter of patients had to stop the PPI. Ask your prescriber to check your level.
Is magnesium oxide safe with kidney disease?
Only with a doctor's guidance. The Drug Facts label says to ask a doctor before use if you have kidney disease. The kidneys clear excess magnesium, so impaired kidney function raises the risk of toxicity, which can cause low blood pressure, weakness, breathing problems and irregular heartbeat (NIH ODS). Your nephrologist or primary clinician should decide.
When is the best time to take magnesium oxide?
Space it at least 2 hours from other medicines, and longer from tetracycline or quinolone antibiotics (MedlinePlus; NIH ODS). As a laxative, take it with a full glass of cold water or juice and avoid late-day doses on an empty stomach. Taking it with citrus juice or a citrus soda helps with the taste. Otherwise, choose a time you can keep consistent.
Sources
- Magnesium oxide 400 mg tablet (antacid), OTC Drug Facts label, Westminster Pharmaceuticals (DailyMed, Jul 2026) (checked October 6, 2026)
- Magnesium Oxide: MedlinePlus Drug Information (checked October 6, 2026)
- Magnesium: Fact Sheet for Health Professionals, NIH Office of Dietary Supplements (checked October 6, 2026)
- Morishita D et al. Senna versus magnesium oxide for the treatment of chronic constipation: a randomized, placebo-controlled trial. Am J Gastroenterol 2021;116:152-161 (PubMed) (checked October 6, 2026)
- Mori S et al. A randomized double-blind placebo-controlled trial on the effect of magnesium oxide in patients with chronic constipation. J Neurogastroenterol Motil 2019;25:563-575 (PubMed) (checked October 6, 2026)
- Chang L et al. AGA-ACG Clinical Practice Guideline: Pharmacological Management of Chronic Idiopathic Constipation. Gastroenterology 2023 (PubMed) (checked October 6, 2026)
- Doxycycline hyclate tablets prescribing information, Drug Interactions (DailyMed) (checked October 6, 2026)
- Fosamax (alendronate) prescribing information, section 7.1 Calcium Supplements/Antacids, Organon (DailyMed) (checked October 6, 2026)
- Magnesium Salts: drug usage statistics, ClinCalc DrugStats (checked October 6, 2026)
- Mag-Ox 400 magnesium oxide supplement tablets, 120 count, Walgreens (checked October 6, 2026)
- Nature Made Extra Strength Magnesium Oxide 400 mg softgels, 60 count, Walgreens (checked October 6, 2026)
- Temi prescription refills ($15 first refill, then $69 each; $0 with Temi Care) (checked December 4, 2026)
- Temi: get prescribed ($69 new everyday prescription; $0 with Temi Care) (checked December 4, 2026)