Stomach cramps and bloating together are usually caused by something harmless, such as trapped wind, constipation, a tummy bug, something you ate or your period, and they normally settle within a few hours or days. It is time to worry when the pain is sudden and severe, keeps getting worse, moves to the lower right side, comes with a high temperature, vomiting, blood or fainting, or when cramps and bloating keep returning for weeks. Those signs need medical assessment rather than home care.
This article helps you sort everyday causes from symptoms that need a GP, NHS 111 or an emergency call. It is general information and cannot replace an assessment by a health professional who can examine you.
In short
- Most episodes of cramps and bloating come from wind, constipation, a tummy bug, food or the menstrual cycle.
- Sudden, severe or worsening pain, a hard tummy, fainting or vomiting blood are reasons to call 999 or go to A&E.
- Pain that starts around the belly button and moves to the lower right side can be appendicitis and needs urgent assessment.
- Cramps and bloating that keep coming back for weeks should be checked by a GP.
- Weight loss, blood in your stool or a lasting change in bowel habits always deserve a GP appointment.
What usually causes stomach cramps and bloating?
Cramps are the squeezing, wave-like pains that happen when the muscles in the gut wall tighten. Bloating is the full, tight feeling that often comes with them. Together they are among the most common reasons people feel unwell for a day or two.
The everyday causes include trapped wind after a large meal or fizzy drinks, constipation, a stomach bug with diarrhoea or vomiting, eating something that did not agree with you, drinking more alcohol than usual, and period pain. Some people also have long-term conditions that cause repeated cramps and bloating, such as irritable bowel syndrome or lactose intolerance.
The German health institute IQWiG estimates on its InformedHealth.org site that about 10 to 20 in 100 people have irritable bowel syndrome, which typically causes abdominal pain, cramps, bloating and changes in stool. It is a common, long-term condition, but it can only be diagnosed after other causes have been ruled out, which is why a GP visit matters when symptoms keep returning.
Which symptoms are usually harmless?
Cramps and bloating are less worrying when they follow a recognisable trigger and improve with time. Examples include discomfort after a big or rich meal that eases when you pass wind or open your bowels, cramps that come with a mild tummy bug and settle within a few days, and cramps that come before or during your period and follow your usual pattern.
In these situations, rest, sipping fluids, eating small, plain meals, a warm hot water bottle on your tummy and a short gentle walk often help. A pharmacist can advise on suitable remedies for wind, constipation, diarrhoea or period pain and can tell you when you should see a GP instead.
If trapped wind is the main problem, our article on gentle trapped wind relief at home has practical tips. For bloating that is linked to meals, see our guide to bloating after eating and the habits worth changing.
When should you call 999 or go to A&E?
Some symptoms need emergency care. Call 999 or go to A&E straight away if you have stomach pain or cramps together with any of the following:
- The pain is sudden and severe, or it is getting rapidly worse.
- Your tummy is hard and very tender to touch, or the pain is so bad that you cannot move or have to curl up with your knees drawn up.
- You are vomiting blood or something that looks like coffee grounds.
- Your stool is black and tarry, or you are passing a lot of blood.
- You feel faint, dizzy, very pale and clammy, or your heart is racing.
- You cannot pass wind or open your bowels and you are vomiting.
- You have chest pain, or pain that spreads to your shoulder, back or jaw.
- You are pregnant or could be pregnant and have severe pain or bleeding.
Appendicitis is a classic example of why sudden pain should not be ignored. IQWiG describes how the pain often starts in the upper tummy or around the belly button, gets worse within a few hours and moves down to the lower right side. Loss of appetite, nausea and fever are common, and if the inflammation spreads it can become life-threatening. In children, older adults and pregnant women the symptoms can be less typical, so take any severe, worsening pain seriously.
When should you call NHS 111 or see a GP urgently?
Not every worrying symptom needs an ambulance. Contact NHS 111 or ask for an urgent GP appointment on the same day if:
- The pain is not severe but has lasted several hours and is not easing.
- You have a high temperature together with tummy pain.
- You have diarrhoea or vomiting for more than two to three days, or you cannot keep fluids down.
- You notice signs of dehydration, such as very dark urine, passing little urine or feeling dizzy when you stand.
- Your skin or the whites of your eyes look yellow.
- You have pain or burning when you wee, together with tummy or back pain.
Gallstones are one cause of strong upper tummy pain. IQWiG describes gallstone pain as cramping, coming in waves and sometimes spreading to the right shoulder or back, usually easing within an hour and fading over a few hours. Yellow skin or eyes, darker urine and pale stools can point to a stone in the bile duct and need prompt medical attention.
Which symptoms need a routine GP appointment?
Some symptoms are not an emergency but should not be ignored either. Book a GP appointment if your cramps and bloating keep coming back for three weeks or more, if they affect your daily life, or if you notice:
- Weight loss without trying.
- Blood in your stool, even small amounts.
- A change in your bowel habits, such as looser or more frequent stools, that lasts several weeks.
- Bloating that does not go away, or a feeling of fullness after eating only a little.
- A lump in your tummy.
- New tummy symptoms after the age of 50.
IQWiG lists significant weight loss, blood in the stool, fever and pale skin as signs that point to conditions other than irritable bowel syndrome, such as inflammatory bowel disease. Most people with these symptoms do not have anything serious, but only a proper check can tell.
How can you sort your symptoms quickly?
The table below is a simplified overview to help you decide where to turn. When in doubt, it is always safer to call NHS 111 or speak to a pharmacist than to wait.
| Situation | Likely everyday cause | Where to turn |
|---|---|---|
| Cramps and wind after a big meal, easing within hours | Trapped wind or overeating | Home care, pharmacist if needed |
| Cramps with diarrhoea for one or two days | Tummy bug or food | Fluids and rest, pharmacist; NHS 111 if it lasts or you become dehydrated |
| Cramps before or during your period, as usual | Period pain | Pharmacist; GP if pain is severe or new |
| Recurring cramps and bloating for weeks | Several possible causes, including IBS or intolerance | GP appointment |
| Pain moving to the lower right side, with fever or nausea | Possible appendicitis | Urgent assessment: NHS 111, or 999 if severe |
| Sudden severe pain, hard tummy, fainting, blood | Possible emergency | 999 or A&E |
What can you note before you see a doctor?
A few notes help the doctor understand your symptoms more quickly. Write down when the pain started, where exactly it is and whether it moves, how strong it is on a scale from 0 to 10, what makes it better or worse, and any other symptoms such as fever, vomiting, diarrhoea or changes in your stool. For women, the date of your last period is important.
If your symptoms have been coming and going for a while, a food and symptom diary over two weeks gives your GP a clearer picture than memory alone. List any medicines and supplements you take, because some, such as iron tablets, magnesium or certain painkillers, can affect the stomach and bowels.
Frequently asked questions
Can stress cause stomach cramps and bloating?
Stress can affect how the gut moves and how sensitive it feels, so many people notice more cramps and bloating in stressful periods. Stress should not be assumed to be the cause, however, until other causes have been considered, especially if symptoms are new.
Is it normal to have cramps and bloating after antibiotics?
Antibiotics can upset the gut and cause loose stools, cramps and wind. Speak to your pharmacist or GP if you develop severe or bloody diarrhoea, or if symptoms continue after the course has finished.
Should I take painkillers for stomach cramps?
Ask a pharmacist which painkiller suits your situation. Some anti-inflammatory painkillers can irritate the stomach, and strong painkillers can hide the symptoms a doctor needs to assess. Do not take painkillers to cover up severe or worsening pain.
When are cramps and bloating in children a concern?
Children often get tummy aches, but severe pain, pain that wakes them at night, a high temperature, repeated vomiting, blood in the stool or signs of dehydration need prompt medical advice. Call NHS 111 if you are unsure.
Sources
- InformedHealth.org (IQWiG): Appendicitis
- InformedHealth.org (IQWiG): Gallstones
- InformedHealth.org (IQWiG): Irritable bowel syndrome
- InformedHealth.org (IQWiG): Diarrhea
Food supplements are not medicines and do not replace a varied, balanced diet and a healthy lifestyle. This article is general information and not medical advice; if you have symptoms or take medication, please speak to your GP or pharmacist.
