The gut-brain axis: why food affects your mood and your mind

A 'gut feeling' isn't a figure of speech - it's a physical communication system with four channels.

A nervous stomach before a big day. A "gut feeling" about a decision. A week of gut trouble that quietly drags your mood down with it. A heavy meal that leaves your head as foggy as your stomach.

None of that is coincidence, and none of it is "all in your head." Your gut and your brain are physically wired together, in constant two-way conversation, through a system scientists call the gut-brain axis. Understanding it explains an enormous amount about how food makes you feel - not just in your belly, but in your mind.

Your gut has its own nervous system

Start with something genuinely surprising: your gut runs a nervous system of its own.

It's called the enteric nervous system (ENS), and it lines the entire length of your digestive tract. It contains the largest collection of neurons anywhere in the body outside the brain itself - hundreds of millions of them - and it's capable of managing much of digestion independently.1 Scientists sometimes call it the "second brain." It isn't a metaphor for cleverness; it's a real, dense neural network in your abdomen.

The question is how that second brain talks to the first one. And the answer is bigger than most people expect: not through one wire, but through four parallel channels.

The axis isn't one wire - it's four channels

The modern picture of the gut-brain axis is a multi-channel system. The gut and brain communicate through neural, endocrine, immune and microbial routes, all running at once.2 Understanding the four separately is what makes the whole thing click.

Channel 1: the neural route - the vagus highway

The first channel is the direct neural connection, and its main trunk line is the vagus nerve - the long nerve running between the brainstem and the gut.3

Here's the part that reframes everything: the traffic on this highway is overwhelmingly bottom-up. Roughly 80 to 90% of the vagus nerve's fibres are afferent - carrying signals from the gut to the brain, not the other way around.4 Your gut isn't a passive organ awaiting instructions. It's constantly reporting upward, and the brain is constantly listening.

A big part of what it reports is chemical. Serotonin - one of the body's key mood-signalling molecules - is mostly made in the gut: around 90% of the body's serotonin is produced by specialised cells in the gut lining.3 That gut-made serotonin activates the vagus nerve, sending signals up to brain regions that govern mood, stress and emotion.3 A major production site for one of your most important mood molecules is, quite literally, your digestive tract.

Channel 2: the endocrine route - the stress-hormone loop

The second channel is hormonal, and it's the broadest of the four.2 Its centrepiece is the body's main stress system: the HPA axis (hypothalamic-pituitary-adrenal axis), which releases cortisol.

This is the channel that explains why stress and digestion are so tangled. When stress activates the HPA axis, the cortisol that follows acts directly on the gut - it can change gut transit time, alter intestinal permeability, and shift the environment your gut bacteria live in.5 A stressful week is not just a feeling; it's a hormonal signal physically reshaping how your gut works.

And it loops. A gut altered by cortisol sends different signals back up the other channels - so stress changes the gut, and the changed gut feeds back into how stressed and low you feel. Animal studies even suggest the microbiome helps "set" how reactive this stress axis is in the first place.5 The endocrine route is also where gut hormones released during digestion - the ones governing fullness and appetite - send their own messages to the brain.

Channel 3: the immune route - inflammation and "sickness behaviour"

The third channel is the immune system, and it explains some of the most confusing food-and-mood experiences of all.

Most of your immune system lives in and around your gut. When it's activated - by inflammation, infection, or irritation - it releases signalling molecules called cytokines, and the brain treats cytokines as a "something is wrong" signal.6

The brain's response to that signal has a name: sickness behaviour. It's the cluster of feelings you get with any illness - fatigue, low mood, social withdrawal, loss of appetite, mental fog, a general flatness.6 It's an ancient, adaptive program: when the body is fighting something, the brain pulls you into rest-and-recover mode.

The important insight is that this same machinery can be switched on by a gut that is inflamed or irritated, not only by a virus. Cytokines from the gut reach the brain partly along that same vagus highway - tying the immune channel back into the neural one.6 It's a real mechanism by which a struggling gut can produce genuine fatigue and low mood.

Channel 4: the microbial route - your bacteria join the conversation

The fourth channel belongs to the trillions of bacteria living in your gut - your microbiome - and they are not bystanders.

Your gut bacteria are active participants. When they ferment dietary fibre they produce short-chain fatty acids, compounds that influence the gut lining, the immune system and signalling that reaches the brain.2 They also take part in neurotransmitter chemistry: certain gut bacteria can produce or modulate compounds such as GABA, dopamine and serotonin precursors. In a now-classic animal study, feeding mice a specific bacterial strain changed mood-related behaviour and brain GABA receptors - and the effect vanished when the vagus nerve was cut, proving the bacteria were signalling along that highway.7

A note of honesty here: much of the bacteria-to-mood causal work is still early, and a lot of it is in animals. But the direction is clear enough that the system is now often called the microbiota-gut-brain axis, and disturbances in the microbiome have been linked with mood and brain-related conditions.8 And the food connection is direct: your microbiome is shaped, day by day, by what you eat. Feed the gut differently and you are, indirectly, feeding the axis.

One more piece: how inflammation can starve serotonin

Here's a mechanism that ties several channels together. The body builds serotonin from an amino acid in food called tryptophan - but tryptophan can go down more than one path. Under inflammation, more of it gets diverted away from serotonin production and down a different route, the kynurenine pathway.9

In plain terms: an inflamed gut doesn't just send "sickness" signals - it can also quietly shift your body's chemistry away from making a key mood molecule. It's one more concrete reason gut trouble and low mood travel together.

IBS is now defined as a gut-brain condition

If all of this sounds abstract, here's how seriously medicine now takes it. Conditions once called "functional" gut disorders - IBS chief among them - have been formally renamed disorders of gut-brain interaction (DGBI).10

The word "functional" was dropped deliberately, because it was vague and could feel dismissive. The new name reflects the actual science: these conditions arise from a combination of disturbed gut movement, visceral hypersensitivity (a gut that registers normal sensations as painful), altered immune and microbial activity, and altered processing of gut signals in the brain.10 That is the four-channel axis, listed as a diagnosis.

This matters because it's the opposite of "all in your head." A disorder of gut-brain interaction is a genuine miscommunication across a real, physical system - and these conditions are common, affecting a large share of adults.10

What this means for food and mood

Put the four channels together and a lot of everyday experience stops being mysterious.

Why stress wrecks digestion. Signals running down the axis - cortisol, nerve signals - mean stress measurably changes how your gut moves and how intensely it registers sensation.

Why gut problems come with low mood, anxiety and brain fog. Signals running up - vagal traffic, cytokines, shifted serotonin chemistry - mean a disturbed gut sends a stream of messages the brain can register as anxiety, flat mood or fog. The gut symptom and the mood symptom are two ends of one wire.

Why food can affect your mind. A meal that disturbs your gut doesn't stop at your stomach. Through these same channels, it can ripple upward - which is why brain fog or low mood can follow certain foods, often with a delay.

There's also a genuine, if still-developing, evidence base that diet influences mood through this system. The standout is a randomised controlled trial - the SMILES trial - in which a supported dietary improvement produced meaningfully higher remission rates in adults with depression than a control condition.11 It's one trial, and the field of "nutritional psychiatry" is young - but it points the same way the biology does.

I always tracked food and gut symptoms, but kept "brain fog" in a separate mental box. Once I logged them together, the link was obvious - the foggy days followed the same meals as the bloated ones.

It's a two-way street - and that's the hopeful part

The defining feature of the gut-brain axis is that it's bidirectional. That cuts both ways - but mostly in your favour. It means gut and mental symptoms genuinely travel together, so they're worth looking at together. And it means the gut is a real point of influence: what you eat, and how you treat your gut, feeds back into how you feel mentally.

It also means your symptoms are genuinely multifactorial - food, microbiome, stress, sleep, immune state all feed one connected system. No single channel is the whole story, which is exactly why mood, focus and energy belong in the same log as your meals and your gut symptoms. They aren't separate stories - and tracking them together is how the pattern across the channels becomes visible.

Where Triggerbites fits in

Triggerbites is built around the idea that these things belong together.

You log meals, gut symptoms, and how your head feels - mood, focus, energy - all in plain language, and it extracts the ingredients, tags the compounds, and correlates the whole picture across time windows. Because the gut-brain axis is real, those correlations are real: a meal that shows up in your bloating may show up, a little later, in your fog.

Log like you're texting - plain language, not database searches
Automatic ingredient breakdown - we parse your entries into the basic components so you don't have to
Built-in chemical tagging - FODMAP, histamine, salicylates, oxalates ++ more compounds flagged automatically
Multi-window pattern recognition - correlations across same-day, next-day, and multi-day windows
Reports you can share - something to take to a doctor or dietitian

Triggerbites Features

  • Log like you're texting: plain language, not database searches
  • Automatic ingredient breakdown: we parse your entries into the basic components so you don't have to
  • Built-in chemical tagging: FODMAP, histamine, salicylates, oxalates ++ more compounds flagged automatically
  • Multi-window pattern recognition: correlations across same-day, next-day, and multi-day windows
  • Reports you can share: something to take to a doctor or dietitian

Tracking the connection takes seconds a day - and over time it shows whether the foggy, flat days are becoming rarer, which is exactly the kind of progress worth knowing, and worth sharing with a doctor.

Live, love, log. 🧡

References

  1. 1
    Johns Hopkins Medicine "The Brain-Gut Connection"Johns Hopkins Medicine
  2. 2
    Góralczyk-Bińkowska A, et al. "Communication of gut microbiota and brain via immune and neuroendocrine signaling" Frontiers in Microbiology, 2023Frontiers in Microbiology
  3. 3
    International Journal of Molecular Sciences "Interaction of the Vagus Nerve and Serotonin in the Gut-Brain Axis", 2025PMC
  4. 4
    Bonaz B, Bazin T, Pellissier S "The Vagus Nerve at the Interface of the Microbiota-Gut-Brain Axis" Frontiers in Neuroscience, 2018Frontiers in Neuroscience
  5. 5
    Frontiers in Neuroscience "Hypothalamus-pituitary-adrenal and gut-brain axes in the biological interaction pathway of depression", 2025Frontiers in Neuroscience
  6. 6
    Dantzer R, et al. "From inflammation to sickness and depression: when the immune system subjugates the brain" Nature Reviews Neuroscience / PMC, 2008PubMed Central
  7. 7
    Bravo JA, et al. "Ingestion of Lactobacillus strain regulates emotional behavior and central GABA receptor expression in a mouse via the vagus nerve" PNAS, 2011PNAS
  8. 8
    Signal Transduction and Targeted Therapy (Nature) "Microbiota-gut-brain axis and its therapeutic applications in neurodegenerative diseases", 2024Nature
  9. 9
    Frontiers in Cellular Neuroscience "Tryptophan metabolites in depression: modulation by gut microbiota", 2022Frontiers in Cellular Neuroscience
  10. 10
    The Rome Foundation "What is a Disorder of Gut-Brain Interaction (DGBI)?"The Rome Foundation
  11. 11
    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, 2017BMC Medicine

Article References and Citations

  1. Johns Hopkins Medicine: "The Brain-Gut Connection" - https://www.hopkinsmedicine.org/health/wellness-and-prevention/the-brain-gut-connection
  2. Góralczyk-Bińkowska A, et al.: "Communication of gut microbiota and brain via immune and neuroendocrine signaling", Frontiers in Microbiology, 2023 - https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2023.1118529/full
  3. International Journal of Molecular Sciences: "Interaction of the Vagus Nerve and Serotonin in the Gut-Brain Axis", 2025 - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11818468/
  4. Bonaz B, Bazin T, Pellissier S: "The Vagus Nerve at the Interface of the Microbiota-Gut-Brain Axis", Frontiers in Neuroscience, 2018 - https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2018.00049/full
  5. Frontiers in Neuroscience: "Hypothalamus-pituitary-adrenal and gut-brain axes in the biological interaction pathway of depression", 2025 - https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2025.1541075/full
  6. Dantzer R, et al.: "From inflammation to sickness and depression: when the immune system subjugates the brain", Nature Reviews Neuroscience / PMC, 2008 - https://pmc.ncbi.nlm.nih.gov/articles/PMC2919277/
  7. Bravo JA, et al.: "Ingestion of Lactobacillus strain regulates emotional behavior and central GABA receptor expression in a mouse via the vagus nerve", PNAS, 2011 - https://www.pnas.org/doi/10.1073/pnas.1102999108
  8. Signal Transduction and Targeted Therapy (Nature): "Microbiota-gut-brain axis and its therapeutic applications in neurodegenerative diseases", 2024 - https://www.nature.com/articles/s41392-024-01743-1
  9. Frontiers in Cellular Neuroscience: "Tryptophan metabolites in depression: modulation by gut microbiota", 2022 - https://www.frontiersin.org/journals/cellular-neuroscience/articles/10.3389/fncel.2022.1008678/full
  10. The Rome Foundation: "What is a Disorder of Gut-Brain Interaction (DGBI)?" - https://theromefoundation.org/what-is-a-disorder-of-gut-brain-interaction-dgbi/
  11. 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 - https://link.springer.com/article/10.1186/s12916-017-0791-y