You’ve probably experienced it: butterflies before a big meeting, nausea during a stressful phone call, or a sudden bathroom trip before a flight. These aren’t coincidences. Your gut and brain are in constant two-way communication through what scientists call the gut-brain axis.
And the research behind this connection has exploded in the last decade.
Your gut’s nervous system
Your gastrointestinal tract contains roughly 500 million neurons — more than your spinal cord. This network, called the enteric nervous system, is so complex that researchers often call it the “second brain.”1
The enteric nervous system doesn’t just passively digest food. It processes information, generates reflexes, and communicates directly with your central nervous system through the vagus nerve — a superhighway of nerve fibers running from your gut to your brainstem.
What makes this particularly interesting is that the communication flows both ways. Your brain affects gut function (stress causes digestive problems), but your gut also sends signals that influence mood, cognition, and behavior.2
The serotonin connection
Here’s a fact that surprises most people: approximately 95% of your body’s serotonin is produced in the gut, not the brain.3
Serotonin is best known for its role in mood regulation — it’s the target of SSRI antidepressants. But in the gut, serotonin regulates motility (how food moves through your digestive tract), secretion, and pain sensation.
Yano et al. demonstrated that gut bacteria directly influence serotonin production by host cells. When they depleted gut microbes in mice, serotonin levels dropped by 60%. Reintroducing specific bacterial species restored serotonin production.3
This dual role creates an overlap where disruptions in gut serotonin can affect both digestive and psychological symptoms simultaneously — which might explain why IBS and anxiety so often occur together.
Gut bacteria and mood: what the research shows
A landmark population study by Valles-Colomer et al. analyzed gut microbiome data from over 1,000 people and found that specific bacterial groups correlated with quality of life and depression. Notably, Faecalibacterium and Coprococcus bacteria — both butyrate producers — were consistently associated with higher quality of life indicators.4
The same study found that people with depression had depleted levels of Coprococcus and Dialister species, even after correcting for antidepressant use. This was one of the first large-scale human studies to link specific gut bacteria to mental health outcomes.
Strandwitz et al. identified a gut bacterium (KLE1738) that literally depends on GABA — the brain’s primary inhibitory neurotransmitter — for growth. This finding suggests that some gut bacteria may directly consume or produce neurotransmitters, creating a biochemical link between gut composition and brain chemistry.5
Stress, cortisol, and your gut
The gut-brain connection explains why stress wreaks havoc on digestion. When you’re stressed, your hypothalamic-pituitary-adrenal (HPA) axis releases cortisol, which directly affects gut motility, permeability, and immune function.
Vanuytsel et al. showed that acute psychological stress increases intestinal permeability (sometimes called “leaky gut”) in healthy volunteers. Participants who underwent a stress protocol had measurably higher gut permeability compared to controls.6
This creates a feedback loop: stress increases gut permeability, which allows bacterial products to enter the bloodstream, which triggers inflammation, which signals back to the brain and worsens the stress response.
Kiecolt-Glaser et al. demonstrated this in a clinical study where high-stress participants showed both increased gut inflammation markers and altered gut bacterial composition after a stressful event, compared to lower-stress participants eating the same diet.7

Can changing your diet change your brain?
Tillisch et al. ran one of the first human trials to test this directly. They gave healthy women a fermented milk product containing probiotics for four weeks and measured brain activity using fMRI. The probiotic group showed altered activity in brain regions controlling emotion and sensation processing, compared to controls.8
A systematic review by Marx et al. examined dietary intervention studies and found consistent evidence that diet quality affects both gut microbiome composition and mental health outcomes. Mediterranean-style diets — rich in fiber, fermented foods, and omega-3s — were associated with reduced depression risk across multiple studies.9
The SMILES trial went further: it randomized people with moderate-to-severe depression to receive either dietary support (shifting toward a Mediterranean diet) or social support. After 12 weeks, 32% of the dietary group achieved remission of depression, compared to 8% in the social support group.10
What this means for food sensitivities
The gut-brain axis adds an important dimension to understanding food sensitivities. When certain foods trigger gut inflammation or alter motility, the effects aren’t limited to your stomach.
Research suggests that food-related gut inflammation can trigger:
- Fatigue and brain fog — inflammatory cytokines from the gut cross the blood-brain barrier and affect cognition11
- Mood changes — gut inflammation alters serotonin metabolism and vagal signaling
- Sleep disruption — gut microbiome composition influences circadian rhythms and melatonin production12
- Anxiety — visceral hypersensitivity (heightened gut nerve sensitivity) activates brain circuits involved in anxiety and hypervigilance
This is why many people with food sensitivities report symptoms that seem unrelated to digestion — headaches, irritability, poor sleep, difficulty concentrating. The gut-brain axis means digestive issues rarely stay contained to the digestive system.
The bottom line
The gut-brain connection isn’t fringe science — it’s supported by hundreds of peer-reviewed studies and has become one of the most active areas of biomedical research. The key takeaways:
- Your gut has its own nervous system with 500 million neurons that communicate bidirectionally with your brain
- 95% of serotonin is made in the gut, linking digestive function directly to mood regulation
- Specific gut bacteria correlate with mental health outcomes in large human studies
- Stress physically damages gut function, creating a feedback loop of inflammation
- Dietary changes can measurably alter brain activity and improve depression symptoms
- Food sensitivities can cause symptoms beyond digestion — fatigue, brain fog, mood changes — through the gut-brain axis
Understanding this connection changes how you think about food. What you eat doesn’t just affect your stomach. It affects your entire body, including your brain.
References
Furness JB. “The enteric nervous system and neurogastroenterology.” Nature Reviews Gastroenterology & Hepatology, 2012; 9(5): 286-294. PubMed ↩︎
Cryan JF, O’Riordan KJ, Cowan CSM, et al. “The microbiota-gut-brain axis.” Physiological Reviews, 2019; 99(4): 1877-2013. PubMed ↩︎
Yano JM, Yu K, Donaldson GP, et al. “Indigenous bacteria from the gut microbiota regulate host serotonin biosynthesis.” Cell, 2015; 161(2): 264-276. PubMed ↩︎ ↩︎
Valles-Colomer M, Falony G, Darzi Y, et al. “The neuroactive potential of the human gut microbiota in quality of life and depression.” Nature Microbiology, 2019; 4(4): 623-632. PubMed ↩︎
Strandwitz P, Kim KH, Terekhova D, et al. “GABA-modulating bacteria of the human gut microbiota.” Nature Microbiology, 2019; 4(3): 396-403. PubMed ↩︎
Vanuytsel T, van Wanrooy S, Vanheel H, et al. “Psychological stress and corticotropin-releasing hormone increase intestinal permeability in humans by a mast cell-dependent mechanism.” Gut, 2014; 63(8): 1293-1299. PubMed ↩︎
Kiecolt-Glaser JK, Wilson SJ, Bailey ML, et al. “Marital distress, depression, and a leaky gut: translocation of bacterial endotoxin as a pathway to inflammation.” Psychoneuroendocrinology, 2018; 98: 52-60. PubMed ↩︎
Tillisch K, Labus J, Kilpatrick L, et al. “Consumption of fermented milk product with probiotic modulates brain activity.” Gastroenterology, 2013; 144(7): 1394-1401. PubMed ↩︎
Marx W, Lane M, Hockey M, et al. “Diet and depression: exploring the biological mechanisms of action.” Molecular Psychiatry, 2021; 26(1): 134-150. PubMed ↩︎
Jacka FN, O’Neil A, Opie R, et al. “A randomised controlled trial of dietary improvement for adults with major depression (the ‘SMILES’ trial).” BMC Medicine, 2017; 15(1): 23. PubMed ↩︎
Dantzer R, O’Connor JC, Freund GG, et al. “From inflammation to sickness and depression: when the immune system subjugates the brain.” Nature Reviews Neuroscience, 2008; 9(1): 46-56. PubMed ↩︎
Li Y, Hao Y, Fan F, Zhang B. “The role of microbiome in insomnia, circadian disturbance and depression.” Frontiers in Psychiatry, 2018; 9: 669. PubMed ↩︎
