Drug & Supplement Interactions

Magnesium + Ranitidine

Brand names of Ranitidine

  • Zantac
  • Zantac 75
  • Zantac EFFERdose
  • Tritec
  • Ranitidine cool mint
  • Zantac 150 EFFER
  • Zantac 150 GEL
  • Zantac 150
  • Zantac Geldose
  • Ranit
  • Zantac 300
  • Zantac 300 GEL
  • All 13 brand names

Medically reviewed by

Also reviewed by the HelloPharmacist Editorial Team

Updated July 2026Details about this page

AI is used only to summarize verified clinical information, never the open internet. Our AI policy

The Bottom Line No Known Interaction

We found no known interaction between Magnesium and Ranitidine in our sources.

This also applies to Zantac, Zantac 75, Zantac EFFERdose and other brand names of ranitidine.

Still Worth Knowing

  • Shared side effects: Although there is no interaction, both can cause some of the same side effects. Taken together, those side effects might add up, and a new symptom can be harder to pin on one or the other.
See the Full Interaction Report

Ask a Question About This Combination

Ask in your own words about taking Magnesium with Ranitidine. The answer comes from this page’s own records.

Try:

AI answers from this page’s interaction records and our own drug and supplement information, never the open internet. AI can make mistakes, so always check with your doctor or pharmacist. How we use AI

Interaction Report

Magnesium and Ranitidine Interaction Check

No Known Interaction Found

We did not find a documented interaction between Ranitidine and Magnesium in our sources. This does not guarantee that the combination is completely free of risk — there is often limited research on supplements and herbal products, especially around drug interactions.

How We Checked

Why No Interaction Is Listed for Ranitidine

We sort drugs into categories, such as blood thinners or antibiotics, and many supplement interactions are recorded for a whole category rather than for one drug. So we checked every category Ranitidine is in against every category Magnesium has a known interaction with.

6Categories Ranitidine Is In
  • Ranitidine by Name Interactions recorded for Ranitidine itself rather than for a category. No Magnesium Record
  • H2-Blockers Acid-reducing drugs such as famotidine (Pepcid) and cimetidine (Tagamet). No Magnesium Record
  • Cytochrome P450 2D6 (Cyp2D6) Inhibitors Drugs that slow the liver enzyme CYP2D6, which can raise the levels of other drugs that enzyme breaks down. No Magnesium Record
  • Organic Anion Transporter 3 (Oat3) Substrates Drugs that carrier proteins called organic anion transporters (OAT1 and OAT3) move into kidney cells so they can leave the body in urine; when those carriers are blocked, their levels can rise. No Magnesium Record
  • P-Glycoprotein Substrates Drugs that a pump called P-glycoprotein moves out of cells in the gut, liver and kidneys; when the pump slows or speeds up, their levels can rise or fall. No Magnesium Record
  • Oral Drugs Any drug taken by mouth. No Magnesium Record
16Drug Categories Magnesium Interacts With
Show all 16 categories

No overlap. Ranitidine is in none of the 16 categories Magnesium interacts with, so no record links the two.

Still wondering about combining Magnesium and Ranitidine? Ask Dr. Brian Staiger, PharmD, BCPS directly ›
Know someone taking this combination? Share
What to Watch For

Side Effects Magnesium and Ranitidine Have in Common

15 side effects show up for both Magnesium and Ranitidine.

  • Each has separately been linked to the effects below. Taken together, they might add up: the same side effect from two sources might be more likely or stronger. No study of the two together says by how much.
  • If one turns up, it can be harder to tell which one is behind it, so tell your pharmacist you take both.
  • 3 of them are worth acting on rather than waiting out, marked below.
  • A slow heartbeat Worth Acting On Additional detail

    Magnesium

    Intravenously, magnesium can cause bradycardia, tachycardia, and hypotension. Inhaled magnesium administered by nebulizer may also cause hypotension. Magnesium sulfate may cause rapid heartbeat when administered antenatally.

    In one case report, a 99-year-old male who took oral magnesium oxide 3000 mg daily for chronic constipation was hospitalized with hypermagnesemia, hypotension, bradycardia, heart failure, cardiom…

    Source: , the clinical database we license.

    6 references cited
    1. 13356. Davey MJ, Teubner D. A randomized controlled trial of magnesium sulfate, in addition to usual care, for rate control in atrial fibrillation. Ann Emerg Med 2005;45:347-53.. PubMed
    2. 60795. Horner, S. M. Efficacy of intravenous magnesium in acute myocardial infarction in reducing arrhythmias and mortality. Meta-analysis of magnesium in acute myocardial infarction. Circulation 1992;86(3):774-779. PubMed
    3. 60838. Henyan, N. N., Gillespie, E. L., White, C. M., Kluger, J., and Coleman, C. I. Impact of intravenous magnesium on post-cardiothoracic surgery atrial fibrillation and length of hospital stay: a meta-analysis. Ann.Thorac.Surg. 2005;80(6):2402-2406. PubMed
    4. 60872. Li, J., Zhang, Q., Zhang, M., and Egger, M. Intravenous magnesium for acute myocardial infarction. Cochrane.Database.Syst.Rev. 2007;(2):CD002755. PubMed
    5. 60960. Duley, L., Gulmezoglu, A. M., Henderson-Smart, D. J., and Chou, D. Magnesium sulphate and other anticonvulsants for women with pre-eclampsia. Cochrane.Database.Syst.Rev. 2010;(11):CD000025. PubMed
    6. 60973. Wong, G. K., Boet, R., Poon, W. S., Chan, M. T., Gin, T., Ng, S. C., and Zee, B. C. Intravenous magnesium sulphate for aneurysmal subarachnoid hemorrhage: an updated systemic review and meta-analysis. Crit Care 2011;15(1):R52. PubMed

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • Confusion Worth Acting On Additional detail

    Magnesium

    Intravenously, magnesium may cause slurred speech, dizziness, drowsiness, confusion, or headaches. With toxic doses, loss of reflexes, neurological defects, drowsiness, confusion, and coma can occur.

    A case report describes cerebral cortical and subcortical edema consistent with posterior reversible encephalopathy syndrome (PRES), eclampsia, somnolence, seizures, absent deep tendon reflexes, hard to control hypertens…

    Source: , the clinical database we license.

    6 references cited
    1. 60818. Azria, E., Tsatsaris, V., Goffinet, F., Kayem, G., Mignon, A., and Cabrol, D. [Magnesium sulfate in obstetrics: current data]. J Gynecol.Obstet.Biol.Reprod.(Paris) 2004;33(6 Pt 1):510-517.
    2. 60960. Duley, L., Gulmezoglu, A. M., Henderson-Smart, D. J., and Chou, D. Magnesium sulphate and other anticonvulsants for women with pre-eclampsia. Cochrane.Database.Syst.Rev. 2010;(11):CD000025. PubMed
    3. 114681. Shepherd ES, Goldsmith S, Doyle LW, et al. Magnesium sulphate for women at risk of preterm birth for neuroprotection of the fetus. Cochrane Database Syst Rev 2024;5(5):CD004661. PubMed
    4. 8095. Birrer RB, Shallash AJ, Totten V. Hypermagnesemia-induced fatality following epsom salt gargles. J Emerg Med 2002;22:185-8. PubMed
    5. 12589. Jeyabalan A, Caritis SN. Pharmacologic inhibition of preterm labor. Clin Obstet Gynecol 2002;45:99-113. PubMed
    6. 12590. Mittendorf R, Dambrosia J, Pryde PG, et al. Association between the use of antenatal magnesium sulfate in preterm labor and adverse health outcomes in infants. Am J Obstet Gynecol 2002;186:1111-8.. PubMed

    A case of delirium due to hypermagnesemia has been reported for a patient receiving intravenous magnesium sulfate for pre-eclampsia.

    Source: , the clinical database we license.

    1 reference cited
    1. 60780. Ganzevoort, J. W., Hoogerwaard, E. M., and van der Post, J. A. [Hypocalcemic delirium due to magnesium sulphate therapy in a pregnant woman with pre-eclampsia]. Ned.Tijdschr.Geneeskd. 8-3-2002;146(31):1453-1456.

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • Kidney problems Worth Acting On Additional detail

    Magnesium

    Intravenously, magnesium sulfate may cause renal toxicity or acute urinary retention, although these events are rare. A case of slowed cervical dilation at delivery has been reported for a patient administered intravenous magnesium sulfate for eclampsia. Intravenous magnesium might also cause solute diuresis.

    Source: , the clinical database we license.

    4 references cited
    1. 60818. Azria, E., Tsatsaris, V., Goffinet, F., Kayem, G., Mignon, A., and Cabrol, D. [Magnesium sulfate in obstetrics: current data]. J Gynecol.Obstet.Biol.Reprod.(Paris) 2004;33(6 Pt 1):510-517.
    2. 61012. McDonald, S. D., Lutsiv, O., Dzaja, N., and Duley, L. A systematic review of maternal and infant outcomes following magnesium sulfate for pre-eclampsia/eclampsia in real-world use. Int J Gynaecol.Obstet. 2012;118(2):90-96. PubMed
    3. 12592. Witlin AG, Sibai BM. Magnesium sulfate therapy in preeclampsia and eclampsia. Obstet Gynecol 1998;92:883-9.. DOI
    4. 98284. Brown RS. Magnesium Sulfate: Another Cause of a Solute Diuresis. Am J Kidney Dis. 2017;69(4):550-551. PubMed

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • Blurred vision / Tiredness Additional detail

    Magnesium

    Recorded for Magnesium in the same Natural Medicines adverse-effect record shown under A slow heartbeat above.

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • A fast or pounding heartbeat / Constipation Additional detail

    Magnesium

    Recorded for Magnesium in the same Natural Medicines adverse-effect record shown under A slow heartbeat above.

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • Drowsiness / Swelling Additional detail

    Magnesium

    Recorded for Magnesium in the same Natural Medicines adverse-effect record shown under Confusion above.

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›
  • Dizziness Additional detail

    Magnesium

    Recorded for Magnesium in the same Natural Medicines adverse-effect record shown under A slow heartbeat above.

    Ranitidine

    Source: Ranitidine’s

    It lists this side effect in its Adverse Reactions section.

    Read Ranitidine’s label on DailyMed ›

Showing the 10 most notable of 15 shared effects — ranked by how unusual each one is, not just whether both lists mention it.

Reported for Magnesium but not commonly for Ranitidine: a bowel blockage, trouble passing urine, muscle weakness and heart failure.

Note: Effects for Ranitidine come from the Adverse Reactions section of its FDA label; effects for Magnesium come from the Natural Medicines adverse-effect record, quoted above. Where a percentage is shown, it is the share of 231,085 voluntary FDA FAERS reports for Ranitidine that mention that effect — a reporting proportion, not an incidence rate and not evidence the drug caused it. The two sources word some effects differently, so we match them by meaning.

If You Decide to Take Both
  • Add one new thing at a time, and note the date you started it.
  • A start date turns “I’ve been feeling off” into something a pharmacist can work with.
  • Do not stop a prescribed medicine on your own.
  • Check with your pharmacist or doctor before changing any medicine or supplement, especially if you take several or have an ongoing health condition.

Beyond the Record

What Else We Found About Magnesium and Ranitidine

Pharmacist Q&AYou ask. We answer.

Questions Our Pharmacists Have Answered About Magnesium and Ranitidine

Real questions from readers, each answered by a licensed pharmacist at HelloPharmacist, written by a person and not generated from a database. An answer is written for the reader who asked and their situation, so read it for what to ask your own pharmacist rather than as a plan to follow.

Each one covers Magnesium or Ranitidine, not necessarily both.

  1. The pharmacist says

    Magnesium oxide has been shown in human studies to lower blood levels of both levodopa and carbidopa.

    Answered by Dr. Brian Staiger, PharmD · October 2026
  2. The pharmacist says

    Antacids like TUMS are safe to take with Celexa without any interaction concerns.

    Answered by Dr. Brian Staiger, PharmD · December 2022
  3. The pharmacist says

    Magnesium glycinate is not expected to interact with Effexor (venlafaxine), so it is generally considered a reasonable supplement to take alongside it.

    Answered by Dr. Brian Staiger, PharmD · October 2026
  4. The pharmacist says

    Diet pills can contain unlisted ingredients like amphetamines or ephedra that may cause a positive drug test result. Dietary supplements are not regulated by the FDA before being sold, so many products contain different ingredients than what's listed on the label. Some common ingredients in diet pills and other medications can cross-react with drug tests and produce false positive results for amphetamines.

    Answered by Dr. Brian Staiger, PharmD · November 2022
Published Research

Studies That Mention Both Magnesium and Ranitidine

lists 56 records naming both. These are the most relevant that discuss the two together. Mentioning both is not a finding about taking them together, so treat them as a starting point.

  1. [Fluoroquinolones. Drug interactions]. Revista Medico-Chirurgicala a Societatii De Medici Si Naturalisti Din Iasi · 2000 · Review · In people · PMID 12089990
  2. Drug interactions of H2-receptor antagonists. Scandinavian Journal of Gastroenterology. Supplement · 1994 · In people · PMID 7863246
  3. Proton pump inhibitors and symptomatic hypomagnesemic hypoparathyroidism. Journal of Nephrology · 2017 · Case report · In people · PMID 27206762
  4. [Cisapride and risk of cardiac complications]. Minerva Pediatrica · 1999 · In people · PMID 10783591
  5. Anaphylactoid reaction following ketorolac tromethamine administration. The Annals of Pharmacotherapy · 1992 · Case report · In people · PMID 1421646

Other Records That Name Both

These name both, but never in the same sentence or only in a lab method, so they may be about something else.

  1. The clinical pharmacokinetics of levofloxacin. Clinical Pharmacokinetics · 1997 · Review · In people · PMID 9068926
  2. Gastrointestinal medications and breastfeeding. Journal of Human Lactation · 1998 · Review · In people · PMID 10205441
  3. Severe hypomagnesaemia due to lansoprazole. BMJ Case Reports · 2009 · PMID 22180759
  4. Gastric and duodenal ulcers during pregnancy. Gastroenterology Clinics of North America · 2003 · Review · In people · PMID 12635419
  5. Effects of antacids on the clinical pharmacokinetics of drugs. An update. Clinical Pharmacokinetics · 1990 · Review · In people · PMID 1969784
  6. Treatment of reflux disease during pregnancy and lactation. The Turkish Journal of Gastroenterology · 2017 · In people · PMID 29199169

See all 56 on PubMed

Reports to the FDA

10,285 reports to the FDA list both Magnesium and Ranitidine.

What this means: someone took both, then had a health problem. It does not show either one caused it. In 4 of the 5 newest reports, Magnesium or Ranitidine was the suspect or was flagged as interacting. The reports below say which.

  • 10,285Reports that list both
  • 8,813Marked serious by the reporter
  • 6,085From doctors, pharmacists and other health professionals
  • 2,592From patients and other consumers
The 5 Newest Reports
Who sent them, what happened and which medicine was suspected
ReceivedReported byWhat happenedMedicine suspectedMagnesiumRanitidine
September 2026Report 27326557 Another health professional Low mood (depression), Discomfort, DizzinessSerious: death, life-threatening, hospital stay, disability, birth defect, medically important Berinert, Acetaminophen and 80 more155 products listed Suspected Suspected
September 2026Report 27326822 Another health professional Maternal exposure during pregnancy, Product use issue, Product quality issueSerious: death, life-threatening, hospital stay, disability, birth defect, medically important Azathioprine, Desogestrel and 75 more345 products listed Suspected Suspected
September 2026Report 27327805 Another health professional Pericarditis, Stomach pain (abdominal pain upper), Tiredness (asthenia)Serious: death, life-threatening, hospital stay, disability, birth defect, medically important Erenumab, Adalimumab and 25 more42 products listed Suspected Suspected
September 2026Report 27329909 Another health professional Febrile neutropeniaSerious: medically important Vincristine Sulfate, Vinblastine Sulfate and 6 more43 products listed Also taking Also taking
September 2026Report 27330598 Another health professional Drug ineffective, Headache, Wheezing (asthma)Serious: death, medically important Lamivudine, Moxifloxacin Hydrochloride and 63 more114 products listed Suspected Suspected
Problems Named Most Often

Across all 10,285 reports, whatever was suspected. Not what this pair causes.

  • Pain1,706
  • Kidney problems (chronic kidney disease)1,619
  • Headache1,319
  • Rash1,270
  • Tiredness (fatigue)1,235
  • Drug ineffective1,222
How we searched

PubMed: searched November 2026, and again every few months. PubMed lists research but does not grade it; the finding above comes from our interaction records.

FDA reports: from the FDA Adverse Event Reporting System (FAERS) through openFDA, read November 2026. Matched by name, so a report may name a product that contains Magnesium. The counts are reports, not people, and no one checks them for cause. What FAERS is.

Your Whole Routine

Your Other Medicines and Supplements

Keep It in Perspective

Magnesium Does Interact With Other Medications

Magnesium has 6 major, 178 moderate, 114 minor known drug interactions in our database — Ranitidine isn’t one of them. If you take anything else, check it against the full list below.

Taking Anything Else?

Check Another of Your Medications Against Magnesium

Covers the 2,830 medications we’ve checked against Magnesium. Pick one to open its full report.

Alternatives for the Same Use

Other Supplements for the Same Uses as Magnesium, and How They Mix With Ranitidine

Choosing a supplement while you take Ranitidine? Pick what you use Magnesium for to see other options studied for it, and whether each has a documented interaction with Ranitidine.

What do you take Magnesium for?

For Constipation

6 of them have a documented interaction with Ranitidine: Glucomannan (moderate), Guar Gum (moderate), Black Psyllium (minor), Blond Psyllium (minor), Karaya Gum (minor) and Xanthan Gum (minor).

22 other supplements have at least some evidence of a benefit for constipation; the 8 below come first. Magnesium itself is graded for it.

For Dyspepsia

1 of them has a documented interaction with Ranitidine: Turmeric (minor).

11 other supplements have at least some evidence of a benefit for dyspepsia; the 8 below come first. Magnesium itself is graded for it.

For Bowel Preparation

None of them has a documented interaction with Ranitidine.

4 other supplements have at least some evidence of a benefit for bowel preparation. Magnesium itself is graded for it.

  • Phosphate Salts Graded No Known Interaction
  • Castor Bean Graded No Known Interaction
  • Senna Graded No Known Interaction
  • Vitamin C Graded No Known Interaction

For Pre-eclampsia

None of them has a documented interaction with Ranitidine.

3 other supplements have at least some evidence of a benefit for pre-eclampsia. Magnesium itself is graded for it.

  • Calcium Graded No Known Interaction
  • L-arginine Graded No Known Interaction
  • Selenium Graded No Known Interaction

For Seizures

None of them has a documented interaction with Ranitidine.

2 other supplements have at least some evidence of a benefit for seizures. Magnesium itself is graded for it.

For Hypercholesterolemia

6 of them have a documented interaction with Ranitidine: Glucomannan (moderate), Green Tea (moderate), Guar Gum (moderate), Sage (moderate), Blond Psyllium (minor) and Turmeric (minor).

40 other supplements have at least some evidence of a benefit for hypercholesterolemia; the 8 below come first. Magnesium itself is graded for it.

  • Glucomannan Graded Moderate
  • Green Tea Graded Moderate
  • Guar Gum Graded Moderate
  • Sage Graded Moderate
  • Blond Psyllium Graded Minor
  • Turmeric Graded Minor
  • Barley Graded No Known Interaction
  • Beta-glucans Graded No Known Interaction

The grades come from the Natural Medicines database and describe the research so far, not a recommendation, and none of these supplements replaces a prescribed medicine.

Everything Else You Take

See Every Supplement That Interacts With Ranitidine

Take other supplements too? 75 supplements have a documented interaction with Ranitidine, each explained on its page.

By severity: 2 major, 44 moderate and 29 minor.

The Most Serious There Right Now:

Open the Ranitidine interaction pageEvery supplement checked against Ranitidine, ranked by severity
One More Smart Check

Taking Magnesium as Part of a Dietary Supplement Product? Check It for Interactions

A product can hold more than Magnesium. We have broken down 29,723 supplement products that contain it, ingredient by ingredient. Find yours and we’ll check every ingredient against Ranitidine:

Get to Know Each One

About Magnesium and Ranitidine

Supplement

About Magnesium

Magnesium

Magnesium is an essential mineral your body needs for muscles, nerves, blood pressure, and many other functions, and supplements are useful for preventing or correcting deficiency. Some other uses, like easing constipation or preventing migraines, have reasonable support, while uses for sleep and anxiety are less proven. It is generally safe for most healthy people at recommended amounts, but talk to your pharmacist or doctor before starting, especially if you have kidney problems.

Full Magnesium guide: uses, dosage, safety and every interaction

On Its Own

Magnesium Safety

Safety at a Glance

How Magnesium Is Rated

  • Magnesium Overall

    Generally safe

    Generally safe for healthy adults when taken at recommended amounts from food and supplements.

  • Pregnancy

    Likely Safe

    When used orally and appropriately. Magnesium is safe for those pregnant and breast-feeding when used in doses below the tolerable upper intake level (UL) of 350 mg daily.

    Read the full pregnancy detail ↓
  • Breastfeeding

    Likely Safe

    When used orally and appropriately. Magnesium is safe for those pregnant and breast-feeding when used in doses below the tolerable upper intake level (UL) of 350 mg daily.

    Read the full breastfeeding detail ↓

Pregnancy & breastfeeding ratings are from Natural Medicines (Therapeutic Research Center), with the full detail in the next card.

Special Populations

Magnesium in Pregnancy & Breastfeeding

Pregnancy And Lactation Likely Safe

When used orally and appropriately. Magnesium is safe for those pregnant and breast-feeding when used in doses below the tolerable upper intake level (UL) of 350 mg daily.

Pregnancy And Lactation Possibly Safe

When prescription magnesium sulfate is given intramuscularly and intravenously prior to delivery for up to 5 days. However, due to potential adverse effects associated with intravenous and intramuscular magnesium, use during pregnancy is limited to patients with specific conditions such as severe pre-eclampsia or eclampsia. There is some evidence that intravenous magnesium can increase fetal mortality and adversely affect neurological and skeletal development. However, a more recent analysis of clinical research shows that increased risk of fetal mortality seems to occur only in the studies where antenatal magnesium is used for tocolysis and not for fetal neuroprotection or pre-eclampsia/eclampsia. Furthermore, antenatal magnesium does not seem to be associated with increased risk of necrotizing enterocolitis in preterm infants. There is also concern that magnesium increases the risk of maternal adverse events. A meta-analysis of clinical research shows that magnesium sulfate might increase the risk of maternal adverse events, especially in Hispanic mothers compared to other racial and ethnic groups.

Pregnancy And Lactation Possibly Unsafe

When used orally in excessive doses. Tell patients to avoid exceeding the tolerable upper intake level (UL) of 350 mg daily. Taking magnesium orally in higher doses can cause diarrhea. ...when prescription magnesium sulfate is given intramuscularly and intravenously prior to delivery for longer than 5 days. Maternal exposure to magnesium for longer than 5-7 days is associated with an increase in neonatal bone abnormalities such as osteopenia and fractures. The U.S. Food and Drug Administration (FDA) recommends that magnesium injection not be given for longer than 5-7 days.

DISCLAIMER: This tool is intended for informational purposes only, and should not be interpreted as specific medical advice. Patients should consult with a qualified healthcare provider before making decisions about therapies and/or health conditions.© 2026 Therapeutic Research Center

Medication

About Ranitidine

Brand names: Zantac, Zantac 75, Zantac EFFERdose, Tritec, Ranitidine cool mint, Zantac 150 EFFER, Zantac 150 GEL, Zantac 150, Zantac Geldose, Ranit, Zantac 300, Zantac 300 GEL, Ranitidine injection

Prescription ranitidine tablets, capsules and oral solution are used to treat and prevent several acid-related problems. These include active duodenal ulcers (ulcers in the first part of the small intestine), active benign stomach ulcers, GERD, and erosive esophagitis (damage to the esophagus lining from acid).

Ranitidine: uses, dosage and side effects Ranitidine: interactions with other drugs Taking more than these two? Check Magnesium and Ranitidine with everything else you take Ranitidine Hydrochloride NDC codes and packages

More to Explore

More Pairs and Interactions to Check

Keep Checking

Other Drugs & Magnesium

Browse every other medication we’ve checked against Magnesium — both the ones with a known interaction and the ones without. Select any drug for the full detail.

6Major
178Moderate
114Minor
2,531No known interaction
Major

Major: 6 interactions

Moderate

Moderate: 178 interactions

Showing 60 of 178 moderate interactions — see all 178 on the Magnesium page.

Minor

Minor: 114 interactions

Showing 60 of 114 minor interactions — see all 114 on the Magnesium page.

No Interaction 2,531 drugs checked — show the list
How Much People Look This Up

Where Magnesium and Ranitidine Sit Against Everything Else

Out of every supplement and medication people look up on HelloPharmacist, here is where these two land this week — and which way each has been moving.

Supplement Magnesium
Top 10

#3 of 1,458 supplements looked up here in the last 7 days

29 days ago today
Medication Ranitidine
Top half

#1,167 of 2,830 medications looked up here in the last 7 days

29 days ago today

A rank of lookups on this site, not of how often either one is used. It counts every visit, automated ones included, and identifies no one.

Questions and Sources

Common Questions and Where This Comes From

Pharmacist Counseling Corner

Taking Magnesium and Ranitidine Together: Common Questions

Can you take Magnesium with Ranitidine?
We do not list a known interaction between Magnesium and Ranitidine. That does not guarantee the combination is risk-free, so confirm with your pharmacist or doctor — especially if you take other medications or have a health condition.
Can you take Magnesium with Zantac?
Zantac is a brand name of ranitidine, and so are Zantac 75 and Zantac EFFERdose, so the answer is the same as for ranitidine. We do not list a known interaction between Magnesium and Ranitidine. Everything on this page applies to Zantac too.
Do Magnesium and Ranitidine have any of the same side effects?
Yes — our sources link each of them separately to 10 of the same effects. That is not a documented interaction, but taken together the same side effect from two sources might be more likely or stronger; no study of the two together says by how much. And if one of those effects turns up, it can be harder to tell which one is behind it. They are listed on this page with the source behind each.
How was the Magnesium and Ranitidine combination checked?
Interactions in our licensed database are recorded against drug classes. Ranitidine is filed under 6 classifications, and Magnesium has documented interactions with 16 drug classes — none of Ranitidine's classifications are among them. A medication can belong to classes beyond those recorded in our dataset, so this describes how the check was run rather than guaranteeing safety.
Do other supplements studied for constipation interact with Ranitidine?
6 of the 22 other supplements the Natural Medicines database grades as having some evidence of a benefit for constipation have a documented interaction with Ranitidine: Glucomannan (moderate), Guar Gum (moderate), Black Psyllium (minor), Blond Psyllium (minor), Karaya Gum (minor) and Xanthan Gum (minor). A grade is the research so far, not a recommendation, and no known interaction is not proof of safety; ask your pharmacist before adding one.
Does Magnesium interact with any other medications?
Yes. Magnesium has 298 documented drug interactions in our database — Ranitidine is simply not one of them. If you take anything else, it is worth checking each one; they are all listed on this page.
Does Ranitidine interact with any supplements?
Yes. Ranitidine has documented interactions with 75 supplements in our database — Magnesium is not one of them. The Ranitidine interaction page linked on this page lists every one, ranked by severity.
Has Magnesium been studied with Ranitidine?
We searched PubMed, the National Library of Medicine's index of medical research, in November 2026. It lists 56 records that name both Magnesium and Ranitidine; the most relevant that discuss the two together are listed on this page with links to PubMed. A study that discusses both is not a finding about taking them together.

Written and reviewed by the HelloPharmacist Editorial Team. Our editorial policy

Evidence & Sources

References Cited on This Page

The 15 references the cards above cite, from the evidence-graded Natural Medicines (TRC Healthcare) database. Citations with a link open the study on PubMed or the publisher’s site.

Show the 15 references
  1. 8095. Birrer RB, Shallash AJ, Totten V. Hypermagnesemia-induced fatality following epsom salt gargles. J Emerg Med 2002;22:185-8. PubMed
  2. 12589. Jeyabalan A, Caritis SN. Pharmacologic inhibition of preterm labor. Clin Obstet Gynecol 2002;45:99-113. PubMed
  3. 12590. Mittendorf R, Dambrosia J, Pryde PG, et al. Association between the use of antenatal magnesium sulfate in preterm labor and adverse health outcomes in infants. Am J Obstet Gynecol 2002;186:1111-8.. PubMed
  4. 12592. Witlin AG, Sibai BM. Magnesium sulfate therapy in preeclampsia and eclampsia. Obstet Gynecol 1998;92:883-9.. DOI
  5. 13356. Davey MJ, Teubner D. A randomized controlled trial of magnesium sulfate, in addition to usual care, for rate control in atrial fibrillation. Ann Emerg Med 2005;45:347-53.. PubMed
  6. 60780. Ganzevoort, J. W., Hoogerwaard, E. M., and van der Post, J. A. [Hypocalcemic delirium due to magnesium sulphate therapy in a pregnant woman with pre-eclampsia]. Ned.Tijdschr.Geneeskd. 8-3-2002;146(31):1453-1456.
  7. 60795. Horner, S. M. Efficacy of intravenous magnesium in acute myocardial infarction in reducing arrhythmias and mortality. Meta-analysis of magnesium in acute myocardial infarction. Circulation 1992;86(3):774-779. PubMed
  8. 60818. Azria, E., Tsatsaris, V., Goffinet, F., Kayem, G., Mignon, A., and Cabrol, D. [Magnesium sulfate in obstetrics: current data]. J Gynecol.Obstet.Biol.Reprod.(Paris) 2004;33(6 Pt 1):510-517.
  9. 60838. Henyan, N. N., Gillespie, E. L., White, C. M., Kluger, J., and Coleman, C. I. Impact of intravenous magnesium on post-cardiothoracic surgery atrial fibrillation and length of hospital stay: a meta-analysis. Ann.Thorac.Surg. 2005;80(6):2402-2406. PubMed
  10. 60872. Li, J., Zhang, Q., Zhang, M., and Egger, M. Intravenous magnesium for acute myocardial infarction. Cochrane.Database.Syst.Rev. 2007;(2):CD002755. PubMed
  11. 60960. Duley, L., Gulmezoglu, A. M., Henderson-Smart, D. J., and Chou, D. Magnesium sulphate and other anticonvulsants for women with pre-eclampsia. Cochrane.Database.Syst.Rev. 2010;(11):CD000025. PubMed
  12. 60973. Wong, G. K., Boet, R., Poon, W. S., Chan, M. T., Gin, T., Ng, S. C., and Zee, B. C. Intravenous magnesium sulphate for aneurysmal subarachnoid hemorrhage: an updated systemic review and meta-analysis. Crit Care 2011;15(1):R52. PubMed
  13. 61012. McDonald, S. D., Lutsiv, O., Dzaja, N., and Duley, L. A systematic review of maternal and infant outcomes following magnesium sulfate for pre-eclampsia/eclampsia in real-world use. Int J Gynaecol.Obstet. 2012;118(2):90-96. PubMed
  14. 98284. Brown RS. Magnesium Sulfate: Another Cause of a Solute Diuresis. Am J Kidney Dis. 2017;69(4):550-551. PubMed
  15. 114681. Shepherd ES, Goldsmith S, Doyle LW, et al. Magnesium sulphate for women at risk of preterm birth for neuroprotection of the fetus. Cochrane Database Syst Rev 2024;5(5):CD004661. PubMed

All 84 references behind our Magnesium records are listed in the Magnesium guide.

Medication overviews come from MedlinePlus (NIH); supplement label data from the NIH Dietary Supplement Label Database. Content is reviewed by the HelloPharmacist Editorial Team. See our data sources and editorial standards.

Where Does Our Data Come From?
  • Source: the Natural Medicines (TRC Healthcare) clinical database — the evidence-graded professional reference for herb & supplement interactions.
  • Citation library: 105,612 references behind our interaction content, 67,053 of them resolved to verified PubMed/DOI sources. See the references behind this page ↓
  • Freshness: we automatically re-check this combination every week — this pair was last verified November 15, 2026. The Magnesium and Ranitidine records this page draws on were last updated July 10, 2026.
Data structure & sourcing designed and verified by .
Rating Key

What Our Interaction Ratings Mean

No interaction is on record for this pair. The other supplements and medicines on this page carry a severity rating: how serious an interaction between them is.

See what each severity means

Severity: How Serious Is It?

How clinically significant the interaction is: how much it could affect your health or your treatment.

  • MajorClinically significant. Best to avoid the combination, or use only under close professional supervision.
  • ModerateBe cautious. The combination may call for monitoring, timing changes, or a dose adjustment.
  • MinorLimited clinical concern, but still worth being aware of and mentioning to your pharmacist.
  • No Known InteractionNo documented interaction in our sources.

Still Have a Question About Magnesium and Ranitidine?

Our pharmacists answer your medication & supplement questions — free.

Ask a pharmacist

This information is for education only and is not a substitute for professional medical advice. Always check with your pharmacist or doctor before starting, stopping, or combining supplements and medications.