The Gut-Brain Axis: What Your Microbiome Has to Do With Anxiety and Depression

The Fact That Changes the Picture
Here is a number that tends to stop people mid-sentence: approximately 90 to 95 percent of the body's serotonin is produced not in the brain, but in the gastrointestinal tract. The neurotransmitter most commonly associated with mood, depression, and emotional regulation is, in its vast majority, a gut product.
This single fact does not mean depression is a digestive problem or that eating yogurt is a substitute for therapy. But it does signal something important: the brain and the gut are in constant, bidirectional communication in ways that mainstream mental health discourse has been slow to incorporate. The field that studies this relationship is young, sometimes overhyped, and rapidly maturing — and what it is discovering has genuine implications for how we understand and support mental health.
This article is an honest account of where the science stands, what it suggests practically, and where the claims exceed the evidence. A medical disclaimer applies throughout: nothing in this article constitutes medical advice, and any significant changes to diet, supplements, or treatment should be discussed with a qualified healthcare provider.
What the Gut-Brain Axis Actually Is
The gut-brain axis refers to the bidirectional communication network linking the enteric nervous system — sometimes called the «second brain» — with the central nervous system, including the brain. This network operates through several pathways:
- The vagus nerve: A major cranial nerve running from the brainstem through the thorax and into the abdomen. Approximately 80 to 90 percent of the fibers in the vagus nerve carry information from the gut to the brain — not the reverse, as many assume. This makes it an afferent highway, not a control cable. For more on this remarkable nerve, see our article on the vagus nerve and stress regulation.
- The enteric nervous system: A mesh of over 100 million neurons lining the gastrointestinal tract — more neurons than in the spinal cord — capable of functioning independently of the brain. It regulates digestion, immune function, and produces more than 30 neurotransmitters.
- Immune signaling: The gut contains approximately 70 percent of the body's immune cells. The microbiome shapes immune function, and immune activation is increasingly understood as a mechanism in depression and anxiety.
- Endocrine pathways: Gut cells produce hormones including serotonin, GLP-1, and peptide YY that influence appetite, mood, and cognitive function.
- The microbiome: The community of trillions of bacteria, fungi, viruses, and archaea living in the gastrointestinal tract, whose metabolic activity affects all of the above systems.
The Microbiome and Mental Health: What the Research Shows
The scientific foundation for the microbiome-mental health connection was substantially advanced by John Cryan's laboratory at University College Cork, whose 2019 review in Nature Reviews Neuroscience (Cryan et al.) remains among the most cited summaries of the field. Their germ-free mouse studies were particularly revealing: mice raised without any gut microbiome showed exaggerated stress responses, anxiety-like behavior, and altered brain chemistry — effects that could be partially reversed by introducing specific bacterial strains.
In humans, the research is more complex and more cautious.
Microbiome composition and mood disorders
Observational studies have found that people with depression and anxiety tend to show differences in microbiome composition compared to healthy controls — specifically, lower diversity and altered ratios of key bacterial groups. A large-scale Flemish Gut Flora Project analysis (Valles-Colomer et al., 2019, Nature Microbiology) examined over 1,000 individuals and found that two genera — Coprococcus and Dialister — were consistently depleted in people with depression, even after controlling for antidepressant use.
This is associational, not causal. It does not tell us whether altered microbiome causes depression, whether depression alters the microbiome, or whether a third variable affects both. Establishing causality in this field is extraordinarily difficult.
The inflammation link
One mechanism with solid grounding is the relationship between gut permeability, systemic inflammation, and depression. When the gut lining becomes more permeable (sometimes colloquially called «leaky gut,» a term that has been both appropriated by wellness culture and dismissed by clinicians who would do better to engage with the underlying biology), bacterial products including lipopolysaccharides can enter systemic circulation and activate immune responses.
Elevated inflammatory markers — particularly interleukin-6, TNF-alpha, and CRP — are consistently found in people with depression (Dowlati et al., 2010, Biological Psychiatry). Whether this is cause or consequence is debated, but the inflammation-depression link is one of the more robust findings in biological psychiatry, and the gut is a plausible driver of that inflammation.
The SMILES trial: diet and depression
The most rigorous clinical evidence for the diet-mental health connection comes from the SMILES trial (Supporting the Modification of lifestyle In Lowered Emotional States), published by Jacka et al. in 2017 in BMC Medicine. This randomized controlled trial in Australia assigned adults with moderate-to-severe depression either to dietary counseling (toward a Mediterranean-style diet) or to social support. After 12 weeks, the dietary intervention group showed significantly greater reductions in depression scores — 32% achieving remission compared to 8% in the social support group.
The SMILES trial does not tell us the mechanism — it could be microbiome effects, inflammation, nutrient status, or the behavioral engagement with food preparation. But it does demonstrate that dietary intervention has measurable effects on clinical depression beyond what social support alone provides.
Psychobiotics: Promise, Evidence, and Hype
The term «psychobiotic» was coined by Dinan, Stanton, and Cryan in 2013 to describe live organisms that, when ingested in adequate amounts, produce a mental health benefit. This is a narrower, more rigorous claim than «probiotics are good for mood» — and the distinction matters.
What strains have the best evidence
Lactobacillus rhamnosus (JB-1): In a landmark animal study (Bravo et al., 2011, PNAS), this strain reduced anxiety and depression-like behaviors in mice via vagal nerve pathways and altered GABA receptor expression — with effects absent in vagotomized animals, providing mechanistic support for the gut-vagus-brain pathway. Human trials have been less conclusive, with some showing modest anxiolytic effects and others showing no significant difference from placebo.
Bifidobacterium longum NCC3001: A randomized placebo-controlled trial by Pinto-Sanchez et al. (2017, Gastroenterology) found that this strain significantly reduced depression scores (though not anxiety scores) in patients with irritable bowel syndrome who had co-occurring depression. Neuroimaging also showed altered brain activity patterns consistent with reduced emotional reactivity.
Multi-strain combinations: A meta-analysis of probiotic trials in healthy populations (Pirbaglou et al., 2016, Nutrition) found a small but statistically significant improvement in depression and anxiety with multi-strain probiotics. Effect sizes were modest — probiotics are not antidepressants.
The honest summary: specific strains at specific doses show promising signals, particularly in people with existing gut dysfunction or inflammatory markers. The evidence is not yet strong enough to recommend specific probiotic products for mood improvement in the general population. The field is developing, not arrived.
Diet, Diversity, and What Actually Moves the Needle
Rather than focusing on individual probiotic strains, the most evidence-supported approach to supporting the gut-brain axis through diet involves overall dietary patterns that promote microbiome diversity.
Dietary fiber and short-chain fatty acids
Dietary fiber is fermented by gut bacteria into short-chain fatty acids (SCFAs) — particularly butyrate, propionate, and acetate — that have direct effects on the gut lining integrity, immune regulation, and the production of neurotransmitter precursors. Butyrate specifically has neuroprotective properties and supports the blood-brain barrier.
The Western diet — high in processed foods, refined sugars, and saturated fats, low in fiber and polyphenols — is actively harmful to microbiome diversity. Multiple large-scale studies link ultra-processed food consumption to higher rates of depression and anxiety (Lane et al., 2022, Public Health Nutrition).
Fermented foods
A randomized controlled trial by Wastyk et al. (2021, Cell) compared a high-fiber diet with a high-fermented food diet over 17 weeks in healthy adults. The fermented food group — consuming foods like yogurt, kefir, kimchi, kombucha, and fermented cottage cheese — showed significantly increased microbiome diversity and decreased inflammatory markers. The fiber group showed increased diversity only when baseline diversity was already high.
This is one of the most rigorous human intervention studies in the field and supports the role of fermented foods as more than cultural preference.
Practical dietary shifts with evidence
The following changes have the best support for microbiome and mental health outcomes:
- Increase variety of plant foods: Aim for 30+ different plant foods per week (vegetables, fruits, legumes, whole grains, nuts, seeds, herbs). Research by the American Gut Project found this to be the single strongest predictor of microbiome diversity.
- Include fermented foods daily: Not as a supplement, but as food — yogurt with live cultures, kefir, sauerkraut, kimchi, miso. Look for «live cultures» on labels, as pasteurization destroys bacteria.
- Prioritize prebiotic foods: Garlic, onions, leeks, asparagus, Jerusalem artichokes, bananas, and oats feed the bacteria you want to cultivate.
- Reduce ultra-processed food: The evidence linking ultra-processed food to depression and anxiety is more consistent than the evidence for any single probiotic.
- Consider omega-3 fatty acids: A meta-analysis by Mocking et al. (2016, Translational Psychiatry) found EPA-dominant omega-3 supplementation had antidepressant effects comparable to moderate pharmacotherapy in some populations. Fish, flaxseed, walnuts, and chia seeds are dietary sources.
What This Is Not
It would be a misreading of this field — and potentially harmful — to conclude that mental health conditions are fundamentally digestive problems solvable by diet.
Depression and anxiety are complex, multifactorial conditions. The gut-brain axis is one influence among many: genetics, life history, relationships, trauma, sleep, physical activity, and access to care all play significant roles. The SMILES trial achieved remission in 32% of participants through diet — which means 68% did not achieve remission.
For people with moderate-to-severe depression or anxiety disorders, dietary changes are best understood as adjunctive — potentially meaningful supports alongside evidence-based treatment, not replacements for it. If you are concerned about symptoms of either condition, the PHQ-9 assessment and GAD-7 assessment can provide structured information worth discussing with a mental health professional.
The gut-brain connection is real and important. It does not make psychiatry obsolete, and it does not make therapy unnecessary. What it does is expand our understanding of what influences mental health — and offer some modifiable factors that were not previously on the map.
When to Seek Professional Support
If you are experiencing persistent low mood, significant anxiety, changes in appetite or sleep, or other symptoms that are affecting your daily life, please reach out to a qualified mental health professional rather than relying solely on dietary self-management. A psychologist can help assess what is happening and connect you with appropriate support — which may well include guidance on lifestyle factors including diet, but within a comprehensive care context.
Key Takeaways
- The gut-brain axis is a bidirectional communication network involving the vagus nerve, the enteric nervous system, immune signaling, and the microbiome — not a simple up-down control system.
- Approximately 90-95% of serotonin is produced in the gut, not the brain — this does not mean mood disorders are gut problems, but it does indicate that gut function is relevant to neurochemistry.
- The SMILES trial (Jacka et al., 2017) provided the first rigorous clinical evidence that dietary intervention significantly reduces depression scores beyond social support alone.
- Specific probiotic strains (especially Lactobacillus rhamnosus JB-1 and Bifidobacterium longum NCC3001) show promising signals, but effect sizes are modest and evidence is not yet strong enough to recommend specific products as mental health treatments.
- The most evidence-supported dietary approach is variety: 30+ plant foods per week, fermented foods with live cultures, prebiotic-rich foods, and reduced ultra-processed food.
- Dietary changes are best understood as adjunctive to — not replacements for — evidence-based treatment for depression and anxiety disorders.
Think someone in your life could use this? Share it with them — a small gesture can make a big difference.
Understand your mental health baseline
Take our free validated assessments — PHQ-9, GAD-7, and PSS — to get a personalized picture of your current mental health status.
Stay up to date
Get new articles and mental health tips delivered to your inbox. No registration required.
No spam. Unsubscribe at any time.
You might also be interested in
Psychological Safety at Work: Why It's the Foundation of High-Performing Teams
Google's Project Aristotle found one factor above all others that determines team performance: psychological safety. Here's what it is, how to build it, and why it matters for your mental health at work.
Read more →Emotional Regulation: Beyond Just "Calming Down"
Emotional regulation is a skill — not a personality trait. Explore the window of tolerance, DBT tools, and polyvagal practices that actually work.
Read more →Midlife Crisis: The Psychology Behind Life's Most Misunderstood Transition
The 'midlife crisis' is real — but not in the way clichés suggest. Research shows a genuine U-shaped happiness curve in midlife and identifies specific psychological tasks that predict whether the transition leads to flourishing or stagnation.
Read more →