By Katie Lovitt, RD, LD, IFNCP · Last reviewed November 2026
Many people notice that their stomach reacts when they're stressed, and that their mood can dip when their digestion is off. That two-way link is real and well studied. What's less certain is how much your gut microbes influence mood, and whether changing your diet can treat anxiety or depression. This guide explains the gut-brain connection, separates what's known from what's still hypothesis, and covers what you can do and when to get help.
How the gut and brain communicate
The gut and brain are connected through several channels:
- The vagus nerve, which carries signals between the gut and brainstem. Most of its fibers carry information from the gut to the brain.
- The immune system, since a large share of immune tissue sits in and around the gut, and inflammatory signals can affect the brain.
- Hormones and the stress response, including cortisol.
- Microbial products, such as short-chain fatty acids made when gut bacteria ferment fiber.
You may have read that 90 percent of your serotonin is made in the gut. That's true, but gut serotonin mainly acts locally on digestion and doesn't cross into the brain, so it doesn't explain mood on its own.
What the research shows
- People with depression often have different gut microbiomes. A 2019 study in Nature Microbiology (Valles-Colomer et al.) found that two bacterial groups, Coprococcus and Dialister, were lower in people with depression, independent of antidepressant use. It's an association. It can't show that the bacteria cause depression, or the reverse.
- Much of the mechanistic work is in animals, such as germ-free mice, and doesn't always translate to people.
- Probiotics as an add-on to depression treatment have shown promise in some small trials, but the research is early and results vary by strain. They aren't a substitute for standard care.
- Gut and mood symptoms often travel together, especially in IBS, where anxiety and gut symptoms are closely linked in both directions.
Common claims and what's known
| Claim you may see | What's known |
|---|---|
| "Low gut serotonin causes depression" | Gut serotonin doesn't cross into the brain, and the serotonin theory of depression is debated. |
| "A leaky gut causes brain fog and irritability" | Intestinal permeability is studied, but it's a hypothesis here, not an established cause. |
| "Gut bacteria drive your cravings" | An interesting idea, but not established in people. |
| "Fixing your gut will fix your mood" | Not proven. Diet can support mental health, but anxiety and depression have many causes and deserve proper care. |
What may help: eating well for gut and mind
- A Mediterranean-style pattern. In the SMILE trial of adults with depression (Jacka et al., 2017), people who received dietitian support to eat a Mediterranean-style diet had greater improvement in depression symptoms than those who received social support. It was a small trial and wasn't specific to the gut, but it suggests food can be a useful part of care.
- Plant variety. People who eat more kinds of plants tend to have more diverse gut microbiomes, which is the idea behind the 30-plant challenge. A link between that diversity and mood is plausible, but not proven.
- Fermented foods. A 10-week Stanford trial of 36 healthy adults found a high-fermented-food diet increased microbiome diversity and lowered several inflammatory markers (Wastyk et al., 2021). It didn't measure mood.
- Fewer ultra-processed foods. They're linked to lower diet quality and, in some studies, poorer mental health. See how they shape cravings.
- Sleep, movement, and stress care. These affect both gut and mood. See walking after meals.
- Gut-directed therapy for IBS. Cognitive behavioral therapy and gut-directed hypnotherapy are recommended by gastroenterology guidelines for IBS, and they work through the gut-brain connection.
If your digestion changes with your mood, see also signs of gut imbalance and what's known and what your cravings may be telling you.
When to get help
Talk to a doctor or mental health professional if low mood, anxiety, or irritability lasts more than a couple of weeks, interferes with work or relationships, or comes with changes in sleep or appetite. Food can support treatment, but it shouldn't replace it.
If you're thinking about harming yourself or you're in crisis, call or text 988 (the Suicide and Crisis Lifeline) in the US, or call 911 in an emergency.
Who should check first
- Antidepressants or other psychiatric medicine: supplements such as 5-HTP, tryptophan, and St. John's wort can interact dangerously with them. Ask your prescriber or pharmacist first.
- Weakened immune systems: ask before taking probiotic supplements.
- A history of disordered eating: restrictive "gut-healing" or "mood" diets can make things worse. Get support from a dietitian or doctor.
Takeaways
- The gut and brain communicate in both directions, and gut symptoms and mood often move together.
- Much of the evidence is observational or from animals, so avoid claims that a gut fix will cure anxiety or depression.
- A varied, Mediterranean-style diet is a reasonable support for both gut and mind.
- Persistent mood symptoms deserve professional care.
Sources
- Valles-Colomer M, et al. The neuroactive potential of the human gut microbiota in quality of life and depression. Nature Microbiology. 2019.
- Jacka FN, et al. A randomised controlled trial of dietary improvement for adults with major depression (the SMILE trial). BMC Medicine. 2017.
- Wastyk HC, et al. Gut-microbiota-targeted diets modulate human immune status. Cell. 2021.
- American College of Gastroenterology. IBS guideline.
Written by Katie Lovitt, RD, LD, IFNCP. Registered dietitian specializing in gut health, licensed in Texas. For education only, not medical advice.

Post a Comment