Skip to content

Understanding the Gut-Brain Connection: The Science Behind Our Second Brain

The gut-brain connection is a two-way communication network between your digestive system and your brain. It runs through the enteric nervous system (the gut's own "second brain"), the vagus nerve, hormones, the immune system and the trillions of microbes in your gut. Research links gut health with mood, stress and several mental health conditions, though much of it is still early.

Wellness & daily lifeUpdated Nov 9, 202612 min read

If this is a medical emergency, call 911. For a mental health or suicide crisis, call or text 988.

  • The Joint Commission Gold Seal of Approval
  • Licensed by the Utah Department of Health and Human Services, license F23-98436
  • Verified by Psychology Today
  • LegitScript Certified
Table of contents
  1. What is the gut-brain connection?
  2. What is the enteric nervous system, our “second brain”?
  3. How does the gut microbiome affect mental health?
  4. How does the immune system link the gut and brain?
  5. What are researchers learning about “gut feelings”?
  6. Which foods support the gut-brain connection?
  7. Can the Mediterranean diet help mental health?
  8. What does this mean for mental health treatment?
  9. How Corner Canyon brings nutrition into care
  10. Frequently asked questions
  11. Sources

Key takeaways

  • The gut-brain connection, or gut-brain axis, is a two-way link between the digestive system and the brain that runs through nerves, hormones, the immune system and gut microbes.1,2
  • The enteric nervous system, the gut's "second brain," has more than 500 million neurons and runs much of digestion on its own while staying in contact with the brain through the vagus nerve.1
  • People with depression, bipolar disorder, psychosis and anxiety share a gut pattern of fewer anti-inflammatory bacteria, though this shows an association, not a cause.4
  • In the SMILES trial, about 32% of adults with depression who got Mediterranean-style dietary support reached remission, compared with 8% in a social support group.7
  • Diet supports mental health alongside, not instead of, treatment: at Corner Canyon, holistic nutrition sits next to therapy and psychiatric care.

Most people know the feeling of butterflies before a big event, or a stomach that knots up under stress. Those everyday “gut feelings” point to something scientists now study closely: the gut-brain connection.

The gut and the brain are in constant two-way conversation. That link involves nerves, hormones, the immune system and the trillions of microbes that live in the digestive tract, and it affects how we digest food, how we handle stress and how we feel1,2.

This guide explains how the gut-brain axis works, the role of the gut’s “second brain,” what the research says about mental health and what you can do through diet.

Imagine someone who has lived with anxiety and mood swings for years. Therapy has helped, but they’ve also noticed their stomach flares when they’re stressed, and their mood dips when they eat poorly and sleep badly. Understanding the gut-brain connection won’t replace their treatment, but it can add a practical piece: how daily habits feed back into mental health.

The Corner Canyon team, in their own words

Members of our team on what care looks like in our Draper homes.

What is the gut-brain connection?

The gut-brain connection, or gut-brain axis, is the network that links your digestive system and your central nervous system. It’s bidirectional: the brain sends signals to the gut, and the gut sends signals back. Health or disease in one can affect the other1.

The main routes of communication are1,2:

  • The enteric nervous system: the gut's own network of neurons
  • The vagus nerve: the main nerve line between gut and brain
  • Hormones: chemical messages about hunger, fullness and stress
  • The immune system: immune signals that start in the gut and reach the brain
  • The gut microbiome: microbes and the substances they make, such as short-chain fatty acids

Neurotransmitters and hormones

Neurotransmitters are chemical messengers that carry signals between nerve cells. They’re best known in the brain, but they matter in the gut too. Gut microbes produce, or help produce, many of the chemicals that carry messages between the gut and the brain1.

Serotonin is a good example. Much of the body’s serotonin is made in the gut, and gut bacteria help regulate how much is produced3. That gut serotonin mostly works locally, helping control gut movement, and in the blood, where it affects platelets3.

So the link to mood is real but indirect: the gut influences the brain through many pathways, not simply by sending serotonin upstream.

The vagus nerve

The vagus nerve is the main link between the gut’s nervous system and the brain. It carries information about conditions inside your gut up to your brain, and carries the brain’s responses back down1. When the gut is stressed or inflamed, those signals can affect mood and the stress response.

The stress feedback loop

Emotion can make physical sensations in your gut feel more intense, and intense gut sensations can raise your stress levels in turn. That feedback loop is especially strong between the brain and the gut1. Stress can also change the makeup of gut microbes at every stage of life2.

How the gut shapes eating, mood and behavior

The gut-brain connection isn’t only about digestion. Studies suggest the crosstalk between gut and brain may influence hunger and fullness, food preferences and cravings, food sensitivities, metabolism, mood, behavior, stress levels, pain sensitivity, thinking and immunity1.

When the balance of gut microbes shifts (dysbiosis), eating patterns and emotional states can shift with it. In animal research, scientists have been able to trigger feelings of fullness or reward-seeking behavior in mice by stimulating cells in the intestine, which shows how directly gut signals can steer behavior9.

In people, the picture is more complicated, but it helps explain why stress can change appetite and why what you eat can feed back into how you feel.

What is the enteric nervous system, our “second brain”?

The enteric nervous system (ENS) is the network of neurons that lines the digestive tract, from the esophagus to the rectum. With more than 500 million neurons, it’s the most complex neural network outside the brain1. It can operate somewhat independently of the brain and spinal cord, which is why some scientists call it the “second brain.”

What the ENS does

The ENS runs much of digestion on its own1. It:

  • Coordinates the wave-like muscle contractions (peristalsis) that move food through the gut
  • Regulates the release of digestive enzymes and stomach acid
  • Adjusts blood flow to help absorb nutrients
  • Helps manage the balance of fluids in the gut

It’s organized in two main layers of nerve cells. The myenteric plexus mainly controls gut movement, while the submucosal plexus regulates digestive secretions and blood flow. Most of this happens without any conscious input from you: you don’t decide when your intestines contract or release enzymes.

Independent, but connected

The ENS can gather information about what’s happening in your gut, process it locally and respond without checking with the brain1. It still stays in close contact with the central nervous system, mostly through the vagus nerve, sending reports up and receiving signals down.

Why it matters for mental health

The ENS responds to psychological stress, which is part of why “gut feelings” exist. That’s also why people with anxiety often notice digestive symptoms, and why some people with long-term gut problems, such as irritable bowel syndrome, benefit from mind-body therapies alongside medical care1.

Researchers are exploring whether therapies aimed at the gut could also help with anxiety and depression.

Could gut-focused care help the mind?

Because the ENS and the brain talk so constantly, scientists are studying how changes in the gut, such as diet changes or probiotics, might influence mental health through this “second brain”2. There’s significant overlap between people who have functional gut disorders like IBS and people with anxiety1,

and a better grasp of the ENS could lead to new treatments for both digestive and mental health conditions. For now, these approaches support standard care rather than replace it.

Culture’s really important to us.

Dana GoodrichChief Executive Officer · Corner Canyon video

How does the gut microbiome affect mental health?

The gut microbiome is the community of trillions of bacteria, viruses and other microorganisms living in your digestive tract. Over the past 15 or so years, it has emerged as a key regulator of the gut-brain axis2. Gut microbes talk to the brain through the immune system, the vagus nerve, the ENS and the substances they produce, such as short-chain fatty acids2.

The microbiome in psychiatric conditions

A 2021 review and meta-analysis of 59 studies compared the gut bacteria of adults with and without psychiatric conditions. People with depression, bipolar disorder, psychosis and schizophrenia, and anxiety shared a pattern: fewer anti-inflammatory, butyrate-producing bacteria such as Faecalibacterium and Coprococcus, and more of the pro-inflammatory genus Eggerthella4. The pattern was shared across conditions rather than specific to one.

These are associations. They don’t prove that gut bacteria cause these conditions; medications, diet and stress can all shape the microbiome too.

The microbiome, diet and PTSD

Research has also looked at trauma. In a study of 191 women from a long-running health cohort, higher PTSD symptom levels were linked with less adherence to a Mediterranean-style diet, and that link was tied to certain gut bacteria that may be protective5. The authors suggest this could eventually inform diet- or microbiome-based approaches for PTSD, but it’s early research.

Early life and genetics

Many things shape the microbiome from the start of life, including how a baby is born, infections, antibiotics, early nutrition, stress and a person’s genes2. Microbial diversity also tends to decline with age. Researchers are studying how these early influences connect to later mental health.

A mother’s diet and the next generation

The microbiome’s influence may begin before birth. In animal studies, changes in a mother’s diet during pregnancy altered her offspring’s gut microbes and were linked with differences in the offspring’s social behavior2. Researchers are still working out what this means for people, but it suggests the gut-brain connection can carry across generations.

Your microbes and your genes

The relationship with genetics runs in both directions. Your genes help decide which microbes thrive in your gut, and substances made by gut microbes can, in turn, influence how some of your genes are switched on and off2. This two-way traffic is one reason researchers see the microbiome as part of the bigger picture of mental health, alongside genes, environment and life experience.

My experience at Corner Canyon to put it simply, was life changing. The program gave me a structure to set a solid foundation for my life outside of treatment.

Sav H.Former client · Google review
Explore care at Corner Canyon
See all programs

The gut is home to a large share of the body’s immune system. The nervous system works closely with the immune system to respond to injury or disease in the gut1, and immune signals that start in the gut are one of the main routes by which the gut talks to the brain2.

Gut-associated lymphoid tissue (GALT)

Much of the gut’s immune activity happens in gut-associated lymphoid tissue, or GALT: clusters of immune tissue in the gut wall. GALT is packed with immune cells, including T cells, B cells and macrophages, that watch for threats like harmful bacteria and toxins and start an immune response when they find one.

When gut inflammation reaches the brain

Short bursts of inflammation are protective. Long-lasting inflammation is different: the gut can release cytokines and other inflammatory messengers into the bloodstream, and these signals can reach the brain and affect how it works2. Chronic inflammation has been linked with depression and anxiety, and researchers are also studying its role in neurodegenerative diseases.

How the microbiome keeps immunity in balance

A balanced microbiome helps keep immune responses in check, while an imbalance (called dysbiosis) can tip them toward inflammation2,4. That’s one reason the bacteria linked with psychiatric conditions in research tend to be anti-inflammatory ones that are missing, and pro-inflammatory ones that are more common.

The field that studies how psychological stress, the nervous system and the immune system interact is called psychoneuroimmunology. It helps explain how stress can affect gut health, and how gut health can in turn affect mood.

It also points to practical levers: gut-supporting habits such as diet changes and stress reduction may help calm immune responses, which is part of why whole-person care pays attention to both.

What are researchers learning about “gut feelings”?

One reason the gut-brain connection has been hard to study is that the inside of the body is hard to reach. Newer tools are changing that.

In a 2023 study from the Laureate Institute for Brain Research, healthy adult volunteers swallowed a minimally invasive vibrating capsule while researchers recorded their brain activity. Participants could sense the capsule’s vibrations in the gut, and stronger stimulation made them more accurate and faster at detecting it.

The researchers found a distinct brain response to the gut stimulation that grew with its intensity and tracked how accurately people sensed it8. The team suggests this approach could eventually help study conditions involving gut sensation, such as eating disorders and IBS.

At MIT, engineers built flexible fibers with sensors and light sources that let them switch gut-brain circuits on and off in mice. They plan to use the technology to explore links that have been observed between digestive health and conditions such as autism and Parkinson’s disease9.

These studies don’t offer new treatments yet. What they show is that “gut feelings” are measurable signals, and that scientists now have better ways to study how they shape mood and behavior.

Which foods support the gut-brain connection?

Diet is one of the most powerful influences on the microbiome, and it’s something you can change. Research on specific nutrients is still developing, so think in terms of overall patterns.

  • Fiber-rich plant foods. Vegetables, fruit, whole grains, legumes and nuts feed beneficial gut bacteria, which turn fiber into short-chain fatty acids.
  • Omega-3 fats. Oily fish such as salmon, plus flaxseed and walnuts, are part of anti-inflammatory eating patterns and important for brain cell health.
  • B vitamins. B12, B6 and folate help the body make neurotransmitters. Leafy greens, legumes, whole grains, eggs and lean meats are good sources, and low levels are linked with low mood.
  • Fermented foods and probiotics. Yogurt, kefir, sauerkraut and kimchi contain live microbes. A meta-analysis of 34 trials found probiotics had small but significant effects on depression and anxiety, with bigger effects in people with diagnosed conditions; prebiotic supplements didn’t differ from placebo6.
  • Fewer ultra-processed foods. Diets high in sugar and highly processed foods are linked with more inflammation.

How these foods work together

These foods matter less one by one than as a pattern. Together, fiber, omega-3 fats, B vitamins and fermented foods support a diverse and balanced microbiome, and a balanced microbiome supports clearer communication along the gut-brain axis, including how the body handles stress and inflammation2.

As research continues, the link between diet, the microbiome and mental health is becoming a bigger part of how clinicians think about prevention and care.

If you have a medical condition, take medication or are thinking about supplements, check with your provider or a dietitian first.

Can the Mediterranean diet help mental health?

The Mediterranean diet, built on the traditional eating patterns of countries around the Mediterranean Sea, is the most studied eating pattern for mental health.

In the SMILES trial, adults with moderate to severe depression who received seven sessions of dietary support from a clinical dietitian, centered on a Mediterranean-style diet, improved significantly more over 12 weeks than a group given social support. About 32% of the diet group reached remission, compared with 8% of the comparison group7.

It was a small trial, and diet was added to existing treatment, not used instead of it.

32%reached remission with dietary support in the SMILES trial [7]
8%reached remission in the social support comparison group [7]

Key parts of a Mediterranean-style diet

Food group Examples How often
Vegetables and fruit Leafy greens, tomatoes, berries Every meal
Whole grains Oats, brown rice, barley, whole wheat Daily
Healthy fats Olive oil, avocado, nuts Daily
Legumes Beans, lentils, chickpeas Several times a week
Fish and poultry Salmon, sardines, chicken Fish twice a week or more
Dairy Yogurt, cheese Moderate
Red meat and sweets Occasionally
Herbs and spices Garlic, oregano, basil In place of extra salt

Why it’s good for the gut and the brain

The high fiber content of vegetables, fruit, legumes and whole grains feeds a diverse gut microbiome, which supports a balanced gut environment and, through the gut-brain axis, mental health.

Omega-3 fats from oily fish and antioxidants from colorful produce add anti-inflammatory benefits that support brain health and thinking. It’s also a flexible way of eating rather than a strict plan, which makes it easier to keep up.

A note on wine

Traditional versions include moderate wine. If you’re in mental health or substance use treatment, or take medications that interact with alcohol, skip it.

A sample day of eating

  • Breakfast: Greek yogurt with berries, almonds and a drizzle of honey; whole-grain toast; tea or coffee.
  • Lunch: quinoa salad with greens, cherry tomatoes, cucumber, feta and an olive oil vinaigrette, with grilled chicken and a piece of fruit.
  • Dinner: baked salmon with lemon, roasted zucchini, bell peppers and eggplant, and a small portion of whole-wheat pasta or brown rice.
  • Snacks: hummus with carrot and cucumber sticks, a handful of nuts or a few olives.

For more food ideas, our post on food and mental health goes further.

What does this mean for mental health treatment?

The gut-brain connection is an exciting area of research, and it supports a whole-person approach to care: one that pays attention to food, sleep, movement and stress alongside therapy and medication. It doesn’t replace proven treatment for depression, anxiety, trauma or other conditions, and microbiome-based treatments are still being studied2.

Key takeaways

The gut and brain talk constantly through nerves, hormones, immune signals and microbes. Gut health is linked with mood and stress, and a fiber-rich, Mediterranean-style diet is one practical way to support it, alongside, not instead of, mental health treatment.

Genes and environment interact here too. Our post on epigenetics and mental health explains how life experiences shape the way genes are switched on and off.

Inside our Fort Street house in Draper

A short tour of one of our residential homes, where clients live, eat and do much of their therapy.

How Corner Canyon brings nutrition into care

At Corner Canyon Health Centers in Draper, Utah, holistic nutrition is part of residential mental health care. Meals are cooked on site seven days a week in our kitchen, led by an executive chef who is also a nutritionist. Allergies are managed, meals are often gluten- and dairy-free, vegetarian options are always available and vegan diets are accommodated.

Clients can work with our registered dietitian, Tasha Nuño, RDN, MS. It’s recommended for anyone with disordered eating and optional for others, and it may cost extra. A large garden, a weekly garden group and a weekly cooking class help clients build habits they can take home. We aren’t an eating disorder program, and nutrition sits alongside therapy and psychiatric care rather than replacing them.

Frequently asked questions

Why is the gut called the second brain?

Because the gut has its own network of more than 500 million neurons, the enteric nervous system, that can run digestion largely on its own without instructions from the brain. It also talks constantly with the brain, which is why stress can upset your stomach and gut problems can affect your mood.

Can gut problems cause anxiety or depression?

Research shows links, not simple cause and effect. People with depression, anxiety and several other conditions tend to have different gut bacteria than people without them, and stress changes the gut too. A doctor or mental health professional can help sort out what's driving your symptoms.

Do probiotics help with anxiety or depression?

A meta-analysis found that probiotics had small but real effects on depression and anxiety, with larger effects in people with diagnosed conditions. They aren't a replacement for treatment, and it's worth checking with your provider before starting supplements.

What is the best diet for the gut-brain connection?

There's no single right diet, but a Mediterranean-style pattern, rich in vegetables, fruit, whole grains, legumes, nuts, olive oil and fish, has the most research behind it. In one trial, adults with depression who improved their diet this way saw greater improvement than a comparison group.

How does stress affect the gut?

Stress signals travel from the brain to the gut through nerves and hormones, which can change digestion, gut movement and the mix of gut bacteria. That's one reason anxious moments can bring on stomach pain, nausea or bathroom changes.

Share this article

This article is for general education and doesn’t replace an individual medical or clinical evaluation. Everyone’s situation is different; a conversation with our team is the fastest way to know what applies to you.

If you or someone you care about is in immediate danger, call 911. For a mental health or suicide crisis, call or text 988.

Sources

The research and guidelines cited on this page. Numbers match the references in the text, and links open the original source.

9 sources cited

  1. 12023
    The Gut-Brain ConnectionCleveland Clinic · Cleveland ClinicRead the sourcemy.clevelandclinic.org
  2. 22019
    The Microbiota-Gut-Brain AxisCryan JF, O'Riordan KJ, Cowan CSM, et al · Physiological ReviewsRead the sourcedoi.org
  3. 32015
    Indigenous Bacteria from the Gut Microbiota Regulate Host Serotonin BiosynthesisYano JM, Yu K, Donaldson GP, et al · CellRead the sourcedoi.org
  4. 42021
    Perturbations in Gut Microbiota Composition in Psychiatric Disorders: A Review and Meta-analysisNikolova VL, Smith MRB, Hall LJ, et al · JAMA PsychiatryRead the sourcepmc.ncbi.nlm.nih.gov
  5. 52023
    Association of probable post-traumatic stress disorder with dietary pattern and gut microbiome in a cohort of womenKe S, Wang X, Ratanatharathorn A, et al · Nature Mental HealthRead the sourcepmc.ncbi.nlm.nih.gov
  6. 62019
    Prebiotics and probiotics for depression and anxiety: A systematic review and meta-analysis of controlled clinical trialsLiu RT, Walsh RFL, Sheehan AE · Neuroscience and Biobehavioral ReviewsRead the sourcepmc.ncbi.nlm.nih.gov
  7. 72017
    A randomised controlled trial of dietary improvement for adults with major depression (the 'SMILES' trial)Jacka FN, O'Neil A, Opie R, et al · BMC MedicineRead the sourcepmc.ncbi.nlm.nih.gov
  8. 82023
    Parieto-occipital ERP indicators of gut mechanosensation in humansMayeli A, Al Zoubi O, White EJ, et al · Nature CommunicationsRead the sourcedoi.org
  9. 92023
    Unraveling connections between the brain and gutTrafton A · MIT NewsRead the sourcenews.mit.edu

Check my insurance coverage

100% confidential · No commitment required

Insurance card photos (optional, speeds verification up)

Or call (801) 383-0810. See our Privacy Policy and Notice of Privacy Practices.

Know what you’d pay before you decide

We work with most PPO plans that include out-of-network benefits. Our admissions team checks your benefits for free and explains your costs before you decide.

PPO plans with out-of-network benefitsUsually covered
Self-payPayment options
Single case agreementsAsk admissions

Read about the cost of treatment and payment options.

Check my insurance coverage

100% confidential · No commitment required

Insurance card photos (optional, speeds verification up)

Or call (801) 383-0810. See our Privacy Policy and Notice of Privacy Practices.

Blue Cross Blue ShieldAetnaCignaUnitedHealthcareAnthemHighmarkHumanaGEHAUMRHealthPartnersMagellan HealthCarelonFirst Choice HealthMedical MutualPrimero

In our clients’ words

★★★★★

My experience at Corner Canyon to put it simply, was life changing. The program gave me a structure to set a solid foundation for my life outside of treatment. The people that are involved with Corner Canyon are amazing. From the staff, to the clients, these people quickly began to feel like family. This place felt like home to me. I truly was cared for in a way that I had never been before. I can honestly say that in the 62 days I was there I didn’t have a single bad day, and that to me speaks volumes. I’m grateful to have had the experience that I did. To anyone who is looking for help – I would heavily recommend going to Corner Canyon.

sav headdenGoogle review
★★★★★

I arrived at Corner Canyon during the worst depressive episode of my life. I had no hope and felt disconnected from everything. I’m a therapist, and I had been doing all the “right” things to care for myself. But sometimes self-care is simply not enough.

Jordan BrownGoogle review
★★★★★

Corner Canyon has put together an excellent residential program. I need a comprehensive program that addressed my health and mental health with cutting edge treatment — they exceeded my expectations. With the continuum of health, mental health, and wellness services offered – they truly individualized my treatment plan. They have an excellent, well-trained staff that genuinely care. I wish I had found them 5, 10 years ago it would have saved me a lot of heart ache. I feel ALOT better than I have felt in sometime and as I continue to take care of myself, I am confident I will be an even better version of myself. Michelle Feb-Mar 2023

Angel Warrior 68Google review
★★★★★

When I came to Corner Canyon I was lost. I was 31 years old, struggling with addiction issues and my own mental health, and didn’t know which way to turn. I was very fortunate to land here. Through the help of some people who loved and cared about me, they got me in the doors of this wonderful program.

I was nervous at first, but I soon realized I was amongst peers who were feeling and going through the same things, which put me at ease. I was surrounded by staff who themselves had been through their own treatment and had such compassion and support for me and my well-being.

The Clinical team is wonderful and they are all highly trained experts. They practice many different modalities and with that they were able to get to the core of my issues to treat both my trauma, and subsequently my substance abuse. They did this with such grace, compassion, and empathy, that I always felt they had my best care in mind.

I could write forever about how this place changed my life, but the reality is that there would never be enough words. This program, it’s wonderful staff, and the people who come here make this place more than just a rehabilitation center. It’s a home. I found myself here, I found my tribe, and I was able to unlock decades worth of trauma that led me to a life I didn’t want to lead. After coming here I found the life I always wanted, and it started at Corner Canyon.

Dominique SuazoGoogle review

Three mental health facilities in Draper, Utah

Clients come to us from across Utah and the country. Admissions helps you plan your arrival.

Front entrance of the Corner Canyon residential house on Fort Street in Draper
Residential

Fort Street House

13020 S Fort St
Draper, UT 84020

Get directions
Front lawn and house at the Corner Canyon Pioneer Road residence in Draper
Residential

Pioneer Road House

1450 Pioneer Rd
Draper, UT 84020

Get directions
The bright dining room with a long table and big windows at the Corner Canyon day-treatment house on Pioneer Road
PHP & IOP

Outpatient Center

782 Pioneer Rd
Draper, UT 84020

Get directions

Talk to someone today

Calling a treatment center for the first time is hard. Our admissions team will tell you plainly whether we’re the right fit. After hours, leave a message and we’ll call you back the next morning.

In crisis? Call or text 988 or call 911.

Google reviews4.7Residential, Draper57+ reviewsDay treatment, Pioneer RdPHP and IOP
4.7 Google reviews