General information only. It does not replace advice from a health professional. Do not change or stop your medicines without advice. For vomiting blood, black stools, severe abdominal pain or jaundice with fever, call emergency services.
The gut-brain axis
The gut has its own nervous system (the enteric nervous system, with hundreds of millions of neurons) connected to the brain through the vagus nerve and the spinal cord. Added to this network are stress hormones (the hypothalamic-pituitary-adrenal axis and cortisol), the immune system in the gut wall and the microbiota. Communication runs both ways: stress changes the gut, and signals from the gut influence mood, pain and sleep. See the gut-brain axis.
Under acute stress (an exam, an interview), the stomach empties more slowly, the colon speeds up, and nausea, "butterflies" or an urgent need for the toilet appear. This is a normal response. Problems arise when stress is chronic or the gut is especially sensitive (visceral hypersensitivity): normal sensations are felt as pain or bloating.
The Rome criteria, which define these conditions, have since 2016 referred to disorders of gut-brain interaction, and the fifth edition (Rome V, launched in May 2026) has continued to move away from the word "functional", which many patients heard as "there's nothing wrong with you". They affect a very large part of the population: the Rome Foundation Global Epidemiology Study (Sperber and colleagues, 2021) found that around 40% of adults met the criteria for at least one.
Which conditions get worse with stress
| Condition | Link with stress and sleep |
|---|---|
| Irritable bowel syndrome | Stress, anxiety and poor sleep are linked to more pain, bloating and changes in bowel habit; it often starts after a bout of gastroenteritis or a stressful period |
| Functional dyspepsia | Early fullness, heaviness and upper abdominal pain; anxiety heightens the perception of symptoms |
| Reflux (GORD) | Stress does not clearly increase acid, but it does heighten the perception of heartburn; night-time reflux disrupts sleep, and poor sleep makes the oesophagus more sensitive |
| Inflammatory bowel disease | Stress does not cause it; some studies link it to more perceived flares, although flares should be confirmed with tests (see IBD and daily life) |
| Rumination syndrome and cyclical vomiting | Diaphragmatic breathing is the main treatment for rumination; stress triggers episodes of cyclical vomiting |
The myth of the "stress ulcer"
For decades peptic ulcers were blamed on stress and personality. We now know that the two main causes are Helicobacter pylori infection and anti-inflammatory drugs (NSAIDs); the discovery earned Marshall and Warren the Nobel Prize in 2005. The exception is the stress ulceration seen in people in intensive care (severe burns, shock, mechanical ventilation), which is prevented with medicines in hospital.
Sleep matters too
- Poor sleep worsens symptoms: several studies (systematic review in Neurogastroenterology & Motility, 2025) show that people with IBS and with IBD have more sleep disturbance and fatigue, linked to poorer quality of life and more severe symptoms. In daily-diary studies, a bad night is followed by more abdominal pain the next day.
- Shift work and jet lag: they disrupt the body clock, which also regulates the gut; constipation, diarrhoea and dyspepsia are common.
- Night-time reflux: the American College of Gastroenterology guideline (2022) recommends that people with night-time reflux avoid eating in the 2-3 hours before lying down and raise the head of the bed (with blocks or a wedge, not extra pillows); sleeping on your left side also reduces reflux.
- Alcohol, caffeine and smoking in the evening worsen both sleep and reflux.
- Symptoms that wake you (diarrhoea, pain) are not typical of IBS and should be checked.
What helps
- Routines: eat at similar times, without rushing, chewing well; go to bed and get up at regular times.
- Exercise: walking, swimming or yoga improve transit, mood and sleep; in trials of people with IBS, moderate physical activity reduced symptoms.
- Diaphragmatic breathing: breathing in slowly into the abdomen and breathing out slowly activates the parasympathetic system; it helps with rumination, supragastric belching and bloating.
- Sleep hygiene: a dark, cool bedroom, screens out of bed, a light and early evening meal.
- Gut-directed psychological therapies: cognitive behavioural therapy and gut-directed hypnotherapy have trials showing lasting improvement in IBS. The British Society of Gastroenterology guideline (2021) recommends them when symptoms persist despite first-line treatment, and allows earlier referral where available and if the person prefers; the joint European and North American paediatric gastroenterology guideline (ESPGHAN/NASPGHAN, 2025) also recommends them for children and adolescents with functional abdominal pain. In the UK, NICE also supports psychological interventions for IBS that has not responded to drug treatment after 12 months. See psychological therapies and hypnotherapy.
- Neuromodulator medicines: some antidepressants at low doses (such as amitriptyline) reduce gut sensitivity; they are not used for depression but for their effect on pain. They are prescribed by a doctor (see gut neuromodulators).
- Seeking help for significant anxiety or depression: treating them also improves the gut.
Important: "it's just nerves" should not be a quick diagnosis by exclusion. See a doctor if there is unexplained weight loss, blood in the stools or black stools, persistent vomiting, difficulty swallowing, anaemia, symptoms that wake you at night, symptoms starting after the age of 50, or a family history of digestive cancer or IBD. See abdominal pain.
Sources
- Drossman DA, Chang L, Tack J. Disorders of gut-brain interaction and the Rome V process. Gastroenterology. 2026;170(6):1083-98. doi:10.1053/j.gastro.2026.02.014
- Sleep disturbances, fatigue and immune markers in the irritable bowel syndrome and inflammatory bowel disease: a systematic review. Neurogastroenterol Motil. 2025. doi:10.1111/nmo.70133
- ESPGHAN/NASPGHAN. Guideline for the management of functional abdominal pain disorders in children and adolescents. JPGN Rep. 2025.
- Vasant DH, et al. British Society of Gastroenterology guidelines on the management of irritable bowel syndrome. Gut. 2021;70:1214-40. doi:10.1136/gutjnl-2021-324598
- Katz PO, et al. ACG Clinical Guideline for the Diagnosis and Management of Gastroesophageal Reflux Disease. Am J Gastroenterol. 2022;117:27-56. doi:10.14309/ajg.0000000000001538
- Sperber AD, et al. Worldwide prevalence and burden of functional gastrointestinal disorders: results of Rome Foundation Global Study. Gastroenterology. 2021;160:99-114. doi:10.1053/j.gastro.2020.04.014
- Keefer L, et al. Best practice update: incorporating psychogastroenterology into management of digestive disorders. Gastroenterology. 2018;154:1249-57. doi:10.1053/j.gastro.2018.01.045
- Mayer EA, et al. The gut-brain axis. Annu Rev Med. 2022;73:439-53. doi:10.1146/annurev-med-042320-014032
- NICE. Irritable bowel syndrome in adults: diagnosis and management (CG61).
Sources reviewed and updated in November 2026.