Calm, evidence-led keto answers for UK readersTrack it free with the Keto Dieting app →

The Vitamin D and Magnesium Connection on Keto

17 April 2026 · Keto Supplements · 2 min read

Three brown bottles of magnesium tablets on a soft pink background, ideal for health-themed content.

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.

Educational only — not medical advice. This article is for general information. Speak to your GP before changing your diet, especially if you have type 1 or type 2 diabetes, kidney or liver disease, are pregnant or breastfeeding, or take medication for blood pressure, cholesterol, or blood glucose.

References

  1. 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
  2. Reddy P, Edwards LR (2019). Magnesium Supplementation in Vitamin D Deficiency. American Journal of Therapeutics. https://doi.org/10.1097/MJT.0000000000000538

Free on Android

Track your carbs with the Keto Dieting app

Log food, scan barcodes, follow a doctor-designed plan and see your net carbs at a glance. From the team behind What Is Keto.

Get it on Google Play

Cookie settings