Why Anxiety Makes Your Stomach Hurt: The Gut-Brain Link

Anxiety causes stomach pain because your brain and your gut are in constant two-way communication, and when your brain detects a threat (real or perceived), it sends signals that directly alter how your digestive system functions. This isn’t imaginary pain. The same stress hormones that make your heart race also suppress digestion, redirect blood flow away from your stomach, and change how your gut muscles contract. About 90% of your body’s serotonin, a chemical most people associate with mood, is actually produced in the digestive tract, which helps explain why emotional distress so quickly becomes physical discomfort.

Your Gut Has Its Own Nervous System

Your gastrointestinal tract contains a vast network of nerve cells sometimes called the “second brain.” This network operates semi-independently, managing digestion on its own, but it also communicates directly with your brain through the vagus nerve, a long nerve that runs from your brainstem down to your abdomen. Sensory fibers in the vagus nerve relay information from your gut to your brain, and your brain sends signals right back. This loop runs constantly, but during anxiety, the signals change dramatically.

The vagus nerve controls the release of digestive enzymes, stomach acid, and bile. It also regulates the muscular contractions that push food through your digestive tract. When anxiety disrupts normal vagal function, the result can be acid reflux, delayed stomach emptying, cramping, or the urgent need to find a bathroom. People with lower vagal tone, meaning their vagus nerve is less effective at calming the body after stress, tend to experience more intense and longer-lasting gut symptoms.

What Stress Hormones Do to Your Digestion

When anxiety triggers your fight-or-flight response, your body releases adrenaline and cortisol. Adrenaline increases your heart rate and blood pressure, diverting blood toward your muscles and away from your digestive organs. Cortisol goes further: it actively suppresses your digestive system, treating it as nonessential during a perceived emergency. Your body is essentially deciding that digesting lunch matters less than surviving a threat.

This suppression creates a cascade of problems. With less blood flow, your stomach and intestines can’t process food efficiently. The muscles lining your digestive tract, which normally contract in a steady, coordinated rhythm, start behaving erratically. They may speed up, pushing waste through your system too quickly and causing nausea, cramping, or diarrhea. Or they may slow down, leading to bloating and that heavy, knotted feeling in your stomach. In a brief moment of nervousness, this resolves quickly. During sustained anxiety, these disruptions can persist for hours or days.

Common Stomach Symptoms During Anxiety

The physical sensations anxiety produces in your gut are varied, and most people experience more than one at a time:

  • Nausea, ranging from mild queasiness to feeling like you might vomit
  • Abdominal cramps, often described as a knot or tightness
  • “Butterflies”, that fluttery, unsettled sensation in your midsection
  • Heartburn or acid reflux, from changes in stomach acid production
  • Bloating, caused by disrupted muscle contractions
  • Loose stools or diarrhea, as your gut pushes contents through too fast
  • General intestinal pain without a clear location

These symptoms can appear during an acute anxiety episode, like before a job interview, and disappear once the stress passes. But for people living with ongoing anxiety, the symptoms tend to become chronic and harder to separate from other digestive conditions.

Chronic Anxiety Changes Your Gut at a Deeper Level

Short bursts of anxiety cause temporary discomfort. Prolonged anxiety actually changes the physical structure of your intestinal lining. Research published in Frontiers in Microbiology found that psychological stress reduces levels of key proteins responsible for holding the cells of your intestinal wall tightly together. When those junctions loosen, your gut becomes more permeable, sometimes called “leaky gut.” This allows substances that normally stay contained within the digestive tract to interact with surrounding tissue, potentially driving inflammation and worsening symptoms.

Chronic stress also shifts the composition of your gut bacteria. The same study found that stressed subjects had elevated microbial diversity, but not in a healthy way. Certain bacterial populations increased while others declined, and those shifts correlated directly with the weakening of the intestinal barrier. This matters because your gut bacteria play a role in producing neurotransmitters, regulating inflammation, and maintaining the health of your digestive lining. When anxiety disrupts that bacterial community, it can create a feedback loop where gut problems amplify anxiety, which further damages the gut.

The Overlap With Irritable Bowel Syndrome

If you’ve been dealing with anxiety-related stomach problems for a while, you may wonder whether you have IBS. The overlap is significant. More than 40% of people diagnosed with functional gastrointestinal disorders like IBS also meet criteria for an anxiety disorder. A large meta-analysis put the prevalence of anxiety symptoms in people with these digestive conditions at roughly 39%. The relationship works in both directions: the more severe the anxiety, the worse the GI symptoms tend to be, and the more digestive issues someone has, the more likely they are to experience anxiety and depression.

The distinction between “stress stomach” and IBS isn’t always clean. Stress-related stomach pain typically tracks closely with identifiable stressors and resolves when the stress does. IBS involves a recurring pattern of symptoms, often including alternating constipation and diarrhea, that persists over months regardless of whether you can identify a specific trigger. Stress and anxiety can cause IBS flares, but IBS also has its own momentum. If your symptoms follow you for weeks at a time, occur with consistent patterns, or don’t improve when your stress levels drop, that’s worth investigating further.

Why Deep Breathing Actually Helps

The vagus nerve is the key to understanding both why anxiety hurts your stomach and how to make it stop. Because the vagus nerve controls your “rest and digest” response, anything that stimulates it helps reverse the gut-disrupting effects of fight-or-flight mode.

Diaphragmatic breathing, where you breathe slowly and deeply so your belly expands rather than your chest, directly stimulates the vagus nerve and activates your parasympathetic nervous system. This is the branch responsible for calming your heart rate, relaxing muscle tension, and restoring normal digestive function. UCLA Health specifically recommends this technique for digestive wellness because it shifts your nervous system out of the stress response that causes stomach pain in the first place. The effect isn’t instant, but within a few minutes of slow, deep belly breathing, most people notice reduced nausea and loosening of that tight, knotted feeling.

This also explains why your stomach tends to settle once you feel safe and relaxed. Your vagus nerve re-engages, digestive enzymes and stomach acid normalize, blood flow returns to your gut, and the muscular contractions that move food through your system find their rhythm again. The connection between your brain and your gut works in your favor once the alarm signal stops.