A healthy diet is important not just for the body, but also for the mind. Research shows that what is eaten can affect mood, stress, and the risk of depression and anxiety. This happens through several pathways, including the gut microbiome (the community of bacteria and other microbes in the digestive system) and the nutrients that support brain health.[1-6][8-27]
How does nutrition affect mental health?
• The brain needs a steady supply of nutrients to work well. Certain vitamins, minerals, and healthy fats help the brain make chemicals that control mood and thinking.[19][22-26]
• The gut and the brain are connected by the “gut-brain axis.” Signals travel back and forth between the gut and the brain, affecting mood, stress, and thinking.[3-6][8-15]
• The gut microbiome helps make important brain chemicals, like serotonin, which affects mood and feelings of happiness.[8-9][14]
• A healthy gut microbiome can reduce inflammation and help protect the brain. When the balance of gut bacteria is disturbed (called “dysbiosis”), it can increase the risk of depression, anxiety, and stress.[2-6][8-15]
What foods support a healthy mind and gut?
• Fruits and vegetables: High in fiber, vitamins, and antioxidants that feed good gut bacteria and protect the brain. Aim for a variety of colors and types every day.[2-8][11-13][18-19]
• Whole grains and legumes: Foods like oats, brown rice, beans, and lentils are rich in prebiotics—special fibers that help healthy gut bacteria grow.[2-8][11-13][18-19]
• Fermented foods: Yogurt, kefir, sauerkraut, kimchi, and other fermented foods contain probiotics—live beneficial bacteria that can help balance the gut microbiome.[2-11][13][20][28]
• Nuts and seeds: Provide fiber, healthy fats, and minerals that support gut and brain health.[2-3][5][11][13][18-19]
• Fatty fish (like salmon, sardines, and mackerel): Rich in omega-3 fatty acids, which help reduce inflammation and support both gut and brain health.[1-3][5][11][13][16-23][26]
• Olive oil: A healthy fat that is part of the Mediterranean diet, which is linked to better mental health and a healthier gut microbiome.[1-2][5][11][13][17-19]
Key micronutrients for mental health
• B vitamins (especially folate, B6, and B12): Important for making brain chemicals. Found in leafy greens, beans, whole grains, and animal products. Low levels are linked to higher risk of depression.[19][22-26]
• Vitamin D: Helps regulate mood and brain function. Low levels are linked to a higher risk of depression. Sunlight and foods like fatty fish, eggs, and fortified dairy can help.[16][19][22-26]
• Magnesium and zinc: Help with brain signaling and mood regulation. Found in nuts, seeds, whole grains, and beans. Deficiencies are linked to higher risk of depression and anxiety.[19][22-27]
• Iron and selenium: Support brain function and help prevent fatigue and low mood. Found in lean meats, beans, nuts, and seeds. Low levels are associated with increased risk of depression.[19][24-25][27]
• Omega-3 fatty acids (EPA and DHA): Found in fatty fish, walnuts, and flaxseed. These healthy fats reduce inflammation and support brain health. Supplementation may help reduce depressive symptoms, especially in people with low dietary intake.[1][16][19-23][26]
What foods can harm the gut microbiome and mental health?
• Diets high in processed foods, added sugars, and unhealthy fats can disturb the balance of gut bacteria and increase the risk of depression and anxiety.[2-3][5][8][11-13][18-19][28]
• Low-fiber diets can reduce the number of beneficial bacteria in the gut, which may negatively affect mood and stress levels.[5-8][11-13][18-19]
Can changing diet really help?
• Studies show that people who follow healthy eating patterns, like the Mediterranean or MIND diet, have a lower risk of depression, anxiety, and stress.[1-2][5-8][11][16-21]
• A recent clinical trial found that a high-prebiotic diet (rich in fiber) improved mood, anxiety, and sleep in adults with moderate psychological distress.[7]
• Probiotic supplements may help some people with depression, but eating a variety of fiber-rich and fermented foods is a good place to start.[5-7][9-11][13][20][26][28]
Tips for supporting gut and mental health:
• Eat a variety of fruits, vegetables, whole grains, and legumes every day.
• Include fermented foods like yogurt or sauerkraut regularly.
• Choose fatty fish or plant-based omega-3 sources (like flaxseed or walnuts) several times a week.
• Limit processed foods, sugary snacks, and drinks.
• Drink water instead of sugary drinks.
• If considering a vitamin or probiotic supplement, talk to a healthcare provider first.
Remember: Nutrition is just one part of mental health. Physical activity, sleep, stress management, and social support are also important.[19]
A healthy diet can help support a healthy gut—and a healthy mind.
This article is for informational purposes only and is not intended as medical advice. Before incorporating any of these suggestions, consult with a qualified healthcare professional. If you are seeking personalized guidance schedule a consultation with me—an integrative registered dietitian nutritionist (RDN)—to ensure you make safe and evidence-based choices.
Send me a secure message.
For your message to be secure, you must use the link that takes you to Mail Hippo. Please do not send messages directly to the email in the link. That is not secure on its own! Thank you!
Follow Me on Social Media
References
- Fond G, Young AH, Godin O, et al. Improving Diet for Psychiatric Patients : High Potential Benefits and Evidence for Safety. Journal of Affective Disorders. 2020;265:567-569. doi:10.1016/j.jad.2019.11.092.
- van Zonneveld SM, van den Oever EJ, Haarman BCM, et al. An Anti-Inflammatory Diet and Its Potential Benefit for Individuals With Mental Disorders and Neurodegenerative Diseases-a Narrative Review. Nutrients. 2024;16(16):2646. doi:10.3390/nu16162646.
- Martins LB, Braga Tibães JR, Sanches M, et al.Nutrition-Based Interventions for Mood Disorders. Expert Review of Neurotherapeutics. 2021;21(3):303-315. doi:10.1080/14737175.2021.1881482.
- Xiong RG, Li J, Cheng J, et al. The Role of Gut Microbiota in Anxiety, Depression, and Other Mental Disorders as Well as the Protective Effects of Dietary Components.
Nutrients. 2023;15(14):3258. doi:10.3390/nu15143258. - Randeni N, Xu B. Critical Review of the Cross-Links Between Dietary Components, the Gut Microbiome, and Depression.
International Journal of Molecular Sciences. 2025;26(2):614. doi:10.3390/ijms26020614. - Taylor AM, Holscher HD. A Review of Dietary and Microbial Connections to Depression, Anxiety, and Stress.
Nutritional Neuroscience. 2020;23(3):237-250. doi:10.1080/1028415X.2018.1493808. - Sălcudean A, Cîmpian DM, Popovici RA, et al. Dietary Habits and Their Influence on the Microbiome and Mental Health in Adolescents.
Nutrients. 2025;17(9):1496. doi:10.3390/nu17091496. - Suda K, Matsuda K. How Microbes Affect Depression: Underlying Mechanisms via the Gut-Brain Axis and the Modulating Role of Probiotics. International Journal of Molecular Sciences. 2022;23(3):1172. doi:10.3390/ijms23031172.
- Radford-Smith DE, Anthony DC. Prebiotic and Probiotic Modulation of the Microbiota-Gut-Brain Axis in Depression.
Nutrients. 2023;15(8):1880. doi:10.3390/nu15081880. - Marx W, Moseley G, Berk M, Jacka F. Nutritional Psychiatry: The Present State of the Evidence. The Proceedings of the Nutrition Society. 2017;76(4):427-436. doi:10.1017/S0029665117002026.
- Horn J, Mayer DE, Chen S, Mayer EA. Role of Diet and Its Effects on the Gut Microbiome in the Pathophysiology of Mental Disorders.Translational Psychiatry. 2022;12(1):164. doi:10.1038/s41398-022-01922-0.
- Bozzatello P, Novelli R, Montemagni C, Rocca P, Bellino S. Nutraceuticals in Psychiatric Disorders: A Systematic Review.
International Journal of Molecular Sciences. 2024;25(9):4824. doi:10.3390/ijms25094824. - Góralczyk-Bińkowska A, Szmajda-Krygier D, Kozłowska E. The Microbiota-Gut-Brain Axis in Psychiatric Disorders.
International Journal of Molecular Sciences. 2022;23(19):11245. doi:10.3390/ijms231911245. - Ye Z, Gao Y, Yuan J, et al.The Role of Gut Microbiota in Modulating Brain Structure and Psychiatric Disorders: A Mendelian Randomization Study. NeuroImage. 2025;315:121292. doi:10.1016/j.neuroimage.2025.121292.
- Raza ML, Hassan ST, Jamil S, Fatima W, Fatima M. Nutritional Interventions in Depression: The Role of Vitamin D and Omega-3 Fatty Acids in Neuropsychiatric Health.
Clinical Nutrition (Edinburgh, Scotland). 2025;45:270-280. doi:10.1016/j.clnu.2025.01.009. - Kamrani F, Kachouei AA, Sobhani SR, Khosravi M. Nourishing the Mind: How the EAT-Lancet Reference Diet (ELD) and MIND Diet Impact Stress, Anxiety, and Depression.
BMC Psychiatry. 2024;24(1):709. doi:10.1186/s12888-024-06165-5. - Ljungberg T, Bondza E, Lethin C. Evidence of the Importance of Dietary Habits Regarding Depressive Symptoms and Depression. International Journal of Environmental Research and Public Health. 2020;17(5):E1616. doi:10.3390/ijerph17051616.
- Zielińska M, Łuszczki E, Dereń K. Dietary Nutrient Deficiencies and Risk of Depression (Review Article 2018-2023). Nutrients. 2023;15(11):2433. doi:10.3390/nu15112433.
- Xu Y, Zeng L, Zou K, et al. Role of Dietary Factors in the Prevention and Treatment for Depression: An Umbrella Review of Meta-Analyses of Prospective Studies. Translational Psychiatry. 2021;11(1):478. doi:10.1038/s41398-021-01590-6.
- 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. 2019;81(3):265-280. doi:10.1097/PSY.0000000000000673.
- Hoepner CT, McIntyre RS, Papakostas GI. Impact of Supplementation and Nutritional Interventions on Pathogenic Processes of Mood Disorders: A Review of the Evidence.
Nutrients. 2021;13(3):767. doi:10.3390/nu13030767. - Tobin D, Vuckovic A, Sarris J. Targeting Divergent Pathways in the Nutritional Management of Depression. Nutrients. 2024;16(16):2806. doi:10.3390/nu16162806.
- Wang J, Um P, Dickerman BA, Liu J. Zinc, Magnesium, Selenium and Depression: A Review of the Evidence, Potential Mechanisms and Implications. Nutrients. 2018;10(5):E584. doi:10.3390/nu10050584.
- Majewska Z, Orywal K. Mineral Homeostasis and Depression: Implications for Prevention and Therapeutic Support-a Narrative Review. International Journal of Molecular Sciences. 2025;26(14):6637. doi:10.3390/ijms26146637.
- Firth J, Teasdale SB, Allott K, et al. The Efficacy and Safety of Nutrient Supplements in the Treatment of Mental Disorders: A Meta-Review of Meta-Analyses of Randomized controlled Trials. World Psychiatry : Official Journal of the World Psychiatric Association (WPA). 2019;18(3):308-324. doi:10.1002/wps.20672.
- Da W, Kang M, Wang H, et al. Associations of Dietary Mineral Intakes With the Risk of Six Common Mental Disorders: A Prospective Cohort Study. Journal of Affective Disorders. 2025;:120271. doi:10.1016/j.jad.2025.120271.
- Freijy TM, Cribb L, Oliver G, et al. Effects of a High-Prebiotic Diet Versus Probiotic Supplements Versus Synbiotics on Adult Mental Health: The “Gut Feelings” Randomised Controlled Trial. Frontiers in Neuroscience. 2022;16:1097278. doi:10.3389/fnins.2022.1097278.
- Offor SJ, Orish CN, Frazzoli C, Orisakwe OE. Augmenting Clinical Interventions in Psychiatric Disorders: Systematic Review and Update on Nutrition. Frontiers in Psychiatry. 2021;12:565583. doi:10.3389/fpsyt.2021.565583.