Anxiety is usually treated as something that starts in the mind. In clinic I often find a very physical driver sitting underneath it, in the gut.
The research has been moving the same way. In a population study following people over a year, around two-thirds of those with IBS or indigestion developed their gut symptoms first, with anxiety or low mood following afterwards [1]. For them, treating the gut is part of treating the anxiety.
This post looks at the less familiar ways your gut can drive anxiety. Some of these mechanisms are well established and some are still emerging, and I’ll be clear about which is which.
How your gut talks to your brain
Your gut and brain are in constant two-way contact. The main line of communication is the vagus nerve, which runs from the brainstem down to the gut and carries far more messages upwards than downwards.
One well-known study shows how direct this line can be. Mice given a particular strain of Lactobacillus showed less anxious behaviour, lower stress hormones and changes in GABA receptors in the brain. GABA is the brain’s main calming signal. When the vagus nerve was cut, the effects disappeared completely [2]. The bacteria were signalling to the brain through the nerve.
That was a mouse study, so it doesn’t translate directly to people. It does show that what lives in your gut can change brain chemistry, and that the gut has a direct route to do it.
Gut bacteria make and break down brain chemicals
Many gut bacteria can produce or break down the same chemical messengers your brain uses, including GABA, dopamine and serotonin precursors. A large Belgian study of over 1,000 people found that the gut’s capacity to produce a dopamine breakdown product, DOPAC, was linked with better mental quality of life. It also pointed to a role for bacterial GABA production in depression [3].
The strongest evidence that gut bacteria can shape mood comes from transfer studies. When researchers moved gut bacteria from people with depression into rats with no microbiome of their own, the rats developed anxiety-like behaviour and changes in how they processed tryptophan, the building block of serotonin [4].
In practice, this means a gut that has lost diversity, often after antibiotics, a gut infection or years of stress, may be producing a different chemical mix from a healthy one.
Clostridia and the dopamine to noradrenaline switch
This is one of the mechanisms most people have never heard of. Certain species of Clostridia bacteria produce compounds called HPHPA and 4-cresol. These are absorbed from the gut and can block an enzyme called dopamine beta-hydroxylase, which converts dopamine into noradrenaline [5].
When that enzyme is blocked, dopamine can build up while noradrenaline falls. In clinic this pattern often goes with agitation, restlessness, poor focus and an anxious, wired feeling, particularly in children and in neurodivergent adults. The evidence here comes mostly from laboratory and clinical observation rather than large trials, but the pattern is consistent enough that I look for it.
A standard stool test won’t show it. The Organic Acid Test (OAT) measures HPHPA and 4-cresol directly, along with the breakdown products of dopamine and noradrenaline, so we can see whether the balance between them has shifted. I’ve written more about this in Using Organic Acid Testing to identify influences on anxiety.
Endotoxin: when bacterial fragments reach your bloodstream
Some gut bacteria carry a molecule in their outer wall called lipopolysaccharide (LPS), also known as endotoxin. Inside a healthy gut it stays where it belongs. When the gut lining becomes more permeable, LPS can pass into the bloodstream and switch on the immune system.
We know this affects mood. When healthy volunteers are given a tiny dose of endotoxin in controlled trials, their anxiety and low mood rise within hours, in step with the rise in inflammatory messengers [6].
What surprises many people is that this can happen without obvious gut symptoms. One study found higher blood levels of LPS and two markers of a leaky gut lining, zonulin and FABP2, in people with anxiety or depression who had no gut complaints at all [7]. So a quiet gut doesn’t always mean a healthy one.
Inflammation diverts the raw material for serotonin
Your body makes serotonin from tryptophan, which comes from protein in your diet. Even in good health, only a small share of tryptophan becomes serotonin. Most of it goes down a different route called the kynurenine pathway [8].
Inflammation pushes even more tryptophan down that route. An enzyme called IDO, which is switched on by inflammatory signals, draws tryptophan away from serotonin. Further along the pathway, inflammation favours quinolinic acid, which overstimulates brain cells, over kynurenic acid, which calms them [9].
The result is less raw material for serotonin and melatonin and more of an excitatory compound in the brain. This is one reason anxiety and poor sleep so often travel together with gut inflammation. Research in IBS has also found immune cells such as mast cells in the gut lining and inflammatory markers that track with anxiety levels [10]. If mast cells are part of your picture, my post on what keeps mast cells on high alert goes further.
Poor absorption: the slow drain on your brain
This is the mechanism I think is most often missed, because it builds up quietly over months and years.
Your brain needs a steady supply of raw materials to make neurotransmitters and produce energy. All of them have to be broken down and absorbed from food first. If digestion isn’t working well, you can eat a good diet and still be running short.
Common reasons include:
- low stomach acid, which affects protein breakdown
- low pancreatic enzyme output, which affects the digestion of fats, protein and starch
- poor bile flow, which affects fat absorption
- coeliac disease or gluten-related damage to the gut lining
- small intestinal bacterial overgrowth (SIBO)
- ongoing inflammation of the gut lining
Coeliac disease shows how much this can matter. A review of the research found people with coeliac disease have a higher risk of anxiety, depression and eating disorders [11].
Signs that absorption may be part of your picture include grainy, greasy or floating stools, undigested food in your stool, unexplained weight loss and loose stools first thing in the morning. My posts on what your stools say about your health and morning diarrhoea cover these in more detail.
The loop: anxiety changes the gut too
The connection runs both ways. In the same population research, about a third of people had anxiety or low mood first and developed gut symptoms later [1]. Long-term stress speeds up or slows down gut movement, makes the gut lining more permeable and shifts the balance of gut bacteria.
That creates a loop. A disturbed gut feeds anxiety, and anxiety disturbs the gut further. For many people, working on only one side of the loop gives partial results. The best results usually come from working on both together.
Signs your anxiety may have a gut component
Your gut is worth investigating if you recognise several of these:
- anxiety that sits alongside IBS, bloating, reflux or irregular bowels
- anxiety that started or worsened after antibiotics, food poisoning or a stomach bug while travelling
- grainy, loose or urgent stools, especially in the morning
- brain fog, low energy or poor sleep alongside the anxiety
- strong sugar cravings
- blood tests that come back normal even though you don’t feel well
- anxiety that has only partly improved with the usual approaches
How I investigate it
Every assessment starts with your history: when the anxiety began, what was happening with your gut at the time and what your symptoms look like now. Testing then helps me see what’s driving the picture rather than guessing.
The two tests I use most for this are:
- GI360 stool test: shows the balance of gut bacteria, infections, gut inflammation (calprotectin), gut immunity and how well you’re digesting fats, protein and starch. It looks at the bacteria, leaky gut, inflammation and absorption sides of the picture.
- Organic Acid Test (OAT): shows bacterial and yeast by-products including HPHPA, markers from the kynurenine pathway and the breakdown products of dopamine, noradrenaline and serotonin. It looks at the bacteria, Clostridia and inflammation sides of the picture.
If you’re not sure which you need, my guide to which functional lab test to choose compares them. From there I build a personalised plan that targets the specific drivers we find, using diet, gut repair and carefully chosen supplements.
Your next step
If this sounds like you, start with my free Gut-Brain-Body Assessment. In about five minutes it shows which gut, brain and body pattern most likely fits your symptoms and which test would help most. If you’d rather talk it through, you can book a consultation in person in Kings Heath, Birmingham or online.
For more on this topic, read IBS, anxiety and low mood and Anxiety and the gut-brain connection.
References
- Koloski NA, Jones M, Talley NJ. Evidence that independent gut-to-brain and brain-to-gut pathways operate in the irritable bowel syndrome and functional dyspepsia: a 1-year population-based prospective study. Aliment Pharmacol Ther. 2016;44(6):592-600.
- Bravo JA et al. Ingestion of Lactobacillus strain regulates emotional behavior and central GABA receptor expression in a mouse via the vagus nerve. Proc Natl Acad Sci USA. 2011;108(38):16050-5.
- Valles-Colomer M et al. The neuroactive potential of the human gut microbiota in quality of life and depression. Nat Microbiol. 2019;4(4):623-632.
- Kelly JR et al. Transferring the blues: depression-associated gut microbiota induces neurobehavioural changes in the rat. J Psychiatr Res. 2016;82:109-18.
- Shaw W. Inhibition of dopamine conversion to norepinephrine by Clostridia metabolites. Mosaic Diagnostics.
- Reichenberg A et al. Cytokine-associated emotional and cognitive disturbances in humans. Arch Gen Psychiatry. 2001;58(5):445-52.
- Stevens BR et al. Increased human intestinal barrier permeability plasma biomarkers zonulin and FABP2 correlated with plasma LPS and altered gut microbiome in anxiety or depression. Gut. 2018;67(8):1555-1557.
- Savitz J. The kynurenine pathway: a finger in every pie. Mol Psychiatry. 2020;25(1):131-147.
- Kim YK, Jeon SW. Neuroinflammation and the immune-kynurenine pathway in anxiety disorders. Curr Neuropharmacol. 2018;16(5):574-582.
- Koloski NA et al. The brain-gut pathway in functional gastrointestinal disorders is bidirectional: a 12-year prospective population-based study. Gut. 2012;61(9):1284-90.
- Clappison E et al. Psychiatric manifestations of coeliac disease, a systematic review and meta-analysis. Nutrients. 2020;12(1):142.


