Can You Take Magnesium With Your Medications? A Pharmacist Explains
Taking magnesium at bedtime? If you're also taking prescription medications, the timing could matter more than you think.

Magnesium has become one of the most popular supplements for Canadians looking to support sleep, muscle function, stress management, and overall wellness.
But here's something many people don't realize:
Magnesium can interfere with how certain medications are absorbed, and some prescription medications can actually change your body's magnesium levels.
Whether you're taking magnesium bisglycinate for sleep, magnesium citrate for constipation, or a daily magnesium supplement for general health, understanding potential interactions is important.
At WellnessRX Pharmacy & Wellness Clinic in Bradford, Ontario, we encourage patients to review their supplements alongside their prescription medications—not separately.
Let's explore which medications require extra caution, when you should separate doses, and what to ask your pharmacist.
Why Can Magnesium Interact With Medications?
Magnesium is an essential mineral involved in hundreds of processes throughout the body, including:
Muscle and nerve function
Blood pressure regulation
Normal heart rhythm
Energy production
Bone health
Blood glucose metabolism
Although magnesium is essential for health, supplemental magnesium can interact with certain medications.
There are three important ways this can happen.
1. Reduced medication absorption
Magnesium can bind to certain medications in the digestive tract, making it harder for the body to absorb them.
2. Changes in magnesium levels
Some medications increase magnesium loss through urine, while others can contribute to low magnesium levels with long-term use.
3. Additive physiological effects
Because magnesium influences blood pressure and neuromuscular function, some combinations may require additional monitoring, particularly in people with kidney disease or those taking multiple medications.
The good news is that many interactions can be managed with appropriate timing, monitoring, or adjustments recommended by a pharmacist.
1. Magnesium and Thyroid Medication: Can You Take Them Together?
Common medication: Levothyroxine (Synthroid, Eltroxin)
If you take levothyroxine for hypothyroidism, be especially mindful of magnesium supplements.
Magnesium-containing products may interfere with levothyroxine absorption when taken too close together.
This could potentially reduce the amount of thyroid medication your body absorbs.
What should you do?
A practical approach is to separate magnesium supplements and levothyroxine by at least four hours, unless your pharmacist provides product-specific instructions.
For example:
7:00 a.m. — Levothyroxine with water, on an empty stomach
12:00 p.m. or later — Magnesium supplement
Always follow your levothyroxine product instructions regarding food and other medications.
Pharmacist tip: If your thyroid levels have become difficult to stabilize, review whether you've recently started magnesium, calcium, iron, or a new multivitamin.
2. Magnesium and Antibiotics: A Commonly Overlooked Interaction
Some antibiotics can bind to magnesium in the digestive tract.
This can reduce antibiotic absorption and potentially affect treatment effectiveness.
Antibiotics that may interact include:
Doxycycline
Tetracycline
Ciprofloxacin
Levofloxacin
These belong to the tetracycline and fluoroquinolone antibiotic families.
How far apart should you take them?
For certain tetracycline and fluoroquinolone antibiotics, a commonly recommended approach is to take the antibiotic at least two hours before or four to six hours after magnesium.
However, the exact timing varies by antibiotic and product.
Follow the instructions provided by your pharmacist rather than assuming one spacing rule applies to every antibiotic.
Important: Do not stop or delay prescribed antibiotics without professional advice.
3. Magnesium and Blood Pressure Medication: Is It Safe?
Common medications include:
Amlodipine
Perindopril
Ramipril
Losartan
Candesartan
Hydrochlorothiazide
Magnesium plays a role in normal blood pressure regulation, and supplementation may produce a modest reduction in blood pressure in some individuals.
But this doesn't mean magnesium should replace prescription blood pressure medication.
For most people, magnesium isn't automatically contraindicated with these medications.
However, the overall clinical picture matters.
When should you be cautious?
Speak with your pharmacist if you:
Already experience low blood pressure
Have frequent dizziness or lightheadedness
Take several blood pressure medications
Have kidney disease
Use high-dose magnesium supplements
Some blood pressure medications, particularly certain diuretics, can also affect magnesium levels.
Pharmacist tip: If you take blood pressure medication and experience new dizziness after starting a supplement, review your blood pressure readings and medication routine with your healthcare provider.
4. Magnesium and Diuretics: Could Your Medication Lower Magnesium?
Diuretics, sometimes called water pills, help the body eliminate excess fluid.
However, different diuretics affect magnesium differently.
Diuretics that may increase magnesium loss
Examples include:
Furosemide
Hydrochlorothiazide
These medications can contribute to magnesium depletion in some individuals, particularly with prolonged use.
Potassium-sparing diuretics
Examples include:
Spironolactone
Amiloride
These medications may reduce magnesium excretion.
The key point is that not everyone taking a diuretic needs magnesium supplementation.
Depending on your medication, kidney function, and laboratory results, adding magnesium may or may not be appropriate.
Your pharmacist or physician may recommend checking electrolyte levels when clinically indicated.
5. Magnesium and Acid Reflux Medication: What About Omeprazole or Pantoprazole?
Common medications include:
Pantoprazole
Omeprazole
Esomeprazole
Lansoprazole
These medications belong to a class called proton pump inhibitors (PPIs).
They're commonly prescribed for acid reflux, GERD, and certain gastrointestinal conditions.
Long-term PPI use has been associated with low magnesium levels in some patients.
This is different from a direct absorption interaction that can be managed simply by separating doses.
Should you automatically take magnesium with a PPI?
Not necessarily.
If you use a PPI long-term, particularly alongside a diuretic or other medications affecting electrolytes, your healthcare provider may consider monitoring magnesium levels.
Don't discontinue prescribed acid reflux medication or add high-dose magnesium without appropriate guidance.
6. Magnesium and Osteoporosis Medications
Common medications include:
Alendronate (Fosamax)
Risedronate (Actonel)
These medications belong to a group called bisphosphonates.
They are commonly prescribed to reduce fracture risk in people with osteoporosis.
Magnesium supplements can interfere with the absorption of oral bisphosphonates.
What should you do?
Take your osteoporosis medication exactly as directed, typically with plain water on an empty stomach.
Avoid taking magnesium at the same time.
A separation of at least two hours is commonly advised, but specific bisphosphonate instructions may require a different schedule.
Pharmacist tip: Morning bisphosphonate doses and later-day magnesium supplements may be easier to coordinate, provided the medication's specific instructions are followed.
7. Can You Take Magnesium With Antidepressants or Anxiety Medications?
People frequently ask whether magnesium can be taken with medications such as:
Sertraline
Escitalopram
Fluoxetine
Venlafaxine
Lorazepam
For many commonly prescribed antidepressants, magnesium does not have the same well-established absorption interaction seen with certain antibiotics.
However, that doesn't mean every magnesium-containing product is automatically appropriate.
Consider the following:
Combination supplements: Products marketed for sleep or relaxation may contain melatonin, herbal extracts or other ingredients that can interact with medications.
Kidney function: Reduced kidney function can increase the risk of magnesium accumulation.
Individual circumstances: Sedation, dizziness, other medications, and underlying health conditions may affect supplement suitability.
There is also insufficient evidence to recommend magnesium as a replacement for prescribed treatment of anxiety or depression.
Have your pharmacist review the exact supplement ingredients rather than relying on the word "magnesium" alone.
Magnesium Medication Interaction Chart
Here's a quick reference for commonly encountered medication categories.
Medication | Main concern | General guidance |
Levothyroxine | Reduced absorption | Commonly separate by at least 4 hours |
Doxycycline, ciprofloxacin | Reduced antibiotic absorption | Follow drug-specific spacing instructions |
Alendronate, risedronate | Reduced absorption | Follow fasting and separation instructions |
Blood pressure medications | Possible additive blood pressure effects | Monitor when appropriate |
Furosemide, hydrochlorothiazide | Increased magnesium loss | Assess need for monitoring |
Spironolactone, amiloride | Reduced magnesium excretion | Review kidney function and electrolyte status |
Omeprazole, pantoprazole | Possible low magnesium with prolonged use | Consider clinical monitoring |
Antidepressants | Depends on exact medication and formulation | Review the full supplement ingredient list |
This chart provides general educational information. Medication-specific product instructions take priority.
Does the Type of Magnesium Matter?
Walk into a supplement store, and you'll find several forms of magnesium.
But are they interchangeable?
Not entirely.
Magnesium Bisglycinate
Magnesium bisglycinate is a popular option for people seeking a supplement that may be better tolerated gastrointestinally.
It is frequently marketed for sleep and relaxation, although evidence for meaningful sleep improvements remains limited.
Magnesium Citrate
Magnesium citrate is generally well absorbed and can have a laxative effect, depending on the dose.
It may not be the best choice for someone already experiencing loose stools.
Magnesium Oxide
Magnesium oxide provides a relatively high proportion of elemental magnesium by weight but generally has lower bioavailability than several other forms.
It is also used in products intended for constipation or indigestion.
Magnesium Malate
Magnesium malate is another supplemental form sometimes marketed for energy or muscle health.
However, strong evidence showing that it provides unique clinical benefits over other forms is limited.
Magnesium L-Threonate
Magnesium L-threonate is marketed for cognitive health.
Although preliminary research is exploring its potential effects, evidence remains insufficient to establish that it improves memory or prevents cognitive decline.
Important: Changing the form of magnesium does not automatically eliminate medication interactions.
How Much Magnesium Do Canadians Need Daily?
According to the Dietary Reference Intakes used by Health Canada:
Group | Recommended daily intake |
Men 19–30 | 400 mg |
Men 31+ | 420 mg |
Women 19–30 | 310 mg |
Women 31+ | 320 mg |
Pregnancy, ages 19–30 | 350 mg |
Pregnancy, ages 31–50 | 360 mg |
These recommendations refer to total magnesium intake from food, beverages and supplements.
For adults, the established tolerable upper intake level for magnesium from supplements and medications is 350 mg per day, unless a healthcare professional recommends otherwise.
This upper limit does not include magnesium naturally present in food.
Can You Take Too Much Magnesium?
Yes.
High supplemental magnesium intake can cause:
Diarrhea
Nausea
Abdominal cramping
In more serious cases, excessive magnesium accumulation can cause low blood pressure, weakness, impaired reflexes, and potentially dangerous heart rhythm disturbances.
People with significantly reduced kidney function are at greater risk because the kidneys are responsible for eliminating excess magnesium.
If you have chronic kidney disease, do not start magnesium supplementation without medical or pharmacist guidance.
This warning also applies to magnesium-containing laxatives and antacids, which can contain substantial amounts of elemental magnesium.
What Are the Best Food Sources of Magnesium?
Before reaching for a supplement, consider your dietary intake.
Magnesium-rich foods include:
Food | Approximate magnesium |
Pumpkin seeds, 28 g | 150 mg |
Almonds, 28 g | 80 mg |
Cooked spinach, ½ cup | 75–80 mg |
Black beans, ½ cup | 60 mg |
Dark chocolate, 28 g | 60–65 mg |
Avocado, ½ medium | 20–30 mg |
Values vary by product and preparation.
A food-first approach provides magnesium alongside fibre, protein and other important nutrients.
5 Pharmacist Tips Before Starting Magnesium
1. Check your medications first. Some medications require specific spacing or monitoring.
2. Review the actual elemental magnesium dose. A label may list a magnesium compound, but the amount of elemental magnesium is what matters when assessing intake.
3. Check for duplicate ingredients. Your multivitamin, electrolyte powder, sleep supplement and antacid may all contain magnesium.
4. Consider kidney function. Magnesium supplementation may require additional caution in people with reduced kidney function.
5. Ask whether you need a supplement. Your symptoms may have causes unrelated to magnesium deficiency.
Frequently Asked Questions
Can I take magnesium with amlodipine?
Magnesium is not generally prohibited with amlodipine, but individual factors such as blood pressure, kidney function and other medications should be considered.
Can I take magnesium with perindopril?
There isn't a routine requirement to separate magnesium and perindopril for absorption. However, people with kidney impairment or complex medication regimens should seek individualized advice.
Can I take magnesium with Synthroid?
Magnesium may interfere with levothyroxine absorption. A four-hour separation is a commonly recommended precaution.
Can I take magnesium with vitamin D?
Magnesium and vitamin D can generally be taken together, provided the doses and overall supplement regimen are appropriate.
Can I take magnesium every night?
Some people can take magnesium regularly, but daily supplementation isn't necessary for everyone. Suitability depends on your intake, dose, medications, and health conditions.
Is magnesium glycinate safer with medications?
Magnesium glycinate may be better tolerated by some individuals, but it can still interact with medications that bind magnesium in the digestive tract.
Should I take magnesium in the morning or at night?
There is no universally best time. Medication timing, gastrointestinal tolerance, and consistency are more important than taking it at a particular hour.
The Bottom Line: Can You Take Magnesium With Your Medications?
Yes, many people can take magnesium while using prescription medications—but some combinations require careful timing, monitoring, or avoidance.
Magnesium can reduce the absorption of certain antibiotics, thyroid medications, and osteoporosis medications.
Other medications, including some diuretics and long-term acid reflux treatments, may affect magnesium levels.
The most important question isn't simply whether magnesium is a good supplement.
It's whether the specific magnesium product, dose, and timing are appropriate for your medication regimen and health history.
Taking Magnesium Alongside Prescription Medications? Let Our Pharmacist Help.
At WellnessRX Pharmacy & Wellness Clinic in Bradford, Ontario, we believe supplement safety should be part of every medication review.
Our pharmacist and Registered Holistic Nutritionist work together to help patients make informed decisions about medications, nutrition, and supplements.
We can help you:
Identify potential supplement–medication interactions
Review your magnesium product and elemental dose
Understand when medication and supplement doses should be separated
Identify duplicate ingredients across products
Determine when additional medical assessment may be appropriate
Not sure whether your magnesium supplement is compatible with your medications? Bring your medication list and supplement bottles to WellnessRX Pharmacy for a review.
Shop online or book online at WellnessRxPharmacy.ca.
Medical disclaimer: This article is intended for educational purposes and does not replace personalized advice from a pharmacist or physician. Do not stop, change or separate prescribed medication doses without checking the applicable medication instructions or consulting your healthcare provider.
.png)


Comments