The Best and Worst Foods for Anxiety: What the Evidence Actually Shows
Reviewed byElizabeth Lokenauth, PA-C
SiggyMD Clinical Team · Last updated June 19, 2026
Key Takeaways
- Diet affects anxiety through three primary pathways: blood sugar regulation, gut-brain axis signaling, and inflammatory modulation. Foods that destabilize any of these pathways can amplify anxiety symptoms.
- A Mediterranean-style dietary pattern has the strongest clinical evidence for mental health benefit. The 2017 SMILES trial, the first RCT testing dietary intervention for depression, found significant symptom improvement versus social support alone.
- A 2023 large prospective study found that regular consumption of fried foods, particularly fried potatoes, was associated with 12% higher risk of anxiety and 7% higher risk of depression, driven by neuroinflammatory mechanisms.
- Approximately 90% of the body's serotonin is produced in the gut, which directly links gut microbiome health to mood regulation. Fiber-rich and fermented foods support the microbiome composition associated with lower anxiety.
- Dietary changes are a meaningful complement to anxiety treatment, not a substitute. They will not replace therapy or medication for clinical anxiety disorders, but they address biological vulnerabilities that can amplify symptoms.
Anxiety affects more than 40 million adults in the United States. The standard treatment conversation centers on therapy and medication. Less often discussed is the biological context that those treatments operate in: your blood sugar, your gut microbiome, your inflammatory load.
These are not fringe concerns. The relationship between diet and anxiety runs through established biological pathways, and the clinical evidence is strong enough that nutritional psychiatry is now recognized as a legitimate field of clinical intervention.
Here is what the research actually shows about specific foods, dietary patterns, and anxiety, and how to think about diet as part of a clinical care plan.
What This Page Covers
- The three mechanisms through which diet affects anxiety
- The gut-brain axis and why it matters for mental health
- Foods and dietary patterns with the strongest evidence for benefit
- Foods that reliably worsen anxiety symptoms
- What the SMILES trial and fried food research tell us
- How to think about diet as a complement to anxiety treatment
How Food Affects Anxiety: Three Biological Pathways
Diet does not affect anxiety through a single route. There are three primary mechanisms that current research supports.
Blood Sugar Regulation
Rapid spikes and crashes in blood glucose produce physical sensations, including shakiness, heart pounding, and lightheadedness, that closely resemble anxiety symptoms and can trigger or amplify them. Meals that include fiber, protein, and healthy fats help keep blood sugar stable and support a calmer, more even mood throughout the day. Refined carbohydrates and sugary foods destabilize this balance.
Gut-Brain Axis Signaling
The gut and brain are in continuous communication through the vagus nerve, immune signaling pathways, and neurotransmitter production. Approximately 90% of the body’s serotonin is produced in the gut. The gut microbiome composition directly influences serotonin availability, HPA axis regulation, and neuroinflammatory tone.
Habitual diet strongly influences the composition of the gut microbiome, adding rationale for the inclusion of fruits, vegetables, fiber, and fermented foods in the diet. A microbiome depleted of beneficial bacteria by ultra-processed food diets produces less of the metabolites that support calm mood and emotional regulation.
Inflammatory Modulation
Chronic low-grade inflammation is implicated in anxiety pathophysiology. Evidence exists for elevated inflammatory biomarkers in anxiety patients, and cytokines-mediated effects on anxiety-related brain structures, including heightened amygdala activity and changes in functional connectivity between amygdala and prefrontal cortex. Diets high in ultra-processed foods, fried foods, and refined carbohydrates promote systemic inflammation that reaches the brain. Anti-inflammatory dietary patterns reduce this load.
The Strongest Clinical Evidence: Dietary Patterns
Individual foods matter less than overall dietary patterns. The research is clearest at the pattern level.
The Mediterranean Diet
The Mediterranean dietary pattern, rich in vegetables, fruits, whole grains, legumes, fatty fish, nuts, and olive oil, with limited red meat and processed food, has the strongest evidence base for mental health benefit.
The SMILES trial (Supporting the Modification of Lifestyle in Lowered Emotional States) was the first randomized controlled trial to evaluate a dietary intervention as a treatment for depression. A 12-week clinical trial found that people who followed Mediterranean-style eating habits experienced significantly reduced symptoms of depression compared to those who received only social support. A Mediterranean diet adherence study also found clinically significant reductions in both gastrointestinal and anxiety symptom severity in patients with IBS and comorbid anxiety, driven by enrichment of the gut microbiome through dietary modification.
Ultra-Processed Food Patterns
At the opposite end, eating lots of ultra-processed foods and few nutrients like B vitamins, magnesium, and omega-3s is consistently linked to higher rates of depression and anxiety. The mechanism is not just what these foods lack; it is what they do actively: promote inflammation, disrupt the microbiome, and destabilize blood sugar.
Specific Foods With Clinical Relevance
Best: Fatty Fish (Salmon, Sardines, Mackerel)
Fatty fish provide EPA and DHA, the omega-3 fatty acids with the strongest evidence for brain health. A diet rich in EPA and DHA is associated with lower rates of anxiety. These fatty acids may reduce inflammation and prevent brain cell dysfunction, which is common in people with anxiety.
The World Federation of Societies of Biological Psychiatry recommends omega-3s as an adjunctive treatment for mood disorders, with EPA showing the strongest effect for major depression. The Mayo Clinic recommends eating fish high in omega-3 fatty acids regularly. Aim for two servings per week of fatty fish.
Best: Leafy Greens and Magnesium-Rich Foods
Foods naturally rich in magnesium may help a person feel calmer. Examples include leafy greens such as spinach and Swiss chard. Other sources include legumes, nuts, seeds, and whole grains. Magnesium modulates the HPA axis and has direct effects on GABA receptor activity, the same pathway that benzodiazepines target.
Best: Fermented Foods and Probiotics
Yogurt, kefir, kimchi, sauerkraut, and other fermented foods support gut microbiome diversity. The probiotics, or healthy bacteria, found in some types of yogurt may improve several aspects of well-being, including mental health, by reducing inflammation and increasing production of mood-boosting neurotransmitters such as serotonin.
Research in this area is developing rapidly. Food-first approaches to microbiome support are reasonable and carry no meaningful risk.
Best: Whole Grains and Complex Carbohydrates
Complex carbohydrates promote steady blood sugar and nourish beneficial gut bacteria. Eating foods rich in complex carbohydrates such as whole grains helps maintain a more even blood sugar level, which creates a calmer feeling. Oats, quinoa, brown rice, barley, and whole-wheat products are all options. Simple sugars do the opposite.
Foods That Reliably Worsen Anxiety
Fried Foods
A large prospective study published in 2023 found that regular consumption of fried foods, particularly fried potatoes, carries a 12% higher risk of anxiety and 7% higher risk of depression. The mechanism involves neuroinflammation, lipid metabolism disruption, and the accumulation of advanced glycation end products from high-temperature cooking. This is not about occasional consumption. It is about regular dietary patterns.
Alcohol
While it may seem like a relaxant, alcohol is a depressant that can disrupt neurotransmitter balance, interfere with sleep, and lead to increased feelings of anxiety once its effects wear off. The short-term anxiolytic effect is real but is followed by rebound anxiety as blood alcohol levels drop. Regular alcohol use creates a cycle where drinking appears to manage anxiety while actually maintaining and worsening it.
High Caffeine Intake
For people with anxiety disorders, caffeine can trigger or worsen symptoms through its stimulant effects on the sympathetic nervous system. High doses of caffeine can cause unpleasant effects including anxiety in people who have panic disorder. Individual sensitivity varies considerably, but if you have anxiety, evaluating your caffeine intake is a reasonable first step. Limiting caffeine to earlier in the day also protects sleep, which independently affects anxiety.
Refined Carbohydrates and Added Sugars
High-sugar foods and beverages can lead to spikes and crashes in blood sugar levels, contributing to mood swings and anxious feelings. The physical sensations of blood sugar crashes, shakiness, heart pounding, difficulty concentrating, can trigger anxiety in people who are already primed for it.
A 2019 study found that consuming refined grains was related to higher anxiety and depression severity. The effect is not dramatic per meal, but it accumulates across dietary patterns.
What Diet Cannot Do
This matters as much as what diet can do.
Diet addresses biological vulnerabilities that amplify anxiety. It does not treat the cognitive, behavioral, or neurobiological patterns that maintain anxiety disorders. There’s not enough research to support using food as a first-line treatment for anxiety, and therefore it should not replace any medications or therapies recommended by a healthcare professional.
If you have a clinical anxiety disorder, CBT and medication management are the primary interventions. Diet improves the biological context in which those treatments operate. Think of it as part of the care picture, not a replacement for the picture itself.
Practical Application
You do not need to overhaul everything at once. Start with the highest-leverage shifts:
- Replace refined grain products with whole grain alternatives
- Add a serving of fatty fish twice per week
- Add leafy greens to at least one meal per day
- Replace sugary drinks with water, herbal tea, or sparkling water
- Limit alcohol, particularly in the evening
- Evaluate caffeine timing and total intake
- Add one fermented food daily (yogurt with active cultures, kimchi, or kefir)
None of these changes requires a dramatic dietary transformation. They build a pattern over time that reduces the biological amplification of anxiety.
“What people eat is part of the clinical picture,” says Elizabeth Lokenauth, PA-C, of the SiggyMD clinical team. “When a patient is eating a diet that destabilizes blood sugar all day, disrupts sleep with caffeine, and replaces nutrients with processed food, they are making it harder for their medication and therapy to do their job. We talk about this with patients. Diet is part of the treatment conversation.”
What Members Are Saying
AK
A.K., 32
Generalized Anxiety Disorder
“My prescriber mentioned that my diet might be contributing to my anxiety. I was skeptical. But I cut out afternoon coffee, started eating breakfast with protein, and added more vegetables. The anxiety didn’t disappear, but the baseline level dropped noticeably within a few weeks. It made a real difference alongside my medication.”
PB
P.B., 45
Anxiety with Sleep Issues
“I started noticing that my worst anxiety days were also the days I ate worst. I had been treating them as separate. My care team helped me understand the blood sugar connection. Changing how I eat didn’t fix my anxiety, but it made it more manageable, and it helped my medication work better.”
Member stories reflect real experiences. Names and identifying details have been changed to protect privacy. Results vary. SiggyMD is currently invite-only.
Taking the Next Step
Diet is one lever among several. If you are managing anxiety and want to address the biological context around your treatment, the shifts outlined here are evidence-informed and carry no meaningful risk. Start with one or two changes and build from there.
If you have not yet addressed anxiety clinically, diet alone will not be enough. A clinical evaluation by a licensed prescriber can help determine what treatment options are appropriate for your specific presentation.
To understand how anxiety medications work and what to expect from pharmacological treatment, read our guide to anti-anxiety medications and their side effect profiles. Or start your anonymous intake with SiggyMD to connect with a licensed prescriber who can evaluate your anxiety and discuss a complete care plan, including how lifestyle factors interact with treatment.
Sources
-
Staudacher HM, et al. Adherence to a Mediterranean Diet Predicts Gastrointestinal and Anxiety Symptom Response in Irritable Bowel Syndrome. Clinical Gastroenterology and Hepatology. 2025.
-
Vermeulen E, et al. Diet quality and anxiety: a critical overview with focus on the gut microbiome. Nutrients. 2024.
-
Lachance L, Ramsey D. Diet and Anxiety: A Scoping Review. Nutrients. 2021;13(12):4418.
-
Harvard Health Publishing. Nutritional strategies to ease anxiety. Uma Naidoo, MD. 2016.
-
Mayo Clinic. Coping with anxiety: Can diet make a difference? Accessed June 2026.
-
Jacka FN, et al. A randomised controlled trial of dietary improvement for adults with major depression (the ‘SMILES’ trial). BMC Medicine. 2017;15:23.
-
Hu S, et al. Dietary fried food intake and risk of anxiety and depression. Brain, Behavior, and Immunity. 2023;112:98-108.
-
National Institute of Mental Health. Any Anxiety Disorder. Accessed June 2026.
Reviewed by Elizabeth Lokenauth, PA-C | Last updated June 2026
Frequently Asked Questions
Can what you eat affect anxiety?
Yes. Diet affects anxiety through multiple pathways: blood sugar fluctuations trigger physical sensations that resemble anxiety; gut microbiome composition influences the production of neurotransmitters including serotonin and GABA; and dietary patterns high in ultra-processed foods promote systemic inflammation linked to anxiety pathophysiology. These are not minor effects. They are biological mechanisms with clinical relevance.
What foods help anxiety the most?
The strongest evidence is for dietary patterns rather than individual foods. A Mediterranean-style pattern, rich in fatty fish, leafy greens, whole grains, legumes, nuts, olive oil, and fermented foods, consistently shows mental health benefits across observational and intervention studies. Specific foods with reasonable evidence include salmon and other fatty fish for omega-3s, dark leafy greens for magnesium, and yogurt and fermented foods for gut microbiome support.
Does caffeine make anxiety worse?
For many people with anxiety, yes. Caffeine is a stimulant that activates the same physiological arousal pathways as the stress response. People with panic disorder are particularly sensitive to its anxiogenic effects. The FDA reports that up to 400 mg of caffeine daily is generally safe for healthy adults, but for those with anxiety disorders, even moderate amounts can worsen symptoms. Timing matters too: caffeine consumed within 6 to 8 hours of bedtime disrupts sleep, which independently worsens anxiety.
Does alcohol reduce anxiety?
Alcohol produces short-term anxiolytic effects by enhancing GABA activity in the brain. However, as blood alcohol levels drop, a rebound anxiety effect occurs that can be worse than baseline. Regular alcohol use also disrupts sleep architecture, which independently worsens anxiety. Using alcohol to manage anxiety creates a dependence pattern while making the underlying condition worse over time.
Can probiotics help with anxiety?
Emerging research is promising but not yet definitive. Certain probiotic strains have been associated with reduced anxiety symptoms in clinical trials, likely through gut-brain axis mechanisms including modulation of serotonin precursor production and HPA axis regulation. Fermented foods including yogurt, kefir, kimchi, and sauerkraut are a practical food-first approach while the supplement evidence continues to develop.
Should I change my diet instead of taking medication?
No. Dietary changes are a meaningful complement to clinical treatment, not a replacement. For diagnosed anxiety disorders, evidence-based treatments, including CBT, SSRIs, and medication management, are the primary intervention. Diet addresses biological vulnerabilities that can amplify symptoms and helps create conditions in which treatment is more effective. Both matter, and they work together.
Mental healthcare should stay with you between appointments.
SiggyMD combines daily check-ins with clinician-supervised care so your treatment plan can respond to what is actually happening.
Start anonymously. A real doctor reviews every clinical decision. HIPAA-compliant.