Key Takeaways
What Food Is Good for Anxiety? The Short Answer From Trials
The question of what food is good for anxiety has a shorter evidence-based answer than most food lists suggest. The best-tested candidate is omega-3 fat, the kind concentrated in oily fish: a 2018 meta-analysis of 19 clinical trials with 2,240 participants found anxiety symptoms improved more with omega-3 treatment than in control groups[1]. Those trials tested omega-3s at set daily doses, not fish meals.
Whole-diet changes have a weaker record for anxiety than for depression. Across 11 randomized trials with 2,270 participants, dietary interventions produced no significant change in anxiety symptoms[2]. How many people live with anxiety disorders is covered on the anxiety condition page; this article covers what the nutrition research shows.
The clearest food signals point to what can make anxiety worse. High doses of caffeine trigger panic attacks in about half of people with panic disorder[4], and diets high in ultra-processed food are associated with more anxiety in observational studies[5].
Foods, Nutrients and Drinks: What the Anxiety Evidence Shows
| Food or nutrient | Best evidence | Finding for anxiety | Strength |
|---|---|---|---|
| Omega-3s (EPA, DHA) | Meta-analysis, 19 trials, 2018 | g = 0.374; significant only at 2,000 mg/day or more | Moderate |
| Whole-diet improvement | Meta-analysis, 11 trials, 2019 | g = 0.085, not significant | No effect shown |
| Diet programs of 3+ months | Meta-analysis, 25 trials, 2025 | Anxiety evidence too limited to conclude | Inconclusive |
| Probiotics | Meta-analysis, 34 trials, 2019 | d = -0.10 | Small |
| Prebiotics | Meta-analysis, 34 trials, 2019 | No difference from placebo | No effect shown |
| Ultra-processed food | Umbrella review, 2024 | Odds ratio 1.48 for anxiety outcomes | Association, low certainty |
| Caffeine, high dose | Meta-analysis, panic disorder, 2022 | 51.1% had panic attacks vs 0% on placebo | Consistent in panic disorder |
| Alcohol | NIAAA clinical guidance, 2025 | Short-term relief; anxiety escalates with heavy use and withdrawal | Clinical consensus |
Main reviews of diet and anxiety cited in this article. Effect sizes compare the intervention group with a control group; in these reviews a positive g and a negative d both indicate improvement.
1Omega-3s: Su et al., 2018[1]. Whole diet: Firth et al., 2019[2]. Diet programs of 3+ months: Abukmail et al., 2025[6].
2Probiotics and prebiotics: Liu et al., 2019[3]. Ultra-processed food: Lane et al., 2024[5].
3Caffeine: Klevebrant and Frick, 2022[4]. Alcohol: NIAAA, 2025[7].
Sources
- •JAMA Network Open, 2018
- •Psychosomatic Medicine, 2019
- •Annals of Internal Medicine, 2025
- •Neuroscience and Biobehavioral Reviews, 2019
- •BMJ, 2024
- •General Hospital Psychiatry, 2022
- •NIAAA, 2025
Is Fish Good for Anxiety? What the Omega-3 Trials Found
The 2018 omega-3 meta-analysis pooled 1,203 people given omega-3s and 1,037 controls, with an average dose of 1,605.7 mg a day[1]. The pooled effect was a Hedges' g of 0.374, a statistically significant improvement in anxiety symptoms[1].
Two subgroups shaped that result. The benefit was significant only in trials using at least 2,000 mg a day, and it was larger in people with specific clinical diagnoses than in those without[1]. In 5 studies of people without specific clinical conditions, the effect was essentially zero (g = -0.008)[1].
Food can come close to trial doses. A 3-ounce serving of cooked farmed Atlantic salmon contains 1.24 g of DHA and 0.59 g of EPA, about 1.8 g combined, while the same serving of canned light tuna contains 0.17 g of DHA and 0.02 g of EPA[8]. Because the review measured omega-3 treatment at set daily doses, it does not show whether eating fish has the same effect.
Plant foods supply a different omega-3, alpha-linolenic acid (ALA). Chia seeds contain 5.06 g of ALA per ounce and English walnuts 2.57 g[8]. ALA is the only omega-3 with an official adequate intake for people age 1 and older; no specific intake recommendation exists for EPA or DHA[8].
Fish oil capsules, lavender oil and other products are compared in supplements for anxiety.
Omega-3 fatty acids
Polyunsaturated fats found in foods such as fish and flaxseed. Research focuses on three: alpha-linolenic acid (ALA), found in plant oils, chia seeds and walnuts, and the long-chain eicosapentaenoic acid (EPA) and docosahexaenoic acid (DHA), found mainly in fish and fish oil[8].
Related Terms
Source: NIH Office of Dietary Supplements
Does a Healthy Diet Reduce Anxiety? What Whole-Diet Trials Show
The largest pooled analysis of diet-change trials, published in 2019, included 16 randomized trials with outcome data for 45,826 people[2]. Diet changes reduced depressive symptoms slightly (g = 0.162), but the 11 trials that measured anxiety showed no significant effect (g = 0.085, 95% CI -0.031 to 0.202)[2].
One subgroup stood out: trials with female samples found significantly greater benefits for both depression and anxiety[2].
A 2025 review in the Annals of Internal Medicine limited itself to 25 trials lasting 3 months or longer[6]. It found small, low-certainty benefits for depression from calorie restriction and low-fat diets in adults with elevated cardiometabolic risk, and judged the anxiety evidence too limited by study weaknesses and heterogeneity to support conclusions[6].
The SMILES trial and the Mediterranean-style diet
The most-cited single trial is SMILES, a 12-week Australian study of 67 adults with moderate to severe depression[9]. The diet group received seven dietitian sessions promoting a modified Mediterranean diet built on whole grains, vegetables, fruit, legumes, nuts, fish and olive oil, with sweets, refined cereals, fried food, fast food, processed meats and sugary drinks limited to 3 servings a week[9].
Anxiety was a secondary outcome. The diet group improved more than a social-support control group on the anxiety subscale of the Hospital Anxiety and Depression Scale (Cohen's d = -0.594, p = 0.033)[9]. The trial enrolled people for depression, not anxiety disorders, so it cannot show that the diet treats anxiety on its own.
Are Fermented Foods, Leafy Greens and Nuts Good for Anxiety?
Yogurt, kefir and other fermented foods appear on most anti-anxiety food lists because of interest in the gut-brain axis. The controlled evidence comes from probiotic and prebiotic products rather than foods. A 2019 meta-analysis of 34 controlled trials found probiotics had a small effect on anxiety (d = -0.10, p = .03), while prebiotics did not differ from placebo (d = .12, p = .11)[3].
The authors noted that few trials enrolled clinical samples, which reduced the pooled effects[3]. In other words, the trials say little about people with diagnosed anxiety disorders.
Leafy greens, nuts, seeds and beans are usually recommended for their magnesium. The NIH Office of Dietary Supplements lists green leafy vegetables, legumes, nuts, seeds and whole grains as good sources[10]. Whether magnesium itself eases anxiety is covered in magnesium for anxiety; the food amounts are in the table below.
Tryptophan-rich foods such as turkey, eggs and bananas are another common recommendation. None of the reviews cited in this article tested them for anxiety, so that advice rests on biochemistry rather than trial results.
Omega-3 and Magnesium Content of Common Foods
| Food | Serving | Nutrient | Amount |
|---|---|---|---|
| Salmon, Atlantic, farmed, cooked | 3 oz | DHA + EPA | 1.24 g + 0.59 g |
| Herring, Atlantic, cooked | 3 oz | DHA + EPA | 0.94 g + 0.77 g |
| Sardines, canned in tomato sauce | 3 oz | DHA + EPA | 0.74 g + 0.45 g |
| Chia seeds | 1 oz | ALA | 5.06 g |
| English walnuts | 1 oz | ALA | 2.57 g |
| Pumpkin seeds, roasted | 1 oz | Magnesium | 156 mg |
| Chia seeds | 1 oz | Magnesium | 111 mg |
| Almonds, dry roasted | 1 oz | Magnesium | 80 mg |
| Spinach, boiled | 1/2 cup | Magnesium | 78 mg |
| Black beans, cooked | 1/2 cup | Magnesium | 60 mg |
1Recommended Dietary Allowance for magnesium, ages 19 to 50: 400 to 420 mg a day for men and 310 to 320 mg for women[10].
Sources
- •NIH Office of Dietary Supplements, 2025
- •NIH Office of Dietary Supplements, 2026
What Foods and Drinks Make Anxiety Worse?
Caffeine
The FDA cites 400 mg of caffeine a day, about two to three 12-ounce cups of coffee, as an amount not generally associated with negative effects in most adults[11]. It lists anxiety, jitters, insomnia, heart palpitations and an increased heart rate among the signs of too much, and notes wide variation in how sensitive people are[11].
People with panic disorder are far more sensitive. In a 2022 meta-analysis, 51.1% of 237 patients with panic disorder had a panic attack after a caffeine challenge and none did after placebo[4]. In the studies that also tested healthy adults, 53.9% of patients and 1.7% of healthy controls had a panic attack after caffeine, at doses roughly equivalent to 5 cups of coffee[4].
Alcohol
Alcohol may appear to relieve anxiety in the short term, but the National Institute on Alcohol Abuse and Alcoholism (NIAAA) notes that heavy drinking and repeated withdrawal can escalate anxiety over time[7]. Anxiety-like symptoms can follow even a single heavy drinking episode, a pattern sometimes called "hangxiety"[7].
The overlap runs both ways: among people treated for anxiety disorders, 20% to 40% have alcohol use disorder[7].
Ultra-processed food and sugar
A 2024 umbrella review in The BMJ, covering 45 pooled analyses and 9,888,373 participants, found greater ultra-processed food exposure associated with higher odds of anxiety outcomes (odds ratio 1.48, 95% CI 1.37 to 1.59)[5]. The review graded that evidence class I (convincing) but rated GRADE certainty as low, and the anxiety result concerned existing cases, so it cannot show which came first[5].
Sugar on its own has thinner evidence. None of the reviews cited here isolates added sugar; the SMILES diet limited sweets and sugary drinks as one part of a whole eating pattern[9].
People with panic disorder who had a panic attack after a high-dose caffeine challenge
None of the 237 patients had a panic attack after placebo, and only 1.7% of healthy controls did after caffeine. Doses were roughly equal to 5 cups of coffee.
"51.1% had a panic attack following caffeine, but none after placebo"
What to Eat During an Anxiety Attack, and Where Food Fits
None of the trials reviewed here tested a food for stopping an anxiety or panic attack. The diet studies measured change over weeks or months: 12 weeks in SMILES[9] and at least 3 months in the 2025 review[6].
Low blood sugar can mimic anxiety. In people with diabetes, the National Institute of Diabetes and Digestive and Kidney Diseases lists feeling shaky or jittery, irritable or dizzy, and a heart that beats too fast among the signs of low blood glucose, often defined as a reading below 70 mg/dL[12]. That overlap means hunger-related symptoms can be mistaken for anxiety, although the guidance itself concerns diabetes.
In the diet trials, food changes were added to existing care rather than replacing it: 55 of the 67 SMILES participants were already using psychotherapy, medication or both[9]. Therapy, medication and other approaches are compared in what helps with anxiety, and signs of anxiety and when to seek help covers when symptoms warrant professional care.
Frequently Asked Questions
Sources & References
- Su KP, Tseng PT, Lin PY, 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 Network Open. Published 2018. Accessed October 2026. https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2702216 [Link]
- Firth J, Marx W, Dash S, et al. The effects of dietary improvement on symptoms of depression and anxiety: a meta-analysis of randomized controlled trials. Psychosomatic Medicine. Published 2019. Accessed October 2026. https://pubmed.ncbi.nlm.nih.gov/30720698/ [Link]
- Liu RT, Walsh RFL, Sheehan AE. Prebiotics and probiotics for depression and anxiety: a systematic review and meta-analysis of controlled clinical trials. Neuroscience and Biobehavioral Reviews. Published 2019. Accessed October 2026. https://pubmed.ncbi.nlm.nih.gov/31004628/ [Link]
- Klevebrant L, Frick A. Effects of caffeine on anxiety and panic attacks in patients with panic disorder: a systematic review and meta-analysis. General Hospital Psychiatry. Published 2022. Accessed October 2026. https://doi.org/10.1016/j.genhosppsych.2021.11.005 [Link]
- Lane MM, Gamage E, Du S, et al. Ultra-processed food exposure and adverse health outcomes: umbrella review of epidemiological meta-analyses. BMJ. Published 2024. Accessed October 2026. https://www.bmj.com/content/384/bmj-2023-077310 [Link]
- Abukmail E, Pradeep NK, Ahmed S, Albarqouni L. Moderate- to long-term effect of dietary interventions for depression and anxiety: a systematic review and meta-analysis. Annals of Internal Medicine. Published 2025. Accessed October 2026. https://pubmed.ncbi.nlm.nih.gov/40388814/ [Link]
- Mental Health Issues: Alcohol Use Disorder and Common Co-occurring Conditions. National Institute on Alcohol Abuse and Alcoholism. Published 2025. Accessed October 2026. https://www.niaaa.nih.gov/health-professionals-communities/core-resource-on-alcohol/mental-health-issues-alcohol-use-disorder-and-common-co-occurring-conditions [Link]
- Omega-3 Fatty Acids: Fact Sheet for Health Professionals. NIH Office of Dietary Supplements. Published 2025. Accessed October 2026. https://ods.od.nih.gov/factsheets/Omega3FattyAcids-HealthProfessional/ [Link]
- Jacka FN, O'Neil A, Opie R, et al. A randomised controlled trial of dietary improvement for adults with major depression (the 'SMILES' trial). BMC Medicine. Published 2017. Accessed October 2026. https://doi.org/10.1186/s12916-017-0791-y [Link]
- Magnesium: Fact Sheet for Health Professionals. NIH Office of Dietary Supplements. Published 2026. Accessed October 2026. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/ [Link]
- Spilling the Beans: How Much Caffeine Is Too Much? U.S. Food and Drug Administration. Published 2024. Accessed October 2026. https://www.fda.gov/consumers/consumer-updates/spilling-beans-how-much-caffeine-too-much [Link]
- Low Blood Glucose (Hypoglycemia). National Institute of Diabetes and Digestive and Kidney Diseases. Published 2021. Accessed October 2026. https://www.niddk.nih.gov/health-information/diabetes/overview/preventing-problems/low-blood-glucose-hypoglycemia [Link]