Does vitamin B12 help memory and brain fog?
Not if your B12 is normal, and the one trial in people with mild deficiency did not find it either. A meta-analysis of 16 randomized trials in 6,276 people without overt B12 deficiency found no effect of B12 alone or of a B complex on memory or any other area of thinking. In 195 people aged 70 or over with mild deficiency, 1000 mcg of oral B12 a day for 24 weeks did not improve cognitive function.
Myth. A B12 supplement is not a memory or focus aid for people who have enough of it. This was tested in randomized trials, and the reviewers found nothing on any part of cognition. The result held whatever the starting B12 level, dose or length of treatment.
Each bar is a pooled standardized effect with its 95% confidence interval. Neither is B12 alone: the first pools trials of B6, folate or B12, the second gave B12 with folic acid. B12 alone in children gave 0.09, and the Alzheimer's trials gave 0.06 on a second scale, ADAS-Cog. Both intervals cross zero, so they are not drawn on a scale that starts at zero. In 16 trials of adults without clear deficiency there was no effect to draw. Sources: cards ev-b12m-05, ev-b12m-09 and ev-b12m-10 below.
What the trials found
B12 in people who are not deficient
The largest synthesis pooled 16 randomized trials in people without advanced neurological disease or overt deficiency. The reviewers found no evidence of an effect on any part of cognitive function, with memory among the subdomains rated moderate quality. In the 12 trials that reported cognition, a meta-regression looked for anything that changed the result: baseline B12 level, dose, length of treatment, the people studied. None did. That answers the common follow-up question about blood levels at the low end of normal.
A 2026 Cochrane review in children under 12 reached the same place. In 2 trials with 438 children, B12 alone made little to no difference to cognitive function such as attention (SMD 0.09, 95% CI -0.10 to 0.28), on low-certainty evidence.
B12 in people with mild deficiency
This is the trial that speaks most directly to someone with a borderline result. 195 people aged 70 or over with mild B12 deficiency took 1000 mcg of B12, the same with 400 mcg of folic acid, or placebo for 24 weeks. Neither B12 alone nor the combination improved cognitive function.
B-vitamin mixtures in older adults
When trials of B6, folate and B12 are pooled together, a small signal appears that the B12 analyses above did not find. A 2025 meta-analysis of 17 trials in 5,275 adults over 60 found a very small benefit on global cognition, Hedges g 0.11 (95% CI 0.034 to 0.186), rated high certainty once outlier and single-blinded trials were removed. With every trial included the estimate was 0.423, rated very low certainty. A 2022 meta-analysis put the gain at 0.14 points on the 30-point MMSE (95% CI 0.04 to 0.23) across 6,155 people. Both effects are pooled across B vitamins rather than B12 alone, and both are very small.
Other trials of mixtures were flat. A Cochrane review of 5 trials in 879 people with mild cognitive impairment found B vitamins for 6 to 24 months probably had little or no effect on episodic memory, executive function, speed of processing or quality of life. In 276 healthy people aged 65 or over with raised homocysteine, two years of folate, B12 and B6 left cognitive test scores unchanged against placebo.
The VITACOG trial in people over 70 with mild cognitive impairment measured brain shrinkage on MRI, not memory. Two years of folic acid, B12 and B6 slowed it to 0.76% a year (95% CI 0.63 to 0.90) against 1.08% on placebo (0.94 to 1.22), in the 168 people with scans. Brain volume is a marker, and the trial does not show that people remembered more.
In Alzheimer's disease
Across 5 trials, six months of B12 with folic acid raised MMSE scores slightly (SMD 0.21, 95% CI 0.01 to 0.32) and did not change ADAS-Cog scores (SMD 0.06, -0.22 to 0.33) or daily function. Two scales gave two answers. In an 18-month trial of 409 people with mild to moderate Alzheimer's disease and normal B12, high-dose folate, B6 and 1 mg of B12 did not slow cognitive decline.
Observational data
Studies that follow people over time do not link B12 to dementia. A meta-analysis of 11 cohorts of adults over 60 found neither blood B12 nor B12 intake was linked to dementia risk. A second review of cohorts in 13,529 adults over 50 linked higher folate intake to lower dementia risk (HR 0.61, 95% CI 0.47 to 0.78) and found no link for B12 intake. NIH ODS cites observational research in which low B12 combined with high folic acid was associated with roughly two to three times the risk of cognitive impairment. That is an association in data that cannot show cause.
Unsettled. Whether B12 helps memory in people with clear, untreated deficiency has no trial on this page. The evidence covers people with normal or mildly low B12, and there the answer is no. Deficiency itself is a different matter, covered below.
Who should be careful
The real question behind brain fog is usually whether you are deficient. NIH ODS states that the nerve symptoms of B12 deficiency can appear without anemia, so early diagnosis matters to avoid damage that cannot be reversed. Between 3% and 43% of older adults living in the community are deficient, a range that comes from the studies NIH ODS cites.
Not for everyone. Some groups run short more often. People who eat no animal products have a higher risk of deficiency. Metformin lowered blood B12 by about 57 pmol/L within 6 weeks to 3 months across 4 trials in type 2 diabetes. Acid-reducing drugs can interfere with absorbing B12 from food. If you are in one of these groups and your memory or concentration has changed, a B12 test is a question for the person treating you.
On safety, NIH ODS notes there is no tolerable upper intake level for B12 because of its low potential for toxicity. That is a statement about harm and says nothing about benefit. One trial gave a safety signal for high-dose mixtures. In 409 people with Alzheimer's disease, more adverse events involving depression occurred on high-dose folate, B6 and B12 than on placebo. The abstract does not give the size of the difference.
What expert bodies say
The US Office of Dietary Supplements says randomized trials have shown no improvement in cognitive function among older adults, with or without dementia, mild cognitive impairment or Alzheimer's disease, given B12 alone or with folic acid, B6 or both. NIH ODS also lists metformin and gastric acid inhibitors among the medicines that may affect B12 levels.
How we searched
Searched: a local copy of the PubMed 2026 baseline, queried for vitamin B12, cobalamin, cyanocobalamin or methylcobalamin with cognition, memory or dementia (667 records, top 40 screened). Two narrower queries looked for randomized trials of B12 and cognition in older or deficient people (about 40 titles) and for B12 with folic acid in mild deficiency (2 trials). We searched the NIH ODS B12 fact sheet, a local copy of ClinicalTrials.gov (nothing found), the web for newer meta-analyses and for the NICE B12 deficiency guideline, and Retraction Watch for every review and trial used, with none retracted. Search run on 7 October 2026.
Included: seven meta-analyses or Cochrane reviews of randomized trials (one on metformin), four randomized trials, two meta-analyses of cohort studies, and the NIH ODS fact sheet.
Excluded: a 2003 Cochrane review of B12 for cognition, withdrawn as out of date. A 2026 network meta-analysis that reported B12 only for blood markers. A 2019 meta-analysis of 31 trials whose null result is covered by the newer 2025 review. A cross-sectional meta-analysis, a brain imaging report from the VITACOG trial already covered, a post hoc subgroup analysis, narrative reviews on metformin and acid blockers, and reviews of B12 in pregnancy, which ask a different question.
What we read: the full results section of the 16-trial meta-analysis, abstracts for the other studies, and the relevant sections of the NIH ODS fact sheet.
What we could not get: the NICE guideline on B12 deficiency refused our request, so it is not cited. A 2024 meta-analysis of 9 trials on memory is not in our corpus. We read its abstract elsewhere and did not use it as a source, because we could not check it against the record.
What would change this answer
- A randomized trial of B12 alone in people with borderline-low B12 and memory complaints. The mild deficiency trial above measured cognition in people over 70 without selecting them for memory problems, and we found no such trial registered.
- A trial in people with clear, untreated deficiency that measures memory as an outcome, rather than blood levels.
- A larger trial that tests whether the small effect of B-vitamin mixtures comes from B12 or from folate, which the cohort data point to.
Everything else about B12, including how much you need and who runs short: Vitamin B12 guide.
The rest of the nutrient, in one place. Vitamin B12: who actually needs to worry, and why the damage can be permanent → What it does, how much you need, who runs short, and what too much does, with the evidence level shown on every line.
More questions about this food
- Does vitamin B12 help with anxiety and depression?
- Does vitamin B12 raise blood pressure?
- Does vitamin B12 cause constipation?
- Does vitamin B12 give you energy?
- Does low vitamin B12 cause hair loss?
- Is vitamin B12 important during pregnancy?
- Does vitamin B12 help with restless legs and muscle cramps?
- Does vitamin B12 affect sleep?
- Does vitamin B12 help with weight loss?
The same question for other foods (memory)
Sources
- ev-b12m-01 · Meta-analysis or systematic review · systematic review and meta-analysis of randomized controlled trials · n = 6276
Regarding cognitive function outcomes, we found no evidence for an effect of B12 alone or B complex supplementation on any subdomain of cognitive function outcomes.
Who: patients without advanced neurological disorders or overt vitamin B12 deficiencyEffect: no effect of B12 alone or B complex on any cognitive subdomain (memory, executive function, speed, global); subdomains rated moderate qualityCertainty: The main synthesis specifically on B12 and memory in people without deficiency.Nutrients, 2021 · checked 2026-10-07 · we read the abstract - ev-b12m-02 · Meta-analysis or systematic review · systematic review and meta-analysis of RCTs, meta-regression · n = 12 trials
Meta-regression showed no significant associations of treatment effects with any of the potential predictors (baseline vitamin B12 serum levels, vitamin intervention, duration of treatment, average bioavailable daily dose, the interaction between duration of treatment and average bioavailable daily dose, or population characteristics).
Who: 12 RCTs reporting cognitive outcomes (4 of B12 alone, 8 of B complex)Effect: meta-regression for memory and executive function: no significant predictor of treatment effectCertainty: Answers "what if my B12 is at the lower limit": neither the baseline level nor the dose produced an effect.Nutrients, 2021 · checked 2026-10-07 · we read the fulltext - ev-b12m-03 · Meta-analysis or systematic review · Cochrane systematic review of randomized placebo-controlled trials · n = 879
There was probably little or no effect of B vitamins taken for six to 24 months on episodic memory, executive function, speed of processing, or quality of life.
Who: people with mild cognitive impairment; 4 trials of B6, B12 and folic acid, 1 of folic acid onlyEffect: little or no effect on episodic memory, executive function, speed of processing or quality of life; overall cognition evidence very low qualityCertainty: Severe deficiency excluded; dementia incidence not reported by any trial.Cochrane Database Syst Rev, 2018 · checked 2026-10-07 · we read the abstract - ev-b12m-05 · Meta-analysis or systematic review · systematic review, meta-analysis and meta-regression of RCTs · n = 5275
The pooled findings indicated there is high-certainty evidence that vitamin B6, B9, or B12 supplementation has a very small benefit on global cognitive function in older adults.
Who: adults aged 60 years or older, interventions of 26 weeks or longer with vitamins B6, B9 or B12Effect: Hedges g 0.110 (95% CI 0.034 to 0.186) after removing outliers and single-blinded trials, GRADE high; g 0.423 with all trials, GRADE very lowCertainty: Pool of B6, B9, or B12 supplements, not B12 separately; g 0,11 is a very small effect.Nutr Rev, 2025 · checked 2026-10-07 · we read the abstract - ev-b12m-06 · Meta-analysis or systematic review · systematic review and meta-analysis of 25 RCTs, 20 cohort and 50 cross-sectional studies · n = 6155
This meta-analysis supports that B vitamins can benefit cognitive function as measured by Mini-Mental State Examination score changes (6155 participants; MD, 0.14, 95%CI 0.04 to 0.23)
Who: RCT participants given B vitamins versus placebo, MMSE outcomeEffect: MMSE MD 0.14 (95% CI 0.04 to 0.23)Certainty: 0.14 MMSE points out of 30: statistical, not clinical; mixtures of B vitamins, not B12.Nutr Rev, 2022 · checked 2026-10-07 · we read the abstract - ev-b12m-07 · Observational data · meta-analysis of prospective cohort studies · n = 13529
Among the population without dementia aged 50 years and above, the risk of incident dementia was significantly decreased among individuals with higher intake of folate (13529 participants; HR, 0.61, 95%CI 0.47 to 0.78), whereas higher intake of B12 or B6 was not associated with lower dementia risk.
Who: adults aged 50 years and above without dementia, prospective cohortsEffect: folate intake HR 0.61 (95% CI 0.47 to 0.78); B12 and B6 intake not associatedCertainty: Observational data; for B12, null association.Nutr Rev, 2022 · checked 2026-10-07 · we read the abstract - ev-b12m-08 · Observational data · systematic review and meta-analysis of cohort studies · n = 11 cohorts
However, levels of vitamin B6 intake showed no statistically significant effects on risk of dementia; levels of serum vitamin B12 and vitamin B12 intake also showed no statistically significant effects on risk of dementia in older adults.
Who: older adults aged 60 years or older from community, nursing home, institution or hospitalEffect: serum B12 and B12 intake: no statistically significant association with dementia riskCertainty: Cohort sizes 233 to 3634.J Am Med Dir Assoc, 2022 · checked 2026-10-07 · we read the abstract - ev-b12m-09 · Meta-analysis or systematic review · Cochrane systematic review and meta-analysis of RCTs · n = 438
There may be little to no difference between groups in cognitive function (e.g. attention) (standardised mean difference (SMD) 0.09, 95% CI -0.10 to 0.28; 2 trials, 438 children, low-certainty evidence).
Who: children aged 2 days to 11 years in 16 trials of oral B12Effect: cognitive function SMD 0.09 (95% CI -0.10 to 0.28); 2 trials, low-certainty evidenceCertainty: Children, mostly countries with low B12; low confidence.Cochrane Database Syst Rev, 2026 · checked 2026-10-07 · we read the abstract - ev-b12m-10 · Meta-analysis or systematic review · meta-analysis of randomized controlled trials · n = 5 trials
After a 6-month treatment, administration of vitamin B12 and folic acid improved the MMSE scores more than placebo did (SMD = 0.21, 95% CI = 0.01 to 0.32, p = 0.04) but did not significantly affect ADAS-Cog scores (SMD = 0.06, 95% CI = -0.22 to 0.33, p = 0.68) or measures of daily life function.
Who: participants clearly diagnosed with Alzheimer's disease given vitamin B12 and folic acidEffect: MMSE SMD 0.21 (95% CI 0.01 to 0.32); ADAS-Cog SMD 0.06 (-0.22 to 0.33); daily function unchangedCertainty: Two scales give different results; small effect, combination with folic acid.Aging (Albany NY), 2024 · checked 2026-10-07 · we read the abstract - ev-b12m-11 · Randomized controlled trial(s) · double-blind placebo-controlled randomized trial · n = 195
Oral supplementation with vitamin B-12 alone or in combination with folic acid for 24 wk does not improve cognitive function.
Who: persons aged 70 years or older with mild vitamin B12 deficiency; 1000 mcg B12, 1000 mcg B12 plus 400 mcg folic acid, or placebo for 24 weeksEffect: no improvement in cognitive function with B12 alone or with folic acidCertainty: The key RCT specifically for people with mild deficiency: cognitive function did not improve.Am J Clin Nutr, 2006 · checked 2026-10-07 · we read the abstract - ev-b12m-12 · Randomized controlled trial(s) · double-blind placebo-controlled randomized trial · n = 276
Overall, there were no significant differences between the vitamin and placebo groups in the scores on tests of cognition.
Who: healthy participants 65 years or older with plasma homocysteine of at least 13 micromol per liter; daily folate 1000 mcg, B12 500 mcg, B6 10 mgEffect: no significant differences in cognition scores between vitamin and placebo groupsCertainty: Test of the homocysteine hypothesis in healthy people: not confirmed.N Engl J Med, 2006 · checked 2026-10-07 · we read the abstract - ev-b12m-13 · Randomized controlled trial(s) · single-center double-blind randomized controlled trial · n = 168
The mean rate of brain atrophy per year was 0.76% [95% CI, 0.63-0.90] in the active treatment group and 1.08% [0.94-1.22] in the placebo group (P = 0.001).
Who: individuals over 70 years old with mild cognitive impairment; folic acid 0.8 mg, B12 0.5 mg, B6 20 mg daily for 24 months; MRI subsetEffect: brain atrophy 0.76%/year (95% CI 0.63 to 0.90) vs 1.08% (0.94 to 1.22), P = 0.001Certainty: The primary endpoint is MRI, not memory. 168 completed the MRI part out of 271 randomized.PLoS One, 2010 · checked 2026-10-07 · we read the abstract - ev-b12m-14 · Randomized controlled trial(s) · multicentre double-blind randomized controlled trial · n = 409
This regimen of high-dose B vitamin supplements does not slow cognitive decline in individuals with mild to moderate AD.
Who: individuals with mild to moderate Alzheimer disease and normal folic acid, vitamin B12 and homocysteine levels; 5 mg folate, 25 mg B6, 1 mg B12 daily for 18 monthsEffect: ADAS-cog decline 0.401 vs 0.372 points per month (P = .52); no benefit on any secondary measureCertainty: Normal B12 at baseline.JAMA, 2008 · checked 2026-10-07 · we read the abstract - ev-b12m-15 · Randomized controlled trial(s) · multicentre double-blind randomized controlled trial · n = 409
A higher quantity of adverse events involving depression was observed in the group treated with vitamin supplements.
Who: individuals with mild to moderate Alzheimer disease on high-dose folate, B6 and B12Effect: higher number of adverse events involving depression in the active group (size not given in abstract)Certainty: Safety signal from one RCT, a combination of high doses; not evidence of harm from B12 alone.JAMA, 2008 · checked 2026-10-07 · we read the abstract - ev-b12m-16 · Position of an expert body · agency fact sheet · n = —
However, some observational studies have reported no such correlation, and randomized controlled trials have shown no improvement in cognitive function among older adults with or without dementia, mild cognitive impairment, or Alzheimer’s disease when supplemented with vitamin B12 alone or in combination with folic acid, vitamin B6, or both.
Who: older adults with or without dementia, mild cognitive impairment, or Alzheimer's diseaseEffect: no improvement in cognitive function in RCTs of B12 alone or with folic acid, B6 or bothCertainty: Authority position matches the meta-analyses.NIH Office of Dietary Supplements, Vitamin B12 fact sheet for health professionals · checked 2026-10-07 · we read the section - ev-b12m-17 · Position of an expert body · agency fact sheet · n = —
The FNB did not establish a UL for vitamin B12 because of its low potential for toxicity [1].
Who: general populationEffect: no UL set by the Food and Nutrition BoardCertainty: Safety of large doses does not mean a benefit for memory.NIH Office of Dietary Supplements, Vitamin B12 fact sheet for health professionals · checked 2026-10-07 · we read the section - ev-b12m-18 · Position of an expert body · agency fact sheet · n = —
Vitamin B12 supplements may interact with medications, and some medications, including gastric acid inhibitors and metformin, may affect vitamin B12 levels.
Who: individuals taking gastric acid inhibitors or metformin on a regular basisEffect: reduced B12 absorption and serum levelsCertainty: Precisely in these groups, memory problems may be a true deficiency worth checking.NIH Office of Dietary Supplements, Vitamin B12 fact sheet for health professionals · checked 2026-10-07 · we read the section - ev-b12m-19 · Meta-analysis or systematic review · systematic review of 26 papers with meta-analysis of 4 trials · n = 4 trials
Meta-analysis performed on four trials demonstrated a statistically significant overall mean B12 reducing effect of metformin of 57pmol/L [WMD (fixed)=-0.57 (95% CI: -35 to -79pmol/L)] after 6weeks to 3months of use.
Who: patients with type 2 diabetes taking metforminEffect: mean B12 reduction 57 pmol/L (95% CI 35 to 79) after 6 weeks to 3 monthsCertainty: Group at risk of deficiency, where the test makes sense.Diabetes Metab, 2016 · checked 2026-10-07 · we read the abstract - b12-04 · Position of an expert body
Vegans who consume no animal products...have a higher risk of developing vitamin B12 deficiency
Who: vegansEffect: higher deficiency riskNIH Office of Dietary Supplements, Health Professional Fact Sheet: Vitamin B12 · checked 2026-09-15 - b12-05 · Observational data
between 3% and 43% of community-dwelling older adults...have vitamin B12 deficiency
Who: community-dwelling older adultsEffect: 3–43% prevalenceNIH Office of Dietary Supplements, Health Professional Fact Sheet: Vitamin B12 · checked 2026-09-15 - b12-06 · Position of an expert body
These neurological symptoms can occur without anemia, so early diagnosis and intervention is important to avoid irreversible damage.
Who: people with B12 deficiencyEffect: possible irreversible neurological damageNIH Office of Dietary Supplements, Health Professional Fact Sheet: Vitamin B12 · checked 2026-09-15 - b12-09 · Position of an expert body
can interfere with vitamin B12 absorption from food by slowing the release of gastric acid into the stomach and thereby lead to vitamin B12 deficiency.
Who: people on long-term acid suppressionEffect: impaired food-bound B12 absorptionNIH Office of Dietary Supplements, Health Professional Fact Sheet: Vitamin B12 · checked 2026-09-15 - b12-10 · Observational data
low vitamin B12...combined with high folic acid...was associated with an almost two to three times higher risk of cognitive impairment.
Who: adults in observational researchEffect: 2–3× higher risk of cognitive impairmentNIH Office of Dietary Supplements, Health Professional Fact Sheet: Vitamin B12 · checked 2026-09-15
How this page was made. Evidence was extracted from primary sources into cards, every number was re-checked against the source, and the text was written from those cards. Bioma Learn has no human medical reviewer at this time, and we say so rather than invent one. Methodology. This is information, not medical advice.