Is There a Link Between Gut Health and Mental Health?

Person holding their abdomen, illustrating digestive discomfort and the gut-brain connection.

Photo by: Kindel Media

A knot in the stomach before a hard conversation, losing your appetite through a rough few weeks, needing a bathroom before a big presentation: most people have felt their stomach react to stress.

That reaction is one half of a two-way connection. The link between gut health and mental health, often called the gut-brain connection, also runs from the gut back to the brain, with the vagus nerve, stress hormones, the immune system, and chemicals made by gut bacteria carrying signals in both directions. Clients we see by telephone and video across Alberta often notice it in their stomach first, sometimes long before they'd describe themselves as anxious or low.

Understanding how both directions work explains why anxiety can set off nausea or an IBS flare, why depression so often comes with digestive changes, and why ongoing gut problems can wear down mood in return.

What is the Gut-Brain Connection?

The gut-brain connection is the constant two-way communication between your digestive system and your brain. Signals travel through nerves such as the vagus nerve, stress hormones such as cortisol, the immune system, and chemicals made by gut bacteria. That's why stress and anxiety can change how the gut works, and why gut problems can affect mood.

How the Gut-Brain Axis Works

Researchers call this system the gut-brain axis. When they include the bacteria living in the intestines, they call it the microbiota-gut-brain axis. A 2021 review in Gastroenterology by Kara Gross Margolis, John Cryan, and Emeran Mayer describes the gut and brain as being in continuous conversation.

Messages from gut bacteria reach the brain through three channels: nerves, hormones, and the immune system. Traffic runs the other way too. The brain sends signals down that change how the gut moves and how sensitive it is to what's happening inside it.

Why is the Gut Sometimes Called the "Second Brain"

The gut has its own nervous system, called the enteric nervous system. It earned the "second brain" nickname because it shares much of its structure, development, and chemistry with the brain itself.

It can also work largely on its own, running the muscle contractions that move food along with little direction from above. The nickname has limits, though. This nervous system manages digestion, while thinking, decisions, and emotions stay with the brain.

How the Gut and Brain Communicate

Several pathways carry messages between the gut and the brain, and each one can run in either direction.

The Vagus Nerve

The vagus nerve runs from the brainstem down into the abdomen, and it's the main nerve connecting the digestive tract to the brain.

Some of the clearest evidence for its role comes from mice. Certain Lactobacillus and Bifidobacterium bacteria changed mood-related behaviour in mice, and cutting the vagus nerve blocked those changes. In animals, at least, gut bacteria can influence the brain through a physical nerve pathway.

Stress Hormones and the Gut

When the brain senses a threat, it releases a hormone called corticotropin-releasing factor, or CRF. That sets off a chain of hormone signals that ultimately contributes to the release of cortisol, the body's main stress hormone.

CRF also acts directly on the gut. Yvette Taché and Bruno Bonaz, writing in the Journal of Clinical Investigation, describe how stress slows the emptying of the stomach and speeds up movement through the colon, in both animals and healthy people. In animals, these effects have been traced to CRF receptors in the gut wall.

That may help explain a familiar combination: an unsettled, full stomach at the same moment as an urgent need for the bathroom. This research dates from 2007, and newer reviews, including the Margolis review, still draw on it.

The Immune System and Inflammation

The immune system is the third route. One proposed pathway is that changes in gut bacteria, including changes driven by diet, may affect how well the gut lining acts as a barrier, which may in turn influence immune signalling and inflammation.

Low-grade immune activation of this kind has been implicated in some forms of depression. Most of this pathway is still being worked out, and how much it matters for any one person is unclear.

Chemicals Made by Gut Bacteria

Gut bacteria produce compounds called short-chain fatty acids, such as butyrate. In animal studies, these affected immune cells in the brain and reversed some effects of chronic stress. Whether enough of them reach the human brain to make a difference is still an open question.

Some gut bacteria can also make chemical messengers such as dopamine and GABA in the gut. These are unlikely to reach the brain directly, since they break down quickly and don't pass easily into the brain.

Is 90% of Serotonin Made in the Gut?

More than 90 percent of the body's serotonin is made and stored in special cells in the gut lining, and gut bacteria can increase how much those cells produce. That part of the popular claim is true.

What tends to get left out is where that serotonin does its work. Serotonin doesn't readily pass from the bloodstream into the brain, so gut serotonin isn't a direct supply for the brain. The brain makes its own supply from tryptophan, an amino acid from food. Gut bacteria may still affect the brain's serotonin indirectly, by changing how much tryptophan is available.

Can Anxiety Cause Stomach Problems?

Yes. Anxiety switches on the body's stress response, which slows the stomach and speeds up the colon. People with high psychological distress are far more likely to have a gut disorder, and anxiety and depression predict the later development of IBS. These symptoms can occur even when the digestive system is structurally healthy.

Why Anxiety Affects the Stomach

Anxiety and fear are among the specific stressors Taché and Bonaz name as speeding up the colon in healthy people, which is the same stress-hormone effect described earlier. In everyday terms, that can mean urgency or diarrhea before a stressful event, along with a stomach that feels slow and unsettled.

A composite example from clinical practice, with details changed: a client in their thirties noticed that their stomach was worst on Sunday nights and Monday mornings, and almost calm during a two-week vacation. Their tests had come back clear. Seeing that pattern turned the symptoms from a mystery into useful information about their workload and stress.

How Common Are Gut Problems and Psychological Distress Together?

The overlap is common worldwide. A 2024 Rome Foundation survey of 54,127 adults in 26 countries, found that 37.5 percent reported clinically significant psychological distress or physical symptoms.

Those people had about four and a half times the odds of having at least one disorder of gut-brain interaction, the medical term for conditions like IBS. Among people with high distress or physical symptoms, those who also had a gut-brain disorder used more health care and medication, and reported lower quality of life, than those without one.

Gut-Focused Anxiety and the Avoidance Loop

Some people develop anxiety [link Anxiety category page] that centres on the gut itself: worry about gut sensations, about where they might lead, and about being caught somewhere without a bathroom. Researchers call this gastrointestinal-specific anxiety.

A 2026 review of stress and IBS by Mingxu Zheng and colleagues describes a study of 314 people with IBS in which this gut-focused anxiety was the strongest predictor of poor quality of life.

The same review explains that anxiety and depression can heighten gut sensitivity through the body's CRF stress system, so ordinary sensations register as stronger or more painful.

Avoidance can keep that loop going. Skipping meals, cutting out foods, and avoiding places without easy bathroom access all make sense in the moment, and they can keep attention fixed on the gut.

A 2025 study from Stockholm led by Hugo Wallén followed 309 people with IBS through 12 weeks of online CBT built around exposure, which means gradually facing avoided foods, places, and sensations. Their IBS symptoms dropped substantially and stayed lower six months later.

Reductions in avoidance came before reductions in symptoms. That's consistent with the possibility that reducing avoidance is one part of how the treatment helps, although the study couldn't establish that sequence as cause and effect. The study had no comparison group, so it shows the treatment working in routine care rather than proving it against an alternative.

For readers, the practical takeaway is that gradually reducing avoidance, with a therapist's support, is a different path from restricting more foods or places, and it's the one this research supports.

How Anxiety and IBS Affect Each Other

Irritable bowel syndrome (IBS) involves recurring abdominal pain along with changes in bowel habits. Its relationship with anxiety and depression runs in both directions.

The Zheng review describes a one-year study of 1,900 people in which people with higher anxiety and depression at the start were more likely to develop IBS. People who had IBS without mood symptoms at the start showed rising anxiety and depression a year later.

Genetic studies using a method called Mendelian randomization have also found evidence consistent with a two-way causal relationship between IBS and major depression. This kind of evidence depends on assumptions and isn't the same as proof from a clinical trial.

The Margolis review adds that people with IBS have substantially higher rates of anxiety disorders, and that IBS is also common among people with anxiety disorders.

Clinically, either one can come first, and both deserve attention. Most of the two-way evidence in people comes from IBS and related gut-brain disorders, so it may not apply to every stomach complaint.

How Gut Health and Depression Are Connected

Depression and the gut influence each other through the stress system, inflammation, and the mix of gut bacteria. Depression is linked to a higher risk of IBS, and IBS to a higher risk of depressive symptoms. Most of the human evidence shows association, and the exact chain of cause is still being worked out.

How Depression and Gut Symptoms Affect Each Other

People with IBS carry a heavier depression load. One analysis of 24 studies found more frequent and more severe depressive symptoms in people with IBS than in people without it, across every IBS type.

Depression also affects how well gut treatments work. In a study of 448 people with mild to moderate IBS, depressive symptoms made dietary treatment less effective. That's one practical reason mood deserves attention as part of gut care.

What Research Shows About the Gut Microbiome and Depression

People with depression tend to have an altered mix of gut bacteria, though the specific differences vary from one study to the next.

In animal research, when gut bacteria from people with depression were transferred into healthy rodents, the animals developed depression-like behaviour. That raises the possibility that gut bacteria play a causal role, which hasn't been shown in people.

What Role Does Inflammation Play?

The immune pathway described earlier is one proposed explanation for how an unsettled gut could pull mood down. A leakier gut lining can lead to low-grade inflammation, and that kind of inflammation has been tied to some, though not all, cases of depression.

It's one possible route among several, and it doesn't mean depression usually starts in the gut.

Can Gut Health Cause Anxiety and Depression? What the Evidence Shows

Gut health may contribute to anxiety and depression for some people, and the strongest evidence is for the two-way link between gut disorders and mood. It hasn't been shown that gut bacteria cause anxiety or depression in people. Much of the causal evidence comes from animal studies, and human probiotic trials are promising but inconsistent.

What is Well Established in Humans

In people, the evidence is solid on a few points. Stress changes how the gut moves. Gut disorders and psychological distress overlap far more than chance would predict.

Long-term and genetic research points to a relationship between IBS and mood that runs both ways. Psychological treatments such as CBT have reduced gut symptoms in studies, although the Canadian guideline rated that evidence as low in quality.

What Has Mostly Been Shown in Animals

The vagus nerve findings, the bacteria transfer experiments, and many of the gut bacteria mechanisms come from mice and rats. According to Margolis and her co-authors, turning these animal findings into effective treatments for human brain disorders has largely been unsuccessful so far.

For example, a Lactobacillus strain that changed behaviour in mice was later tested in healthy men in several trials, with inconsistent results. There's currently no solid evidence that taking probiotics changes behaviour in healthy people.

Where Gut Health Claims Go Beyond the Evidence

"Leaky gut" is widely promoted online as the root of many health problems. In research, changes in gut barrier function are one proposed pathway between the gut and mood, as described earlier, but this hasn't been shown to explain anxiety or depression in people.

Fecal microbiota transplant, moving stool bacteria from a healthy donor into someone else, is still experimental for mood. High-quality studies in depression were still in development as of the 2021 review, and transplants in people with brain disorders haven't produced consistent improvement so far.

Why Stress-Related Gut Symptoms Are Still Real

Gut symptoms that worsen with stress are real physical symptoms. IBS is a recognized medical condition with clear diagnostic criteria, and it's the most common disorder of brain-gut interaction, involving measurable changes in how the gut moves and how sensitive it is.

IBS as a Disorder of Gut-Brain Interaction

The Canadian Association of Gastroenterology's IBS guideline describes IBS as recurring abdominal pain with changes in bowel habits, meaning constipation, diarrhea, or both, often with bloating. It estimates IBS affects about 12 percent of people in North America, with women affected about 1.5 to 2 times as often as men.

Many clients arrive after normal test results, feeling that nobody believes them. Learning that IBS is a recognized condition, with known changes in gut sensitivity, can be a relief in itself.

Why Doctors Prescribe Antidepressants for IBS

An antidepressant suggestion for IBS can sound like a doctor thinks the pain is imagined. The Canadian guideline strongly recommends low-dose tricyclic antidepressants for IBS, at doses well below those used for depression, and notes that IBS improvements with antidepressants have generally been independent of changes in mood.

The type of antidepressant matters for the gut. Tricyclic antidepressants can slow gut transit, while SSRIs may speed it up, so the choice of medication can depend partly on a person's bowel pattern and other clinical factors.

The Zheng review notes SSRIs may suit people whose anxiety or depression is significant. Medication choices belong with your doctor or nurse practitioner, and it's important not to start, stop, or change a medication without talking to your prescriber.

What Can Affect the Gut-Brain Connection?

Diet and Antibiotics

Diet is the biggest lifelong influence on the mix of bacteria in the adult gut, according to the Margolis review, and antibiotic use is another key factor. Antibiotic exposure in infancy has also been linked with later effects on cognitive development.

Gut Infections

A bout of food poisoning or a stomach virus can leave lasting changes. During an outbreak of a toxin-producing E. coli strain, IBS rates among the people tracked rose from 9.8 percent before infection to 25.3 percent a year later. If your gut symptoms started after a stomach bug, that's worth mentioning to your doctor.

Early Adversity and Trauma

Hard early experiences affect the gut-brain system too. Researchers define early adverse life events as trauma or major disruption before age 14, including abuse, emotional neglect, and the loss of a parent.

People with that history showed a stronger cortisol response to a medical gut procedure, and these early events have been linked to greater stress sensitivity and a higher risk of IBS. This is an association, and it doesn't mean early trauma causes IBS.

Do Probiotics or Diet Help Anxiety and Depression?

Neither diet nor probiotics is an established treatment for anxiety or depression on its own. A Mediterranean-style diet may help alongside established depression treatment, though the evidence is still developing. Probiotic research is promising but inconsistent, and probiotics shouldn't replace established treatment.

What Does Diet Have to Do With Depression?

The Margolis review describes the traditional Mediterranean diet, which is largely plant-based, as having benefits when added to depression treatment, while noting that many questions remain. It's best seen as a possible support alongside established care, with the evidence still developing.

It also helps to keep gut health in proportion. Anxiety and depression have many contributors, and digestive symptoms have many possible medical causes, so gut health isn't a replacement explanation for either.

What Probiotic Research Shows So Far

A 2025 meta-analysis led by Asad in Nutrition Reviews pooled 23 randomized trials involving 1,401 adults with clinically diagnosed depression or anxiety. Probiotics reduced depressive symptoms across 18 trials and anxiety symptoms across 9 trials, while prebiotics didn't significantly reduce depression.

The results varied widely from study to study, depending partly on the probiotic formulation and how long it was taken. That makes it hard to know which probiotics, doses, or people are most likely to benefit, so the research is promising but not settled. Earlier work in healthy people, summarized in the Margolis review, produced contradictory results.

For IBS symptoms, the Canadian guideline suggests a probiotic may be worth a limited trial of about a month, based on low-quality evidence.

Diet Changes for IBS

The Canadian guideline suggests a low-FODMAP diet for IBS, which limits certain carbohydrates that are harder to digest. It advises doing the diet with a dietitian and keeping the strict phase as short as possible, such as four weeks,, because long-term restriction risks an inadequate diet.

Mood matters here as well. Since depressive symptoms can blunt the benefit of diet changes, looking after mood can help dietary treatment do its job.

Brain-Gut Therapies for IBS and Anxiety

The Canadian guideline suggests offering cognitive behavioural therapy and gut-directed hypnotherapy for IBS, though the evidence it reviewed was limited in quality. The Zheng review notes that studies have found CBT can improve both symptoms and quality of life in IBS, with benefits that last.

The Stockholm study adds that exposure-based CBT was effective in routine clinical care when delivered as an online program.

Gut and Mental Health Symptoms in Alberta: When to See a Doctor or a Therapist

Gut Symptoms That Need Medical Attention First

The Canadian guideline lists warning signs that call for a medical check: vomiting, bleeding from the gut, a lump in the abdomen, trouble swallowing, unexplained weight loss, and anemia.

The guideline also suggests testing for celiac disease in people with IBS. New or changing bowel symptoms, particularly later in adulthood, should be assessed by a health care professional rather than assumed to be IBS.

Stress and a medical condition can exist together, so a clear link with stress doesn't rule anything out. Severe or sudden abdominal pain needs urgent care.

Where to Start in Alberta

Once a family doctor or nurse practitioner has checked for medical causes, the anxiety and low mood that often travel with gut symptoms deserve care of their own. Clients describe frustration when tests come back clear, worry about the next flare, embarrassment about planning around bathrooms, and a low mood that settles in after months of feeling unwell.

Counselling can help when gut-focused worry is shaping what you eat and where you go, when anxiety or low mood is affecting your sleep, work, or relationships, or when you simply want support alongside your medical care. At The Mental Health Clinic, our therapists work with clients across Alberta by telephone and video, using approaches such as cognitive behavioural therapy (CBT), including exposure-based work, and acceptance and commitment therapy (ACT). Anxiety counselling can start whenever you're ready, and you don't have to wait until things feel unmanageable to reach out.

If you're in crisis or thinking about suicide, call or text 9-8-8 at any time.

Common Questions About Gut Health and Mental Health


Can Gut Problems Make Anxiety Worse?

Yes, gut problems and anxiety can influence each other. Ongoing digestive symptoms can increase stress and worry, while anxiety can make digestive symptoms more noticeable or difficult to manage. Researchers are still studying how gut bacteria, inflammation, and communication between the gut and brain contribute to this relationship.

Can Anxiety Cause Stomach Problems and Diarrhea?

Yes. Anxiety activates the body's stress response, which can change digestion and speed up bowel movements. This can lead to nausea, stomach discomfort, cramping, or diarrhea. If these symptoms happen regularly, it is worth discussing them with a healthcare provider rather than assuming anxiety is the only cause.


Can Improving Gut Health Help with Depression?

It may help some people, but the evidence is still developing. Research suggests that gut bacteria, inflammation, and communication between the gut and brain may play a role in mood. However, an unhealthy gut has not been established as a direct cause of depression, and improving gut health should not replace evidence-based mental health treatment.

Is There a Connection Between IBS and Anxiety?

Yes. Irritable bowel syndrome (IBS) and anxiety commonly occur together, and each can affect the other. Stress can change bowel activity and worsen symptoms, while the unpredictability of IBS can increase anxiety. Gut infections and other factors can also contribute to IBS, so anxiety is not the only possible cause.


Should I see a Doctor or Therapist for Gut Issues?

It depends on your symptoms, and you may benefit from both. A healthcare provider can assess digestive symptoms and rule out medical causes, while a therapist can help you manage anxiety, stress, and worry related to your symptoms. Cognitive behavioural therapy (CBT), including approaches that address gut-focused anxiety and avoidance, may help some people. Seek medical advice promptly for symptoms such as blood in your stool, persistent vomiting, unexplained weight loss, or significant new changes in bowel habits.

Can Probiotics Help with Anxiety or Depression?

Some studies suggest probiotics may reduce anxiety or depression symptoms in certain people, but results vary, and probiotics are not an established standalone treatment. Their effects can depend on the person and the specific probiotic used. If you are considering probiotics for mental health, discuss them with a healthcare provider rather than relying on them instead of established treatment.


The gut and the brain work as one system. That's why stress can show up as a stomach problem, and why a long stretch of gut trouble can pull mood down. Knowing the connection runs both ways makes it easier to ask more useful questions: what tends to come first, what has been ruled out, and what support fits. Whether you're in Calgary, Edmonton, Red Deer, or a smaller community, the next step might be a visit to a family doctor, a call to a dietitian, or support for the anxiety or low mood behind the symptoms.

Educational Disclaimer

This article is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. If you're experiencing mental health concerns that interfere with your daily functioning, please reach out to a qualified mental health professional. If you're in crisis, contact your local crisis line or emergency services immediately.

Previous
Previous

Parasocial Relationships: AI Companions, Influencers, and Mental Health

Next
Next

Perimenopause Anxiety and Low Mood: Understanding the Changes in Your 40s