The Gut–Brain Connection

How your gut and brain talk to each other, and why a balanced gut matters.

Learn › Food & The Brain

Your gut and brain are in constant conversation. Open one section at a time.

About 7 min read

The Gut–Brain Connection

Your gut and your brain are in constant, two-way conversation. This network is called the gut–brain axis. It links your digestive system and your brain through nerves, hormones, the immune system, and chemicals made by the microbes that live in your gut.

Illustration of the gut–brain connection: the brain at the top, the vagus nerve running down to the intestines, arrows showing signals traveling from the gut to the brain and from the brain to the gut, and a magnified circle showing the gut microbiome.
Messages travel both ways between the gut and the brain. A simplified educational illustration. The labels in the picture are in English. Open full size
Describe this illustration

The picture shows the brain, the gut, and the signals that travel between them.

  • Brain: where signals from the body are received and where signals to the body are sent.
  • Vagus nerve (communication highway): a long nerve that carries signals in both directions between the brain and the gut.
  • Signals from the gut to the brain (information about body states, digestion, and the microbiome): the gut sends the brain information about what is happening in the body.
  • Signals from the brain to the gut (influence digestion, immune function, and gut activity): the brain sends messages that can affect how the gut works.
  • Gut microbiome (trillions of microbes): the community of microbes, mostly bacteria, that lives in the digestive tract, shown here in a magnified circle.

The gut–brain axis

Select a part to read about it. Use the arrow keys to move between parts, and press Esc to close.

  1. Brain

    Receives signals from the body and sends signals back. The conversation runs in both directions.

  2. Vagus nerve

    A long nerve that carries signals in both directions between the brain and the gut. Most of its fibres (about 80% by commonly cited estimates for the whole nerve) carry information up from the body to the brain.

  3. Gut and its nerves

    The gut has its own network of hundreds of millions of nerve cells, called the enteric nervous system, which helps run digestion. It is sometimes called the second brain.

  4. Gut microbiota

    The community of trillions of microbes, mostly bacteria, that lives in the digestive tract. They help digest food, make some chemical messengers and support the immune system. Much of the evidence about how they link to mood comes from animal studies or shows an association only, not a cause (Cryan et al., 2019).

  5. Immune signals

    A large share of the body’s immune tissue sits along the gut, and gut microbes help train it. When the microbes or the gut lining are out of balance, inflammation can rise, and inflammation has been linked to changes in mood.

  6. Hormones and stress

    The body’s stress system affects digestion, and signals from the gut can feed back to influence stress and mood. This is one reason stress can upset the stomach.

A simplified picture. Scientists are still learning how much the gut matters for mental health, and much of the evidence is associational. Eating well is a good habit, but it is not a treatment for anxiety or depression.

Nerves

The vagus nerve carries signals between the gut and the brain in both directions. Most of its fibers (about 80% by commonly cited estimates for the whole nerve) carry information up from the body to the brain, so the brain is constantly “listening” to the gut. The gut also has its own network of hundreds of millions of nerve cells, called the enteric nervous system, which helps run digestion. It is sometimes called the “second brain.”

Stress hormones

The body’s stress system affects digestion, and signals from the gut can feed back to influence stress and mood. This is one reason stress can upset the stomach, and why digestive problems may make people feel more anxious.

The immune system

A large share of the body’s immune tissue sits along the gut, and gut microbes help train it. When the microbes or the gut lining are out of balance, inflammation in the body can rise, and inflammation has been linked to changes in mood.

Chemical messengers

When gut microbes ferment fiber, they make short-chain fatty acids such as butyrate, which feed the cells of the gut lining and help calm inflammation. Microbes can also make or influence some brain chemicals, such as GABA. In studies in mice, these fatty acids also helped keep the blood–brain barrier intact and supported the normal development of microglia, the brain’s immune cells. Most of this evidence comes from animal research.

A common myth: You may have read that about 90% of your serotonin is made in the gut. That is approximately true, but most of it is made by gut cells, not bacteria. It mostly works locally to help with digestion, and it cannot readily cross into the brain, which makes its own serotonin (Jones et al., 2020). Gut microbes can influence how much serotonin the gut cells make, which is one reason scientists study the connection.
Why Gut Balance Matters

Your microbiome is the community of trillions of microbes, mostly bacteria, living in your digestive tract. A healthy community tends to be diverse, with many kinds of microbes doing different jobs. They help digest food your body cannot break down on its own, make vitamins and fatty acids, support your immune system, and help keep harmful microbes in check.

When that community loses diversity or shifts toward more harmful microbes, scientists call it dysbiosis, or an imbalance. Things that can contribute include eating little fiber and many highly processed foods, antibiotics, long-term stress, poor sleep, infections, heavy alcohol use, and some medications. Antibiotics are sometimes essential, so take them only as prescribed.

How imbalance may affect the body

Digestive symptoms such as bloating, constipation, or diarrhea; more inflammation; changes in immune function and nutrient absorption. Gut imbalance has been linked to irritable bowel syndrome, inflammatory bowel disease, and metabolic conditions, although not every link has been shown to be a cause.

How imbalance may affect the mind

People with depression often have different gut microbe patterns than people without it. In a 2019 study of over 1,000 people, Coprococcus and Dialister bacteria were lower in people with depression, even after accounting for antidepressant use. This shows an association, not that bacteria cause depression. Reviews also commonly report fewer Lactobacillus, Bifidobacterium, and short-chain-fatty-acid-producing bacteria in people with depression and anxiety, but most studies are small or compare groups at one point in time, so cause and effect are still unresolved (Ataei et al., 2025). Human trials of ways to change the gut to help mood are still early and mixed.

The link between the gut and mood is also seen in people with irritable bowel syndrome (IBS). In a 2019 review of 73 studies, about one in four people with IBS had an anxiety disorder and about one in four had a depressive disorder, and they were roughly three times as likely as others to have either. The influence runs both ways: stress and low mood can change how the gut works.

Researchers are also studying gut–brain links in neurological conditions. In Parkinson’s disease, one hypothesis is that abnormal proteins may begin in the gut and travel up the vagus nerve to the brain. Experiments in mice support this idea, but it has not been proven in people, and the human evidence is mixed.

Keep it in perspective: Scientists are still learning how much the gut matters for mental health. Eating for a healthy gut is a good habit, but it is not a cure for anxiety or depression. Genes, life experiences, relationships, sleep, and medical care all matter too.
Sources

Sources for the gut–brain section

← Back to Food & The Brain

Within Your Light is an educational platform. We do not provide medical advice, diagnosis, or treatment recommendations. This page is for educational purposes only and is not a substitute for professional medical advice. Always consult a healthcare provider before making significant dietary changes or if you have concerns about your mental health.