Affiliate links: as an Amazon Associate and through other programs, we earn from qualifying purchases, at no extra cost to you. Learn more.
Quick answer: Magnesium helps the enzymes that turn vitamin D into its active form, and in one randomized trial magnesium raised vitamin D levels in people who started near 30 ng/mL but lowered them in people who started higher (Uwitonze and Razzaque, 2018; Dai et al., 2018). Few trials have given both together; in one 12-week trial the pair raised vitamin D levels slightly more than vitamin D alone but did not change blood sugar or bone markers (Cheung et al., 2022; Dall et al., 2023). Most adults need 600 to 800 IU of vitamin D a day, with an upper limit of 4,000 IU (NIH ODS), and should keep magnesium from supplements at or below 350 mg a day (NIH ODS).
In This Article
How Magnesium and Vitamin D Work Together

Vitamin D from sunlight, food or supplements has to be activated. The liver first turns it into 25-hydroxyvitamin D, or 25(OH)D, the form a blood test measures, and the kidneys then convert 25(OH)D into the active form (NIH ODS). All of the enzymes that process vitamin D seem to need magnesium as a cofactor in the liver and kidneys (Uwitonze and Razzaque, 2018).
Magnesium glycinate compared: label doses (2026)
| Product | On the label | Good to know | Buy |
|---|---|---|---|
| Our pick Doctor's Best High Absorption Magnesium | 200 mg magnesium per 2 tablets, as lysinate glycinate chelate (Albion) | Chelated glycinate at a dose inside the 350 mg a day limit for supplements (NIH). | See it on Amazon ↗ |
| Nature Made Magnesium Glycinate | 200 mg magnesium per 2 capsules | The same dose in capsules instead of tablets. | See it on Amazon ↗ |
| NOW Magnesium Glycinate | 200 mg magnesium per 2 tablets, as bisglycinate (Albion) | Another bisglycinate tablet at the same dose. | See it on Amazon ↗ |
| Pure Encapsulations Magnesium (Glycinate) | 120 mg magnesium per capsule | A smaller dose per capsule: 1 or 2 capsules stays under 350 mg. | See it on Amazon ↗ |
Most adults need no more than 350 mg a day of magnesium from supplements (NIH).
Label figures: NIH Dietary Supplement Label Database and the brand listing, checked October 2026. Formulas change, so check the label before you buy. We earn a commission on Amazon purchases at no extra cost to you, and we do not lab-test products.
One randomized trial tested this in people. In 180 adults aged 40 to 85, magnesium (a dose matched to each person’s diet) raised 25(OH)D when levels started near 30 ng/mL and lowered it when they started higher, from about 30 to 50 ng/mL; the authors concluded that good magnesium status may matter for vitamin D status (Dai et al., 2018). The US National Cancer Institute funded the study. It does not show that vitamin D stops working without magnesium.
Get our free supplement cheat sheet.
One page: typical doses, timing and upper limits for ten well-studied supplements. No upsell.
🔒 No spam. Unsubscribe anytime. We send 1-2 emails/month max.
What Taking Both Has Shown
Only a few small trials have given magnesium and vitamin D together. In one 12-week trial in adults with overweight or obesity, 360 mg of magnesium glycinate plus 1,000 IU of vitamin D3 a day gave the largest rise in 25(OH)D of the three groups, about 6 ng/mL, but did not change parathyroid hormone or inflammation markers (Cheung et al., 2022). A second report from the same team, with the same funding, found no change in blood sugar, insulin or bone turnover markers (Dall et al., 2023). Neither abstract says how much of the 360 mg was elemental magnesium.
What is known for each nutrient:
| Benefit | Evidence | What is known |
|---|---|---|
| Vitamin D status | Limited | Magnesium helps activate vitamin D; in one randomized trial it raised levels near 30 ng/mL and lowered higher ones (Dai et al., 2018) |
| Bone health | Moderate (vitamin D + calcium) | Vitamin D + calcium: small bone-density gains in some older adults, fracture benefit unclear (NIH ODS); whether magnesium supplements help bones is not known (NIH ODS) |
| Heart health | Weak | Vitamin D supplements did not lower cardiovascular risk in trials (Manson et al., 2019); magnesium lowers blood pressure only slightly (NIH ODS) |
| Immune function | Limited | Vitamin D helps regulate immune function, but expert reviews found no firm link between supplements and health outcomes beyond bone (NIH ODS) |
| Brain health | Weak/not established | Expert reviews found the evidence too weak to link vitamin D with outcomes other than bone (NIH ODS) |
Who Might Need One or Both
NIH lists these groups as more likely to be low in vitamin D: breastfed infants, older adults, people with little sun exposure, people with dark skin, people with conditions that limit fat absorption, and people with obesity or who have had gastric bypass surgery (NIH ODS). For magnesium, the groups are people with gastrointestinal diseases, type 2 diabetes or alcohol dependence, and older adults (NIH ODS).
The 2024 Endocrine Society guideline suggests vitamin D above the usual intake only for children and teens, adults aged 75 and older, pregnancy and high-risk prediabetes, and suggests against routine vitamin D blood tests (Demay et al., 2024). Symptoms are a poor guide to either deficiency: see our pages on vitamin D deficiency symptoms and magnesium deficiency symptoms.
How Much of Each to Take
- Vitamin D: adults need 600 to 800 IU (15 to 20 mcg) a day. The upper limit depends on age and is 4,000 IU (100 mcg) a day for adults (NIH ODS), and the 2024 guideline suggests against taking more than the recommended intake to lower disease risk in healthy adults under 75 (Demay et al., 2024). Take it with a meal that contains fat: in one study, peak blood levels were 32% higher than with a fat-free meal (Dawson-Hughes et al., 2015).
- Magnesium: adults need 310 to 420 mg a day from all sources; from supplements, stay at or below 350 mg of elemental magnesium a day. Citrate, aspartate, lactate and chloride tend to be absorbed better than oxide (NIH ODS).
Our guides on vitamin D doses, magnesium forms and doses and when to take vitamin D have more detail on forms and timing.
What to Expect
Vitamin D levels rise slowly: in one trial of 1,000 or 4,000 IU a day, they leveled off from about the third month (Vieth et al., 2001). Expert reviews have not firmly linked vitamin D to health outcomes other than bone (NIH ODS). With magnesium, the trial above found that its effect on vitamin D depended on the starting level (Dai et al., 2018), so there is no fixed timeline for the pair.
Calcium and Other Add-Ons
Calcium is often sold with vitamin D. NIH notes that taking calcium supplements together with vitamin D supplements may raise the risk of certain adverse effects (NIH ODS), and in a Cochrane review vitamin D3 with calcium increased kidney stones (risk ratio 1.17; 4 trials, 42,876 people) (Bjelakovic et al., 2014). If you take calcium, count your total from food and supplements and ask your doctor whether you need it.
Safety and Interactions
- Too much vitamin D raises calcium in the blood and urine and, in extreme cases, can lead to kidney failure, irregular heart rhythms and death; it is almost always caused by supplements (NIH ODS). See vitamin D3 toxicity: signs and safe limits.
- Too much magnesium from supplements can cause diarrhea, nausea and abdominal cramping, and very high doses can cause magnesium toxicity (NIH ODS).
- Medicines: magnesium can interact with oral bisphosphonates and with tetracycline and quinolone antibiotics, and diuretics and proton pump inhibitors can affect magnesium status (NIH ODS). Vitamin D can interact with orlistat, statins, steroids and thiazide diuretics (NIH ODS). Ask your pharmacist if you take any of these.
- Testing: the 2024 guideline suggests against routine vitamin D blood tests (Demay et al., 2024); your doctor can decide whether you need one.
Bottom Line
Magnesium helps the body process vitamin D, but that does not mean vitamin D fails without it. Getting enough magnesium from food and taking the recommended amount of vitamin D with a meal covers what the evidence supports. A combined product is fine if both doses stay within the limits, but the one trial of the pair we reviewed found only a slightly larger rise in vitamin D levels (Cheung et al., 2022; Dall et al., 2023).
Magnesium glycinate is gentle on the stomach, although citrate has the stronger absorption data. Small trials suggest it may help some people fall asleep a little faster, but the evidence is low quality. Stay within 350 mg of elemental magnesium a day from supplements, and ask your doctor first if you have kidney disease.
Scientific References
- Uwitonze and Razzaque, 2018. Role of Magnesium in Vitamin D Activation and Function. J Am Osteopath Assoc. Found: review: all of the enzymes that metabolize vitamin D seem to require magnesium as a cofactor in the liver and kidneys
- Dai et al., 2018. Magnesium status and supplementation influence vitamin D status and metabolism: results from a randomized trial. Am J Clin Nutr. Found: 180 adults aged 40 to 85: magnesium raised 25(OH)D3 when baseline 25(OH)D was near 30 ng/mL and lowered it when baseline was about 30 to 50 ng/mL; funded by the NIH
- Cheung et al., 2022. The effect of combined magnesium and vitamin D supplementation on vitamin D status, systemic inflammation, and blood pressure: A randomized double-blinded controlled trial. Nutrition. Found: 95 adults with overweight or obesity, 12 weeks: magnesium glycinate 360 mg plus vitamin D3 1,000 IU a day gave the largest 25(OH)D rise (6.3 ng/mL); no effect on parathyroid hormone or inflammation; funded by the American Heart Association
- Dall et al., 2023. Combined vitamin D and magnesium supplementation does not influence markers of bone turnover or glycemic control: A randomized controlled clinical trial. Nutr Res. Found: 78 completers, same three-arm design: no differences in osteocalcin, glucose, insulin or HOMA-IR after 12 weeks; funded by the American Heart Association
- Manson et al., 2019. Vitamin D Supplements and Prevention of Cancer and Cardiovascular Disease. N Engl J Med. Found: VITAL, 25,871 US adults, 2,000 IU a day for a median of 5.3 years: no lower risk of cancer or major cardiovascular events
- Dawson-Hughes et al., 2015. Dietary fat increases vitamin D-3 absorption. J Acad Nutr Diet. Found: 50 older adults, one 50,000 IU dose with breakfast: peak plasma vitamin D3 32% higher with a fat-containing meal
- Demay et al., 2024. Vitamin D for the Prevention of Disease: An Endocrine Society Clinical Practice Guideline. J Clin Endocrinol Metab. Found: Endocrine Society 2024: suggests against empiric vitamin D above the DRI in healthy adults under 75 and against routine 25(OH)D testing
- Vieth et al., 2001. Efficacy and safety of vitamin D3 intake exceeding the lowest observed adverse effect level. Am J Clin Nutr. Found: 61 adults, 1,000 or 4,000 IU a day for 2 to 5 months: 25(OH)D plateaued from month 3
- Bjelakovic et al., 2014. Vitamin D supplementation for prevention of mortality in adults. Cochrane Database Syst Rev. Found: Cochrane review: vitamin D3 with calcium increased kidney stones (RR 1.17; 4 trials, 42,876 people)
- NIH ODS. Vitamin D: Fact Sheet for Health Professionals. Updated June 27, 2025.
- NIH ODS. Magnesium: Fact Sheet for Health Professionals. Updated January 6, 2026.
Level up your recovery
Cold plunges, saunas and red light are popular recovery tools. Our buying guides compare the options:




