Science October 15, 2026

How the Gut-Brain Axis Works

A 6-minute read

A chemical hotline runs from your stomach to your brain, and most of the signals travel upward. The microbes living in your gut are doing the dialing.

The gut-brain axis is the name for a measurable, ongoing conversation between what lives in your intestines and what thinks inside your skull.

The conversation does not happen through thoughts. It happens through chemistry, nerve signals, and immune messengers, and most of the traffic flows upward, from the gut to the brain, not the other way around.

The short answer

The gut-brain axis is a two-way communication system linking the central nervous system, the enteric nervous system (the gut’s own neural network), and the trillions of microbes living in the digestive tract. Signals travel through the vagus nerve, the immune system, microbial metabolites, and hormones. The microbes do not think, but they shape which chemicals reach the brain, and that shapes mood, appetite, and stress responses.

The full picture

The enteric nervous system: 500 million neurons you never think about

Your gut has its own nervous system, the enteric nervous system (ENS), embedded in the lining of the esophagus, stomach, and intestines. It contains around 500 million neurons, more than the entire spinal cord. The ENS controls peristalsis (the muscular wave that pushes food through), enzyme secretion, and local blood flow without any input from the brain. This is why a severed spinal cord patient can still digest food.

What the ENS cannot do is think or feel emotion. The popular “second brain” framing is misleading. The ENS handles a sophisticated reflex repertoire, but it is not conscious. The phrase survives because of a 1998 Michael Gershon book title, not because the gut has cognition.

The ENS does, however, send constant status reports upward through the vagus nerve, the longest cranial nerve in the body, which wanders from the brainstem down through the neck, into the chest, and terminates in the abdomen. About 80% of vagus fibers are afferent, meaning they carry information from the gut to the brain, not the reverse.

The vagus nerve: the physical hotline

The vagus nerve is the most direct physical connection between gut and brain. When gut cells detect stretch (a full stomach), inflammation, or specific chemical signals, they fire action potentials that travel up the vagus into the brainstem, which relays the information to the thalamus, insular cortex, and hypothalamus.

In 2011, a study in PNAS by Bravo et al. showed that mice fed Lactobacillus rhamnosus had lower stress-induced corticosterone and altered GABA receptor expression, and that in mice with the vagus nerve cut the behavioral and most neurochemical effects disappeared. The study measured mRNA rather than protein and used a single bacterial strain in mice. The microbes were not crossing into the brain; they were dialing the vagus, and the vagus was doing the talking.

This is the central insight of the modern field: microbes do not directly talk to the brain. They change the chemical environment in the gut, the gut’s neural cells respond, and the vagus carries the response upward.

Microbial metabolites: short-chain fatty acids and neurotransmitter precursors

When gut bacteria ferment dietary fiber, they produce short-chain fatty acids (SCFAs): butyrate, propionate, and acetate. These molecules cross the gut lining into the bloodstream and can reach the brain. Butyrate is a particularly active molecule; it strengthens the gut barrier, reduces inflammation, and can cross the blood-brain barrier.

Other microbes produce neurotransmitter precursors directly. Certain Lactobacillus and Bifidobacterium strains convert tryptophan into kynurenine pathway metabolites that influence serotonin availability. Some Bacillus and Serratia species produce dopamine precursors. These chemicals rarely enter the brain in large amounts because the blood-brain barrier blocks them, but they act locally on the enteric nervous system and vagus nerve endings, which then send signals upward.

A 2019 review in Physiological Reviews by Cryan and colleagues describes the main communication routes between gut microbes and the brain, including the immune system, tryptophan metabolism, the vagus nerve, and the enteric nervous system.

The immune system: silent inflammation and mood

Roughly 70% of the body’s immune cells live in the gut, packed into structures called gut-associated lymphoid tissue (GALT). When the gut barrier becomes “leaky” (a contested but increasingly studied condition sometimes called intestinal hyperpermeability), bacterial fragments like lipopolysaccharide (LPS) leak into the bloodstream and trigger low-grade systemic inflammation.

This matters for mood because inflammatory cytokines cross the blood-brain barrier and activate microglia, the brain’s resident immune cells. Activated microglia reduce serotonin production and increase kynurenine pathway activity, which can produce metabolites that are neurotoxic at high concentrations.

The gut-brain axis is not the only source of this inflammation, but it is one of the most modifiable, because diet, sleep, and antibiotics all reshape the gut microbial community.

Stress, the HPA axis, and the feedback loop

The hypothalamic-pituitary-adrenal (HPA) axis is the body’s stress system. When the brain perceives threat, it releases cortisol, which suppresses digestion and immune function. Cortisol also alters gut motility, mucus production, and microbial composition, which means stress changes which bacteria thrive in your gut.

Those bacteria then produce different metabolites, which signal back through the vagus and immune system, which influences how the HPA axis responds to the next stressor. This is a feedback loop, and a 2004 study by Sudo et al. in the Journal of Physiology found that germ-free mice (mice raised without gut bacteria) released more ACTH and corticosterone after restraint stress than conventionally colonized mice. Colonizing them with fecal bacteria corrected the response only when it was done early in life.

The result suggests that early microbial exposure helps the stress system develop normally in mice. It does not show the same in people.

Why it matters

The gut-brain axis reframes a set of conditions that medicine has historically treated as purely neurological or purely psychiatric. Depression, anxiety, irritable bowel syndrome, and even some forms of autism spectrum disorder are now understood as conditions where the gut-brain communication channel is part of the picture, not separate from it.

For the average person, the practical consequence is small but real. A diet rich in fiber, fermented foods, and polyphenols supports a more diverse microbiome, which produces more butyrate and fewer inflammatory byproducts. The effect on mood is not dramatic. Dietary interventions appear to improve depressive symptoms by a small to moderate effect, which is meaningful but not a substitute for therapy or medication in clinical depression.

Evidence that specific probiotic strains improve mood in people is limited, and the Bravo and Sudo studies above were done in mice.

Common misconceptions

“The gut produces most of the body’s serotonin.”

This is true as a chemical fact but misleading as a mental health claim. About 90% of the body’s serotonin is produced in the gut, but peripheral serotonin cannot cross the blood-brain barrier. The brain makes its own serotonin from tryptophan, using a different enzymatic pathway, and the gut’s serotonin pool does not directly contribute to it. Gut serotonin regulates digestion, bone density, and blood clotting. It does not regulate mood directly.

“Probiotics fix depression.”

The evidence is much weaker than headlines suggest. Meta-analyses find probiotics reduce depressive symptoms slightly more than placebo, but the effect is small and many trials are weak. Probiotics may help specific subgroups, but they are not a general antidepressant.

“Leaky gut syndrome causes most chronic disease.”

“Intestinal permeability” is a real phenomenon studied in serious research, but “leaky gut syndrome” as marketed by alternative health practitioners is not a recognized medical diagnosis. Increased gut permeability is associated with several conditions, including inflammatory bowel disease and celiac disease, but the causal direction is often unclear. The claim that it causes autism, chronic fatigue, or autoimmune disease is not supported by current evidence.

Key terms

Vagus nerve: The longest cranial nerve, running from the brainstem to the abdomen. Carries most of the afferent (gut-to-brain) signals in the gut-brain axis.

Enteric nervous system: The network of around 500 million neurons embedded in the gut wall. Controls digestion independently of the brain but communicates with it constantly.

Short-chain fatty acids (SCFAs): Molecules (mainly butyrate, propionate, acetate) produced when gut bacteria ferment dietary fiber. Cross into the bloodstream and influence brain chemistry.

HPA axis: The hypothalamic-pituitary-adrenal stress system. Releases cortisol, which affects gut motility and microbial composition, closing the feedback loop.

Microbiome: The community of bacteria, archaea, viruses, and fungi living in and on the body. The gut microbiome contains roughly 38 trillion microorganisms, slightly more than the number of human cells in the body.

Cytokines: Immune signaling proteins. When gut inflammation increases, cytokines enter the bloodstream and can affect brain function by activating microglia.

Common questions

Is the gut really a 'second brain'?

Not really. The gut has its own nervous system (the enteric nervous system) with around 500 million neurons, which is more than the spinal cord has. But it cannot think, feel emotions, or make decisions. The 'second brain' label refers to its autonomy in controlling digestion, not to consciousness. Real cognition still happens in the skull.

How do gut bacteria actually communicate with the brain?

Through four main routes: the vagus nerve, the immune system, microbial metabolites (such as short-chain fatty acids and neurotransmitter precursors), and hormones. Bacteria do not send 'thoughts' upward. They shift the chemistry of blood and nerve signals, and the brain responds to those changes.

Can changing your diet really change your mood?

Yes, but the effect is modest and slow, not dramatic. Meta-analyses suggest dietary interventions can modestly improve depressive symptoms. Probiotic and prebiotic supplements show smaller and more inconsistent effects. Diet shapes the gut environment, which shapes brain chemistry, but no yogurt will replace an antidepressant for clinical depression.

That's the distilled version.