What Vitamin Deficiency Causes Anxiety? (Markers to Check)

Anxiety is a symptom with many inputs rather than one deficiency with one fix. This page walks through the everyday causes first, then the blood markers that can help sort out a physical contributor, and finally what each test can and cannot tell you. This article is educational and is not medical advice.

What usually causes this?

Most anxiety has everyday drivers rather than a laboratory explanation. Before any blood marker is worth thinking about, it is worth looking honestly at the load a body is carrying.

Sleep comes first. Short nights, broken nights and shifting bedtimes all leave the nervous system more reactive the next day, and anxious feelings often rise in parallel. Chronic stress works the same way. A demanding job, caregiving, financial pressure or a period of grief can keep the body in a state of readiness long after the trigger has passed.

Training load matters more than most people expect. Hard sessions stacked on poor recovery, under-eating relative to output, or a sudden jump in volume can leave someone wired, restless and unable to settle. Diet plays a part through timing as much as content, because long gaps between meals and unstable blood sugar can produce shakiness, a racing heart and a sense of unease that feels identical to anxiety.

Stimulants and alcohol are two of the most common culprits. Caffeine late in the day can carry into the night and fragment sleep, and alcohol often brings rebound restlessness in the early hours. Certain medications list anxiety or agitation among their effects, which is one reason a clinician will ask for a full medication list before ordering anything.

Life stage is the last of the everyday causes. Puberty, pregnancy, the postpartum period and the perimenopausal transition all involve hormonal change, and anxious feelings are a common feature of each. None of these show up as a vitamin result on a lab report, and most of the time they are the better explanation.

Which blood tests can help explain it?

Six markers are commonly checked when anxiety symptoms are being worked up, because each has a plausible physical route to how a person feels and each is simple to measure. Blood work here is about ruling things in or out, not about finding a cause.

Marker Why it is relevant to this symptom What a result can and cannot tell you
Vitamin B12 Measures B12 status, which supports nerve function and red blood cell production. A clinician may check it when anxious feelings come with fatigue, pins and needles or brain fog. Shows whether B12 is low, borderline or adequate. It cannot by itself explain a mood symptom.
Vitamin D (25-OH) The standard marker of vitamin D status, and the nutrient whose relationship with anxiety has been examined most often in the research literature 1. Shows a shortfall worth discussing with a clinician. It cannot establish that vitamin D caused the symptom.
Ferritin Reflects stored iron. A clinician may check it when anxious feelings come with fatigue, breathlessness, palpitations or poor exercise tolerance. Shows iron stores, though ferritin also rises with inflammation, which can mask a shortfall.
Magnesium Serum magnesium measures the circulating fraction of total body magnesium. A result inside the standard range does not rule out lower tissue magnesium, because serum levels are tightly regulated.
Folate Measures folate status, which is read alongside B12 because the two share the same metabolic pathways. Reflects recent intake and current status. It cannot confirm a cause of anxiety.
TSH The first-line thyroid screen, and thyroid function in anxiety disorders has been examined in systematic reviews 2. Can flag an over- or underactive thyroid pattern. It needs further thyroid tests and clinical context to interpret.

The numbers below are typical lab reference ranges, included so a report is easier to read. Reference ranges vary by lab, age and sex, so always compare a result against the range printed on your own report.

Marker Typical lab reference range
Vitamin B12 200 to 900 pg/mL
Vitamin D (25-OH) 30 to 100 ng/mL
Ferritin roughly 15 to 300 ng/mL, with different cut-offs by sex
Magnesium (serum) 1.7 to 2.2 mg/dL
Folate (serum) above 4 ng/mL
TSH 0.4 to 4.0 mIU/L

Can low vitamin B12 be behind anxious feelings?

A B12 test shows how much of the vitamin is circulating, and it is one of the first things a clinician checks when anxious feelings arrive alongside physical symptoms. B12 is needed for nerve sheath maintenance, red blood cell production and the one-carbon metabolism that supports many downstream processes, so a shortfall tends to announce itself in more than one system at once.

What makes Vitamin B12 worth measuring is that it is cheap to check and straightforward to correct under clinical guidance. A low result is a finding to act on in its own right, whatever else is going on with mood.

Plenty of things move this marker. Absorption falls with age and with conditions affecting the stomach or small intestine, so intake is only half the story. People who eat little or no animal food take in less B12 to begin with. Some medications interfere with absorption over time. Certain supplements taken before a blood draw can also push a serum result upward without reflecting what is reaching the tissues, which is why a clinician may ask what you have taken in the days before the test.

A low or borderline B12 is a reason for a conversation, not a conclusion. It can be one possible contributor to how someone feels, and it is worth checking rather than guessing at.

Can low vitamin D cause anxiety?

Vitamin D is the nutrient most often studied in this context, and the honest summary is that the relationship is real in observational data but far from settled. A 2022 review asked directly whether vitamin D matters in anxiety or depression and concluded that the evidence suggests an association in a number of studies while falling short of demonstrating cause 1.

The biological rationale is reasonable. Research suggests that vitamin D has roles in the brain well beyond bone metabolism, which is part of why it has been examined in anxiety and affective disorders 3.

A 2024 review of the literature on vitamin D in depression and anxiety disorders reported that studies indicate an inconsistent relationship, with some finding lower vitamin D levels in affected groups and others finding no difference at all 4. Reviews in this area repeatedly note that low vitamin D is associated with anxiety symptoms in cross-sectional data without that telling us which came first 3.

There is an obvious confounder worth naming. People who feel anxious often go outside less, move less and eat less well, and all three lower vitamin D status. So a low result may be a consequence of a difficult stretch rather than its cause.

None of that makes Vitamin D (25-OH) a pointless test. A genuine shortfall is worth knowing about on its own merits, and it is one possible reason among several for feeling flat and on edge.

Can low ferritin make you feel anxious?

Ferritin measures stored iron, and it is checked here because the physical symptoms of low iron stores overlap heavily with how anxiety feels in the body. A racing heart, breathlessness on stairs, lightheadedness and a jittery, depleted feeling can all come from an oxygen delivery problem rather than from a mood one.

That overlap is the practical reason a clinician might order Ferritin when someone describes anxious symptoms with a strong physical component. It is also one of the more actionable results on a nutrient panel, because iron stores are correctable under clinical supervision.

Several things shift this marker independently of iron intake. Ferritin is an acute phase reactant, so infection, injury, obesity and chronic inflammation push it up and can make iron stores look healthier than they are. Menstrual blood loss lowers it over time. High training volumes, particularly running, can drag it down. Blood donation does the same. For this reason ferritin is usually read next to other iron studies and a full blood count rather than on its own.

A low ferritin is worth discussing with a clinician regardless of mood symptoms. It is a finding, not a diagnosis, and the next step belongs to a professional who can see the whole picture.

Does magnesium have anything to do with anxiety?

Serum magnesium measures the small fraction of body magnesium circulating in the blood, and that limitation is the most important thing to understand about the test. Most magnesium sits in bone and inside cells, and the body works hard to keep the blood level stable, so a result inside the standard range does not rule out a lower total body store.

Magnesium is involved in hundreds of enzymatic reactions, including those governing nerve signalling and muscle relaxation, which is why it comes up so often in conversations about tension and sleep. A clinician may order Magnesium as part of a broader nutrient picture rather than as a standalone answer to anxious feelings.

This marker moves for reasons unrelated to diet. Gastrointestinal losses from prolonged diarrhoea, heavy alcohol use, poorly controlled blood sugar and some medications all reduce magnesium status. Recent supplement intake can lift a serum reading without saying much about the longer-term picture.

The sensible way to read a magnesium result is as one input among several. It is worth measuring, it is worth discussing, and it is not something to self-correct based on a single number on a report.

Why is folate read alongside B12?

Folate is tested next to B12 because the two vitamins work in the same metabolic pathways, and interpreting one without the other can be misleading. Folate supports DNA synthesis and red blood cell production, and the pattern a lab sees in the blood count can look similar whether folate or B12 is the one running low.

That is the main reason a clinician orders Folate alongside B12 when someone reports anxious feelings with fatigue, poor concentration or low mood. The pairing is about getting the interpretation right, not about either marker explaining a symptom on its own.

Folate status moves quickly. It reflects recent dietary intake more than long-term stores, so a few weeks of poor eating can show up on a test. Pregnancy raises requirements substantially. Heavy alcohol use lowers status. Some medications interfere with folate metabolism, and absorption conditions affecting the small bowel reduce uptake.

A borderline folate result on its own says very little. Read with B12, a full blood count and the clinical history, it starts to mean something, and that reading is a clinician's job.

Can a thyroid problem feel like anxiety?

This is the marker on the list with the clearest physical route to anxious symptoms. An overactive thyroid speeds up metabolism, and the result can be a fast heart rate, tremor, heat intolerance, weight loss, sweating, poor sleep and a persistent sense of agitation that is difficult to distinguish from anxiety by feel alone.

A systematic review of hypothalamic-pituitary-thyroid axis functioning in anxiety disorders found that evidence suggests altered thyroid axis measures in some anxiety presentations, while noting that findings across studies were not consistent 2. An earlier paper revisiting hypothyroidism and hyperthyroidism in anxiety disorders reported that thyroid dysfunction is present in only a minority of people presenting with anxiety, which is a useful reality check on how often this turns out to be the answer 5. More recently, a systematic review and meta-analysis of population-based studies reported that thyroid disorders and thyroid autoimmunity are associated with higher odds of anxiety at the population level 6.

TSH is the first-line screen because the pituitary adjusts it sensitively in response to thyroid hormone levels. A suppressed TSH can point toward an overactive pattern and a raised TSH toward an underactive one, but neither is interpretable alone. Free T4, free T3 and thyroid antibodies usually follow before anything is concluded.

Other things move TSH. It varies across the day and is typically higher in the early morning. Acute illness disturbs it. Pregnancy changes the applicable range. Some supplements, particularly those containing high-dose biotin, can interfere with the assay itself. A single out-of-range TSH is a reason to repeat the test with a fuller panel, not a verdict.

What can a normal panel still miss?

A clean set of results does not mean nothing is wrong, and this is the most important limitation on the page. Blood work measures a narrow slice of biology at one moment in time.

Most anxiety has no blood marker at all. Generalised anxiety, panic symptoms, social anxiety, post-traumatic stress and obsessive patterns are clinical presentations identified by history and assessment, not by a lab value.

Several physical contributors also sit outside this panel. Sleep apnoea fragments sleep and leaves people wired and exhausted without touching any nutrient marker. Chronic pain, gut symptoms and an irregular heart rhythm can all generate sensations the brain reads as threat. Hormonal transitions such as perimenopause show up in how someone feels long before they show up on a standard nutrient report.

Timing matters too. A single draw catches one morning. Markers that fluctuate, such as TSH and serum magnesium, can look unremarkable on the day and still be part of a pattern over months. Recent supplement use can normalise a reading that was low a fortnight earlier.

So the right frame is simple. A nutrient panel narrows the field of physical explanations. It never closes the question, and it never replaces an assessment by someone who can take a history.

When should you see a clinician quickly?

Some symptoms deserve prompt attention rather than a blood test and a wait. Treat the following as reasons to contact a clinician promptly, or to seek urgent care if they are severe or sudden.

If you are having thoughts of self-harm, call or text 988 (US) or your local emergency number now.

Chest pain, fainting, a heart rate that stays fast at rest or severe breathlessness need urgent assessment rather than a lab panel. The same applies to a first-ever panic episode that does not settle, because other causes need ruling out. Unexplained weight loss with tremor, heat intolerance and a racing pulse is worth discussing with a clinician promptly. New numbness, pins and needles, unsteadiness or memory change should be reviewed rather than monitored at home. Anxiety that is stopping you working, sleeping or caring for yourself is reason enough on its own to get help quickly.

If a result on a report falls outside the standard range, do not ignore it and do not act on it alone. Bring it to a clinician who can see it alongside your history, your medications and the rest of the panel. Discuss your results and any treatment with a clinician or licensed provider before changing anything.

How can you check these markers?

All six markers on this page sit in one panel. The Longevity Nutrients panel measures vitamin B12, vitamin D (25-OH), ferritin, magnesium, folate and TSH together, which matters because these results are far more informative read as a set than one at a time.

Once results are in, Atlas, FitScript's AI health advisor, explains them in plain language. That means what each value shows, how it compares with the standard reference range, what it might reflect given everything else on the report, and what is worth raising with a clinician. Atlas does not diagnose and does not decide on care. A licensed provider reviews the member and decides whether any treatment is appropriate, and membership includes 150+ biomarkers tested per year so changes can be tracked over time rather than guessed at.

The practical sequence is unglamorous and effective. Test, read the results with context, take them to a clinician, then retest after a reasonable interval to see whether anything actually moved.

Key takeaways

If anxious feelings arrive alongside low energy or broken sleep, two related explainers cover adjacent ground. One asks does low vitamin d cause fatigue and the other asks does vitamin d affect sleep.

References

  1. Is Vitamin D Important in Anxiety or Depression? What Is the Truth?. Current Nutrition Reports, 2022.
  2. Hypothalamic-pituitary-thyroid (HPT) axis functioning in anxiety disorders. A systematic review. Depression and Anxiety, 2018.
  3. Vitamin D in anxiety and affective disorders. Physiological Research, 2015.
  4. The role of vitamin D in depression and anxiety disorders: a review of the literature. Nutritional Neuroscience, 2024.
  5. Hypothyroidism and hyperthyroidism in anxiety disorders revisited: new data and literature review. Journal of Affective Disorders, 2002.
  6. Thyroid disorders, thyroid autoimmunity, and anxiety-a systematic review and meta-analysis of population-based studies. PeerJ, 2026.

Common questions

Can a vitamin deficiency cause anxiety?

Not on its own. A shortfall in B12, folate, vitamin D, iron stores or magnesium can contribute to how someone feels physically, and that can overlap with anxious symptoms. Blood tests show whether a shortfall exists. A clinician decides what it means for you and what, if anything, to do about it.

Can low vitamin D cause anxiety?

Low vitamin D is one possible contributor rather than a cause. The relationship runs both ways, because people who feel anxious often spend less time outdoors and move less, which lowers vitamin D status. A 25-OH vitamin D test shows whether your level is low, and a clinician interprets that alongside everything else.

What deficiencies can cause anxiety-like symptoms?

The shortfalls most often checked are vitamin B12, folate, vitamin D, iron stores measured by ferritin and magnesium. Thyroid function is checked too, because an overactive thyroid can produce a fast heart rate, tremor and restlessness that feel like anxiety. All six can be measured from one blood draw.

Which blood test should I ask for first?

Ask for the markers together rather than one at a time, because they are interpreted as a set. A nutrient panel covering B12, folate, vitamin D, ferritin, magnesium and TSH gives a clinician enough to work with. Bring the full report to your appointment rather than a single value.

Can a thyroid test explain anxious symptoms?

A TSH test can flag an over- or underactive thyroid pattern, and an overactive thyroid produces physical symptoms that overlap with anxiety. TSH alone is not enough to conclude anything. Free T4, free T3 and thyroid antibodies usually follow, and a clinician puts the whole picture together.

Does a normal magnesium result rule out low magnesium?

No. Serum magnesium measures only the fraction circulating in blood, and the body keeps that level tightly controlled by drawing on stores in bone and cells. A result inside the standard range can still sit alongside lower total body magnesium, which is why it is read with other markers.

Why is ferritin checked for anxiety symptoms?

Because low iron stores produce breathlessness, palpitations, lightheadedness and a jittery, depleted feeling that is hard to tell apart from anxiety. Ferritin reflects stored iron, though it also rises with inflammation, so it is usually read with other iron markers and a full blood count.

What if all my results come back normal?

A normal panel narrows the list of physical explanations without closing the question. Most anxiety has no blood marker at all, and sleep quality, stress load, training volume, alcohol and life stage sit outside any nutrient test. That result is still useful information for the clinician assessing you.

How soon should these tests be repeated?

That depends on which marker was out of range and what was done about it, so the interval is a clinician's call. Nutrient markers generally need weeks to months before a change shows. Retesting too early usually tells you less than waiting and testing under the same conditions.

Related reading