The Gut-Brain Connection — How Your Microbiome Affects Your Mind

Photo: DS stories / Pexels
The gut-brain axis is the two-way communication system between your digestive tract and your central nervous system. Signals travel along the vagus nerve, through immune cells, and through hormones and chemicals made by the trillions of microbes in your intestines. In mice, removing those microbes changes how the animals handle stress. In people, the picture is real but messier: some links are well supported, others rest on small trials and animal work. This article sorts the two.
Educational content, not medical advice. Talk to your doctor before changing any medication, treatment, or routine. Information here reflects current research but every person's situation differs.
A caution before the details. Headlines about the gut and the mind tend to jump from "microbes can influence the brain" to "fix your gut, fix your mood." The first statement is well supported. The second is not, at least not yet, and the gap between them is where most of the confusion lives.
Key takeaways
- The gut and brain communicate through at least four routes: the vagus nerve, the gut's own nervous system, immune signaling, and chemicals made by microbes.
- Animal studies show that gut microbes shape stress responses and behavior. Human studies mostly show associations, and results are smaller and less consistent.
- A 12-week randomized trial found that dietary improvement reduced depression scores in adults with major depression, but it enrolled only 67 people.
- Probiotics have evidence for some digestive conditions, according to the US National Center for Complementary and Integrative Health, and the benefit depends on the specific strain. For mood, the evidence consists mostly of small pilot studies.
- Microbiome test kits and "gut reset" products are not shown to guide mental-health treatment.
What the gut-brain axis is
Think of the axis as a road network rather than a single highway. Four main routes connect the gut and the brain, and traffic moves in both directions.
A 2019 review in Physiological Reviews by John Cryan and colleagues describes it this way: the gut microbiota communicate with the brain through the immune system, tryptophan metabolism, the vagus nerve, and the enteric nervous system, often via microbial metabolites (small molecules that microbes produce). The review also notes that early-life factors such as birth mode, infections, antibiotics, and diet shape the microbial community, that microbial diversity tends to decline with age, and that stress affects the axis across the lifespan.
| Route | What travels along it | Direction |
|---|---|---|
| Vagus nerve | Electrical signals between gut organs and the brainstem | Both ways |
| Enteric nervous system | Local reflexes controlling gut muscle and fluid movement | Mostly local, links to the brain |
| Immune system | Cytokines (immune signaling proteins) and immune cells | Both ways |
| Microbial and hormonal chemicals | Short-chain fatty acids, tryptophan products, serotonin, gut hormones | Mostly gut to body and brain |
The idea that the gut talks to the brain is old. Think of the knotted stomach before an exam. Harvard Health Publishing summarizes that anxiety can cause stomach problems and that gut problems can contribute to anxiety, with signals traveling in both directions. What is new is the evidence that the microbes living in the gut take part in that conversation.
The vagus nerve: the main wired connection
The vagus nerve is the longest of the cranial nerves, running from the brainstem down through the neck and chest to the abdomen. It is a two-way cable: some fibers carry commands from the brain to organs, and others carry sensory information back up. A large share of the traffic is sensory, which means the brain receives a running report on the state of the gut.
One way to see what the vagus does is to cut it. Surgeons used to sever the vagus nerve (a vagotomy) to reduce stomach acid in ulcer patients, which created a natural experiment. A 2017 Swedish register study in Neurology by Bojing Liu and colleagues compared 9,430 people who had had a vagotomy with 377,200 matched controls and followed them for Parkinson's disease. Overall, vagotomy was not associated with Parkinson's risk (hazard ratio 0.96). Among people who had a truncal vagotomy (a cut of the main trunks), there was a nonsignificant trend toward lower risk, which became statistically significant when the surgery had been at least five years earlier. The authors called the findings suggestive, not conclusive. The result illustrates the care needed in this field: an intriguing signal, a mixed overall picture, and no firm conclusion.
The enteric nervous system: a second brain, with an asterisk
Embedded in the wall of your intestines is the enteric nervous system, a dense mesh of neurons that can run digestion with considerable independence from the brain. John Furness's 2012 review in Nature Reviews Gastroenterology & Hepatology describes how it controls gut muscle activity and fluid movement across the lining, and how it uses many chemical messengers, which gives drug developers many potential targets.
The media nickname "second brain" captures the autonomy but oversells the rest. The enteric system manages digestion, such as pushing food along and moving fluid. It does not hold thoughts, memories, or feelings in any sense comparable to the brain's. Treat the phrase as a metaphor for independence, not a claim about gut cognition. When the enteric system malfunctions, the consequences are physical and sometimes serious: Furness lists Hirschsprung disease and Chagas disease as enteric neuropathies that can be life-threatening.
For the broader mechanics of how neurons signal each other, see How Neurotransmitters Work. For the digestive tract itself, see How Digestion Works: The Gut, Microbiome, and the Second Brain.
Who lives in your gut
Your intestines host a large and diverse microbial community. A 2016 estimate by Ron Sender, Shai Fuchs, and Ron Milo in PLoS Biology put the number of bacterial cells in a 70-kilogram reference adult at about 38 trillion (3.8 × 10^13), and the ratio of bacterial to human cells at about 1.3 to 1, with roughly 25% uncertainty. The authors argued that this replaces the older and often repeated claim of ten bacterial cells for every human cell. Most of those bacteria live in the colon.
What do they do that could matter for the brain? Four activities come up repeatedly in the research literature:
- Fermenting fiber into short-chain fatty acids. Bacteria break down fibers that human enzymes cannot digest, and the products include short-chain fatty acids (SCFAs) such as butyrate. Researchers have studied these as signaling molecules with effects on gut lining, immune cells, and possibly the brain.
- Shaping tryptophan metabolism. Tryptophan is an amino acid that the body can convert into serotonin or divert into other pathways. Microbes influence which path dominates, according to the Cryan review.
- Training the immune system. The gut is a major site of immune activity, and microbial signals help calibrate it.
- Influencing serotonin production in the gut. A 2015 paper in Cell by Jessica Yano and colleagues reported that spore-forming bacteria from mouse and human microbiota increase serotonin production by enterochromaffin cells in the colon, and that these microbial effects influence gut motility and platelet function. The paper notes that most of the body's serotonin is in the gut.
Gut serotonin is not brain serotonin
Because most of the body's serotonin is made in the gut, people often assume gut microbes directly regulate mood chemistry. That leap is not supported. Serotonin made in the intestine acts mainly on the gut itself and on blood platelets, and it does not simply flow into the brain, which makes its own supply. The Yano paper tied gut-made serotonin to motility and platelet function, not to mood. The gut's serotonin story is real, but its link to mood is indirect at best.
What animal studies show, and why they are not the last word
Much of the excitement about the axis comes from animals.
In 2004, Nobuyuki Sudo and colleagues in The Journal of Physiology compared germ-free mice (raised with no microbes), normal mice, and mice colonized with specific bacteria. Germ-free mice released much more of the stress hormones ACTH and corticosterone when restrained, and had lower levels of a growth-supporting brain protein, BDNF, in the cortex and hippocampus. Giving germ-free mice the bacterium Bifidobacterium infantis reversed the exaggerated stress response, and giving normal microbiota early in life partly corrected it while later exposure did not. The authors concluded that microbes acquired after birth help the stress-response system develop.
In 2016, John Kelly and colleagues in the Journal of Psychiatric Research compared 34 people with major depression to 33 healthy controls, found that the depressed participants had less diverse gut microbial communities, and then transferred microbes from depressed patients into microbiota-depleted rats. The rats developed depression-like traits, including reduced pleasure-seeking and anxiety-like behavior, along with altered tryptophan metabolism. The authors suggested that gut microbes may play a causal role in depression.
These studies are important, but they carry limits that matter:
- Mice and rats are not people. Rodent stress tests, such as how long a mouse struggles, are rough stand-ins for human mood disorders.
- Germ-free animals are an extreme condition. Having no microbes at all is unlike having a slightly different mix of microbes.
- A transfer experiment shows possibility, not prevalence. That depressed patients' microbes can change a rat's behavior does not mean microbes cause most human depression.
An analogy helps. Animal studies are like wind-tunnel tests of an aircraft design: they show that a mechanism can work under controlled conditions, but only flight tests show how it behaves in the real world. For the human neurochemistry that these studies approximate, see Depression: The Neuroscience Behind It and Anxiety Explained.
What human research shows: a scorecard
Here is the state of play, sorted by how well each claim holds up.
| Claim | Strength of evidence | Why |
|---|---|---|
| Gut and brain exchange signals in both directions | Strong | Anatomy, physiology, and decades of clinical observation |
| Gut microbes influence stress-response development in animals | Strong in rodents | Germ-free and colonization experiments such as Sudo 2004 |
| Microbiome composition differs in some groups of people with depression | Moderate (association) | Case-control studies such as Kelly 2016, which cannot show cause |
| Dietary improvement can reduce depressive symptoms | Promising, small trials | SMILES trial, 67 participants |
| Specific probiotics help depression or anxiety | Preliminary | Small pilot trials; mixed results |
| Fecal transplants treat depression | Preliminary | Few trials; one recent trial's main remission outcome was not significant |
| A particular microbe causes a particular mental state | Weak | Not established in humans |
| "Heal your gut, fix your anxiety" | Not supported | Oversimplifies a multi-factor condition |
The key point is the difference between association and causation. Finding that people with depression have different gut communities does not tell you which came first. Depression can change eating, sleep, and medication use, and all of those can change the microbiome. The causal arrow may run in either direction, or both.
Diet, depression, and the SMILES trial
If gut microbes matter for mood, diet is an obvious lever, since diet shapes what microbes eat. Direct evidence is limited, but one randomized trial is often cited.
The SMILES trial, by Felice Jacka and colleagues in BMC Medicine in 2017, was a 12-week, single-blind randomized trial in adults with moderate to severe depression. It enrolled 67 people: 33 received seven sessions of nutrition counseling from a clinical dietitian focused on improving diet quality, and 34 received matched social-support sessions. At 12 weeks, the diet group improved significantly more on a standard depression scale (the MADRS). Remission, defined as a MADRS score below 10, was 32.3% in the diet group versus 8.0% in the control group, with a number needed to treat of about four. Most participants (55 of 67) were also receiving some other therapy.
There are two ways to read this result. On one hand, a randomized design reduces the chance that the difference came from something other than the intervention, and the effect was large. On the other hand, the trial was small, the confidence interval for the number needed to treat was wide (2.3 to 27.8), people knew which group they were in, and the study cannot say whether the benefit came through the microbiome or through other routes such as better nutrition, structure, or attention from a dietitian. The authors themselves concluded that dietary improvement "may" be an effective, accessible treatment. That is a hypothesis to test in larger trials, not a settled treatment.
For related topics, see The Science of Mental Health: What We Actually Know.
Fermented foods and fiber: what a controlled study found
A 2021 study from Stanford researchers led by Hannah Wastyk, in Cell, offers something close to a controlled look at how diet changes the microbiome and immune system in healthy adults. In a 17-week randomized study with 18 participants per diet arm, one group increased dietary fiber from plants and another increased fermented foods.
The fermented-food group's microbiome diversity rose steadily, and inflammatory markers fell. The high-fiber group increased microbial genes for enzymes that break down plant carbohydrates, but its overall diversity stayed stable, and the study's primary outcome (a cytokine response score) did not change. The fiber group also split into three distinct immune patterns, which matched participants' baseline microbial diversity. The authors suggested that fermented foods might help counter the declining diversity and rising inflammation common in industrialized societies.
Two caveats apply. The study was small and in healthy people, so it says nothing about treating depression. And the outcomes were microbiome and immune markers, not mood.
A larger observational project points in a similar direction. The American Gut project, described in mSystems in 2018 by Daniel McDonald, Rob Knight, and colleagues, analyzed stool samples from more than 10,000 citizen scientists. It linked the microbiome and its chemical products to the variety of plants people eat, rather than to broad labels such as "vegan." Observational data of this kind show correlation: people who eat more varied diets may differ in many other ways.
| Dietary pattern | What research shows | Limits |
|---|---|---|
| Fermented foods | Increased microbiome diversity and decreased inflammatory markers in a 17-week trial of healthy adults | Small trial; not tested for mood |
| High plant fiber | Changed microbial enzymes; immune effects varied by person | Primary outcome unchanged |
| Varied plant intake | Associated with microbiome and metabolome differences in 10,000+ people | Observational |
| Improved overall diet quality | Reduced depression scores in a 12-week trial with 67 people | Small; mechanism unknown |
Probiotics: what the evidence supports
Probiotics are live microorganisms sold as supplements or added to foods. The US National Center for Complementary and Integrative Health (NCCIH) offers a sober summary. It reports that probiotics have been associated with benefits for several conditions, with strength varying: some evidence for preventing antibiotic-associated diarrhea (a 2017 review linked probiotics to about half the likelihood, though NCCIH called the conclusion tentative), reducing C. difficile risk in people taking antibiotics, ulcerative colitis when added to standard treatment, and possible benefit for global symptoms and abdominal pain in irritable bowel syndrome, with no firm conclusions. NCCIH found no benefit for Crohn's disease.
Two points from NCCIH matter most for the gut-brain question. First, effects are strain-specific: that one Lactobacillus strain helps a condition does not mean another will, and for most conditions it remains unknown which probiotics help, at what dose, and for whom. Second, mood and depression are not among the conditions NCCIH's page lists as having evidence of benefit.
That does not mean no one has studied it. A pilot trial reported in BJPsych Open in 2023 tested an 8-week multi-strain probiotic added to antidepressants in 49 adults with major depression (24 on probiotic, 25 on placebo). The probiotic group showed greater improvement in depression and anxiety scores, beginning as early as week 4, with no serious adverse reactions. But it was a pilot, it included few participants, and it was published as a conference-style abstract. The authors concluded that it justified further study, not that probiotics treat depression.
Safety deserves a mention. NCCIH says probiotics have a long history of apparently safe use, mainly in healthy people, but the risk is higher in people with severe illness or weakened immune systems, and the FDA has warned about severe or fatal infections in premature infants who receive probiotics. Many probiotics are sold as dietary supplements, which do not need FDA approval before marketing, and product labels may contain contaminants not listed. Anyone considering a probiotic, particularly with an existing health condition, should discuss it with a clinician.
Fecal transplants
Fecal microbiota transplantation (FMT) moves processed stool from a donor into a patient to change their gut community. It is established for recurrent C. difficile infection, but depression is an experimental use. A 2026 randomized, double-blind trial in Cell Host & Microbe added FMT capsules to the antidepressant escitalopram for two weeks. The primary outcome, remission at week 8, did not differ significantly between groups, although the FMT group had larger reductions in a depression rating scale (HAMD-17) at weeks 2 and 8. A 2026 meta-analysis in the Journal of Affective Disorders pooled eight studies with 532 participants and reported a large average effect on depressive symptoms (Hedges' g of -0.81), but with substantial heterogeneity and few studies. In short, FMT for depression is a research question, not a treatment option.
Gut-brain conditions: IBS and beyond
Irritable bowel syndrome
IBS is the clearest clinical example of the axis at work. Harvard Health Publishing describes functional gastrointestinal disorders as problems without an obvious physical cause, in which stress and emotion must be considered in treatment. People with these disorders may feel gut pain more intensely because their brains respond more strongly to gut pain signals. The same article notes that several studies found psychologically based approaches improved digestive symptoms more than conventional medical treatment alone. That does not mean IBS is imaginary. It means the symptoms arise partly from how the gut and brain regulate each other. For a deeper look, see The Biology of IBS: How the Gut-Brain Axis Actually Works.
Parkinson's disease
Constipation often appears years before the movement symptoms of Parkinson's disease, and one proposal, the Braak hypothesis, suggests the disease may begin in the gut and travel to the brain along the vagus nerve. The vagotomy study above gives partial support at best: no overall link, a possible protective trend in one subgroup. Researchers continue to debate whether Parkinson's has a gut origin in some or all patients.
Alzheimer's disease, autism, and other conditions
The Cryan review lists the gut microbiota as implicated in autism, anxiety, obesity, schizophrenia, Parkinson's disease, and Alzheimer's disease, and notes that animal studies have connected microbial activity to processes such as neurogenesis, myelination, and activation of the brain's immune cells (microglia). "Implicated" is the right word: a topic of active study, with human mechanisms still being worked out. For the disease itself, see Alzheimer's Disease: The Biology Behind the Decline.
Vagus nerve stimulation: proof that the nerve matters
The NIMH describes vagus nerve stimulation (VNS) as a treatment in which a stopwatch-sized pulse generator implanted under the skin in the upper left chest sends electrical pulses along a lead to the left vagus nerve. In 2005 the FDA approved surgical VNS for depression. It is intended for adults whose depression has lasted two or more years, is severe or recurrent, and has not eased after at least four other treatments. NIMH says VNS is "not intended as a first-line treatment," that results are mixed, and that some patients see no benefit, with benefits sometimes taking months to appear. Common side effects include voice changes, cough, and neck pain.
VNS shows that stimulating the vagus can change brain function in some people. It does not show that gut microbes act through the same mechanism, and noninvasive forms of vagal stimulation are not FDA-authorized for depression, according to NIMH, and remain experimental.
Common misconceptions
"Heal your gut to fix your anxiety." The axis is real, but anxiety has many contributors, including genetics, life events, sleep, and medical conditions. The microbiome is one factor under study. Nothing in the human literature supports treating a gut-focused regimen as a replacement for evidence-based mental health care.
"90% of serotonin is made in the gut, so the gut controls mood." Most of the body's serotonin is in the gut, per the Yano paper, but it acts largely on the gut and platelets. The brain makes its own.
"You have ten times more bacterial cells than human cells." The 2016 reanalysis by Sender and colleagues put it closer to 1.3 to 1.
"Probiotics are good for everyone." NCCIH says effects differ by product and condition, and for most conditions it is unknown which probiotics help.
"A stool test can diagnose your gut-brain health." Commercial microbiome tests report which microbes are present, but there is no accepted way to turn that list into mental-health advice. Large differences between healthy people (American Gut found an unexpectedly wide range) make a single sample hard to interpret.
What researchers still do not know
Several large questions remain open:
- Cause versus effect. Do microbiome differences contribute to depression, result from it, or both?
- Which microbes, which molecules. Most human studies describe communities. Few identify specific microbial products that reach the brain and change its function.
- Individual variation. The Wastyk trial found that the same high-fiber diet produced three different immune patterns depending on baseline microbiome diversity, which suggests that "one best diet" is unlikely.
- Durability. Most trials last weeks to a few months, while mood disorders unfold over years.
- Dose and strain. For probiotics and FMT, it is not clear which strains, which doses, or which patients matter most.
For related reading on the gut and microbes more broadly, see The Gut Microbiome Explained and Microbiome Research: Bacteria in Human Health.
Frequently asked questions
Q: What is the gut-brain axis? A: It is the two-way communication network between the digestive tract and the central nervous system. A 2019 review in Physiological Reviews describes signaling through the immune system, tryptophan metabolism, the vagus nerve, and the enteric nervous system, often carried by molecules that gut microbes produce.
Q: Can gut bacteria cause depression? A: Not shown in humans. In 2016 researchers found depressed people had less diverse gut microbes and that transferring those microbes to rats produced depression-like behavior, but the human data are associations, and the direction of cause is unknown.
Q: Will changing my diet help my mood? A: Evidence is early. One 12-week trial with 67 adults found that a dietary improvement program reduced depression scores more than social-support sessions, with 32.3% versus 8.0% remission. It was small and cannot show the microbiome was responsible. Diet is not a substitute for treatment prescribed by a clinician.
Q: Do probiotics work for anxiety or depression? A: The evidence is preliminary. NCCIH does not list mood conditions among those with supported benefit, and effects are strain-specific. A small 2023 pilot of 49 adults with depression found greater symptom improvement with a multi-strain probiotic added to antidepressants, and its authors called for more research.
Q: Is the enteric nervous system really a second brain? A: Only as a metaphor. It is a network of neurons in the gut wall that controls digestion, including muscle movement and fluid transport, with considerable independence. It does not think or feel in the way the brain does.
Q: Should I take a microbiome test? A: Such tests list the microbes in a stool sample, but no accepted standard converts those results into diagnoses or treatment. People with persistent digestive or mood symptoms are generally better served by an evaluation from a healthcare professional.
Q: Does vagus nerve stimulation work for depression? A: According to NIMH, the FDA approved surgical VNS for depression in 2005 for people with long-lasting, treatment-resistant illness. Results are mixed, and it is not a first-line treatment. Noninvasive vagal stimulation is not FDA-authorized for depression.
The takeaway
The gut-brain axis is not a wellness slogan. It is a documented set of physical connections, and the best experiments in animals show that microbes can alter stress physiology. What the human evidence supports is narrower: the axis matters for conditions such as IBS, diet quality may influence mood in ways trials are only beginning to test, and several microbiome-based treatments are being studied. What it does not yet support is a precise recipe linking a specific microbe to a specific mental state, or a supplement that reliably treats a mental-health condition. The most useful way to read new gut-brain headlines is to ask three questions: was it done in people, did it include a control group, and did it measure mood or only microbes?
Sources
- Cryan JF, et al. "The Microbiota-Gut-Brain Axis." Physiological Reviews 99(4), 2019.
- Sender R, Fuchs S, Milo R. Revised Estimates for the Number of Human and Bacteria Cells in the Body. PLoS Biology, 2016.
- Jacka FN, et al. A randomised controlled trial of dietary improvement for adults with major depression (the "SMILES" trial). BMC Medicine 15:23, 2017.
- Wastyk HC, et al. Gut-microbiota-targeted diets modulate human immune status. Cell 184(16), 2021.
- National Center for Complementary and Integrative Health. Probiotics: Usefulness and Safety.
- National Institute of Mental Health. Brain Stimulation Therapies.
- Harvard Health Publishing. The Gut-Brain Connection.
- Also consulted: Yano JM, et al., Cell 161(2), 2015; Sudo N, et al., J Physiol 558, 2004; Kelly JR, et al., J Psychiatr Res 82, 2016; Liu B, et al., Neurology 88(21), 2017; Furness JB, Nat Rev Gastroenterol Hepatol 9, 2012; McDonald D, et al., mSystems 3(3), 2018.
Related Reading
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

The Science of Exercise — Why It Works and How Much You Actually Need
Exercise is the closest thing we have to a wonder drug. Here's how it actually changes your body and brain — and the realistic minimum that gives you most of the benefit.

How Does DNA Work? The Molecular Blueprint of Life Explained
DNA is the instruction manual for every living thing. Here's how its four-letter code builds proteins, copies itself, and passes traits from parent to child — explained in plain language.

How the Gut Microbiome Affects Mental Health
Your gut microbiome influences your brain through the vagus nerve, immune signaling, and microbial chemistry. Here is what the mechanisms, the animal work, and the human trials actually show, and where the evidence stops.

Why We Get Butterflies in Stomach — Science
The gut-brain axis explained: why nervousness, excitement, and love all produce the same fluttery stomach sensation through the vagus nerve and fight-or-flight.

Microbiome Research: Bacteria in Human Health Explained
How understanding the microbiome revealed that trillions of bacteria impact health and disease

The Science of Focus — Attention in the Age of Distraction
Attention is not one ability but a set of brain systems with hard limits. Here is what neuroscience and psychology have actually measured about focus, interruptions, and training attention.