Ever had "butterflies" before a big presentation, or felt your stomach drop at bad news? That is your gut and brain talking. For people with IBS, this conversation can be especially loud, and understanding it opens up some surprising ways to feel better.
This explainer is based on guidance from Johns Hopkins Medicine, along with general, well-established background on the gut-brain axis.
Your gut has its own nervous system
Hidden in the walls of your digestive tract is a network of nerves called the enteric nervous system. According to Johns Hopkins, it contains more than 100 million nerve cells, lining the gut from the esophagus all the way to the rectum. Because it is so large and can work fairly independently, it is often nicknamed the "second brain."
This second brain cannot write a grocery list or solve a math problem. Its job is to run digestion: coordinating the muscle movements that push food along, releasing digestive enzymes, and controlling blood flow to the gut. But it does not work alone. It stays in constant contact with the brain in your head.
A two-way street
For a long time, experts mainly thought of anxiety and depression as things that could upset the gut. That is true, but Johns Hopkins explains that the reverse may be just as important. Irritation in the gut may send signals to the brain that trigger changes in mood.
The connection runs through several channels:
- Nerves. The vagus nerve and other pathways carry messages in both directions.
- Chemical messengers. The gut makes many of the same signaling chemicals the brain uses, including most of the body's serotonin.
- Immune signals. The gut holds a large share of the body's immune cells, which can send signals that reach the brain.
- Gut microbes. Bacteria in the gut produce substances that may influence these pathways, an area of active research.
This helps explain why people with IBS have higher rates of anxiety and depression than the general population. It is not that IBS is "all in your head." Instead, the gut and brain may be affecting each other in a loop.
Why brain-based therapies can help the gut
Because the "two brains" are in constant conversation, approaches that work on the brain side can also ease gut symptoms. Johns Hopkins points to several options that may help people with IBS:
- Certain antidepressants. Some medicines in this class, often used at low doses, can calm nerve signaling in the gut and reduce pain. Using them does not mean a doctor thinks you are depressed. They are prescribed for their effects on the gut-brain connection.
- Cognitive behavioral therapy (CBT). CBT teaches practical skills to change unhelpful thought patterns and manage the body's stress response. It has good evidence for improving IBS symptoms in many people.
- Medical hypnotherapy. Gut-directed hypnotherapy uses guided relaxation and focused suggestions aimed at calming the gut. It is done with a trained professional and has helped many people with IBS.
Ask your doctor about these options, especially if diet changes alone have not been enough.
Everyday ways to calm the gut-brain loop
Alongside professional care, small daily habits may help support a calmer nervous system:
- Slow, deep belly breathing for a few minutes a day
- Regular physical activity, such as walking or yoga
- A steady sleep schedule
- Eating meals at regular times, without rushing
- Staying connected with supportive people, including others who understand IBS
The bottom line
Your gut has its own "second brain" of more than 100 million nerve cells, and it is in constant conversation with the brain in your head. That two-way link helps explain why stress can stir up your gut and why gut symptoms can weigh on your mood. Brain-based approaches like CBT, gut-directed hypnotherapy, and certain medicines may help. Talk with your doctor about what might fit you.
The Brain-Gut Connection
Johns Hopkins Medicine · Johns Hopkins Medicine · May 6, 2026 (date shown on page)
This article is an independent, plain-language explainer written by American Gut Free. It summarizes and adds context to the source above; it is not affiliated with or endorsed by that publication.
Not medical advice. This article is for general education only. It does not diagnose, treat or replace care from a qualified healthcare professional. Talk with your doctor before changing your diet, medications or supplements. Last reviewed: October 7, 2026.
You don't have to figure this out alone
Join our private community for people with a sensitive gut, or download our free 14-day symptom tracker to bring to your next doctor visit.