Vitamin D and Cognitive Function: Signal vs Hype
By Peter Benson, Cognitive Enhancement Researcher · Updated October 2026 · Citations re-verified
Short answer: Vitamin D and cognitive function are linked: low blood levels go with poorer thinking and higher dementia risk, and genetic studies suggest severe deficiency may play a causal role. But large trials giving vitamin D to older adults who mostly weren’t deficient found no slowing of cognitive decline.
⚕️ Educational information, not medical advice — full disclaimer. Vitamin D builds up in the body, so more is not better. Products that combine D3 with vitamin K2 need particular caution if you take warfarin or another vitamin K antagonist. If you have kidney disease, high blood calcium, sarcoidosis or a parathyroid condition, or take a thiazide diuretic, get individual medical advice first. This page contains an affiliate link, in the buying section.
Vitamin D is one of the most talked-about supplements for brain health. The observational link between low vitamin D and poorer cognition is real and well replicated. The problem is the jump from there to “so take vitamin D to protect your brain”: when that was tested in large randomised trials, it mostly didn’t hold up.
This guide to vitamin D and cognitive function covers why vitamin D might matter for the brain, the observational and genetic evidence, the supplement trials, how to reconcile them, testing, intake and safety. It sits in the Nootropics & Supplements hub.
On this page
- Why might vitamin D matter for the brain?
- Is low vitamin D linked to worse cognitive function?
- Does taking vitamin D improve cognitive function?
- Why don’t the trials match the observational studies?
- Should you get your vitamin D level tested?
- Vitamin D and cognitive function: claims ranked by evidence
- How much vitamin D do adults need?
- Buying vitamin D: what to check
- Is vitamin D safe? Cautions and interactions
- Frequently asked questions
Why might vitamin D matter for the brain?
Vitamin D acts more like a hormone than a typical vitamin, and its receptors are found in the brain, including in areas involved in memory. Laboratory and animal studies have linked it to processes such as inflammation and the handling of amyloid, the protein that builds up in Alzheimer’s disease. Deficiency is also common, particularly at higher latitudes, in winter and in people who spend little time outdoors.
A plausible mechanism plus a common deficiency makes a good hypothesis. Whether it translates into better thinking is a question for studies in people.
Is low vitamin D linked to worse cognitive function?
Yes, consistently. In the US Cardiovascular Health Study, 1,658 older adults without dementia had their blood levels measured and were followed for an average of 5.6 years. Compared with people at 50 nmol/L or above, those below 25 nmol/L had about 2.2 times the risk of dementia, and those between 25 and 50 nmol/L about 1.5 times the risk (Littlejohns et al., 2014). A meta-analysis of 37 studies found that people with lower vitamin D scored slightly worse on a standard cognitive test and that people with Alzheimer’s had lower levels than controls (Balion et al., 2012). A 2025 dose-response meta-analysis of 22 observational studies found the lowest vitamin D group had about 49% higher dementia risk than the highest (Huang et al., 2025).
Associations like these can’t show cause and effect: illness, frailty and spending less time outdoors can lower vitamin D and raise dementia risk at the same time. Genetic studies help with that. A Mendelian randomisation study in UK Biobank, which uses genes that affect vitamin D levels as a natural experiment, found evidence of a threshold: predicted dementia risk was about 54% higher at 25 nmol/L than at 50 nmol/L, with little difference above that. The authors’ model estimated that raising low levels to at least 50 nmol/L could potentially prevent around 17% of dementia cases (Navale et al., 2022). That figure is a statistical projection, not a result from an intervention trial, and Mendelian randomisation rests on assumptions that can’t be fully tested. It supports research into correcting deficiency; it doesn’t show that vitamin D supplements prevent dementia.
Does taking vitamin D improve cognitive function?
Not in the trials so far, which mostly enrolled people who weren’t deficient. In two cognitive sub-studies of the US VITAL trial (about 3,400 people by phone and 800 in person), 2,000 IU of vitamin D3 a day for two to three years didn’t slow cognitive decline. A possible benefit in Black participants was a subgroup finding that needs confirming (Kang et al., 2021). In the Australian D-Health trial, 60,000 IU once a month for five years made no difference to cognitive test scores in more than 3,000 older adults (Pham et al., 2023).
The Finnish Vitamin D Trial gave 1,600 IU, 3,200 IU or placebo to about 2,500 older adults for five years. There were 18 dementia cases on placebo and 14 and 13 in the two vitamin D groups, a difference that wasn’t statistically significant (Lönnroos et al., 2025). With so few cases, the trial could only have detected a very large effect, so it doesn’t rule out a modest one. Participants’ average blood level at the start was about 75 nmol/L, which is well above deficiency.
Not all the evidence points one way. In a US memory-clinic cohort of more than 12,000 people, those who took vitamin D had about 40% lower dementia incidence (Ghahremani et al., 2023). But that was observational: people who choose to take supplements differ in many ways from those who don’t, so it can’t settle the question the trials were designed to answer. For realistic expectations from any supplement, see what to expect from nootropics.
Why don’t the trials match the observational studies?
Two explanations fit the evidence. First, some of the link is probably reverse causation and confounding: people who are unwell, less mobile or indoors more tend to have both lower vitamin D and a higher risk of dementia. Second, the trials mostly gave vitamin D to people who already had enough. If the harm sits mainly below about 25–50 nmol/L, as the genetic study suggests, topping up people at 75 nmol/L wouldn’t be expected to help.
So the most defensible reading is that avoiding deficiency is worth doing, for the brain and for bones and general health, while extra vitamin D on top of adequate levels hasn’t been shown to sharpen thinking or protect against dementia. Trials in people who are genuinely deficient would test this directly, but they are harder to run, so the question is still open. For approaches with stronger evidence, see preventing cognitive decline and the Brain Health & Longevity hub.
Should you get your vitamin D level tested?
Not routinely, if you’re healthy. The Endocrine Society’s 2024 guideline suggests against routine vitamin D screening in generally healthy people without an established medical reason for testing, across all the age groups it reviewed, and against taking more than the recommended intake for disease prevention in adults under 75 (Endocrine Society, 2024). It does suggest supplements without testing for adults aged 75 and over, in pregnancy, and for some people with prediabetes.
That guidance doesn’t cover every clinical situation. People with conditions affecting absorption or bone and mineral metabolism, or other reasons to suspect deficiency, may need individual assessment, and a clinician can decide whether a test is appropriate. Examples include when you get very little sun, have a condition that affects absorption from the gut, have had weight-loss surgery, take medicines that affect vitamin D, or have bone problems. The blood test measures 25-hydroxyvitamin D. The Institute of Medicine judged that a level of about 50 nmol/L (20 ng/mL) meets the needs of almost everyone; some other groups use higher targets.
Vitamin D and cognitive function: claims ranked by evidence
🟢 Stronger or replicated evidence · 🟡 Limited, mixed or preliminary evidence · 🔴 Not established or not supported
How much vitamin D do adults need?
The Institute of Medicine’s recommended intake is 600 IU (15mcg) a day for adults up to 70 and 800 IU (20mcg) over 70, from food, sun and supplements combined. The tolerable upper intake level for adults is 4,000 IU (100mcg) a day (IOM, 2011). Treating a diagnosed deficiency can need more for a period, and that should be guided by a doctor. The trial doses above (2,000–3,200 IU a day, or 60,000 IU a month) are research references, not recommendations.
Vitamin D3 (cholecalciferol) raises blood levels more effectively than D2 (ergocalciferol), according to a meta-analysis of randomised trials (Tripkovic et al., 2012). Because it is fat-soluble, it is often taken with a meal. There is no cognitive reason to take more than you need.
Worked example — matching the evidence to the situation
A healthy 45-year-old who gets outdoors regularly and wants a sharper memory. The trials give no reason to expect a cognitive effect from extra vitamin D. Guideline intake from food, sun or a modest supplement covers the deficiency question; sleep, exercise and study habits are the better levers.
A housebound 80-year-old. Deficiency is much more likely, and the guideline suggests supplementing at this age without testing first. Here vitamin D is about avoiding deficiency, with any brain benefit a possible bonus rather than the reason.
Someone on warfarin looking at a D3 + K2 product. The vitamin K is the issue, not the vitamin D. Plain D3, or a conversation with the prescriber first, is the safer route.
The NeuroEdge Formula Vitamin D Self-Testing Framework
For vitamin D, the framework is about avoiding deficiency, not chasing an effect. Not a prescription.
1. Check your risk
Little sun, older age, darker skin at high latitude, gut or kidney conditions, or certain medicines make deficiency more likely.
2. Ask about testing
Risk factors alone don’t mean you need a test. A clinician can decide whether a 25-hydroxyvitamin D test is appropriate; routine screening isn’t recommended for healthy people.
3. Stay within the limits
Reference intakes are 600–800 IU a day; the adult upper limit is 4,000 IU. Higher doses for deficiency belong under medical supervision.
4. Don’t judge it by feel
Correcting a deficiency isn’t something you’d expect to notice day to day, and the trials found no cognitive effect in people with adequate levels.
Peter’s Testing Notes
A personal note, not tracked data
I take vitamin D now, as Performance Lab D3 + K2, the product linked below. I have never noticed any cognitive effect from it, which is what the trials in people with adequate levels would predict. I treat it as baseline health, not as a nootropic.
An earlier version of these notes implied a testing routine I can’t confirm, so that has been removed.
Buying vitamin D: what to check
Vitamin D is a commodity, so the specification matters more than the brand: D3 is generally preferred because it raises blood levels more effectively, though D2 is still an accepted form; then a modest dose stated per serving, and independent testing, ideally with batch results or a recognised certification you can check. If you take warfarin, choose a product without vitamin K unless your prescriber agrees.
Performance Lab D3 + K2 — 1,000 IU D3
1,000 IU (25mcg) of vitamin D3 with 50mcg of vitamin K2 (MK-7) in one plant-based capsule. The company reports third-party testing but doesn’t name the lab or publish batch results, so that claim alone isn’t independent certification of every batch. It is the vitamin D I take. The dose sits within guideline limits; no trial has tested this specific product, and the K2 matters if you take warfarin.
This is an affiliate link. If you buy through it, NeuroEdge Formula may earn a commission at no extra cost to you. Vitamin D from food and sunlight counts too; you may not need a supplement at all. For omega-3, see omega-3 DHA for brain health.
Is vitamin D safe? Cautions and interactions
Too much is harmful. Vitamin D is fat-soluble and builds up in the body. Long-term intake well above the 4,000 IU upper limit can raise blood calcium, with symptoms such as nausea, weakness and kidney problems (IOM, 2011). There is no cognitive benefit to offset that risk.
Vitamin K2 and warfarin. Many vitamin D products include vitamin K2. The interaction comes from the vitamin K, not the D3, and it matters for warfarin and other vitamin K antagonists; other blood thinners work differently. NIH advises people on warfarin to keep their vitamin K intake from food and supplements about the same every day (NIH ODS). Don’t start or stop a D3 + K2 product without talking to your prescriber; plain D3 avoids this particular issue.
Conditions that need medical advice. People with sarcoidosis or other granulomatous diseases, a parathyroid condition, kidney disease, kidney stones or high blood calcium can be harmed by vitamin D and should supplement only on medical advice. Thiazide diuretics can also raise calcium. This isn’t a complete list; ask a pharmacist about your own medicines. See are nootropics safe? for supplement safety more broadly.
Key takeaways
| → | Low vitamin D is consistently linked to poorer cognition and higher dementia risk, and genetic evidence suggests severe deficiency may be causal. |
| → | Supplements haven’t improved cognition in people who weren’t deficient, in VITAL and D-Health; the Finnish dementia trial was null but underpowered. |
| → | The likely value is in avoiding deficiency, not in taking more than you need. |
| → | Routine testing isn’t recommended for healthy people; it makes sense when deficiency is suspected. |
| → | Stay within 4,000 IU a day unless a doctor advises otherwise, and check with your prescriber before using a D3 + K2 product on warfarin. |
Frequently asked questions
Does vitamin D improve cognitive function?
Not in people who already have adequate levels, according to large trials such as VITAL and D-Health. Low vitamin D is linked to poorer cognition, so avoiding deficiency is sensible, but extra vitamin D hasn’t been shown to sharpen thinking.
Can vitamin D prevent dementia?
It hasn’t been shown to. The Finnish Vitamin D Trial found no significant reduction in dementia, though it was too small to rule out a modest effect. Genetic evidence suggests severe deficiency may raise risk, which is a reason to avoid deficiency, not to take high doses.
How much vitamin D should I take?
The reference intake is 600 IU a day for adults up to 70 and 800 IU over 70, and the adult upper limit is 4,000 IU. A diagnosed deficiency may need more for a while, under medical guidance. There’s no special dose for the brain.
Should I get my vitamin D level tested?
Routine screening isn’t recommended for healthy people without a medical reason. A clinician can decide whether testing is appropriate, for example if you get little sun, have a condition affecting absorption, take medicines that affect vitamin D, or have bone problems.
Is D3 better than D2, and why is K2 added?
D3 raises blood levels more effectively than D2. K2 is often added because of its role in calcium handling, but vitamin K interacts with warfarin and other vitamin K antagonists, so anyone taking one should check with their prescriber first.
Get “7 Days to a Sharper Brain” — Free
Peter Benson’s evidence-first starting framework
The habits with the strongest evidence first — sleep, movement, stress and learning — then how to add a single supplement and test whether it actually works for you.
No spam. Unsubscribe anytime.
⚕️ Educational Information, Not Medical Advice
This article is educational and is not medical advice. I’m a cognitive enhancement researcher, not a medical doctor. Vitamin D builds up in the body, and products containing vitamin K2 can interact with warfarin and other vitamin K antagonists. Consult a qualified healthcare provider before use, particularly if you take warfarin or thiazide diuretics, have kidney disease, sarcoidosis or a parathyroid condition, or are pregnant or breastfeeding.
Scientific references
1. Littlejohns, T. J., Henley, W. E., Lang, I. A., et al. (2014). Vitamin D and the risk of dementia and Alzheimer disease. Neurology, 83(10), 920–928. DOI: 10.1212/WNL.0000000000000755
2. Balion, C., Griffith, L. E., Strifler, L., et al. (2012). Vitamin D, cognition, and dementia: a systematic review and meta-analysis. Neurology, 79(13), 1397–1405. DOI: 10.1212/WNL.0b013e31826c197f
3. Huang, Y., Chen, Y., Wu, Y., et al. (2025). Association of vitamin D with risk of dementia: a dose-response meta-analysis of observational studies. Frontiers in Neurology, 16, 1649841. DOI: 10.3389/fneur.2025.1649841
4. Navale, S. S., Mulugeta, A., Zhou, A., Llewellyn, D. J., & Hyppönen, E. (2022). Vitamin D and brain health: an observational and Mendelian randomization study. American Journal of Clinical Nutrition. DOI: 10.1093/ajcn/nqac107
5. Kang, J. H., Vyas, C. M., Okereke, O. I., et al. (2021). Effect of vitamin D on cognitive decline: results from two ancillary studies of the VITAL randomized trial. Scientific Reports, 11, 23253. DOI: 10.1038/s41598-021-02485-8
6. Pham, H., Waterhouse, M., Rahman, S., et al. (2023). Vitamin D supplementation and cognition: results from analyses of the D-Health trial. Journal of the American Geriatrics Society, 71(6), 1773–1784. DOI: 10.1111/jgs.18247
7. Lönnroos, E., Ylilauri, M., Lamberg-Allardt, C., et al. (2025). The effect of vitamin D3 supplementation on the incidence of diagnosed dementia among healthy older adults: the Finnish Vitamin D Trial. Journals of Gerontology: Series A, 80(7), glaf077. DOI: 10.1093/gerona/glaf077
8. Ghahremani, M., Smith, E. E., Chen, H.-Y., et al. (2023). Vitamin D supplementation and incident dementia: effects of sex, APOE, and baseline cognitive status. Alzheimer’s & Dementia: Diagnosis, Assessment & Disease Monitoring, 15(1), e12404. DOI: 10.1002/dad2.12404
9. Demay, M. B., Pittas, A. G., Bikle, D. D., et al. (2024). Vitamin D for the prevention of disease: an Endocrine Society clinical practice guideline. Journal of Clinical Endocrinology & Metabolism. endocrine.org
10. Institute of Medicine. (2011). Dietary Reference Intakes for Calcium and Vitamin D. Washington, DC: National Academies Press. nap.nationalacademies.org
11. Tripkovic, L., Lambert, H., Hart, K., et al. (2012). Comparison of vitamin D2 and vitamin D3 supplementation in raising serum 25-hydroxyvitamin D status: a systematic review and meta-analysis. American Journal of Clinical Nutrition. DOI: 10.3945/ajcn.111.031070
12. NIH Office of Dietary Supplements. Vitamin K fact sheet for consumers. ods.od.nih.gov
Cognitive Enhancement Researcher | 18+ Years Independent Research
Peter is not a clinician; this guide is educational, not medical advice. It was rewritten in October 2026 to add the D-Health trial, the full Finnish trial results and their limits, genetic evidence, the 2024 Endocrine Society testing guidance and official intake limits, and to remove a personal testing claim that could not be confirmed. Read about how NeuroEdge Formula evaluates research.
Last reviewed: October 2026 | Educational content only. Not medical advice.







