Skip to content
artifact

Magnesium

What to take with magnesium: pairings, conflicts and timing

Most supplements sit comfortably beside magnesium. A few compete with it at high doses, and a handful of medications need hours of separation.

By Artifact Editors, Editorial team

Published · 6 min read

Illustration of a magnesium atom as a host greeting friendly capsules at a door while two pills jostle in the doorway beside an hourglass doorbell
Illustration: magnesium, hosting the supplement party.
In this article
  1. The short version
  2. Pairings with a mechanism behind them
  3. Popular pairings that remain unproven
  4. Combinations with no documented problem
  5. Where minerals and drinks compete
  6. Medications and kidney function: where timing matters
  7. Quick reference and timing
  8. FAQ

The short version

Most of what people ask about magnesium pairings has a boring answer: take them together if you like, and nothing in the research says otherwise. The real exceptions are narrow. They involve very high doses of a competing mineral, a few medications, and kidney function.

This guide sorts pairings into four groups: those with a mechanism behind them, those that are popular but untested, those with no documented problem, and those where separation matters. For the basics on the mineral itself, see our magnesium topic page.

Pairings with a mechanism behind them

Vitamin D. A review of magnesium's role in vitamin D metabolism found that the enzymes which convert vitamin D into its active form require magnesium as a cofactor. That is a statement about a pathway, not a promise. It does not show that extra magnesium raises vitamin D levels in someone who already has enough. It is simply one more reason to close a real magnesium gap if you take vitamin D.

Protein. A 2017 review of magnesium absorption lists dietary protein, medium-chain triglycerides and resistant carbohydrates as factors that enhance uptake. It lists high doses of other minerals, certain fibers, phytate and oxalate as factors that impair it. The review gives no dose, ratio or timing for the protein effect, so taking a capsule with a protein shake is fine but not a protocol.

Vitamin B6. The two are often sold together, but the supporting evidence is thin. One trial without a placebo group found magnesium lowered stress scores by a similar amount with or without B6, except in the most severely stressed subgroup, where B6 added benefit. That is a hint, not a result.

The B6 caution is about B6 itself. The original 1983 report described seven adults who developed sensory nerve damage on sustained high-dose pyridoxine and improved after stopping. Typical multivitamin and B-complex products supply a few milligrams up to roughly 25 to 50 mg a day, and the case reports involve far higher intakes over months or years. Read the milligram amount on the label.

L-theanine. A 4-week crossover trial in 30 healthy adults found 200 mg a day was linked to lower depression, trait-anxiety and sleep-quality-index scores than placebo. A review of nine trials suggested 200 to 400 mg a day may reduce stress and anxiety, with the authors asking for larger, longer studies. Magnesium's own record for anxiety is weaker: a systematic review of 18 studies rated the evidence poor. No trial we have found tested the two together.

Ashwagandha. A 60-day trial of 600 mg a day of a concentrated extract lowered stress scores and cortisol more than placebo in adults with chronic stress. A meta-analysis of nine trials in 558 people pointed the same way. Again, those trials tested ashwagandha, not ashwagandha plus magnesium, so you cannot credit the combination with the result.

Zinc-magnesium blends. A systematic review of testosterone-booster ingredients looked at zinc-magnesium combinations across five studies. They were not among the few ingredients that raised testosterone versus placebo. A combined capsule is a convenience, not a demonstrated upgrade.

If you add one of these, change one thing at a time. That makes it possible to tell what is helping, and what is upsetting your stomach.

Combinations with no documented problem

For the following, we found no documented interaction with magnesium, and the absorption routes give a plausible reason why.

  • Vitamin B12. Magnesium is absorbed through mineral transport channels and passive diffusion; B12 depends on intrinsic factor from the stomach. The one shared issue is that long-term acid-reducing (PPI) medication is linked to lower absorption of both, which is a medication effect and not a conflict between the supplements.
  • Vitamin C. The 2017 absorption review lists it neither as an enhancer nor an inhibitor of magnesium. Its well-known mineral effect is on non-heme iron, a different mineral and pathway.
  • Turmeric and black pepper. Piperine's best-documented effect is on drug-like compounds such as curcumin, via drug-metabolism pathways. One rat study found piperine raised intestinal uptake of iron, zinc and calcium; magnesium was not tested, and no human trial has paired piperine with magnesium.
  • NAC and taurine. Both are amino acid derivatives absorbed by different routes. Taurine as a separate supplement is not the same as magnesium taurate, which is a single compound.
  • Potassium. A classic review of mineral interactions names sodium-potassium and calcium-magnesium as significant pairs, not magnesium-potassium. Potassium supplements are also capped at 99 mg per serving in the US, so food does most of that job.
  • Iron. A 2025 review of mineral interactions singled out calcium as the mineral with a dose-dependent effect on iron absorption. For magnesium it found the reverse association: low magnesium was linked to worse iron deficiency.

Where minerals and drinks compete

Zinc at high doses. In a controlled feeding study in adult men, 142 mg a day of zinc (as sulfate) significantly reduced magnesium absorption and balance. That is roughly four to fifteen times a typical supplement and well above the 40 mg/day adult upper limit for zinc. A standard 8 to 30 mg zinc supplement is not what was tested. Our guide to magnesium and zinc covers the dose details.

Calcium. A 1989 review names calcium and magnesium as a nutritionally significant pair that can compete when one is markedly in excess of the other. It gives no dose threshold, and we know of no trial quantifying the effect at ordinary supplement doses. If you take a large calcium dose, spacing it a few hours from magnesium is a reasonable precaution, not an established requirement.

Coffee. In a controlled ward study, two caffeine doses totaling about the amount in several cups of coffee raised urinary magnesium loss for six hours. The body partly made up for it overnight. That is an excretion finding, not an absorption one, and nobody has tested coffee against a magnesium capsule directly. There is no evidence-based reason to avoid coffee or time your capsule around it.

Medications and kidney function: where timing matters

This is the group where separation is actually advised. Magnesium and similar minerals can bind to tetracycline and fluoroquinolone antibiotics in the gut and reduce how much is absorbed, which is why the usual advice is to take them several hours apart. Bisphosphonates are thought to behave the same way. In a small trial, taking magnesium at the same time as levothyroxine reduced absorption of the thyroid drug, so prescribers advise separate times.

Loop and thiazide diuretics can increase urinary magnesium loss, while potassium-sparing diuretics carry a different electrolyte risk. Either way, anyone on a diuretic should check with a doctor or pharmacist before adding magnesium. Our overview of magnesium interactions lists more of what to ask about.

Kidney function changes the whole calculation. Reviews describe risk at both low and high magnesium in chronic kidney disease, and warn that supplementing in advanced disease needs careful monitoring because magnesium can build up. One observational study linked higher blood magnesium in kidney disease to more cardiovascular events and deaths. Severe hypermagnesemia is rare, and a 2019 review says it occurs almost only when kidney function is substantially reduced and intake from supplements, laxatives or antacids is high.

Quick reference and timing

PairingVerdictMechanism or evidenceTiming
Vitamin DReasonable fitMagnesium is a cofactor for vitamin D-activating enzymesNo requirement established
ProteinFineReview lists protein as an absorption-enhancing factor; no dose givenNone established
B6Fine at standard dosesNo combined-benefit trial; nerve risk only at very high B6 dosesNone for magnesium; check the B6 dose
B12, vitamin C, turmeric, NAC, taurineNo documented interactionDifferent absorption pathwaysNone established
ZincFine at usual doses142 mg/day reduced magnesium absorption in menNo evidence timing matters at ordinary doses
CalciumWatch large dosesCompetition when one mineral is far in excessA few hours apart is a reasonable precaution
CoffeeNo absorption block shownCaffeine temporarily raises urinary magnesium lossNo evidence-based timing
Tetracycline or fluoroquinolone antibioticsSeparateBinding in the gut lowers drug absorptionSeveral hours apart; ask a pharmacist
LevothyroxineSeparateMagnesium reduced thyroid drug absorption in a small trialSeparate times; ask your prescriber
Diuretics, kidney diseaseAsk a clinicianAltered magnesium handling; risk of buildupIndividual advice

The overall pattern: timing is a real issue for a short list of medications and a theoretical one for large calcium doses. For everything else, take magnesium when you will remember it. If you want to compare when people choose to take it, we cover that in timing magnesium glycinate.

Finally, form matters less than marketing suggests. A 2017 absorption review concluded the evidence for one magnesium salt being reliably better absorbed than another is inconsistent. That makes your pairings and your total daily intake the more useful things to get right.

Frequently asked questions

Can I take magnesium and zinc in the same multivitamin?

At typical doses, yes. The documented absorption problem came from 142 mg a day of zinc in a controlled feeding study, far above the 8 to 30 mg found in most supplements. If you take a high-dose zinc product, ask a pharmacist about your combined mineral intake.

Does coffee cancel out magnesium?

No study supports that. Caffeine temporarily raised urinary magnesium loss in a short ward study, with partial overnight compensation. That is about excretion over hours, not absorption, and no one has tested coffee with a magnesium capsule. There is no established reason to separate them.

Should I take magnesium and calcium at different times?

It is optional at ordinary doses. The two can compete when one is far in excess of the other, but no trial has set a threshold. If you take a large calcium dose, spacing the two by a few hours is a reasonable precaution.

Do I need black pepper extract for magnesium to absorb?

No evidence says so. Piperine's documented effect is on compounds like curcumin, which are heavily metabolized. One rat study found it increased uptake of iron, zinc and calcium, but magnesium was not tested in animals or humans.

Sources (23)
  1. Uwitonze AM, et al. Role of Magnesium in Vitamin D Activation and Function. J Am Osteopath Assoc. 2018.
  2. Schuchardt JP, et al. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium-An Update. Curr Nutr Food Sci. 2017.
  3. Pouteau E, et al. Superiority of magnesium and vitamin B6 over magnesium alone on severe stress in healthy adults with low magnesemia: A randomized, single-blind clinical trial. PLoS One. 2018.
  4. Schaumburg H, et al. Sensory neuropathy from pyridoxine abuse. A new megavitamin syndrome. N Engl J Med. 1983.
  5. Boyle NB, et al. The Effects of Magnesium Supplementation on Subjective Anxiety and Stress-A Systematic Review. Nutrients. 2017.
  6. Chandrasekhar K, et al. A prospective, randomized double-blind, placebo-controlled study of safety and efficacy of a high-concentration full-spectrum extract of ashwagandha root in reducing stress and anxiety in adults. Indian J Psychol Med. 2012.
  7. Arumugam V, et al. Effects of Ashwagandha (Withania Somnifera) on stress and anxiety: A systematic review and meta-analysis. Explore (NY). 2024.
  8. Hidese S, et al. Effects of L-Theanine Administration on Stress-Related Symptoms and Cognitive Functions in Healthy Adults: A Randomized Controlled Trial. Nutrients. 2019.
  9. Williams JL, et al. The Effects of Green Tea Amino Acid L-Theanine Consumption on the Ability to Manage Stress and Anxiety Levels: a Systematic Review. Plant Foods Hum Nutr. 2020.
  10. Morgado A, et al. Do "testosterone boosters" really increase serum total testosterone? A systematic review. Int J Impot Res. 2024.
  11. Fashner J, et al. Common gastrointestinal symptoms: risks of long-term proton pump inhibitor therapy. FP Essent. 2013.
  12. Ajazuddin, et al. Role of herbal bioactives as a potential bioavailability enhancer for Active Pharmaceutical Ingredients. Fitoterapia. 2014.
  13. Prakash UN, et al. Enhanced intestinal uptake of iron, zinc and calcium in rats fed pungent spice principles--piperine, capsaicin and ginger (Zingiber officinale). J Trace Elem Med Biol. 2013.
  14. O'Dell BL. Mineral interactions relevant to nutrient requirements. J Nutr. 1989.
  15. Rolić T, et al. Iron Metabolism, Calcium, Magnesium and Trace Elements: A Review. Biol Trace Elem Res. 2025.
  16. Spencer H, et al. Inhibitory effects of zinc on magnesium balance and magnesium absorption in man. J Am Coll Nutr. 1994.
  17. Kynast-Gales SA, et al. Effect of caffeine on circadian excretion of urinary calcium and magnesium. J Am Coll Nutr. 1994.
  18. Ogawa R, et al. Clinically significant drug interactions with antacids: an update. Drugs. 2011.
  19. Attinger MC, et al. Single Center, Open-Label, Randomized Crossover Trial on Drug-Drug Interactions of Levothyroxine/Magnesium-Citrate and Levothyroxine/Magnesium-Aspartate in Healthy Subjects-The ThyroMag Trial. Clin Transl Sci. 2025.
  20. Greenberg A. Diuretic complications. Am J Med Sci. 2000.
  21. Sadeghpour M, et al. Unraveling the Mechanisms of Magnesium Supplementation in Alleviating Chronic Kidney Disease Complications and Progression: Balancing Risks and Benefits. Biol Trace Elem Res. 2025.
  22. Galán Carrillo I, et al. Impact of Serum Magnesium Levels on Kidney and Cardiovascular Prognosis and Mortality in CKD Patients. J Ren Nutr. 2021.
  23. Van Laecke S. Hypomagnesemia and hypermagnesemia. Acta Clin Belg. 2019.

Adapted from research by the Electric Tiger editorial team — read the original.

The Artifact Edit

One smart email a week. What’s worth buying, what’s hype, and why.