The Vitamin D and Magnesium Connection on Keto
The ketogenic diet changes how your body processes nutrients, making certain vitamins and minerals more critical. Vitamin D and magnesium work synergistically – each enhancing the other’s absorption and function in the body. Research shows up to 50% of people in the UK have insufficient vitamin D levels, particularly during winter months when sunlight exposure decreases.
Why This Matters for Ketosis
Magnesium acts as a cofactor for over 300 enzymatic reactions, including those involved in vitamin D metabolism. A 2018 study in the Journal of the American Osteopathic Association found vitamin D can’t be properly metabolised without sufficient magnesium. This has particular relevance for those following a ketogenic diet, as magnesium requirements may increase due to changes in insulin sensitivity and renal excretion patterns.
Food Sources vs Supplementation
While fatty fish like salmon provides both vitamin D and magnesium, most people need additional sources. Tesco sells 90 tablets of high-strength vitamin D3 for £3.50, while their magnesium citrate powder costs £8 for 200g. Dark leafy greens, pumpkin seeds, and almonds offer magnesium, but obtaining adequate vitamin D from food alone is challenging in the UK climate.
What This Means in Practice
For every 1,000 IU of vitamin D3 supplemented, consider pairing it with 100-150mg of elemental magnesium. This ratio helps prevent common keto electrolyte imbalances while supporting optimal vitamin D activation. Blood tests through the NHS can monitor your levels, though private testing provides more frequent data points at around £29 per vitamin D test.
Frequently Asked Questions
Can I take vitamin D without magnesium?
Yes, but absorption and activation may be suboptimal. Magnesium is required to convert vitamin D into its active form. Without adequate magnesium, supplemental vitamin D may not provide full benefits.
Which magnesium type works best with vitamin D?
Magnesium citrate, glycinate or malate have good bioavailability. Avoid magnesium oxide, which has poor absorption rates despite being commonly sold.
How does keto affect these nutrients?
The ketogenic diet may increase magnesium needs due to changes in fluid balance and insulin sensitivity. Vitamin D requirements remain similar, but absorption may improve with keto’s higher fat intake.
The Bottom Line
Vitamin D and magnesium form a critical partnership for anyone following a ketogenic diet. While sunlight and foods like salmon help, most UK residents benefit from targeted supplementation – especially between October and March. Tracking your intake ensures you maintain optimal levels without guessing. If you’d rather not do the macro maths yourself, the Keto Dieting app does it for you on Google Play and the App Store.
References
- Uwitonze AM, Razzaque MS (2018). Role of Magnesium in Vitamin D Activation and Function. Journal of the American Osteopathic Association. https://doi.org/10.7556/jaoa.2018.037
- Reddy P, Edwards LR (2019). Magnesium Supplementation in Vitamin D Deficiency. American Journal of Therapeutics. https://doi.org/10.1097/MJT.0000000000000538

