What Vitamin Helps With Anxiety, According to Science

Several vitamins and minerals have measurable effects on anxiety, with the strongest evidence pointing to vitamin B6, vitamin D, magnesium, and omega-3 fatty acids. Each works through a different biological mechanism, and some are more effective than others depending on whether you’re dealing with a deficiency or looking for additional support alongside other treatments.

Vitamin B6 and GABA Production

Vitamin B6 has the most direct connection to anxiety of any single vitamin. Your brain relies on it to produce GABA, the main chemical that calms neural activity. Without enough B6, the enzyme that converts glutamate (an excitatory brain chemical) into GABA (an inhibitory one) can’t do its job efficiently. The result is a nervous system that’s harder to quiet down.

In randomized controlled trials, B6 supplementation at doses of 50 to 100 mg per day reduced anxiety symptoms by 20 to 30 percent compared to placebo in adults with mild to moderate anxiety over 4 to 12 weeks. For context, the recommended daily allowance for adults is just 1.3 mg, so the doses used in successful trials are dramatically higher than what you’d get from food alone. A 2022 trial published in Human Psychopharmacology used 100 mg daily and found significant reductions in self-reported anxiety, with evidence that the effect came from strengthened GABA-related brain activity.

Vitamin B12 also plays a supporting role by helping reduce neural excitation, but the evidence is weaker. In the same trial that tested B6, B12 supplementation at 1000 micrograms daily produced only a trend toward reduced anxiety, not a statistically significant effect.

Vitamin D and Emotional Brain Regions

Vitamin D acts more like a hormone than a typical vitamin, and your brain has receptors for it in areas that directly regulate emotion, including the prefrontal cortex and hippocampus. These regions also contain the enzymes needed to metabolize vitamin D locally, which suggests the brain actively uses it rather than just passively receiving it.

A large cross-sectional study of U.S. adults found that higher serum vitamin D levels were significantly associated with lower anxiety, with a p-value below 0.001. People in the highest quartile of vitamin D levels had roughly 22 percent lower odds of anxiety compared to those in the lowest quartile. This negative correlation held up even after researchers controlled for confounding variables like age, income, and physical activity.

The practical takeaway: if you spend most of your time indoors, live in a northern climate, or have darker skin, your vitamin D levels may be low enough to contribute to anxiety symptoms. A simple blood test can check your levels, and correcting a deficiency is straightforward.

Magnesium and Your Stress Response System

Magnesium regulates your body’s central stress response system, the loop connecting your hypothalamus, pituitary gland, and adrenal glands. This system controls how much cortisol and other stress hormones your body releases. When magnesium levels drop, this system’s set point shifts upward, meaning your body produces more stress hormones at baseline. Animal research shows that magnesium deficiency increases the production of corticotropin-releasing hormone in the brain and elevates stress hormone levels in the blood, both of which drive anxiety-like behavior.

Magnesium also works at the level of individual brain cells. It blocks a specific type of receptor that, when overactivated, increases neural excitation. At the same time, it supports GABA signaling, the same calming pathway that vitamin B6 feeds into. So magnesium acts on anxiety through two parallel routes: dampening the body’s hormonal stress response and quieting excitatory brain activity directly.

An estimated 50 percent of Americans consume less magnesium than recommended. Foods like dark leafy greens, nuts, seeds, and legumes are rich sources, but supplementation is common. Forms like magnesium glycinate and magnesium threonate are often preferred for their absorption and tolerability.

Omega-3 Fatty Acids

Omega-3 fatty acids, found in fatty fish, walnuts, and flaxseed, have anti-inflammatory effects in the brain that appear to reduce anxiety. A systematic review and meta-analysis published in JAMA Network Open examined the evidence across multiple trials and found that omega-3 supplementation significantly reduced anxiety symptoms, but only at doses of at least 2,000 mg per day. Lower doses did not produce a meaningful effect.

Interestingly, the ratio of the two main omega-3 types matters. Formulations where EPA made up less than 60 percent of the total omega-3 content showed significant anti-anxiety effects, while those with 60 percent or more EPA did not. This suggests that DHA, the other major omega-3, plays an important role in the anxiety-reducing effect and shouldn’t be overshadowed by EPA-heavy formulations.

How Long Before You Notice a Difference

Don’t expect overnight results. Most successful trials measured outcomes at 4 to 12 weeks, and shorter supplementation periods often fail to show significant anxiety reduction. One randomized trial testing B vitamins found no measurable change in anxiety scores after just four weeks, with researchers noting that the timeframe was likely too short. The B6 trials showing 20 to 30 percent improvements typically ran for at least a month, with stronger effects appearing closer to the 8 to 12 week mark.

Correcting a genuine deficiency in vitamin D or magnesium can sometimes produce noticeable changes faster, since you’re restoring a system that was underperforming. But if your levels are already adequate, supplementation is less likely to produce dramatic shifts.

Combining Supplements With Medication

If you’re already taking an antidepressant or anti-anxiety medication, standard vitamin and mineral supplements are generally safe to use alongside them. No vitamins are contraindicated with antidepressants, according to the British Psychological Society. That said, stacking multiple high-dose supplements together warrants more caution than adding a single one. Current clinical guidelines from major psychiatric organizations recognize nutritional interventions as a complement to psychotherapy and medication, not a replacement for them.

The strongest case for supplementation exists when you have a measurable deficiency. Anxiety has many causes, and a vitamin won’t resolve anxiety rooted in chronic stress, trauma, or a clinical disorder on its own. But if your body is short on the raw materials it needs to produce calming neurotransmitters and regulate stress hormones, correcting that shortage removes one obstacle to feeling better.