Vitamin D and Brain Fog
"Brain fog" is a common patient complaint that doesn't map to a single diagnosis. Vitamin D deficiency is one modifiable contributor, but the differential is much wider — and getting the diagnosis right matters more than throwing supplements at the symptom.
The wide differential
- Sleep deprivation or untreated sleep apnoea.
- Untreated hypothyroidism (check TSH).
- Iron-deficiency anaemia — particularly in menstruating women (check ferritin).
- B12 deficiency — especially in vegans, older adults, chronic PPI/metformin.
- Depression or anxiety.
- Perimenopause.
- Chronic pain distraction.
- Post-viral (Long COVID, post-mono, post-flu).
- Medication side effects (antihistamines, benzodiazepines, opioids, gabapentin, some anticholinergics).
- Chronic alcohol use.
- Vitamin D deficiency — a contributor, not usually the sole cause.
Where vitamin D correction helps
Small trials in vitamin D-deficient adults with cognitive complaints report modest improvements in processing speed and executive function with correction. Effect is largest in the truly deficient (< 20 ng/mL); minimal or absent in the already-sufficient. Don't expect vitamin D to clear brain fog that has a different underlying cause.
Practical approach
- Persistent brain fog: check CBC + ferritin, TSH, B12, 25(OH)D, glucose/HbA1c, comprehensive metabolic panel.
- Review medications — many culprits are hiding in plain sight.
- Sleep hygiene assessment; sleep-study referral if snoring/witnessed apnoeas/daytime somnolence.
- Mental health screen (PHQ-9, GAD-7).
- Correct any nutrient deficiencies found.
- Structured cognitive assessment if persistent unexplained decline.