Yes, stress and anxiety can directly cause stomach problems. The brain and digestive system are connected through a complex network of nerves and chemicals called the gut-brain axis. When you feel stressed or anxious, your brain sends signals that can change how your stomach works, leading to symptoms like nausea, pain, bloating, and changes in bowel habits.
What is the gut-brain connection?
The gut and brain are constantly talking to each other. The vagus nerve runs from your brainstem down to your abdomen, carrying messages both ways. Your gut also has its own nervous system, sometimes called the “second brain,” with about as many nerve cells as a cat’s brain.
This connection means that emotional states like stress and anxiety can directly affect digestion. When you are anxious, your brain signals your gut to change its activity. This is not imaginary – it is a real physical response.
Researchers have found that the gut produces many of the same neurotransmitters that the brain uses. About 90% of the body’s serotonin, a chemical that affects mood, is made in the gut. This is one reason why stomach problems can make you feel emotionally worse and emotional stress can upset your stomach.
What stomach symptoms can stress and anxiety cause?
Common symptoms include nausea, stomach pain or cramping, bloating, gas, diarrhea, and constipation. Some people feel a knot in their stomach. Others feel the need to rush to the bathroom before a stressful event.
These symptoms happen because stress hormones like cortisol and adrenaline change how the digestive system works. They can make the stomach empty more slowly, speed up or slow down movement through the intestines, and make the gut more sensitive to normal sensations that you would not notice when calm.
Symptoms vary from person to person. Some people mainly get nausea. Others have diarrhea or constipation as their main response. The same person may react differently on different days depending on the type and intensity of stress.
Can stress and anxiety cause stomach problems? Yes, and here is how
Stress and anxiety cause stomach problems through several well-established mechanisms. The first is altered gut motility. Stress can either speed up or slow down the muscular contractions that move food through your digestive tract. This leads to diarrhea or constipation.
The second is increased visceral sensitivity. Your gut becomes more sensitive to stretching and distension. Normal amounts of gas or stool that would not bother you on a calm day can cause pain when you are stressed.
The third is changes in gut bacteria. Chronic stress can alter the balance of microbes living in your intestines. This imbalance, called dysbiosis, may contribute to bloating, inflammation, and other digestive symptoms.
Fourth, stress affects stomach acid production. Some research suggests that stress can increase acid secretion in some people, which may worsen heartburn or indigestion.
These mechanisms are backed by decades of research in gastroenterology and neuroscience. The connection is real, not “all in your head” in the dismissive sense.
What digestive conditions are linked to stress?
Irritable bowel syndrome (IBS) is the condition most strongly linked to stress and anxiety. Studies show that people with IBS have a different stress response in their gut than people without IBS. Stress is one of the most common triggers for IBS flare-ups.
Functional dyspepsia – a condition with upper stomach pain, fullness, or burning without an obvious cause – is also closely tied to stress. Many people with functional dyspepsia report that symptoms worsen during stressful periods.
Some evidence suggests stress may worsen symptoms of gastroesophageal reflux disease (GERD), though the relationship is not as strong as with IBS. Stress itself does not cause GERD, but it can increase awareness of reflux symptoms.
What about stomach ulcers? This is a common myth. The majority of peptic ulcers are caused by H. pylori infection or long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen. Stress alone does not cause ulcers, but it may make existing symptoms worse or contribute to slower healing. The “stress ulcer” idea from decades ago was largely incorrect.
How does chronic stress affect digestion over time?
When stress becomes ongoing, the digestive system can stay in a disrupted state. Chronic stress keeps stress hormones elevated and keeps the body in a low-level “fight or flight” state. This is not how the gut was designed to work long-term.
Over months and years, chronic stress may increase inflammation in the gut. It may alter the gut microbiome in ways that are hard to reverse quickly. It can also lead to changes in eating habits – people under stress may eat less, eat more, or reach for foods that are hard for the gut to handle.
Chronic stress is also a risk factor for developing IBS and functional dyspepsia. It does not guarantee you will get these conditions, but it raises the odds significantly when combined with other factors like genetics or past gut infections.
Importantly, the relationship goes both ways. Ongoing stomach problems themselves create more stress and anxiety, which then worsens the stomach problems. This cycle can be hard to break without addressing both the digestive symptoms and the emotional strain.
What can you do about stress-related stomach problems?
First, see a doctor to rule out other causes. Stomach problems can come from many things – infections, food intolerances, medications, or more serious conditions. A healthcare provider can help determine whether stress is likely playing a role.
If stress and anxiety are contributing, treatment usually involves a combination of approaches:
- Stress management – Techniques like deep breathing, meditation, yoga, or talking with a therapist can lower the baseline stress level. Cognitive behavioral therapy (CBT) has good evidence for IBS.
- Dietary adjustments – Eating smaller meals, avoiding trigger foods (caffeine, spicy foods, high-fat meals), and staying hydrated can help. A low-FODMAP diet may help some people with IBS, but should be done with guidance.
- Regular sleep – Poor sleep worsens both stress and digestion. Aim for consistent sleep hours.
- Physical activity – Exercise helps reduce stress and promotes healthy gut motility.
- Medication – Some drugs can help specific symptoms. Antispasmodics for cramping, low-dose antidepressants for gut pain and motility, or medications for diarrhea or constipation. These should be prescribed by a doctor.
There is no one-size-fits-all cure. What works varies from person to person. It may take some trial and error to find the combination that helps you.
When should you see a doctor?
You should see a doctor if you have any of these warning signs: unexplained weight loss, blood in your stool, severe or worsening pain, fever, persistent vomiting, or symptoms that wake you from sleep. These could indicate a more serious condition that is not related to stress alone.
Also see a doctor if stomach problems are interfering with your daily life – making you miss work, avoid social situations, or constantly worry about when symptoms will hit. A gastroenterologist can help even if stress is the main trigger. Treating the gut can also help calm the brain.
Frequently Asked Questions
Can anxiety cause nausea?
Yes, anxiety is a common cause of nausea. This happens because stress hormones slow stomach emptying and alter gut nerve signals, creating a sensation of queasiness.
Can stress cause IBS?
Stress does not directly cause IBS, but it is a strong trigger for symptoms in people who already have the condition. Chronic stress also increases the risk of developing IBS.
How long do stress-related stomach problems last?
It depends. Mild symptoms may resolve within hours after the stressful event ends. Chronic stress can cause symptoms that last weeks or months, often until the underlying stress is addressed.
Can stress cause stomach ulcers?
No. Stomach ulcers are almost always caused by H. pylori infection or NSAID use. Stress may worsen symptoms or slow healing but does not cause ulcers by itself.

