← Back to Articles Gut Health

Gut Health and Anxiety: The Gut-Brain Connection

By Dr. Bob Rakowski · October 6, 2026

The short answer: Your gut and your brain are in constant two-way conversation through the vagus nerve, immune signals, and chemicals your gut bacteria help produce. Roughly 90 percent of your body’s serotonin is made in the gut, and people with depression consistently carry different gut bacteria than people without it. When the gut is inflamed or out of balance, the brain often feels it as anxiety, low mood, and brain fog, which is why repairing the gut is often the most overlooked step in feeling like yourself again.

For 34 years I have watched a pattern play out in my clinic. Patients come in for bloating, reflux, or constipation. We work on the gut. Often, a few weeks later, they tell me they are sleeping better, their mind is quieter, and the low hum of worry they had lived with for years has turned down. They did not come in for anxiety. They came in for their digestion, and their mood followed.

Recently the gut-brain connection went mainstream. Food industry analysts named gut health a top global trend for 2026, and major outlets are now calling your gut a “second brain.” I have been teaching this for decades, and the research and the headlines are finally catching up. Here is what the connection actually is, what the science shows, and what to do about it.

What is the gut-brain axis?

The gut-brain axis is the two-way communication network that links your digestive system to your brain. Your gut has its own nervous system, containing more than 100 million neurons, more than your spinal cord. Its main line to your brain is the vagus nerve, the longest cranial nerve in your body.

That line carries information in both directions. A calm brain tells your gut to digest and move normally. A stressed brain sends danger signals down the vagus nerve, which can speed up or stall digestion and produce the cramping, diarrhea, or constipation so many anxious people know well.

The traffic runs the other way too, and this is the half most people never hear about. An inflamed, leaky, or imbalanced gut sends a steady stream of distress signals up to the brain. Your brain experiences those signals as unease, poor focus, and low mood.

Can your gut bacteria affect your mood?

Your gut bacteria can affect your mood, and the evidence has become hard to ignore. Roughly 90 percent of the serotonin in your body is made in your gut, and a 2015 study in Cell from Caltech showed, in mice, that specific gut bacteria regulate how much serotonin the gut lining produces.

One important clarification: serotonin made in your gut does not travel straight into your brain. It works locally and sends signals through the vagus nerve and the immune system. The effect on mood is real. It simply runs through your nervous system rather than your bloodstream.

Large population studies back this up. In 2019, researchers analyzing more than 1,000 people in the Flemish Gut Flora Project, published in Nature Microbiology, found that two groups of bacteria, Coprococcus and Dialister, were consistently depleted in people with depression. The finding held up when they checked it in a separate group of more than 1,000 people in the Netherlands.

In September 2026, researchers at the University of Surrey published what they describe as a first-of-its-kind human study in Molecular Psychiatry. They scanned the brains of 61 young women and sequenced their gut bacteria. The chemical capacity of their gut microbes was linked to levels of GABA and glutamate, two of the brain’s main calming and activating chemicals, in specific brain regions. Certain microbial pathways were also linked to anxiety, depressive symptoms, and sleep quality.

How does an inflamed gut affect your brain?

An inflamed gut raises inflammation throughout your body, and your brain is not exempt. Your gut lining is a barrier one cell thick. When that barrier is damaged, a condition often called leaky gut, bacterial fragments and undigested food particles slip into your bloodstream.

Your immune system treats those particles as invaders and responds with inflammatory chemicals called cytokines. Those signals reach the brain. The result, in the patients I see, is a familiar cluster: brain fog, irritability, poor sleep, and a mood that will not lift no matter how many positive thoughts you try to think.

Elimination matters here too. When bowel movements are slow, waste and spent hormones sit in the colon and get reabsorbed. That adds to the inflammatory load and to the fog. This is why I ask every anxious patient about their bowel habits, and why Poop Right has its own law in my framework.

Why is gut health suddenly everywhere?

Gut health is suddenly everywhere because the science matured and the food industry noticed. You will see “gut-friendly” sodas, bars, and powders on every shelf this year.

Be careful. A sweetened drink with a sprinkle of added fiber is still a sweetened drink. The bacteria that support your mood feed on real fiber from vegetables, fruits, legumes, nuts, and seeds, and they thrive with fermented foods. They do not need a new product. They need a better plate.

Can changing your diet improve your mood?

Changing your diet can improve your mood, and early trial evidence supports it. In the small but well-designed 2017 SMILES trial, published in BMC Medicine, adults with moderate to severe depression who were coached to eat a whole-food diet for 12 weeks improved far more than those who received social support alone. About a third of the diet group reached remission, compared with 8 percent of the support group.

A 2021 Stanford study in Cell looked at what food does to the microbiome directly. Adults who worked up to about six servings a day of fermented foods for ten weeks, things like yogurt, kefir, sauerkraut, and kimchi, increased the diversity of their gut bacteria and lowered 19 inflammatory proteins in their blood, including interleukin-6.

This is where the studies meet what I do every day. Food changes the bacteria. The bacteria change the signals. The signals change how you feel.

What I look at when a patient has anxiety and gut symptoms

When someone sits down with me with anxiety and digestive complaints, I start with three of the Magnificent Seven: Eat Right, Poop Right, and Think Right. They work as one system, so I treat them as one system.

First, I remove what is irritating the gut. That often means sugar, alcohol, heavily processed food, and inflammatory oils for a period of time. Second, I feed the good bacteria with fiber, prebiotic foods like garlic and onions, and fermented foods. Third, I work on the nervous system itself, because a brain stuck in fight-or-flight keeps the gut stuck too. Slow breathing, which directly stimulates the vagus nerve, is one of the simplest tools I teach.

In my experience, many patients see real change from this foundational work. I add stool testing or other labs when a patient’s history tells me the result will change what we do, not as a default first step. Your story, your symptoms, and how your body responds to the basics tell me more than most people expect.

When should you get help?

Get help if anxiety or low mood has been affecting your work, your relationships, or your sleep for more than a few weeks, especially if digestive symptoms come with it and have not resolved.

Some signs need prompt medical attention: blood in your stool, unexplained weight loss, severe abdominal pain, or difficulty swallowing. If you take medication for anxiety or depression, do not stop or change it on your own. Gut work supports mental health; it does not replace care you already have. And if you are ever having thoughts of harming yourself, call or text 988 to reach the Suicide and Crisis Lifeline.

What you can do today

  1. Add one fermented food a day. Plain yogurt, kefir, sauerkraut, or kimchi. Build up gradually over a few weeks, the way the Stanford participants did.
  2. Eat a wider variety of plants. People who eat 30 or more different plant foods a week have more diverse gut bacteria than those who eat 10 or fewer. Count vegetables, fruits, herbs, nuts, seeds, and legumes.
  3. Cut the foods that feed the wrong bacteria. Start with added sugar and packaged snacks. They starve beneficial bacteria and feed the ones that drive inflammation.
  4. Track your bowel movements for one week. Daily, well formed, and easy is the goal. Anything else is information worth acting on.
  5. Breathe slowly twice a day. Five minutes of slow breathing, with a longer exhale than inhale, signals safety to your brain through the vagus nerve.

I wrote an entire chapter on Poop Right and the gut-brain connection in Magnificent by Design, including the phased approach I use to calm, repair, and rebuild the gut. If this post sounded like you, get your copy of Magnificent by Design on Amazon and start with that chapter.

Happy Beautiful Day, Dr. Bob 🚀

This article is for educational purposes only and is not medical advice. Talk with a qualified healthcare provider before making changes to your health care, diet, or medications.


References

  1. Yano JM, Yu K, Donaldson GP, et al. Indigenous bacteria from the gut microbiota regulate host serotonin biosynthesis. Cell. 2015;161(2):264-276. https://pubmed.ncbi.nlm.nih.gov/25860609/
  2. 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:623-632. https://www.nature.com/articles/s41564-018-0337-x
  3. Johnstone N, Cohen Kadosh K, et al. Empirical evidence for gut microbial influence on human brain neurochemistry via the gut-brain axis. Molecular Psychiatry. 2026. https://doi.org/10.1038/s41380-026-03813-y
  4. 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:23. https://link.springer.com/article/10.1186/s12916-017-0791-y
  5. Wastyk HC, Fragiadakis GK, Perelman D, et al. Gut-microbiota-targeted diets modulate human immune status. Cell. 2021;184(16):4137-4153. https://pubmed.ncbi.nlm.nih.gov/34256014/
  6. McDonald D, Hyde E, Debelius JW, et al. American Gut: an open platform for citizen science microbiome research. mSystems. 2018;3(3):e00031-18. https://journals.asm.org/doi/10.1128/mSystems.00031-18

Ready to take the next step?

Book a consultation at the Natural Medicine Center and find out what's actually driving your symptoms.

Book a Consultation →