What is the relationship between diet and improvement of anxiety disorders (AD) and obsessive-compulsive disorder (OCD)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: February 25, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

Dietary changes focusing on anti-inflammatory foods and regular eating patterns can support the improvement of anxiety disorders (AD) and obsessive-compulsive disorder (OCD) symptoms, as evidenced by the most recent study in 2023 1.

Key Dietary Recommendations

  • Incorporate omega-3 rich foods like fatty fish (salmon, mackerel), walnuts, and flaxseeds to reduce inflammation and support brain health
  • Limit caffeine, alcohol, and refined sugars as these can trigger or worsen anxiety symptoms
  • Include complex carbohydrates such as whole grains, legumes, and vegetables to help maintain stable blood sugar levels, preventing mood fluctuations that can exacerbate anxiety
  • Fermented foods like yogurt, kefir, and sauerkraut support gut health, which is increasingly linked to mental wellbeing through the gut-brain axis
  • Magnesium-rich foods (dark leafy greens, nuts, seeds) and foods high in B vitamins (eggs, meat, leafy greens) can help regulate neurotransmitters that affect mood and stress response

Importance of Regular Eating Patterns

Establish regular eating patterns with meals every 3-4 hours to maintain stable blood sugar levels, which can help prevent mood fluctuations that can exacerbate anxiety symptoms, as suggested by the study in 2023 1.

Complementary Treatments

While diet alone isn't typically sufficient to treat moderate to severe anxiety or OCD, these changes can complement traditional treatments like cognitive behavioral therapy (CBT) 1 and medication, potentially enhancing their effectiveness and contributing to overall symptom management.

Considerations for Specific Diets

A low FODMAP diet may have some benefits for patients with irritable bowel syndrome (IBS) and co-occurring anxiety or depression, but its effectiveness for anxiety and OCD symptoms is limited, and it should be avoided in individuals with moderate to severe symptoms of anxiety or depression, as recommended by the study in 2023 1.

From the Research

Relationship Between Diet and Anxiety Disorders (AD) and Obsessive-Compulsive Disorder (OCD)

  • The relationship between diet and improvement of anxiety disorders (AD) and obsessive-compulsive disorder (OCD) has been studied in various research papers 2, 3, 4, 5, 6.
  • Omega-3 fatty acids have been shown to reduce anxiety symptoms and may have a therapeutic role in anxiety disorders 2, 3, 5.
  • A study on adjunctive eicosapentaenoic acid (EPA) in OCD found no significant effects on OCD symptoms 4.
  • Other dietary factors associated with reduced anxiety symptoms include:
    • Fruits and vegetables
    • "Healthy" dietary patterns
    • Caloric restriction
    • Breakfast consumption
    • Ketogenic diet
    • Broad-spectrum micronutrient supplementation
    • Zinc, magnesium, and selenium
    • Probiotics
    • Phytochemicals 6
  • Dietary factors associated with higher levels of anxiety include:
    • High-fat diet
    • Inadequate tryptophan and dietary protein
    • High intake of sugar and refined carbohydrates
    • "Unhealthy" dietary patterns 6
  • Further research is needed to fully understand the relationship between diet and anxiety disorders, particularly high-quality intervention studies involving participants with anxiety disorders 6.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Nutrition as Metabolic Treatment for Anxiety.

Frontiers in psychiatry, 2021

Research

A placebo-controlled cross-over trial of adjunctive EPA in OCD.

Journal of psychiatric research, 2004

Research

Omega-3 polyunsaturated fatty acids and anxiety disorders.

Prostaglandins, leukotrienes, and essential fatty acids, 2009

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.