Buyer guides · Updated 2026-11-30
Should you take magnesium with vitamin D? Your body uses magnesium to process vitamin D, but taking them at the same time has not been tested

Free US shipping · Sources linked below. Or read the guide first
Short answer
Get enough of both; you do not need to take them at the same moment. All the enzymes that process vitamin D seem to need magnesium as a helper (Uwitonze 2018), and NHANES data cited in Dai 2018 show 79% of US adults do not meet the magnesium RDA. But only two randomized trials tested extra magnesium on vitamin D status, each 12 weeks long and measuring blood markers only. In Dai 2018 (180 adults), magnesium raised blood vitamin D slightly in people who started near 30 ng/mL, not in those near 20 ng/mL, and lowered it in those near 50 ng/mL, so it seemed to move vitamin D toward the middle rather than simply raise it. In a 95-person trial, magnesium plus vitamin D3 gave the largest rise, but the abstracts do not show a clear advantage over vitamin D3 alone (Cheung 2022, Dall 2023). We found no trial comparing the two taken together with the two taken apart.
CC Small or few human trials. Promising, not proven. How we grade → Our grade: Vitamin D and magnesium together (overall)
1. Why magnesium matters for vitamin D
All the enzymes that metabolize vitamin D seem to require magnesium as a cofactor, according to a narrative review (Uwitonze 2018). In a rare genetic condition involving magnesium-dependent vitamin D resistance, injections of up to 600,000 IU of vitamin D alone did not correct the lab markers, while magnesium largely reversed the resistance; these were case reports and small studies in severe deficiency (as summarized in Dai 2018). In NHANES surveys, higher magnesium intake was linked with lower odds of low vitamin D (Deng 2013), but a survey cannot show cause.
2. The Dai 2018 trial: toward the middle, not simply up
In a double-blind, placebo-controlled trial at Vanderbilt, 180 adults aged 40 to 85 took a magnesium dose set from their diet (mean 205.5 mg a day) or placebo for 12 weeks. Compared with placebo, blood 25(OH)D3 was 1.58 ng/mL higher at a starting level of 20 ng/mL (not a significant difference), 2.79 ng/mL higher at 30 ng/mL, and 6.87 ng/mL lower at 50 ng/mL. The authors found no consistent evidence that magnesium raised vitamin D at lower starting levels, and concluded that adequate magnesium may be important for optimizing vitamin D status.
3. Magnesium glycinate plus vitamin D3: the 95-person trial
In a 12-week double-blind trial in 95 adults with overweight or obesity, people took 360 mg of magnesium glycinate plus 1,000 IU of vitamin D3, 1,000 IU of vitamin D3 alone, or placebo. The combination group had the largest rise in 25(OH)D (6.3 ng/mL), with no effect on parathyroid hormone or inflammatory markers (Cheung 2022), and 25(OH)D rose 5.63 ng/mL more than on placebo, with no differences in bone or glucose markers (Dall 2023). The abstracts do not report a direct test against the vitamin D3 only group, so this does not show the combination beats vitamin D3 alone.
4. Same time or apart: not tested
We found no trial comparing the two taken at the same time with the two taken apart. What the evidence supports is getting enough of both over the day. Adults need 600 to 800 IU (15 to 20 mcg) of vitamin D a day and 310 to 420 mg of magnesium from all sources (NIH ODS). Vitamin D is fat-soluble, so take it with a meal that has some fat; magnesium can go with the same meal or another.
5. Count every source against the upper limits
Count every source of vitamin D (multivitamin, drops, fortified foods, other supplements) toward the adult upper limit of 4,000 IU (100 mcg) a day, and every magnesium supplement, antacid and laxative toward 350 mg a day; food magnesium does not count toward that limit (NIH ODS). Our numbers: our multivitamin gives 400 IU (10 mcg) of vitamin D3 and 50 mg of magnesium as oxide, and 3 capsules of our magnesium give 275 mg as glycinate, so the two together give 400 IU of D3 and 325 mg of supplemental magnesium a day, under both upper limits.
6. Limits, and what this does not mean
Only two randomized trials address the question, each 12 weeks long and measuring blood markers, not bone, muscle or other health outcomes. Dai 2018 analysed people who completed the trial, had only 2 participants below 12 ng/mL, and enrolled almost only white adults, most of whom had had colon polyps removed; two of its authors list the Center for Magnesium Education and Research as an affiliation. In the 95-person trial, 78 completed it, and the abstracts do not say whether 360 mg of magnesium glycinate means 360 mg of elemental magnesium. None of this means magnesium treats vitamin D deficiency or any disease, or that more of either is better. A diagnosed vitamin D deficiency is managed by a clinician, not by adding magnesium. Our claims are structure/function only.
7. Who should ask a clinician first
People with kidney disease, and people who are pregnant or breastfeeding, should ask a clinician before taking either. People taking orlistat, statins, corticosteroids or thiazide diuretics should discuss vitamin D with their clinician, because these medicines can change vitamin D levels or, with thiazides, raise blood calcium (NIH ODS). Under 18: ask a clinician first.
Questions
Do I need to take magnesium and vitamin D at the same time?
No trial has compared taking them together with taking them apart. The sources support getting enough of both over the day. Take vitamin D with a meal that has some fat.
Does magnesium raise vitamin D levels?
Not simply. In Dai 2018 it raised blood vitamin D slightly in people starting near 30 ng/mL, not in those near 20 ng/mL, and lowered it in those near 50 ng/mL. The study measured blood markers for 12 weeks.
How much magnesium do adults need?
310 to 420 mg a day from all sources (NIH ODS). The upper limit of 350 mg a day applies to supplements and medicines only, not food.
Can I take your magnesium with your multivitamin?
Together they give 400 IU of vitamin D3 and 325 mg of supplemental magnesium a day, under both adult upper limits. Count any other vitamin D or magnesium product you take.
Not ready to buy yet?
A short email when there is something worth saying: the evidence we have graded, label changes, and new batches.
Sources (each DOI or PMID checked on Crossref or PubMed, 25 Oct 2026)
- Dai Q et al. Am J Clin Nutr. 2018;108(6):1249-1258. Magnesium vs placebo, vitamin D metabolites, 180 adults, 12 weeks.
- Cheung MM et al. Nutrition. 2022;99-100:111674. Magnesium glycinate plus vitamin D3 vs vitamin D3 vs placebo, 95 adults, 12 weeks.
- Dall RD et al. Nutr Res. 2023;110:33-43. Same trial: bone turnover and glucose markers.
- Deng X et al. BMC Med. 2013;11:187. Magnesium intake, vitamin D status and mortality in NHANES.
- Uwitonze AM, Razzaque MS. J Am Osteopath Assoc. 2018;118(3):181-189. Review: magnesium in vitamin D activation.
- NIH Office of Dietary Supplements. Vitamin D fact sheet for health professionals.
- NIH Office of Dietary Supplements. Magnesium fact sheet for health professionals.
- Dawson-Hughes B et al. J Acad Nutr Diet. 2015;115(2):225-230. Vitamin D3 with a fat-containing vs fat-free meal, 50 older adults.
- Everstack Complete Multivitamin Supplement Facts panel, shown on our product page: amounts per 2 capsules and suggested use.
- Everstack Magnesium Glycinate Supplement Facts panel, shown on our product page.
Read next
- Full summary: vitamin D and magnesium
- How much vitamin D per day?
- How much magnesium per day?
- Magnesium glycinate vs citrate vs oxide
- When to take a multivitamin
- Our Magnesium Glycinate: 275 mg of magnesium per 3 capsules
- All buyer guides
* These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.