Table of contents
- What is the gut-brain connection?
- What is the enteric nervous system, our “second brain”?
- How does the gut microbiome affect mental health?
- How does the immune system link the gut and brain?
- What are researchers learning about “gut feelings”?
- Which foods support the gut-brain connection?
- Can the Mediterranean diet help mental health?
- What does this mean for mental health treatment?
- How Corner Canyon brings nutrition into care
- Frequently asked questions
- 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.
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 videoHow 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.
Whole-person care · Our Draper homesHolistic nutritionChefs cook on site seven days a week, with a garden group and a weekly cooking class.
Live-in care · Draper, UtahResidential treatmentSmall, home-style houses in Draper, with therapy twice a week, daily groups and a stay set by your clinical team.
Day program · Pioneer Road, DraperPartial hospitalization (PHP)Monday to Friday, about 9:30 a.m. to 3 p.m., with individual therapy every week.
Outpatient · Pioneer Road, DraperIntensive outpatient (IOP)9:30 a.m. to 12:30 p.m., three or five days a week, in person.
Trauma therapy · All levels of careEMDR therapyEMDR-trained therapists, in individual sessions alongside IFS and DBT skills.
Experiential · Salt Lake ValleyEquine therapyWeekly ground-based sessions with a partner equine therapist, for residential and PHP clients.How does the immune system link the gut and brain?
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.
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.
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.
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.
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.




