Vitamin B12 Deficiency and Mental Health
Vitamin B12 is essential for healthy red blood cell formation, DNA synthesis and nervous system function. When B12 status is low, people may experience tiredness, weakness, cognitive changes, mood symptoms and neurological problems such as pins and needles, numbness or balance disturbance.
This lesson explains why B12 matters in mental health, who is at greater risk of deficiency, what symptoms should prompt medical assessment, and why B12 deficiency should never be dismissed as “just anxiety” or “just depression”.
On this page
- What vitamin B12 is
- Why B12 matters for the brain
- Mental health and cognitive symptoms
- Neurological symptoms
- Who is at greater risk?
- Dietary sources of B12
- Vegan and vegetarian diets
- Medication and absorption issues
- Testing and diagnosis
- Treatment and supplementation
- Red flags and referral points
- A practical framework
- Reflection questions
What Vitamin B12 Is
Vitamin B12, also called cobalamin, is a water-soluble vitamin. It is needed for normal red blood cell formation, neurological function and DNA synthesis. Unlike many nutrients found widely across plant and animal foods, reliable natural dietary B12 is found mainly in animal-derived foods, with fortified foods and supplements being important alternatives for people who avoid animal products.
The NIH Office of Dietary Supplements describes vitamin B12 as required for central nervous system development, myelination and function, healthy red blood cell formation and DNA synthesis. NIH Office of Dietary Supplements
Key idea
B12 deficiency can affect both blood and nerves. Some people have neurological or psychological symptoms even when anaemia is absent, so normal-looking energy problems or mood symptoms should not automatically be assumed to be purely psychological.
Why B12 Matters for the Brain
B12 is involved in myelin maintenance, methylation pathways, red blood cell production and normal nervous system function. Myelin is the protective covering around many nerve fibres. When B12 is deficient, nerve signalling can be affected, which may contribute to sensory changes, weakness, coordination problems, cognitive disturbance and mood symptoms.
B12 is also involved in homocysteine metabolism, alongside folate and vitamin B6. Elevated homocysteine can be associated with several health risks, although simply taking B vitamins is not a universal solution for mental health or cardiovascular prevention.
Blood
Red blood cells
B12 deficiency can impair red blood cell production, contributing to anaemia, tiredness, breathlessness and weakness.
Nerves
Myelin and signalling
B12 deficiency can affect the nervous system, sometimes producing pins and needles, numbness, balance problems or neuropathy.
Mind
Mood and cognition
Low B12 can be associated with psychological problems, cognitive change, memory problems and confusion.
Mental Health and Cognitive Symptoms
B12 deficiency can overlap with mental health presentations. People may report low mood, anxiety, irritability, poor concentration, mental fatigue, memory problems or feeling unlike themselves. These symptoms are non-specific, which means they can also arise from depression, anxiety, trauma, sleep loss, stress, medication, thyroid disease, menopause, chronic illness or substance use.
The NHS notes that B12 deficiency can cause psychological problems ranging from mild depression or anxiety to confusion and dementia. NHS
Clinical framing
Low mood and anxiety should not be automatically attributed to B12 deficiency. Equally, B12 deficiency should not be missed because symptoms look psychological. The safest approach is to consider risk factors, symptoms and appropriate testing.
| Presentation | Possible B12 relevance | Clinical caution |
|---|---|---|
| Low mood | B12 deficiency can be associated with depressive symptoms. | Depression has many causes and still requires appropriate mental health assessment. |
| Anxiety-like symptoms | B12 deficiency can be associated with anxiety or agitation in some cases. | Anxiety symptoms should not be reduced to one nutrient without assessment. |
| Brain fog and poor concentration | May occur with deficiency, anaemia or neurological involvement. | Also common in stress, sleep deprivation, ADHD, depression and chronic illness. |
| Memory problems or confusion | Can occur in B12 deficiency and may be serious. | Requires medical assessment, especially in older adults or when progressive. |
Neurological Symptoms
Neurological symptoms are especially important because untreated B12 deficiency can sometimes lead to lasting nerve damage. These symptoms may occur with or without anaemia, which is one reason B12 deficiency can be missed if clinicians only look for tiredness or abnormal blood counts.
The NHS lists neurological symptoms of B12 deficiency including numbness, muscle weakness, problems with balance and coordination, pins and needles, psychological problems and incontinence. It also notes that neurological complications can sometimes be irreversible if they develop. NHS
Neurological symptoms that need medical assessment
- Pins and needles, numbness or altered sensation.
- Balance problems or poor coordination.
- Muscle weakness.
- Difficulty walking or unexplained clumsiness.
- Vision changes.
- Memory loss, confusion or cognitive decline.
- Bladder or bowel control changes.
NICE Clinical Knowledge Summaries lists neurological and psychiatric features among possible signs and symptoms of B12 or folate deficiency anaemia, including loss of cutaneous sensation, loss of mental and physical drive, muscle weakness and psychiatric disturbances. NICE CKS
Who Is at Greater Risk?
B12 deficiency can happen because intake is low, absorption is impaired, or requirements and losses are altered. Some people have adequate dietary intake but still become deficient because they cannot absorb B12 properly.
Dietary risk
Low B12 intake
- Vegan diets without reliable supplementation.
- Some vegetarian diets with low dairy or egg intake.
- Very restricted diets.
- Food insecurity or low overall intake.
Absorption risk
Reduced absorption
- Pernicious anaemia.
- Gastric or small bowel surgery.
- Crohn’s disease or other gut conditions.
- Older age and reduced stomach acid.
Medication risk
Drug-related risk
- Long-term metformin use.
- Long-term proton pump inhibitor use.
- Some other medicines affecting absorption or stomach acid.
- Complex medication use requiring review.
The NIH notes that B12 deficiency can occur due to difficulty absorbing B12 from food, lack of intrinsic factor as in pernicious anaemia, gastrointestinal surgery, prolonged use of certain medications such as metformin or proton pump inhibitors, and dietary deficiency. NIH Office of Dietary Supplements
Dietary Sources of B12
B12 is naturally found in animal-derived foods. Fortified foods and supplements are important sources for people who do not eat animal products.
| Food source | B12 relevance | Practical note |
|---|---|---|
| Fish and seafood | Often good sources of B12. | Oily fish may also provide omega-3 fats. |
| Meat and poultry | Can provide useful B12. | Choose within a balanced dietary pattern. |
| Eggs | Contain B12, but usually less than fish or meat per serving. | Useful for vegetarian diets that include eggs. |
| Milk, yoghurt and cheese | Can contribute to B12 intake. | Also provide protein, calcium and iodine. |
| Fortified foods | Can provide B12 when added by the manufacturer. | Check labels, as not all plant milks, cereals or nutritional yeasts are fortified. |
| Supplements | Reliable option when intake or absorption is a concern. | Dose and route depend on risk, deficiency status and clinical advice. |
The NIH lists B12-containing foods including beef liver, clams, oysters, fortified nutritional yeast, salmon, tuna, milk, yoghurt and eggs. NIH Office of Dietary Supplements
Vegan and Vegetarian Diets
Vegan diets do not naturally provide reliable B12 unless fortified foods or supplements are used. Some plant foods are sometimes claimed to contain B12, but this is not a safe basis for prevention. Seaweed, spirulina, fermented foods and unfortified nutritional yeast should not be relied upon as dependable B12 sources.
Vegetarian diets vary. A vegetarian who regularly eats dairy and eggs may obtain some B12, while someone who eats little dairy, few eggs or an overall restricted diet may be at greater risk.
Higher risk pattern
Unreliable B12 intake
- Vegan diet without supplements.
- Unfortified plant milks and cereals.
- Reliance on seaweed, spirulina or fermented foods.
- Restricted intake due to anxiety, depression or eating disorder risk.
Safer pattern
Reliable B12 strategy
- Regular B12 supplement.
- Fortified foods with labels checked.
- Periodic review if symptoms or risk factors are present.
- Medical testing where deficiency is suspected.
Practical teaching point
For vegan diets, B12 is not optional. A reliable supplement or fortified-food strategy is necessary for long-term safety.
Medication and Absorption Issues
Some people eat enough B12 but absorb it poorly. This is particularly relevant in pernicious anaemia, gastrointestinal surgery, inflammatory bowel disease, older age and prolonged use of certain medications.
The NIH notes that prolonged use of metformin or proton pump inhibitors can contribute to B12 deficiency risk. NIH Office of Dietary Supplements
| Risk factor | Why it matters | Practical implication |
|---|---|---|
| Pernicious anaemia | The body lacks intrinsic factor needed for B12 absorption. | Often requires lifelong B12 treatment, commonly by injection depending on local guidance. |
| Metformin | Long-term use is associated with lower B12 status in some people. | Consider B12 assessment if symptoms or risk factors are present. |
| Proton pump inhibitors | Reduced stomach acid may affect release of B12 from food. | Review long-term use and symptoms with a clinician. |
| Gastrointestinal surgery | May reduce the areas or mechanisms needed for absorption. | Medical monitoring is important. |
| Older age | Absorption from food may decline due to reduced stomach acid or other health factors. | Symptoms should not be dismissed as “just ageing”. |
Testing and Diagnosis
B12 deficiency should be assessed through history, examination and appropriate investigations. It is not diagnosed from symptoms alone, because symptoms overlap with many mental and physical health conditions.
NICE Clinical Knowledge Summaries states that diagnosis of anaemia caused by B12 or folate deficiency should be made through history, examination and investigations. NICE CKS
Information that may be relevant for assessment
- Dietary pattern, including vegan, vegetarian or restricted intake.
- Neurological symptoms such as pins and needles, numbness or balance problems.
- Fatigue, weakness, breathlessness or palpitations.
- Memory problems, confusion, mood change or cognitive decline.
- Medication use, especially metformin and acid-suppressing medication.
- Gut disease, surgery, malabsorption or pernicious anaemia history.
- Pregnancy, older age, alcohol use or other medical complexity.
Testing caution
Some people may have symptoms even with borderline or apparently inconclusive results. Where symptoms are significant, especially neurological symptoms, clinical judgement and follow-up matter.
Treatment and Supplementation
Treatment depends on the cause and severity of deficiency. Dietary deficiency may be managed differently from malabsorption or pernicious anaemia. Some people can use oral supplements, while others require B12 injections or long-term treatment.
The NIH notes that B12 can be administered by intramuscular injection as prescription medication, especially for deficiency caused by pernicious anaemia or other malabsorption conditions. NIH Office of Dietary Supplements
| Situation | Possible approach | Important caution |
|---|---|---|
| Vegan diet without deficiency symptoms | Reliable B12 supplement or fortified food strategy. | Do not rely on unfortified plant foods. |
| Confirmed dietary deficiency | Supplementation and dietary correction under clinical guidance. | Follow-up testing may be needed. |
| Pernicious anaemia or malabsorption | Often requires prescribed B12 treatment, commonly injections. | Food changes alone are usually insufficient. |
| Neurological symptoms | Prompt medical assessment and treatment if deficiency is suspected or confirmed. | Delay may increase risk of persistent nerve damage. |
Do not delay treatment where neurological symptoms are present
Pins and needles, numbness, balance problems, weakness, visual changes, confusion or cognitive decline should be taken seriously. These symptoms should prompt medical assessment rather than general dietary advice alone.
Red Flags and Referral Points
B12 deficiency is clinically important because neurological damage can become difficult to reverse if missed or untreated. In mental health settings, red flags should be actively asked about when fatigue, low mood, anxiety, brain fog or cognitive symptoms are present.
Refer for medical assessment where there is:
- Numbness, tingling, pins and needles or altered sensation.
- Balance problems, weakness or difficulty walking.
- Memory loss, confusion or cognitive decline.
- Persistent fatigue with breathlessness, palpitations or faintness.
- Vegan diet without reliable supplementation and symptoms of deficiency.
- Long-term metformin or proton pump inhibitor use with symptoms.
- History of pernicious anaemia, gastric surgery or bowel disease.
- Pregnancy, older age, frailty or complex medical history.
NICE CKS advises urgent specialist advice if a person with B12 or folate deficiency anaemia has neurological symptoms. NICE CKS
A Practical Framework for Mental Health Work
Mental health practitioners do not need to diagnose B12 deficiency, but they should recognise when it may be relevant and encourage appropriate assessment.
| Step | Question | Practical response |
|---|---|---|
| 1. Ask about diet | Does the person eat animal products or reliable fortified foods? | Identify vegan, vegetarian or restricted intake risk. |
| 2. Ask about symptoms | Are there neurological symptoms, cognitive changes or severe fatigue? | Recommend medical assessment where symptoms suggest possible deficiency. |
| 3. Ask about absorption risk | Is there gut disease, surgery, pernicious anaemia or older age? | Food intake alone may not tell the full story. |
| 4. Ask about medication | Is there long-term metformin or acid-suppressing medication? | Encourage review with GP or pharmacist if symptoms are present. |
| 5. Keep mental health care in place | Is the person depressed, anxious, confused or at risk? | Nutrition assessment supports, but does not replace, mental health care. |
Example practitioner wording
“Some symptoms such as fatigue, brain fog, low mood and anxiety can overlap with nutritional deficiencies. I am not saying B12 is the cause, but given your symptoms and diet, it would be sensible to ask your GP about testing.”
“Because you are having pins and needles and balance problems, this needs medical assessment rather than dietary advice alone.”
Eating Disorders, Restriction and B12
B12 risk may increase where eating is highly restricted, especially if animal products and fortified foods are avoided. However, nutrition advice must be handled carefully when eating disorder risk is present. Simply instructing someone to take supplements or change diet may not address fear, rigidity, purging, compulsive exercise or distorted beliefs about food and body.
Clinical caution
Where disordered eating is suspected, refer for appropriate support. B12 assessment may still be necessary, but the wider pattern of restriction and risk must be addressed safely.
Reflection Questions
For students, practitioners or course participants:
- Why can B12 deficiency be mistaken for depression, anxiety or cognitive decline?
- Which neurological symptoms should prompt medical assessment?
- Why are vegan diets at particular risk without reliable B12 supplementation?
- How can someone eat enough B12 but still become deficient?
- What wording could you use to recommend testing without implying that mental health symptoms are “only nutritional”?
Key Takeaway
Vitamin B12 deficiency can affect mood, cognition, energy and the nervous system. It can resemble or worsen mental health symptoms, and neurological signs such as pins and needles, numbness, weakness, balance problems or confusion should be taken seriously. The safest approach is to identify risk factors, encourage appropriate testing and treatment, and keep B12 support integrated with wider mental and physical healthcare.
References and Further Reading
- NHS. Vitamin B12 or folate deficiency anaemia: symptoms.
- NHS. Vitamin B12 or folate deficiency anaemia: complications.
- NICE Clinical Knowledge Summaries. Anaemia: B12 and folate deficiency.
- NICE Clinical Knowledge Summaries. Signs and symptoms of B12 and folate deficiency.
- NICE Clinical Knowledge Summaries. Management of B12 and folate deficiency anaemia.
- NIH Office of Dietary Supplements. Vitamin B12: health professional fact sheet.






