← Back to the blog Mental Health

Anxiety and Diet: Foods That Calm, and Foods That Trigger Worry

📅 ⏱️ 8 min read ✏️ Kalorita Nutrition Editor

Anxiety disorders are among the most common mental health conditions, and diet can both contribute to anxiety and help ease it. Most of the body's serotonin is made in the gut, so the gut-brain connection is an active area of research. Low levels of magnesium, omega-3s, B vitamins and tryptophan can make anxiety feel worse. Caffeine, alcohol and refined sugar can intensify symptoms through adrenaline, cortisol and blood sugar swings. This guide brings together evidence-based food choices and a practical sample day of eating.

Don't just read it, track itSnap a photo of your meal and Kalorita logs calories and macros in seconds. 3 days free.→

The gut-brain connection and anxiety

The vagus nerve links the gut and brain directly. Gut bacteria help regulate the production of GABA, serotonin and dopamine precursors. An imbalanced gut microbiome (dysbiosis) has been linked to a higher risk of anxiety, although cause and effect are still being studied. Short-chain fatty acids such as butyrate, which gut bacteria make from fiber, are thought to support the blood-brain barrier and reduce brain inflammation.

NeurotransmitterShare made in the gutRole in anxiety
SerotoninAbout 90%Mood stabilizer
DopamineAbout 50%Motivation and reward
GABAHighCalming neurotransmitter
NorepinephrineLowAlertness and alarm

Some trials of probiotics (Lactobacillus and Bifidobacterium) have reported lower anxiety scores after several weeks. Results vary, and probiotics are not a treatment for anxiety disorders.

Foods that may ease anxiety, and portion ideas

The foods below contain nutrients linked to a calmer mood in studies. Daily targets are for a 70 kg (154 lb) adult:

FoodKey nutrientDaily portionHow it may help
Salmon, sardines, mackerelOmega-3 EPA and DHA100 to 150 g, 2 to 3 times a weekMay reduce inflammation in the brain
Walnuts, flaxseed, chiaALA (plant omega-3)30 g (a small handful)Plant omega-3; may help regulate the stress response
Pumpkin seeds, almonds, spinachMagnesium1 small handful of pumpkin seeds (about 30 g)Supports nerve and muscle function; low magnesium is linked to worse anxiety
Turkey breast, chickenTryptophanAbout 150 g a dayThe brain makes serotonin from tryptophan
EggsVitamin B12, choline1 to 2 eggsSupports nerve health and metabolism
Kefir, yogurt, sauerkrautProbiotics1 to 2 servingsMay support gut-brain signaling
Dark chocolate (70% or more)Flavonoids, magnesium20 to 30 gMay blunt the stress hormone response
Green teaL-theanine2 to 3 cupsLinked to relaxed alertness in some studies

Low magnesium can make anxiety symptoms worse. Some small trials of magnesium supplements have reported improvement, although results are mixed.

Foods and drinks that can trigger anxiety

Some foods raise adrenaline, cortisol or blood sugar swings, which can increase anxiety symptoms. If you have panic attacks, many people cut these out entirely:

TriggerMechanismLimit
CaffeineRaises adrenaline and can interfere with GABA signalingUnder 200 mg a day (about 2 cups of brewed coffee)
AlcoholDisrupts GABA balance and sleepNone if you have an anxiety disorder
Refined sugarBlood sugar spikes, then drops, causing shaky, anxious feelingsUnder 25 g of added sugar a day
Trans fatsLinked to brain inflammationAs little as possible
Artificial colors and sweetenersSome people report sensitivityKeep consumption limited
High-sodium processed foodCan raise cortisol and blood pressureUnder 2,000 mg of sodium a day

Many people with panic disorder find that high-caffeine doses trigger symptoms. Green tea (about 30 to 50 mg per cup) is a gentler option than coffee (about 95 mg per 8 oz cup).

A sample anxiety-friendly day of eating

A day built around magnesium, omega-3 and tryptophan, for a 70 kg (154 lb) adult, about 1,900 to 2,100 kcal:

This menu covers most of an adult's daily magnesium target, and the salmon provides most of its omega-3 content. Nutrients come from whole foods, so the plan is easy to repeat.

Frequently asked questions

Which vitamin supplements help with anxiety?

The strongest evidence is for magnesium (about 400 mg a day, as bisglycinate or citrate), omega-3s (1 to 2 g of EPA and DHA a day) and a B complex, especially B12 and folate. People who are deficient in vitamin D may see mood improvements with 1,000 to 2,000 IU a day. Supplements do not replace medical treatment, so check with a doctor before starting, especially if you take medication.

Do I need to give up coffee?

Not necessarily for general anxiety, but staying under about 200 mg of caffeine a day (around 2 cups of brewed coffee) is a reasonable limit. If you have panic attacks, cutting caffeine completely may be best. Green tea and oolong contain less caffeine plus L-theanine, which may feel calmer. If you stop, taper off over 2 to 3 weeks, since quitting suddenly causes headaches and tiredness.

How does sugar affect anxiety?

Refined sugar raises blood sugar quickly, and insulin then pushes it down sharply. This drop can trigger adrenaline, causing a racing heart, sweating and restlessness, which overlap with panic symptoms. Keeping added sugar under 25 g a day and pairing carbohydrates with protein smooths out these swings.

Is alcohol good or bad for anxiety?

In the short term, alcohol feels calming because it boosts GABA activity. But as it wears off, the brain adjusts by reducing GABA activity, and rebound anxiety often follows. When this cycle repeats, alcohol misuse and anxiety tend to reinforce each other. People being treated for anxiety are usually advised to avoid alcohol completely.

How much does gut health affect anxiety?

Some studies have found that people with anxiety have less diverse gut bacteria than people without it. Prebiotic fiber (chicory root, garlic, onions, bananas), fermented foods (kefir, yogurt, sauerkraut) and enough water may support gut balance. Some clinical trials of probiotics report reduced anxiety scores, but the results are mixed.

How long does a dietary change take to help?

Early improvements, such as better sleep and focus, often appear within 2 to 4 weeks. Lasting changes usually take longer, often a couple of months. For moderate to severe anxiety, diet alone is not enough. Combine it with cognitive behavioral therapy (CBT), regular exercise (150 minutes of moderate aerobic activity a week) and, if needed, medication. If symptoms affect your daily life, see a doctor or mental health professional.

Make calorie tracking simple

Take a photo of your food and Kalorita's AI estimates its calories and macros in seconds.

Download free