Symptom guide
Chronic abdominal pain: causes, red flags and when to seek help
Abdominal pain that lingers for weeks, or that settles and then returns again and again, is a different problem from a sudden stomach ache. Most long-running tummy pain turns out to be a functional gut condition such as irritable bowel syndrome, but a pattern that is new, worsening or accompanied by weight loss or bleeding needs a proper look. This guide explains how the causes differ and what usually happens at the GP.
Last checked: 2026-10-03
Key facts
At a glance.
-
Pain that persists
The NHS lists a stomach ache that does not go away or keeps coming back as a reason to ask for an urgent GP appointment or call NHS 111.
-
IBS is common
Cramps that are usually worse after eating and better after opening your bowels are one of the main IBS symptoms described by the NHS.
-
No single test for IBS
The NHS says there is no test for IBS itself; blood and stool tests are used to rule out other causes such as coeliac disease and inflammatory bowel disease.
-
Weight loss matters
Losing weight without trying, a hard lump in the tummy or bleeding from the bottom are warning features that should not be left to settle.
-
Emergency signs
Pain that starts very suddenly or is severe, a tender belly, black sticky stools or an inability to pass wind or stool need 999 or A&E.
What counts as chronic or recurring tummy pain
There is no sharp cut-off, but doctors tend to think of abdominal pain as chronic once it has lasted several weeks, or when the same pain comes and goes over months. That is quite different from the sort of stomach ache that follows a dodgy meal or a stomach bug and fades in a few days.
The pattern you notice is the most useful clue. Pain that eases after you open your bowels points towards the gut itself. Pain that arrives an hour or two after meals, or that wakes you at night, points elsewhere. Pain linked to your periods, to passing urine, or to a particular movement or posture suggests the cause may sit outside the digestive tract altogether.
Keeping a simple diary for two weeks, noting when the pain starts, what you had eaten, what your bowel habit was and where you felt it, often gives your GP more to work with than any single examination.
Common causes and how to tell them apart
The NHS describes irritable bowel syndrome (IBS) as a common condition affecting the digestive system, causing stomach cramps, bloating and diarrhoea, and notes it is usually lifelong but can be helped by lifestyle changes and medicine. It is often the first thing a GP considers when cramping has gone on for a long time and the person is otherwise well.
The table below sets out patterns that tend to go with different causes. It is a way of thinking about the problem, not a way of diagnosing yourself.
| What you notice | What it may point towards |
|---|---|
| Cramps, bloating and a changeable bowel habit, better after a poo | Irritable bowel syndrome |
| Pain, hard stools, straining and feeling you cannot empty fully | Constipation |
| Burning or fullness in the upper tummy, heartburn, feeling sick after eating | Indigestion or reflux |
| Bloating and diarrhoea after wheat, with tiredness | Coeliac disease needs excluding |
| Severe pain for hours in the middle or under the right ribs | Gallstones |
| Persistent diarrhoea, blood or mucus, night-time symptoms | Inflammatory bowel disease needs excluding |
| Pain with periods, or deep pelvic ache at other times | Gynaecological causes such as endometriosis |
| Pain in the flank that spreads to the groin, with urinary symptoms | Kidney stones or urinary problems |
Features that point to something more serious
Most people with long-term tummy pain do not have a dangerous cause, but certain features change the picture and prompt doctors to investigate more fully rather than watch and wait. The NHS IBS pages say that losing a lot of weight for no reason, bleeding from the bottom or bloody diarrhoea, and finding a hard lump or swelling in the tummy could be signs of something more serious.
The NHS also lists, for any stomach ache, difficulty swallowing food, bloating that does not go away or keeps coming back, being pregnant, and unusual bleeding or abnormal discharge from the vagina as reasons to ask for an urgent GP appointment or NHS 111 help.
-
Weight loss you cannot explain by dieting or illness.
-
Blood in your stool or black, tarry stools.
-
A new lump or swelling you can feel in your abdomen.
-
Persistent change in bowel habit that is new for you, especially if you are over 50.
-
Tiredness, breathlessness or looking paler than usual, which can mean anaemia.
-
Difficulty swallowing, or persistent vomiting.
-
Pain that wakes you reliably from sleep.
Red flags: when to get urgent help
The NHS advises calling 999 or going to A&E if a stomach ache came on very suddenly or is severe, if it hurts when you touch your stomach, if you are vomiting blood or your vomit looks like ground coffee, if your poo is bloody or black, sticky and extremely smelly, if you cannot pee, or if you cannot poo or fart. Chest pain, difficulty breathing, collapse, or vomiting in someone who has diabetes are also on that list.
Do not drive yourself. Ask someone else to take you or call 999 and ask for an ambulance, and bring the medicines you take.
For symptoms that are not an emergency but are getting much worse, ask for an urgent GP appointment or phone NHS 111 rather than waiting for the next routine slot.
What the GP asks and examines
For IBS-type symptoms the NHS says the GP will ask what symptoms you have, whether they come and go, how often you get them, when they occur (for example after eating certain foods) and how long you have had them. They may also feel your tummy to check for lumps or swelling.
Expect questions about your weight over recent months, what you eat and drink including alcohol and caffeine, any medicines you take regularly (some painkillers and antibiotics can upset the gut), family history of bowel disease or cancer, and your mood and stress levels, because the gut and the brain influence each other closely.
Women may be asked about periods and pelvic symptoms, and men about urinary symptoms, since pain from outside the gut often masquerades as a bowel problem.
Tests you may be offered
The NHS says IBS cannot be confirmed by a test, but other tests may be used to rule out other causes. It names a blood test to check for problems such as coeliac disease, and tests on a stool sample to look for infections and inflammatory bowel disease. It adds that further hospital tests are not usually needed unless the GP is unsure what is wrong.
If the story includes any warning features, your GP may add a full blood count to look for anaemia, a stool test for hidden blood, or an urgent referral for endoscopy, colonoscopy or imaging. A referral for investigation does not mean cancer has been found; it is how doctors exclude it.
-
Blood tests for coeliac disease, anaemia and inflammation.
-
Stool tests for infection, inflammation or hidden blood.
-
Ultrasound or CT scans when the pain suggests the gallbladder, kidneys or other organs.
-
Endoscopy or colonoscopy to look directly at the gut lining.
What you can try yourself
The NHS says IBS symptoms can be triggered by alcohol, caffeine, certain foods such as spicy or fatty food, stress and anxiety, and regular antibiotic use. Noticing your own triggers, and easing off the obvious ones for a few weeks, is a reasonable first step.
A pharmacist can talk through medicines for constipation and indigestion and suggest treatments that might help. Gentle regular exercise, regular meals and enough fluids are low-risk measures. Avoid repeatedly taking painkillers for tummy pain without advice, as some can irritate the stomach lining.
Who to see
Start with your GP. The NHS suggests seeing a GP if you think you might have IBS and have had symptoms for over four weeks. If the cause remains unclear, or investigations find something, the next step is usually a gastroenterologist, and sometimes a gynaecologist, urologist or surgeon depending on where the problem lies. Dietitians help with gut symptoms that seem food-related.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
How long is too long for stomach pain to carry on?
The NHS lists a stomach ache that does not go away or keeps coming back as grounds for an urgent GP appointment or NHS 111 contact. In practice, pain lasting more than a few weeks deserves a proper assessment rather than waiting indefinitely.
-
Could my long-term tummy pain be IBS?
It might be, particularly if you get cramps that are worse after eating and better after a poo, with bloating and a changeable bowel habit. The NHS says a GP can check for IBS and arrange tests to rule out other problems.
-
Is there a test that proves IBS?
No. The NHS says there is no test for IBS, but blood tests for coeliac disease and stool tests for infection and inflammatory bowel disease may be done to exclude other causes.
-
Can stress cause real abdominal pain?
Yes. The NHS lists stress and anxiety among the triggers for IBS flare-ups. The pain is genuine even when no structural damage is found.
-
Should I worry if I am losing weight as well?
Weight loss without trying, alongside tummy pain, is one of the warning features the NHS highlights. It should be assessed promptly instead of being put down to stress.
-
Can food intolerances cause chronic abdominal pain?
They can contribute, and coeliac disease in particular is checked by blood test before gluten is cut out, because avoiding gluten first can make the test unreliable. Ask your GP before changing your diet drastically.
-
Does pain from the gallbladder come and go?
Gallstone pain tends to arrive as attacks. The NHS describes severe pain lasting for hours in the centre of the tummy or just under the right ribs as a possible gallstone sign.
-
When is stomach pain an emergency?
The NHS says to call 999 or go to A&E if pain starts very suddenly or is severe, hurts to touch, or comes with vomiting blood, black or bloody stools, inability to pass wind or stool, or inability to pee.
-
Can a pharmacist help with recurring tummy pain?
A pharmacist can discuss possible causes and medicines for constipation or indigestion. If pain keeps returning or you have any warning features, a GP assessment is the right next step.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
NHS: Stomach ache. https://www.nhs.uk/conditions/stomach-ache/ (retrieved October 2026)
-
NHS: Symptoms of IBS (irritable bowel syndrome). https://www.nhs.uk/conditions/irritable-bowel-syndrome-ibs/symptoms/ (retrieved October 2026)
-
NHS: Getting diagnosed with IBS (irritable bowel syndrome). https://www.nhs.uk/conditions/irritable-bowel-syndrome-ibs/diagnosis/ (retrieved October 2026)
Related guides
Keep reading.
-
Irritable bowel syndrome (IBS)
Symptoms, triggers and management of IBS.
Read guide -
Coeliac disease
Why a blood test comes before a gluten-free diet.
Read guide -
Gallstones
Pain under the right ribs and what causes it.
Read guide -
Faecal calprotectin test
A stool test that helps separate IBS from inflammatory bowel disease.
Read guide -
Acute abdominal pain
When tummy pain comes on suddenly.
Read guide