Summary

Your gut and brain are in constant communication, and that connection may play a role in anxiety and depression. From serotonin production to microbial imbalances and inflammation, discover what the science says about the gut’s role in mental health, and what it means for you.

Could gut health hold the key? Test, don't guess. Learn more
Could gut health hold the key? Test, don't guess. Learn more

When anxiety feels like it came out of nowhere, or a low mood lingers longer than it should, it's natural to look at sleep, stress, or what's been going on in your life. Those things matter. But there's another piece of the puzzle that often goes unexamined: the trillions of microbes living in your gut.

Researchers are finding links between the gut microbiome and conditions like anxiety and depression, not as a cause, but as one thread in a complex system that connects your gut health to your mental health. 

In this blog, we'll walk through how your gut and brain communicate, what the research says about microbiome patterns in mental health, and how to tell if your gut health might be part of the picture.

What most people get wrong about mental health and the gut

If you've ever felt your stomach flip before a hard conversation, or noticed your digestion go sideways when you’re late for a meeting, that's not a coincidence. For a long time, anxiety and depression were framed as brain-only issues. Today, we know your gut, immune system, and nervous system all play a role in how you feel. Here are a few common myths you may have heard, including ones that miss the nuance in the science. 

‍

Myths vs. The Reality
Common myth The reality
Mental health issues start and end in the brain Your gut and brain are in constant two-way contact through the gut-brain axis, sending signals through your vagus nerve, immune system, and the compounds your microbiome produces
Serotonin is only a brain chemical Most serotonin is made in the gut, where it regulates digestion. Gut microbes may also influence mood-related pathways indirectly through metabolites and immune signaling
Digestive symptoms and mood symptoms are separate problems Bloating, irregular bowel movements, and poor microbial balance can all show up alongside mood-related symptoms and may share underlying causes
Stress only affects your mind Stress signals travel from your brain back down to your gut, where they can alter motility, microbial balance, and intestinal permeability
Gut issues and depression are always connected The relationship is real but not universal. Research shows consistent microbial patterns in people with depression, including fewer SCFA-producing bacteria and more pro-inflammatory species, though the gut isn't always part of the picture
Your microbiome goes back to normal once you feel better In some people with anxiety, microbial differences have been found to persist even after symptoms improved, though research is still ongoing

How the gut-brain axis affects mood

Your gut and brain are in constant contact through what is called the gut-brain axis. It's a two-way communication system: signals travel from your gut up to your brain, and your brain sends messages back down. Your microbial community is an active part of that exchange.

One of the main channels is your vagus nerve, which runs from your brainstem down through your chest and into your abdomen. It picks up chemical signals from your gut and relays them upward. The microbes in your intestines can influence what those signals say.

Your gut also produces neurotransmitters, the chemical messengers your brain relies on to regulate mood, focus, and motivation. You've probably heard of serotonin. Most people think of it as a brain chemical, but over 90% is actually produced in the gut, where it regulates digestion. The gut and brain each maintain their own separate supply, but your microbes may influence serotonin levels in both.

Gut bacteria also ferment dietary fiber to create compounds called short-chain fatty acids, or SCFAs. Butyrate is the best studied of these: it helps maintain the intestinal lining, supports immune balance, and appears to even influence brain functions. When the microbes that produce butyrate are in short supply, those benefits can start to fade.

Can your gut health affect anxiety and depression?

A healthy microbiome is diverse and relatively resilient. When that balance tips, the effects can reach well beyond digestion, and mental health is one area where researchers are seeing consistent signals.

Studies find that people with anxiety and depression tend to have: 

  • Lower abundance of SCFA-producing microbes, including Faecalibacterium, Coprococcus, and Butyricicoccus [1], [2], [3], [4]. An additional study found that plasma levels of the SCFA butyrate were also lower in individuals with depression [5]. 
  • Higher abundance of pro-inflammatory microbes like Eggerthella, Streptococcus, and Fusobacterium [1], [2], [3], [4], [6]. 

Diversity shifts are part of the picture, too. The research here is less uniform across studies [3], [4], [7], but a few patterns emerge. Which microbes are present, and in what proportions, tends to shift more reliably than overall number of species, particularly in depression [2], [8]. In anxiety, lower diversity was documented even after symptoms had improved, which raises the possibility that these microbial changes don't simply resolve when you start feeling better [9].

How inflammation and imbalances may affect your mental health

Inflammation is your immune system's response to a perceived threat. Short-term, it's protective. When it lingers at a low level over time, it can affect systems well beyond where it started.

A large study drawing on data from more than 150,000 people found that higher blood levels of CRP, a standard marker of immune activity, were associated with specific mental health symptoms: depressed mood, fatigue, disrupted sleep, appetite changes, and anxiety and irritability. A related molecule called IL-6 was more specifically tied to anhedonia, which is the loss of interest or pleasure in things you'd normally enjoy [10]. These associations suggest that ongoing immune activity may be one factor shaping your feelings of depression and anxiety.

Researchers now suggest that inflammation may define a subtype of depression in some people, and that biomarkers such as CRP and IL-6 may help identify it [11]. This subgroup may also respond differently to treatment, which could help explain why depression looks different from person to person [11]. 

Your gut is part of this story. When your intestinal lining becomes more permeable than it should be, bacterial fragments can pass into the bloodstream and trigger an immune response. Research in people with depression and bipolar disorder shows elevated levels of these markers: higher circulating LPS, a bacterial product that activates immune cells; zonulin, a protein associated with gut barrier function; and sCD14, a signal of systemic immune activity originating in the gut [12]. So if your gut is imbalanced it may be driving immune activity that affects how you feel. 

When gut conditions and mental health overlap

If you're living with inflammatory bowel disease (IBD), which includes Crohn's disease and ulcerative colitis, the connection between your gut health and your mental health may be hard to ignore. Both conditions involve chronic inflammation in the gut, and research consistently shows that people with IBD develop depression and anxiety at significantly higher rates than those without it [13].

In one large study of roughly 15,000 people with IBD, depression was diagnosed in about 14% of those with Crohn's disease and 13% of those with ulcerative colitis within five years, compared to about 10% in people without IBD. Anxiety followed a similar pattern [14]. A separate population study found that over six years, IBD patients developed anxiety at 12.2% versus 8.7% in a healthy population, and depression at 8.0% versus 4.7% [15]. This burden is greater during active flares than in remission [13].

Even without a chronic condition, repeated intestinal infections may raise the risk of later developing depression, anxiety disorders, and bipolar disorder, with the strongest effects in younger patients [16]. That doesn't mean gut disruption directly produces psychiatric conditions, but it does suggest that stress on the intestinal environment may have consequences for your overall health.

Signs your mental health symptoms may have a gut component

Anxiety and depression are complex, and the gut isn't always part of the picture. But some patterns are worth noting:

  • If your moodiness worsens with bloating, constipation, diarrhea, or nausea
  • If your mental health took a nosedive after a course of antibiotics, a bout of food poisoning, or a significant change in how you were eating
  • If you experience symptoms of depression alongside chronic fatigue, disrupted sleep, or signs of ongoing low-grade inflammation like brain fog, joint aches, or getting sick often

If several of these resonate, you may want to take a look at your gut health to rule out any imbalances that may be impacting your mental health.

How to test your gut health for deeper clues

There's no single explanation for anxiety or depression, and that's what can make it so tricky to treat. If you've been wondering whether your gut may be part of what's going on, a Tiny Health Gut Health Test can give you personalized insights into your microbiome and a clearer sense of where to go next. Share your results with your functional medicine doctor for targeted, whole-body care.

‍

What you should know

FAQ: Gut health and mental health

Can bad gut health cause depression?

Research hasn't shown that gut health directly causes depression. What studies do show is that people with depression tend to have a different microbiome makeup than those without it, with fewer bacteria linked to reducing inflammation and more linked to driving it. Whether those differences contribute to depression, result from it, or both is still being studied.

Can gut bacteria affect anxiety?

Studies find that people with anxiety tend to have lower levels of certain beneficial bacteria and higher levels of pro-inflammatory species, a pattern similar to what's seen in depression. In one cohort, these microbial differences persisted even after anxiety symptoms had improved, suggesting the connection isn't simply a stress response. Research is ongoing, but gut bacteria appear to be one factor in a larger picture.

What is the gut-brain axis?

Your gut-brain axis is the communication network between your gut and your brain. It runs in both directions. Signals travel through your vagus nerve, your immune system, and compounds your microbiome produces. Your microbes play an active role in this process, influencing everything from mood-related signaling to immune activity that can affect your brain.

Can leaky gut affect mental health?

When your gut lining becomes more permeable than it should be, small bacterial fragments can enter your bloodstream and activate your immune system. Studies of people with depression and bipolar disorder show elevated levels of markers tied to this process. That ongoing immune activation may be one way gut barrier disruption affects mood and mental health.

Can gut problems make my mental health worse?

They may. People with inflammatory bowel disease develop anxiety at significantly higher rates than those without it. The relationship likely runs both ways: gut disruption can affect the systems that regulate stress and mood, and anxiety can affect gut function in return.

‍

This information is for educational purposes only and is not a substitute for professional medical advice. Tiny Health tests and reports are provided for wellness and educational purposes only and are not intended to diagnose, treat, or cure any disease.

A Tiny Health Gut Health Test showing a gut health report on a phone app and printed PDF report

Trust your gut.

Get to know your microbes with an easy, 5-minute at-home test from Tiny Health. Unlock deep gut health insights and personalized recommendations for your diet, supplements, and lifestyle.

References

References

[1] R. T. Liu et al., “Reductions in anti-inflammatory gut bacteria are associated with depression in a sample of young adults,” Brain Behav. Immun., vol. 88, pp. 308–324, Aug. 2020.

[2] V. L. Nikolova, M. R. B. Smith, L. J. Hall, A. J. Cleare, J. M. Stone, and A. H. Young, “Perturbations in gut Microbiota composition in psychiatric disorders: A review and meta-analysis: A review and meta-analysis,” JAMA Psychiatry, vol. 78, no. 12, pp. 1343–1354, Dec. 2021.

[3] M. Gao et al., “Gut microbiota composition in depressive disorder: a systematic review, meta-analysis, and meta-regression,” Transl. Psychiatry, vol. 13, no. 1, p. 379, Dec. 2023.

[4] Y. Cao, Y. Cheng, W. Pan, J. Diao, L. Sun, and M. Meng, “Gut microbiota variations in depression and anxiety: a systematic review,” BMC Psychiatry, vol. 25, no. 1, p. 443, May 2025.

[5] C. Schiweck et al., “Circulating short chain fatty acids are associated with depression severity and predict remission from major depressive disorder,” Brain Behav. Immun. Health, vol. 48, no. 101070, p. 101070, Oct. 2025.

[6] D. Radjabzadeh et al., “Gut microbiome-wide association study of depressive symptoms,” Nat. Commun., vol. 13, no. 1, p. 7128, Dec. 2022.

[7] C. A. Simpson, C. Diaz-Arteche, D. Eliby, O. S. Schwartz, J. G. Simmons, and C. S. M. Cowan, “The gut microbiota in anxiety and depression - A systematic review,” Clin. Psychol. Rev., vol. 83, no. 101943, p. 101943, Feb. 2021.

[8] M. I. Butler et al., “The gut microbiome in social anxiety disorder: evidence of altered composition and function,” Transl. Psychiatry, vol. 13, no. 1, p. 95, Mar. 2023.

[9] H.-Y. Jiang et al., “Altered gut microbiota profile in patients with generalized anxiety disorder,” J. Psychiatr. Res., vol. 104, pp. 130–136, Sep. 2018.

[10] Y. Milaneschi et al., “Association of inflammation with depression and anxiety: evidence for symptom-specificity and potential causality from UK Biobank and NESDA cohorts,” Mol. Psychiatry, vol. 26, no. 12, pp. 7393–7402, Dec. 2021.

[11] A. H. Miller, “Advancing an inflammatory subtype of major depression,” Am. J. Psychiatry, vol. 182, no. 6, pp. 516–524, Jun. 2025.

[12] J. M. Safadi, A. M. G. Quinton, B. R. Lennox, P. W. J. Burnet, and A. Minichino, “Gut dysbiosis in severe mental illness and chronic fatigue: a novel trans-diagnostic construct? A systematic review and meta-analysis,” Mol. Psychiatry, vol. 27, no. 1, pp. 141–153, Jan. 2022.

[13] B. Barberio, M. Zamani, C. J. Black, E. V. Savarino, and A. C. Ford, “Prevalence of symptoms of anxiety and depression in patients with inflammatory bowel disease: a systematic review and meta-analysis,” Lancet Gastroenterol. Hepatol., vol. 6, no. 5, pp. 359–370, May 2021.

[14] C. Roderburg et al., “Association between inflammatory bowel disease and subsequent depression or anxiety disorders - A retrospective cohort study of 31,728 outpatients,” J. Psychiatr. Res., vol. 169, pp. 231–237, Jan. 2024.

[15] K. Choi et al., “Risk of anxiety and depression in patients with inflammatory bowel disease: A nationwide, population-based study,” J. Clin. Med., vol. 8, no. 5, p. E654, May 2019.

[16] C. Kang, S. W. Lee, H. Jung, and Y. Bae, “Psychiatric morbidity following intestinal infectious diseases: A nationwide cohort study in South Korea,” Stress Health, vol. 41, no. 5, p. e70103, Oct. 2025.

Optimize your family’s microbiome

Take the quiz and get 20% off