Nutrition · Updated November 2026

Foods That Help With Anxiety (and Foods That Can Make It Worse)

Some foods that help with anxiety are fatty fish, fermented foods like yogurt and kefir, leafy greens, whole grains, legumes, nuts and seeds, mainly as part of a whole-food, Mediterranean-style diet. These supply omega-3s, magnesium, B vitamins, fiber and probiotics that support the brain and gut. Just as important are the things that can worsen anxiety: too much caffeine, alcohol, highly processed and sugary foods, and skipped meals that cause blood-sugar dips. Food is a support, not a replacement for therapy or medication when anxiety is significant.

Can food really affect anxiety?

Yes, modestly. Research points to several pathways:

  • Blood sugar: large swings can trigger shakiness, irritability and a racing heart that feel like anxiety.
  • The gut-brain axis: gut bacteria produce compounds that influence inflammation, stress hormones and neurotransmitters.
  • Inflammation: diets high in ultra-processed food are associated with higher inflammation, which is linked to mood and anxiety disorders.
  • Nutrient status: low levels of magnesium, omega-3s, vitamin D and B vitamins have been associated with anxiety and depression.
  • Stimulants: caffeine directly increases heart rate and alertness.

A 2022 meta-analysis found that higher consumption of ultra-processed foods was associated with greater odds of depressive and anxiety symptoms. Observational studies also link Mediterranean-style eating with lower anxiety, though the evidence is weaker than for depression.

Foods that may help

FoodWhy it may help
Fatty fish (salmon, sardines, mackerel)Omega-3s with anti-inflammatory effects; some trials show reduced anxiety symptoms
Fermented foods (yogurt, kefir, sauerkraut, kimchi)Support a diverse gut microbiome
Leafy greens (spinach, Swiss chard)Magnesium and folate
Nuts and seeds (almonds, pumpkin seeds)Magnesium, zinc, healthy fats
Whole grains (oats, quinoa, brown rice)Steady energy and fiber
Legumes (beans, lentils, chickpeas)Fiber, magnesium, plant protein
EggsCholine, B vitamins, protein
Berries and colorful fruitAntioxidants and vitamin C
Dark chocolate (in small amounts)Polyphenols and magnesium; watch caffeine
Herbal teas (chamomile)Some evidence for mild calming effects

Omega-3s

A meta-analysis of clinical trials found omega-3 supplementation was associated with reduced anxiety symptoms, particularly at higher doses. Eating fatty fish twice a week is a sensible goal; see fatty fish servings per week.

Magnesium-rich foods

Magnesium helps regulate the stress response. Small studies suggest supplementation may reduce mild anxiety, especially in people with low intake. Food sources include pumpkin seeds, almonds, spinach, black beans and whole grains. For supplements, compare magnesium glycinate vs citrate.

Fermented foods and fiber

A diverse gut microbiome thrives on fiber and fermented foods. Small trials of probiotics show mixed but sometimes positive effects on anxiety and stress. Eating a range of plants, about 30 different types per week is a popular target, feeds beneficial bacteria.

Chamomile

A few small trials suggest chamomile extract may modestly reduce generalized anxiety symptoms. A cup of chamomile tea in the evening is a low-risk ritual.

Foods and drinks that can make anxiety worse

TriggerWhy
Caffeine (coffee, energy drinks, pre-workout, some sodas)Increases heart rate, jitteriness and can trigger panic in sensitive people
AlcoholCalms briefly, then rebounds with more anxiety ("hangxiety") and poorer sleep
Sugary snacks and drinksBlood sugar spikes and crashes
Ultra-processed foodsLinked with higher anxiety and depression symptoms
Skipping mealsLow blood sugar mimics anxiety symptoms
Very high doses of supplements with stimulantsSome "fat burners" and pre-workouts contain multiple stimulants

Our guides to caffeine and anxiety and caffeine and anxiety effects on sleep go deeper.

Can foods cause panic attacks?

Foods don't usually cause panic disorder, but some can trigger panic attacks in susceptible people. Caffeine is the best-established trigger; people with panic disorder are more sensitive to it. Alcohol withdrawal, energy drinks, and low blood sugar after skipping meals can also produce symptoms like a racing heart, shakiness and dizziness that set off panic. Read about the physical signs in panic attack symptoms.

A simple anti-anxiety eating pattern

  1. Eat regularly. Three meals and one or two snacks, without long gaps.
  2. Combine protein, fiber and healthy fats at each meal for steady blood sugar.
  3. Limit caffeine to one or two cups before noon, or less if you're sensitive.
  4. Cut back on alcohol, especially as a way to relax.
  5. Eat fish twice a week, and nuts, seeds and leafy greens most days.
  6. Include fermented foods a few times a week.
  7. Reduce ultra-processed snacks in favor of whole-food options.
  8. Stay hydrated; dehydration can cause headaches, fatigue and a faster heart rate.

Sample day

MealExample
BreakfastOatmeal with kefir or yogurt, berries and pumpkin seeds
LunchSalmon or chickpea salad with spinach, quinoa and olive oil
SnackApple with almond butter
DinnerLentil and vegetable curry with brown rice
EveningChamomile tea

Eating when anxiety kills your appetite

Anxiety often shuts down hunger or makes your stomach churn, which leads to skipped meals and then shakiness and irritability later in the day. On those days, aim for small, easy foods every three to four hours rather than full meals: a smoothie with yogurt and banana, toast with nut butter, soup, crackers with cheese, or a handful of nuts and dried fruit. Bland, warm foods are often easiest. Keeping a few of these on hand means you can eat something steadying even when cooking feels impossible.

Food is one part of the picture

Diet supports mental health, but it works best alongside proven approaches:

  • Therapy, especially CBT, which is highly effective for anxiety disorders.
  • Exercise, one of the most reliable natural anxiety reducers; see best exercise type for anxiety relief.
  • Sleep and a consistent routine.
  • Breathing and relaxation skills.
  • Medication when appropriate.

Our overview of natural ways to reduce anxiety covers more options.

When to get help

If anxiety is persistent, interferes with daily life, causes panic attacks or avoidance, or comes with low mood, talk to a doctor or mental health professional. Also mention significant dietary changes, unexplained weight loss, or a racing heart that doesn't settle, which can have medical causes such as thyroid problems. If you're in crisis, contact 988 in the US or emergency services.

The bottom line

No single food cures anxiety, but a whole-food diet with fatty fish, fermented foods, leafy greens, nuts, seeds, legumes and whole grains supports a calmer brain and body. Limiting caffeine, alcohol, sugar and ultra-processed foods, and eating regularly, often makes a noticeable difference. Combine diet with therapy, exercise and sleep for the best results.

Frequently asked questions

What foods help calm anxiety fast?

No food works instantly, but a balanced snack with protein and complex carbs can steady blood sugar, and chamomile tea is a calming ritual.

What foods make anxiety worse?

Caffeine, alcohol, sugary drinks and snacks, ultra-processed foods and skipping meals are the most common culprits.

Can certain foods trigger panic attacks?

Caffeine is the best-known trigger. Energy drinks, alcohol withdrawal and low blood sugar can also bring on panic symptoms.

Does magnesium help anxiety?

Small studies suggest magnesium may help mild anxiety, especially in people with low intake. Food sources include seeds, nuts, greens and beans.

Is there an anti-anxiety diet?

There's no official one, but a Mediterranean-style, whole-food pattern with regular meals and limited caffeine and alcohol is a good approach.

Can probiotics help anxiety?

Evidence is mixed. Fermented foods and fiber support gut health, which may influence mood, but probiotics aren't a proven anxiety treatment.

Medical disclaimer: This article is for general educational purposes only and is not medical advice, diagnosis, or treatment. Talk with a qualified healthcare professional before changing your diet, exercise, sleep, or mental-health routine—especially if you have a health condition, take medication, are pregnant, or are recovering from injury. Stop exercising and seek care if you feel chest pain, severe shortness of breath, dizziness, or sharp joint pain.

Sources

  1. Lane MM et al. Ultra-Processed Food Consumption and Mental Health: A Systematic Review and Meta-Analysis of Observational Studies. Nutrients. 2022 (PMID 35807749)
  2. Su KP et al. Association of Use of Omega-3 Polyunsaturated Fatty Acids With Changes in Severity of Anxiety Symptoms: A Systematic Review and Meta-analysis. JAMA Netw Open. 2018 (PMID 30646157)
  3. NIMH – Anxiety Disorders
  4. NIH Office of Dietary Supplements – Magnesium Fact Sheet for Consumers