13
 min read

Vitamin D and Magnesium: How They Work Together

Written by
Bolt Pharmacy
Published on
16/2/2026

Vitamin D and magnesium are two essential nutrients that work together in the body to support bone health, immune function, and metabolic processes. Research suggests that magnesium status may influence how effectively the body converts and utilises vitamin D, whilst both nutrients contribute to calcium metabolism and overall wellbeing. Understanding their relationship can help you make informed decisions about supplementation and dietary choices. This article explores how vitamin D and magnesium interact, the benefits of adequate levels, signs of deficiency, recommended doses in the UK, potential side effects, and dietary sources to support optimal health.

Summary: Vitamin D and magnesium work together in the body, with magnesium influencing vitamin D metabolism and both nutrients supporting bone health, immune function, and calcium regulation.

  • Magnesium is required for enzymes that convert vitamin D into its active form in the liver and kidneys.
  • Both nutrients contribute to bone mineralisation, calcium metabolism, and parathyroid hormone regulation.
  • UK guidance recommends 10 micrograms (400 IU) vitamin D daily in autumn and winter; magnesium RNI is 300 mg for men and 270 mg for women.
  • Deficiency symptoms overlap and include fatigue, muscle weakness, and bone pain; blood tests are needed for confirmation.
  • Combined supplementation may benefit individuals with documented deficiencies, particularly for bone and cardiovascular health.
  • Excessive vitamin D can cause hypercalcaemia; magnesium supplements may interact with antibiotics, bisphosphonates, and other medications.

How Vitamin D and Magnesium Work Together in the Body

Vitamin D and magnesium share an important relationship in the body that influences several physiological processes. Research suggests that magnesium status may influence vitamin D metabolism and function. Vitamin D undergoes two conversion steps in the body—first in the liver (via the enzyme CYP2R1) to form 25-hydroxyvitamin D (the form measured in blood tests), and then in the kidneys (via CYP27B1) to create the active form, calcitriol (1,25-dihydroxyvitamin D).

Some observational studies suggest that magnesium status may affect these conversion processes, potentially influencing how effectively the body utilises vitamin D. Individuals with low magnesium levels might experience altered vitamin D metabolism, though the exact mechanisms and clinical significance remain under investigation. The relationship appears bidirectional, as vitamin D may also influence magnesium absorption and utilisation, though evidence for this is primarily from observational studies.

Both nutrients contribute to bone health, immune function, cardiovascular regulation, and glucose metabolism. Magnesium plays roles in parathyroid hormone regulation and calcium homeostasis, which intersect with vitamin D's functions in calcium metabolism.

From a clinical perspective, there is growing interest in the potential benefits of addressing both nutrients when deficiencies exist. However, it's important to note that while these nutrients work alongside each other, the precise nature and extent of their interdependence in humans continues to be studied, with much of the evidence coming from observational rather than interventional research.

Benefits of Taking Vitamin D and Magnesium Together

Combined supplementation of vitamin D and magnesium may offer several health benefits, particularly for bone health, cardiovascular function, and metabolic regulation. Bone and musculoskeletal health represents the most established benefit, as both nutrients are essential for calcium metabolism and bone mineralisation. Vitamin D enhances intestinal calcium absorption, whilst magnesium is incorporated directly into bone matrix and regulates parathyroid hormone secretion. The benefits are most clearly demonstrated in individuals with documented deficiencies of either nutrient.

Cardiovascular health may also benefit from adequate levels of both nutrients. Magnesium contributes to normal heart rhythm, blood pressure regulation, and vascular function, whilst vitamin D influences renin-angiotensin system activity and endothelial health. Observational research has linked deficiencies in either nutrient to increased cardiovascular risk, though there is no official link established through randomised controlled trials for combined supplementation preventing cardiovascular events.

Immune function and inflammatory regulation represent emerging areas of interest. Vitamin D modulates both innate and adaptive immunity, whilst magnesium influences inflammatory pathways and immune cell function. Some evidence suggests that optimising both nutrients may support immune resilience, though more research is needed to establish definitive clinical benefits.

Metabolic health, including glucose regulation and insulin sensitivity, may be influenced by both nutrients. Magnesium is involved in insulin signalling pathways, and vitamin D receptors are present in pancreatic beta cells. Deficiencies in either nutrient have been associated with increased diabetes risk, though causality remains under investigation.

It is important to note that whilst combined supplementation addresses potential deficiencies, benefits are most evident in individuals with documented insufficiency rather than those with adequate baseline levels. UK guidance (NICE PH56) emphasises targeted supplementation based on individual risk factors rather than universal combined therapy.

Signs You May Need Vitamin D and Magnesium Supplements

Recognising potential deficiency symptoms can help identify individuals who may benefit from supplementation, though clinical testing remains essential for confirmation. Vitamin D deficiency (serum 25-hydroxyvitamin D below 25 nmol/L) may present with subtle, non-specific symptoms including persistent fatigue, muscle weakness, bone pain (particularly in the lower back, pelvis, and legs), and increased susceptibility to infections. More severe deficiency can lead to osteomalacia in adults, characterised by bone softening and increased fracture risk. Certain populations face elevated risk, including individuals with limited sun exposure, darker skin pigmentation, obesity, malabsorption disorders, or chronic kidney disease.

Magnesium deficiency symptoms can be equally non-specific and may include muscle cramps or spasms, fatigue, weakness, irregular heart rhythms, and numbness or tingling. Severe deficiency may cause seizures or personality changes, though this is uncommon. Risk factors include gastrointestinal disorders (such as Crohn's disease or coeliac disease), type 2 diabetes, chronic alcohol use, and long-term use of certain medications including proton pump inhibitors and diuretics.

Overlapping symptoms between the two deficiencies—particularly fatigue, muscle weakness, and mood changes—can make clinical distinction challenging without biochemical testing. Additionally, some research suggests that magnesium status may influence vitamin D metabolism.

If you experience persistent symptoms suggestive of deficiency, contact your GP for appropriate assessment. Blood tests measuring serum 25-hydroxyvitamin D (with levels above 50 nmol/L generally considered sufficient) and serum magnesium can guide supplementation decisions, though it's worth noting that serum magnesium may not always reflect total body magnesium stores. Routine testing for vitamin D is not recommended for the general population but may be appropriate when deficiency is suspected or in high-risk individuals.

Self-diagnosis and supplementation without medical guidance may delay identification of underlying conditions and risk inappropriate dosing. UK guidance recommends targeted supplementation based on clinical assessment rather than empirical treatment of non-specific symptoms.

UK guidance on vitamin D and magnesium supplementation is based on evidence from the UK government, NICE, and the Scientific Advisory Committee on Nutrition (SACN). For vitamin D, the UK government recommends that adults and children over one year consider taking a daily supplement containing 10 micrograms (400 IU) during autumn and winter months when sunlight exposure is insufficient for adequate synthesis. Certain groups should take this dose year-round, including individuals who are housebound, residents in care homes, those who cover their skin for cultural reasons, and people with darker skin.

For individuals with documented vitamin D deficiency (serum 25-hydroxyvitamin D below 25 nmol/L), treatment doses are considerably higher. NICE Clinical Knowledge Summaries suggest loading regimens totalling approximately 300,000 IU over 6-10 weeks (such as 20,000-40,000 IU weekly), followed by maintenance doses of 800-2,000 IU daily. However, these therapeutic doses should only be initiated under medical supervision following confirmed deficiency.

For magnesium, the UK Reference Nutrient Intake (RNI) is 300 mg daily for men and 270 mg daily for women. Unlike vitamin D, routine magnesium supplementation is not recommended for the general population, as most individuals obtain sufficient amounts through diet. Supplementation should be considered only when deficiency is suspected or confirmed, or in specific clinical contexts such as certain medications that deplete magnesium.

When supplementing both nutrients, typical over-the-counter preparations contain 10–25 micrograms (400–1,000 IU) of vitamin D and 50–200 mg of magnesium. When selecting magnesium supplements, check the label for 'elemental magnesium' content, as this indicates the actual amount of magnesium rather than the weight of the compound.

It is important not to exceed recommended doses without medical advice, as excessive vitamin D can cause hypercalcaemia, whilst excessive magnesium may cause gastrointestinal disturbance and, rarely, more serious effects in individuals with renal impairment. The UK tolerable upper intake level for vitamin D is 100 micrograms (4,000 IU) daily for adults.

Always consult your GP or a registered dietitian before starting supplements, particularly if you have existing health conditions, take regular medications, or are considering doses above standard recommendations. Blood monitoring may be appropriate for individuals on long-term high-dose supplementation.

Potential Side Effects and Interactions to Consider

Whilst vitamin D and magnesium supplements are generally well-tolerated at recommended doses, awareness of potential adverse effects and drug interactions is essential for safe use. Vitamin D side effects are uncommon at standard supplementation doses (400–1,000 IU daily) but can occur with excessive intake. Hypervitaminosis D leads to hypercalcaemia, which may present with nausea, vomiting, weakness, frequent urination, kidney problems, and in severe cases, cardiac arrhythmias. The UK tolerable upper intake level is 100 micrograms (4,000 IU) daily for adults, though therapeutic doses may temporarily exceed this under medical supervision.

Vitamin D can interact with several medications. It may increase digoxin toxicity risk through hypercalcaemia. Enzyme-inducing anticonvulsants (such as carbamazepine, phenytoin, and phenobarbital) can reduce vitamin D levels by accelerating its metabolism. Vitamin D may interact with thiazide diuretics, potentially increasing calcium levels. Other interactions include cholestyramine and orlistat (which reduce vitamin D absorption), rifampicin (which induces vitamin D metabolism), and corticosteroids (which may lower vitamin D levels).

Magnesium side effects most commonly involve the gastrointestinal system, with diarrhoea, nausea, and abdominal cramping occurring particularly with higher doses or certain formulations (such as magnesium oxide). Magnesium citrate and glycinate tend to be better tolerated. Serious side effects are rare but can include hypotension, respiratory depression, and cardiac effects, particularly in individuals with renal impairment who cannot adequately excrete excess magnesium.

Magnesium can interact with numerous medications, including bisphosphonates (separate doses by at least two hours), antibiotics (particularly tetracyclines—separate by at least 2 hours before or 4-6 hours after; quinolones—separate by at least 2 hours before or 6 hours after), proton pump inhibitors (which may reduce magnesium absorption with long-term use), and diuretics (which may increase magnesium loss). Magnesium may also potentiate the effects of muscle relaxants and certain blood pressure medications. Separate magnesium from levothyroxine by at least 4 hours.

Seek immediate medical attention if you experience symptoms of hypercalcaemia (severe nausea, confusion, extreme thirst) or severe magnesium toxicity (muscle weakness, difficulty breathing, irregular heartbeat). Individuals with kidney disease should not take magnesium supplements without specialist advice, as impaired renal function significantly increases toxicity risk. Always inform healthcare professionals about all supplements you take, as this information is crucial for safe prescribing and monitoring.

If you suspect you've experienced a side effect from a supplement, you can report it through the MHRA Yellow Card scheme.

Food Sources of Vitamin D and Magnesium

Obtaining nutrients through dietary sources remains the foundation of nutritional adequacy, with supplementation serving to address specific deficiencies or increased requirements. Vitamin D food sources are relatively limited in the UK diet. The richest natural sources include oily fish such as salmon, mackerel, sardines, and herring, which provide 5–25 micrograms per 100g serving. Other sources include egg yolks (approximately 1–2 micrograms per egg), red meat, and liver, though these contain smaller amounts. In the UK, certain foods are fortified with vitamin D, including most margarines and some breakfast cereals, plant-based milk alternatives, and infant formula. However, dietary sources alone typically provide only 2–3 micrograms daily, making sun exposure and supplementation important for achieving adequate status, particularly during winter months.

Magnesium-rich foods are more widely available and include several food groups. Green leafy vegetables such as spinach, kale, and chard are excellent sources, as magnesium is a central component of chlorophyll. Nuts and seeds, particularly almonds, cashews, pumpkin seeds, and sunflower seeds, provide substantial amounts—a 30g serving of almonds contains approximately 80mg of magnesium. Whole grains including brown rice, wholemeal bread, quinoa, and oats contribute significantly to magnesium intake, whilst refined grains contain considerably less due to processing.

Legumes such as black beans, chickpeas, and lentils are valuable sources, as are dark chocolate (with higher cocoa content providing more magnesium) and avocados. Some mineral waters also contain appreciable magnesium, though content varies by source.

A balanced diet incorporating these foods can help maintain adequate magnesium status. For vitamin D, dietary sources should be viewed as complementary to sensible sun exposure and supplementation when indicated. The NHS advises short periods in strong sunlight (between 11am and 3pm from late March/early April to the end of September) with arms and legs uncovered, without burning. The time needed varies by skin type and conditions.

Individuals following restricted diets—such as vegans, who have limited vitamin D sources—should pay particular attention to fortified foods and consider supplementation. If you are concerned about your nutrient intake, a registered dietitian can provide personalised dietary advice to optimise your vitamin D and magnesium status through food choices.

Frequently Asked Questions

Should I take vitamin D and magnesium together?

Combined supplementation may be beneficial if you have documented deficiencies in either nutrient, as magnesium influences vitamin D metabolism and both support bone health. However, routine combined supplementation is not recommended without clinical assessment; consult your GP for blood tests and personalised advice based on your individual needs and risk factors.

What are the signs of vitamin D and magnesium deficiency?

Common overlapping symptoms include persistent fatigue, muscle weakness, cramps, and bone pain. Vitamin D deficiency may also cause increased infections and bone softening, whilst magnesium deficiency can lead to irregular heart rhythms and numbness. Blood tests are essential for confirmation, as symptoms are non-specific.

How much vitamin D and magnesium should I take daily in the UK?

UK guidance recommends 10 micrograms (400 IU) of vitamin D daily during autumn and winter for most adults, with year-round supplementation for at-risk groups. The Reference Nutrient Intake for magnesium is 300 mg daily for men and 270 mg for women, though routine supplementation is not recommended unless deficiency is confirmed or suspected.


Disclaimer & Editorial Standards

The health-related content published on this site is based on credible scientific sources and is periodically reviewed to ensure accuracy and relevance. Although we aim to reflect the most current medical knowledge, the material is meant for general education and awareness only.

The information on this site is not a substitute for professional medical advice. For any health concerns, please speak with a qualified medical professional. By using this information, you acknowledge responsibility for any decisions made and understand we are not liable for any consequences that may result.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Book a discovery call

and discuss your eligibility for the Fella Program

Book your free call