How the Gut Microbiome Influences the Brain
Several biological pathways make up the gut-brain axis. Understanding them clarifies how microbial changes can be associated with shifts in mood and cognition.
Neural signaling through the vagus nerve
The vagus nerve carries information in both directions between gut and brain. Sensory neurons detect microbial metabolites and inflammatory signals, sending rapid messages to brain regions that regulate mood and stress responses. The enteric nervous system — sometimes called the "second brain" — contains a dense network of neurons that manage digestion and communicate with the central nervous system. Changes in microbial activity can alter these signaling patterns and influence stress reactivity.
Microbial production of neurotransmitters
Many gut microbes synthesize, or stimulate the production of, neurotransmitters and their precursors — including serotonin, dopamine and gamma-aminobutyric acid (GABA) precursors. Most of these molecules do not cross the blood-brain barrier directly; instead they act on peripheral signaling and immune systems that influence brain function.
This relates to a widely shared claim: the idea that roughly 90% of the body's serotonin is produced in the gut. It is true that a large proportion of serotonin is produced outside the brain, largely by enterochromaffin cells in the gut lining. However, gut-derived serotonin does not simply travel to the brain — peripheral and brain serotonin pools are regulated separately. The claim is therefore a useful starting point for discussing the gut's role in mood chemistry, but it is not accurate to read it as "90% of your mood serotonin comes from your gut."
Short-chain fatty acids and metabolism
Gut bacteria ferment dietary fibre to produce short-chain fatty acids (SCFAs) such as acetate, propionate and butyrate. SCFAs support gut barrier function, regulate immune activity and influence gene expression. Butyrate in particular has been studied for effects on neuroinflammation and neuroplasticity — processes relevant to mood and cognition.
Immune modulation and inflammation
The gut microbiome helps educate the immune system. Dysbiosis can increase intestinal permeability, allowing microbial products such as lipopolysaccharide (LPS) to enter circulation. These pro-inflammatory signals have been linked to neuroinflammation and altered neurotransmitter systems. Chronic low-grade inflammation is increasingly recognised as a contributor to depressive symptoms in some individuals.
Barrier function and the blood-brain barrier
Microbiota influence the integrity of the intestinal barrier and may also affect blood-brain barrier permeability. A disrupted gut barrier increases the likelihood of peripheral immune activation, which can in turn affect the brain. Maintaining barrier integrity is an important part of limiting systemic inflammatory signaling.
Diversity, resilience and stress
Greater microbial diversity is generally associated with health and resilience. Stress, poor diet, antibiotic exposure and insufficient sleep reduce diversity, while diverse communities produce a broader array of beneficial metabolites. Early-life microbial exposures also shape stress responses; disruption during critical developmental windows may be associated with later mental health vulnerabilities.