Does What You Eat Impact Mental Health? A Dietitian Explains

Nutritional psychiatry looks at how food, nutrients and the gut microbiome affect brain health and emotional well-being. As a dietitian with over 20 years of experience, I’ll share key findings from this growing field, explain how the gut-brain axis works and offer six research-backed ways nutrition can support your mental health.

Nutrition

Published: Jul 14, 2025

Author

Julia Cassidy, MS, RD, CIEC, CEDS-C

The connection between what we eat and how we feel

We often think of food as fuel — something that gives us energy, gets us through the day or brings us joy. But more research shows that what we eat can influence our mood, thoughts and emotional well-being.

This growing field is called nutritional psychiatry, and since integrating this into care at Eating Recovery Center, I’ve seen the impact firsthand.

One parent with a child in our ARFID treatment program shared, “Since incorporating more brain-supportive nutrients, we’ve seen a real shift — our child’s mood is more balanced, and they seem more present in recovery."

In this article, I break down how nutrition affects mental health, highlight key research and share small changes that can make a meaningful difference.

What is nutritional psychiatry?

Nutritional psychiatry looks at how the food we eat — and the bacteria in our gut — affects our mental health. It focuses on how nutrients support brain function, help regulate mood and reduce stress in the body. It also explores how inflammation, the gut-brain axis and brain chemicals like serotonin and dopamine shape how we feel.

When someone isn’t getting the nutrition they need, it can affect everything from energy and focus to how well they respond to therapy.

Integrating nutritional psychiatry in mental health care can help us better support individuals struggling with anxiety, depression, eating disorders and other challenges.

Research shows how food, the gut microbiome and brain health are connected

These findings show the powerful role nutrition mental health research can play in healing, mood stability and long-term mental health.

  • 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.[1]
  • 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.[2]
  • Gut bacteria help produce brain chemicals like serotonin and dopamine — and about 95% of serotonin is made in the gut, suggesting that fiber and fermented foods can support the brain-gut connection.[1]
  • Eating fiber-rich foods tied to lower inflammation and better cognitive function in older adults.[3]
  • Early research suggests probiotics have been shown to reduce symptoms of anxiety and depression when used alongside other treatments.[2]
  • People living with serious mental health conditions often face barriers to nutrition, including financial strain, food insecurity and limited access to nourishing options.[4]
  • Nutrition-based interventions improve mental health symptoms, especially when combined with psychotherapy.[5]

Six powerful ways nutrition supports mental health

What we eat can shape how we feel, think and function. Here’s how.

1. Helps your brain make mood-regulating chemicals

Nutrition for brain health includes foods rich in B6, magnesium and tryptophan — along with omega-3s, zinc and iron. These help the brain make serotonin and dopamine, the “feel-good” neurotransmitters that support mood, focus and emotional steadiness.

2. Reduces anxiety, depression and rigid thinking

Meals with protein, fiber and certain fats can help keep blood sugar steady and reduce inflammation — easing the impact of anxiety, low mood and rigid thinking. Even a small addition like salmon, eggs or leafy greens can make a difference.

3. Strengthens the gut-brain connection

The gut and brain are in constant communication. When the gut is supported with prebiotics (e.g., garlic, onions, bananas) and fermented foods (e.g., yogurt, kimchi, kefir), people often notice improvements in digestion, mood and mental clarity.

4. Boosts energy and focus

Feeling tired or experiencing cognitive fog is often linked to low levels of nutrients. Eating iron-rich foods, magnesium-rich foods and omega-3s can help restore energy, memory and attention.

5. Helps rebuild trust in food and the body

Understanding how food supports the brain can make eating feel less overwhelming. For example, knowing that a yogurt parfait supports focus or that a bedtime snack may ease anxiety can reinforce the all-foods-fit approach and reframe how someone relates to food.

6. Reinforces that all foods have a role

All foods can play a role in healing. Even ice cream contains tyrosine, which helps produce dopamine — a brain chemical tied to motivation and pleasure. Sometimes the foods we crave for comfort are also part of what helps us feel better.

How gut health promotes mental well-being

The gut and brain are connected through the gut-brain axis — a network of nerves, hormones and immune signals that keeps them in constant communication.

When the gut is well nourished, the brain is more resilient. When the gut is inflamed, undernourished or stressed, mental health symptoms can worsen.

Here’s a quick breakdown.

Your gut microbiome is home to trillions of bacteria.

Some bacteria help you digest food. Others support brain function. When you’re eating a variety of nourishing foods, these bacteria thrive — supporting emotional balance, digestion and a more stable mood.

Disruptions in the gut can affect how you feel.

When your gut isn’t getting enough food or enough variety, the helpful bacteria can decline, digestion slows and symptoms like bloating, discomfort, brain fog and mood swings can increase. This can lead to stress and reinforce fears around food.

Some gut bacteria help regulate mood.

Your gut helps produce serotonin and dopamine — key brain chemicals tied to feeling calm, focused and emotionally steady. When the gut is out of balance, it’s harder for your brain to function at its best.

Fiber plays an important role.

When gut bacteria digest fiber, they produce compounds that protect your gut lining and support the brain. Low fiber means less of these helpful compounds and has been linked to higher anxiety and depression.

Stress and not eating enough can damage the gut lining.

This triggers inflammation throughout the body, which has been tied to more intense mood symptoms like irritability, anxiety and emotion dysregulation.

Caring for your gut supports physical and mental health.

Even small steps like eating regularly and integrating gut-supportive foods can help restore balance and support your mental health.

Try these foods to improve brain health

Intentional nutrition means making gentle, supportive food choices that help you feel more grounded. It’s not about eating perfectly. It’s about finding what helps you feel better.

Below, we list the potential benefits of key nutrients to support cognition and mental health.

NutrientPotential Benefits
Magnesium (beans, nuts, dark chocolate)Calms the nervous system, reduces anxiety and improves sleep
B vitamins (leafy greens, eggs, poultry)Crucial for maintaining mental energy, reducing brain fog and supporting mood regulation
Iron (beans, spinach, red meat)Can improve focus, mental clarity and cognitive function, especially in individuals with ADHD
Zinc (pumpkin seeds, seafood, eggs)Supports dopamine production and can enhance focus, motivation and hyperactivity — key areas often affected by ADHD

You don’t need to do it all. Just start with one or two supportive additions that feel manageable. Certain combinations can also increase effectiveness.

Food Combinations

Potential Benefits

Oats and bananas
Turkey sandwich

Provide carbohydrates and tryptophan, which help your brain produce serotonin. This supports steadier mood, better sleep and emotion regulation.

Beans and bell peppers
Spinach salad with clementine slices

Vitamin C helps your body absorb more iron, which can boost energy and focus.

Yogurt and bananas

Combines probiotics and prebiotics to support gut health, digestion and mood.

Salmon salad with chia seeds
Egg and vegetable scramble

Rich in omega-3s and choline, these nutrients support brain function, concentration and emotional balance.

Nutrition and mental health go hand in hand

At Eating Recovery Center and Pathlight Mood & Anxiety Center, we understand the impact of nutrition on mental health. That’s why our programs integrate nutritional psychiatry at every level of care with personalized plans that meet each person where they are.

If you or a loved one are dealing with disordered eating, schedule a free assessment or call 866-718-6695 to speak with our admissions team. We’ll listen to what you’re going through and help you take the next step toward healing.

Sources

  1. Horn, J., Mayer, D.E., Chen, S., & Mayer, E.A. (2022). Role of diet and its effects on the gut microbiome in the pathophysiology of mental disorders. Translational Psychiatry 12, 164. https://doi.org/10.1038/s41398-022-01922-0.

  2. Grajek, M., Krupa-Kotara, K., Białek-Dratwa, A., Sobczyk, K., Grot, M., Kowalski, O., & Staśkiewicz, W. (2022). Nutrition and mental health: A review of current knowledge about the impact of diet on mental health. Frontiers in Nutrition, 9, 943998. https://doi.org/10.3389/fnut.2022.943998.

  3. Adan, R.A.H., van der Beek, E.M., Buitelaar, J.K., Cryan, J.F., Hebebrand, J., Higgs, S., Schellekens, H., & Dickson, S.L. (2019). Nutritional psychiatry: Towards improving mental health by what you eat. European Neuropsychopharmacology, 29(12), 1321-1332. https://doi.org/10.1016/j.euroneuro.2019.10.011.

  4. Mudd, M. (2024). Special report: Using nutrition as a therapeutic modality. Psychiatric News, 60(1). https://doi.org/10.1176/appi.pn.2025.01.1.18.

  5. Marx, W., Manger, S.H., Blencowe, M., Murray, G., Ho, F.Y., Lawn, S., Blumenthal, J. A., Schuch, F., Stubbs, B., Ruusunen, A., Desyibelew, H.D., Dinan, T.G., Jacka, F., Ravindran, A., Berk, M., & O'Neil, A. (2023). Clinical guidelines for the use of lifestyle-based mental health care in major depressive disorder: World Federation of Societies for Biological Psychiatry (WFSBP) and Australasian Society of Lifestyle Medicine (ASLM) taskforce. The World Journal of Biological Psychiatry, 24(5), 333-386. https://doi.org/10.1080/15622975.2022.2112074.