Gut-brain axis impact on wellbeing - Kiwiherb

Stress stomach cramps: anxiety stomach pain and the gut-brain connection

Looking for health support? Find the product right for you, take the quiz

Have you ever felt "butterflies" before a big event, or had to rush to the toilet when you were nervous? That is your gut and brain talking to each other. For many people, stress and anxiety show up as stomach cramps, nausea, bloating or a sudden change in bowel habits.

Stress stomach cramps are real, not "all in your head". They happen because of the close link between your brain and your gut, often called the gut-brain connection. This guide explains how that connection works, what anxiety stomach pain can feel like, how stress affects conditions such as IBS and practical ways to calm both your mind and your gut.

What is the gut-brain connection?

Your gut has its own large network of nerves, called the enteric nervous system. It contains hundreds of millions of nerve cells and is sometimes called your "second brain". It controls how your gut moves, how much digestive fluid it releases and how sensitive it is.

Your gut and brain are in constant two-way contact through:

  • Nerves: especially the vagus nerve, a long nerve that runs from your brain to your gut and carries messages in both directions.
  • Hormones: stress hormones such as adrenaline and cortisol affect how your gut works.
  • Your immune system: much of which sits in and around your gut.
  • Your gut bacteria: which produce substances that can send signals to your brain, and which can be affected by stress.

Because of these links, what happens in your mind can affect your gut. What happens in your gut can also affect how you feel.

How does stress cause stomach cramps?

When you feel stressed or anxious, your body switches into "fight or flight" mode. This can affect your gut in several ways:

  • Changing gut speed: stress can speed up the bowel in some people, causing cramps and diarrhoea. In others, it slows things down, leading to constipation and bloating.
  • Making the gut more sensitive: stress can turn up the volume on signals from your gut, so normal amounts of gas or movement feel painful.
  • Tensing muscles: you may tense your tummy muscles without realising, which can cause aching and cramping.
  • Affecting digestion: blood flow is directed away from your gut, so digestion slows and food may sit heavily in your stomach.
  • Changing habits: when stressed, many people eat quickly, skip meals, drink more coffee or alcohol or sleep poorly, all of which can upset the gut.

What does anxiety stomach pain feel like?

Anxiety stomach pain and stress stomach cramps can feel different for different people. Common descriptions include:

  • "butterflies" or a fluttering feeling
  • a knotted, tight or churning stomach
  • cramping or aching in the tummy
  • nausea or feeling sick
  • a sudden urge to go to the toilet
  • loose stools or diarrhoea
  • bloating
  • loss of appetite, or eating more than usual
  • a heavy feeling after eating

These symptoms often appear before or during stressful events, such as exams, job interviews, public speaking, travel or difficult conversations. For some people, they are linked to ongoing stress or anxiety rather than one event.

Stress, anxiety and IBS

Stress does not cause irritable bowel syndrome on its own, but it is one of the most common triggers for IBS flare-ups. Many people with IBS notice their cramps, bloating and changes in bowel habits are worse during stressful times.

The relationship can also work the other way. Living with ongoing gut symptoms can be stressful and can lead to worry about where the nearest toilet is, avoiding social events or feeling anxious about eating. This can become a cycle, where stress worsens gut symptoms and gut symptoms increase stress.

The good news is that therapies that work on the gut-brain connection, such as gut-directed hypnotherapy and cognitive behavioural therapy, have good evidence for helping people with IBS. Read our guide to IBS and stress for more.

Stress tummy aches in tamariki

Children often feel worry in their tummy. A child who says they have a sore tummy before school, sport or a new situation may be feeling anxious, even if they cannot put it into words. These tummy aches are real and can be quite painful.

Gently asking how they are feeling, keeping routines predictable and teaching simple breathing exercises can help. However, tummy pain in children can also have physical causes, such as constipation or an infection. See your GP if your child has tummy pain that keeps coming back, wakes them at night, comes with weight loss, fever or vomiting or stops them doing everyday things.

Is it stress, or something else?

Stress is a common cause of tummy symptoms, but it is important not to assume all stomach cramps are due to stress. Other conditions can cause similar symptoms, including food intolerances, coeliac disease, infections and inflammatory bowel disease.

It may be stress-related if your symptoms:

  • come on before or during stressful events
  • ease when you relax, on holiday or at the weekend
  • come with other signs of stress, such as a racing heart, tense muscles, poor sleep or headaches

See your GP if your symptoms are ongoing, getting worse or come with any warning signs, such as weight loss, blood in your stools or diarrhoea that wakes you at night. For other causes of tummy pain, see our guide to what causes stomach cramps.

How to ease stress stomach cramps in the moment

Slow your breathing

Slow, deep breathing tells your nervous system that you are safe. Try belly breathing: put one hand on your chest and one on your tummy. Breathe in slowly through your nose for a count of four, letting your tummy rise. Breathe out slowly through your mouth for a count of six. Repeat for three to five minutes.

Use gentle heat

A warm wheat bag or hot water bottle on your tummy can help relax tense muscles and ease cramping.

Sip a warm drink

A warm cup of chamomile, peppermint or ginger tea can be soothing. Chamomile has a long history of traditional use for both calming and settling the digestive system.

Move your body

A short walk, especially outside, can help release tension and get your gut moving normally again.

Relax your tummy muscles

Notice whether you are holding your tummy tight. Try tensing your tummy muscles for a few seconds, then letting them go completely. Repeat a few times.

Ground yourself

Try the 5-4-3-2-1 technique. Notice five things you can see, four you can touch, three you can hear, two you can smell and one you can taste. This helps bring your attention back to the present.

For more ways to ease cramps, see our guide to how to relieve stomach cramps.

Longer-term ways to calm your gut and mind

Move every day

Regular exercise is one of the best ways to manage stress and keep your gut working well. Walking, swimming, cycling, yoga and team sports all count. Aim for at least 30 minutes on most days.

Prioritise sleep

Poor sleep makes both stress and gut symptoms worse. Keep a regular bedtime and wake time, limit screens before bed and make your bedroom cool, dark and quiet.

Eat regular, balanced meals

Skipping meals and then eating a large meal can upset your gut. Try to eat regular meals, sit down to eat and take your time. A varied diet with plenty of fibre and fermented foods supports your gut bacteria. See our guide to how to improve your gut health.

Cut back on caffeine and alcohol

Both can increase anxiety and irritate the gut. Try reducing coffee, energy drinks and alcohol, especially during stressful times.

Try mindfulness, yoga or relaxation

Mindfulness, meditation, yoga and tai chi can help calm the nervous system. Even 10 minutes a day can make a difference. There are free apps and online videos to help you get started.

Make time for things you enjoy

Time with friends and whānau, being in nature, hobbies and laughter all help reduce stress.

Consider talking therapies

Cognitive behavioural therapy (CBT) can help you change unhelpful patterns of thinking and manage stress and anxiety. Gut-directed hypnotherapy is a specific type of therapy that focuses on calming the gut and has good evidence for people with IBS. Ask your GP about options available to you.

Getting support

If stress or anxiety is affecting your daily life, you do not have to manage it alone. Talking to your GP is a good first step. They can check your physical symptoms and talk to you about support for your mental wellbeing.

You can also free call or text 1737 any time, day or night, to talk to a trained counsellor. If you or someone you know is in immediate danger, call 111.

When to see your GP

See your GP if:

  • you have stomach cramps or other gut symptoms most days
  • symptoms are getting worse or affecting your daily life
  • you have lost weight without trying
  • you have blood in your stools or black stools
  • diarrhoea wakes you from sleep
  • you have a lasting change in your bowel habits
  • stress or anxiety is affecting your work, relationships or sleep

Get urgent help by calling 111 if you have sudden, severe tummy pain, a hard swollen tummy, vomiting blood or chest pain. If you are unsure, call Healthline free on 0800 611 116.

Frequently asked questions

Can stress cause stomach cramps?

Yes. Stress affects how fast your gut moves and how sensitive it feels, which can cause cramps, nausea, bloating and diarrhoea or constipation. These symptoms are real and have a physical basis.

What does anxiety stomach pain feel like?

It can feel like butterflies, a knotted or churning stomach, cramping, nausea or a sudden urge to go to the toilet. It often comes on before or during stressful situations.

How do I stop anxiety stomach pain?

Slow belly breathing, gentle heat, a warm herbal tea, a short walk and grounding techniques can help in the moment. Over time, regular exercise, good sleep, regular meals and talking therapies can help reduce how often it happens.

How long do stress stomach cramps last?

Cramps linked to a single stressful event often ease within a few hours once the event has passed. Ongoing stress can cause symptoms that come and go over weeks or months.

What is the gut-brain connection?

The gut-brain connection is the two-way communication between your brain and your gut through nerves, hormones, your immune system and your gut bacteria. It explains why stress can affect your digestion and why gut problems can affect your mood.

Can stress cause IBS?

Stress is not thought to cause IBS on its own, but it is a common trigger for IBS flare-ups. Managing stress is an important part of managing IBS for many people.

Why does my stomach hurt when I am nervous?

When you are nervous, your body releases stress hormones and your nervous system goes into "fight or flight" mode. This changes how your gut moves and makes it more sensitive, which can cause butterflies, cramps or a sudden need for the toilet.

The bottom line

Stress stomach cramps and anxiety stomach pain are real and common. They happen because of the gut-brain connection, which links your brain and gut through nerves, hormones, your immune system and gut bacteria. Slow breathing, heat, a warm tea and a short walk can ease symptoms in the moment. Over time, regular exercise, good sleep, regular meals and talking therapies can help calm both your mind and your gut. See your GP if symptoms are ongoing, and reach out for support if stress is affecting your life.

Keep reading: IBS symptoms, stomach cramps at night and stomach cramps and diarrhoea.

This article is for general information only and is not a substitute for advice from your doctor or health professional. If symptoms persist, talk to your health professional.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.