What is abdominal pain?
Abdominal pain is pain anywhere between the bottom of the ribs and the groin. People often call it stomach ache or tummy pain, though it can come from many organs besides the stomach.
The abdomen contains the stomach, the small and large bowel, the liver, gallbladder, pancreas, spleen, kidneys and bladder, and, in women, the womb and ovaries. Large blood vessels also run through it. Pain from the lower chest, the spine and the skin can be felt in the abdomen too.
Almost everyone has abdominal pain at some point. Most episodes are short and caused by trapped wind, indigestion, constipation or a stomach bug. An emergency medicine review explains that the challenge for doctors is to pick out the smaller group of people whose pain comes from a serious problem that needs prompt treatment (Macaluso and McNamara, 2012).
Where the pain is can give a clue
Doctors often divide the abdomen into areas. The site of the pain helps them think about which organ may be involved, although pain can move and overlap:
- upper middle (epigastric): stomach, duodenum, pancreas, food pipe
- upper right: liver, gallbladder, bile ducts
- upper left: stomach, spleen, pancreas tail
- around the belly button: small bowel and early appendicitis
- lower right: appendix, bowel, right ovary
- lower left: sigmoid colon, diverticular disease, left ovary
- lower middle: bladder, womb, rectum
- flank or back: kidneys, pancreas, large blood vessels
Short-lived or persistent?
Pain that starts suddenly and is severe is called acute abdominal pain and may need emergency care. Pain that has lasted weeks or months, or keeps coming back, is called chronic or recurrent. Cancer usually causes the second pattern: a steady or slowly worsening pain, often with other changes such as weight loss or a change in bowel habit.
Common non-cancer causes
The NHS lists trapped wind, indigestion, constipation and stomach bugs as the most common causes of stomach ache, and notes that it usually gets better within a few days (NHS, 2026).
| Cause | Typical features |
|---|---|
| Trapped wind and bloating | Crampy pain that moves around, eased by passing wind |
| Indigestion and gastritis | Burning pain in the upper abdomen after food; see persistent indigestion |
| Constipation | Lower abdominal cramps, hard stools, straining |
| Gastroenteritis | Crampy pain with diarrhoea and vomiting, usually lasting a few days |
| Irritable bowel syndrome (IBS) | Recurring cramps linked to bowel movements, bloating, diarrhoea or constipation |
| Gallstones | Severe pain under the right ribs lasting hours, often after a fatty meal |
| Appendicitis | Pain starting near the belly button and moving to the lower right; fever, vomiting |
| Kidney stones and urine infections | Severe flank pain spreading to the groin, or burning when passing urine |
| Diverticulitis | Pain in the lower left abdomen, fever, change in bowel habit |
| Period pain and endometriosis | Lower abdominal cramps linked to the menstrual cycle |
Cancers that can cause abdominal pain
Cancer can cause abdominal pain by blocking the bowel, stretching the liver capsule, pressing on nerves, causing fluid to build up, or growing into nearby tissue. The pain is usually vague at first and slowly gets worse.
| Cancer | Notes |
|---|---|
| Colorectal adenocarcinoma | Crampy pain with a change in bowel habit, blood in stool, anaemia |
| Pancreatic ductal adenocarcinoma | Dull upper abdominal pain spreading to the back; weight loss, jaundice, new diabetes |
| Gastric adenocarcinoma | Upper abdominal pain, feeling full quickly, indigestion, weight loss |
| Epithelial ovarian cancer | Lower abdominal or pelvic pain, persistent bloating, abdominal swelling |
| Hepatocellular carcinoma | Ache under the right ribs; often in people with liver cirrhosis |
| Gallbladder cancer and intrahepatic cholangiocarcinoma | Right upper pain, jaundice, itching |
| Gastrointestinal stromal tumour and gastrointestinal neuroendocrine tumours | Vague pain, bleeding, or bowel blockage |
| Lymphomas, such as diffuse large B-cell lymphoma | A mass in the abdomen, swollen glands, fevers and sweats |
What GP records show
A large UK study of 3,635 people with pancreatic cancer found that abdominal pain was five times more common in the year before diagnosis than in matched people without cancer. Weight loss and jaundice were stronger clues, and the risk from any single symptom other than jaundice was low (Stapley et al., 2012).
A study from Exeter found that abdominal pain carried a risk of colorectal cancer of about 1.1% in people aged 40 and over who reported it to their GP. The risk was higher when pain came with rectal bleeding, weight loss or anaemia (Hamilton et al., 2005).
Who is at higher risk?
- age over 50, because most abdominal cancers become more common with age
- a family history of bowel, stomach, pancreatic or ovarian cancer
- smoking, which raises the risk of pancreatic, stomach and bladder cancer
- long-term liver disease, hepatitis B or C, or heavy drinking
- long-standing pancreatitis or inflammatory bowel disease
- inherited conditions such as Lynch syndrome or BRCA gene changes
Red flags and when to see a doctor
| Situation | What to do |
|---|---|
| Mild pain with wind, indigestion or a short stomach bug | Rest, fluids and advice from a pharmacist |
| Pain that persists or returns again and again | Ask for an urgent GP appointment or contact a non-emergency helpline |
| Pain with weight loss you cannot explain | Ask for an urgent GP appointment |
| Pain with bloating that lasts or keeps returning | Ask for an urgent GP appointment |
| Pain with problems swallowing food, or bleeding from the bottom | Ask for an urgent GP appointment |
| Sudden or severe pain, or pain when the abdomen is touched | Call an ambulance or go to an emergency department |
| Vomiting blood, black sticky stools, or being unable to pass stools or wind | Call an ambulance or go to an emergency department |
These steps follow the NHS advice on stomach ache, which lists persistent bloating, unplanned weight loss and swallowing problems among reasons for an urgent GP appointment (NHS, 2026).
Red flags for a cancer cause
- pain that has lasted several weeks and is slowly getting worse
- unexplained weight loss
- a loss of appetite or feeling full after a few mouthfuls
- persistent bloating, especially in women over 50
- blood in your stool or black stools
- yellow skin or eyes
- pain that spreads to the back and is worse lying flat
- a lump you can feel in your abdomen
- tiredness and pale skin, which can mean anaemia
Pain that wakes you at night
Pain from IBS and wind rarely wakes people from sleep. Pain that regularly wakes you, or is present all the time, is more likely to have a physical cause and should be checked by a doctor.
Abdominal pain in older adults
Older people may have serious problems with milder pain than younger adults, and fever can be absent even with an infection. Doctors therefore tend to have a lower threshold for blood tests and scans in people over 65 with new abdominal pain.
Tests doctors use
The doctor will ask where the pain is, how it started, what it feels like, how long it lasts, and what makes it better or worse. They will ask about bowel habits, urine, periods, weight and appetite, and examine your abdomen.
| Test | What it shows |
|---|---|
| Blood tests | Anaemia, infection, inflammation, liver and kidney function, pancreatic enzymes |
| Urine test | Infection, blood in the urine, pregnancy |
| Faecal immunochemical test (FIT) | Hidden blood in the stool; helps decide who needs a colonoscopy |
| Ultrasound scan | Gallstones, liver, kidneys, ovaries and fluid in the abdomen |
| CT scan | Most abdominal organs, tumours, blockages and spread of cancer |
| Endoscopy and colonoscopy | A camera into the stomach or bowel, with biopsies if needed |
| CA125 blood test | A protein that can be raised in ovarian cancer; often checked in women with persistent bloating or pelvic pain |
Why more than one test is sometimes needed
Each test looks at a different part of the abdomen. An ultrasound is good for the gallbladder and ovaries but less clear for the pancreas and bowel. A CT scan gives a wider view. A camera test is the best way to see the lining of the stomach and bowel and to take samples.
Treatment depends on the cause
Non-cancer causes
- Wind, indigestion and constipation: dietary changes, fluids, fibre and pharmacy remedies
- IBS: regular meals, a low FODMAP diet with dietitian support, antispasmodic medicines, and stress management
- Gallstones: surgery to remove the gallbladder if attacks keep happening
- Appendicitis: usually surgery
- Infections: fluids, and antibiotics when bacteria are the cause
When cancer is the cause
- Bowel cancer: surgery, with chemotherapy for some people; HIPEC and cytoreductive surgery for selected people whose cancer has spread to the lining of the abdomen
- Pancreatic cancer: surgery such as a Whipple procedure when possible, and chemotherapy such as FOLFIRINOX
- Ovarian cancer: surgery and chemotherapy, followed for some people by PARP inhibitors
- Liver cancer: surgery, radiofrequency and microwave ablation, or TACE and radioembolisation
- Pain control: regular painkillers, and for pancreatic cancer a nerve block that numbs the nerves carrying pain from the pancreas
The National Cancer Institute summary on pancreatic cancer states that nerve blocks around the coeliac axis can give effective and lasting pain relief for some people with pancreatic cancer (National Cancer Institute, 2026).
Living with abdominal pain
Find your triggers
A food and symptom diary kept for two to four weeks can show links between pain and particular meals, stress, sleep or periods. Take it with you to appointments.
Practical tips
- Eat smaller meals more often and do not rush them.
- Drink enough water, especially if you are constipated.
- Increase fibre slowly to avoid extra wind.
- Use a hot water bottle or warm bath for cramps.
- Keep active; walking helps the bowel move.
- Avoid regular use of anti-inflammatory painkillers, which can irritate the stomach.
Pain during cancer treatment
Chemotherapy, radiotherapy to the abdomen, and some targeted drugs can cause cramps, diarrhoea or constipation. Strong painkillers can cause constipation too. Tell your cancer team about new or worsening pain, as it can usually be treated, and occasionally points to a problem such as a bowel blockage.
When pain is long-term
For people living with advanced cancer, pain is best managed by a team that may include palliative care specialists. Regular, long-acting painkillers, nerve blocks and treatments aimed at the tumour itself can all help. Good pain control improves sleep, appetite and mood.
Frequently asked questions
Can stress cause stomach pain?
Yes. Stress and anxiety can affect how the gut moves and how sensitive it is, and they often make IBS worse. A doctor may still want to rule out other causes first.
Is pain on the lower right always appendicitis?
No. It can also come from the bowel, the right ovary, a urine infection or constipation. Pain that is severe, worsening or comes with fever and vomiting needs urgent checking.
Does pancreatic cancer always cause pain?
No. Some people first notice jaundice, itching, dark urine or pale stools without pain. Others notice weight loss or new diabetes before any pain appears.
I have IBS. Could I miss bowel cancer?
IBS symptoms usually stay much the same over years. Tell your GP if your symptoms change, if you notice bleeding or weight loss, or if they start after the age of 50.
When is bloating a concern?
Bloating that comes and goes with meals is common. Bloating that is there most days for 3 weeks or more, especially in women over 50, should be checked by a GP.
Should I take painkillers before seeing a doctor?
Paracetamol is usually safe for mild pain. Avoid anti-inflammatory painkillers such as ibuprofen if you have indigestion or ulcers. For severe pain, get medical help rather than masking it.
Can children get abdominal pain from cancer?
It is very rare. Most children with tummy aches have constipation, infections or worries. A lump in the abdomen, weight loss or pain that wakes a child at night should be checked.
Can a hernia cause abdominal pain?
Yes. A hernia is a bulge where part of the bowel or fatty tissue pushes through a weak spot in the abdominal wall, often in the groin or near the belly button. It may ache when you lift or cough. A hernia that becomes hard, very painful and cannot be pushed back needs emergency care, because the bowel may be trapped.
How long should I wait before seeing a GP?
Mild pain from a stomach bug or indigestion usually settles within a few days. If pain lasts longer than that, keeps returning, or comes with any of the warning signs above, book an appointment rather than waiting.
Sources & References
- Hamilton, W. et al. (2005) ‘Clinical features of colorectal cancer before diagnosis: a population-based case-control study’, British Journal of Cancer, 93(4), pp. 399-405. Available at: https://pubmed.ncbi.nlm.nih.gov/16106247/
- Macaluso, C.R. and McNamara, R.M. (2012) ‘Evaluation and management of acute abdominal pain in the emergency department’, International Journal of General Medicine, 5, pp. 789-797. Available at: https://pubmed.ncbi.nlm.nih.gov/23055768/
- National Cancer Institute (2026) Pancreatic Cancer Treatment (PDQ) – Health Professional Version. Available at: https://www.cancer.gov/types/pancreatic/hp/pancreatic-treatment-pdq (Accessed: October 2026).
- NHS (2026) Stomach ache. Available at: https://www.nhs.uk/symptoms/stomach-ache/ (Accessed: October 2026).
- Stapley, S. et al. (2012) ‘The risk of pancreatic cancer in symptomatic patients in primary care: a large case-control study using electronic records’, British Journal of Cancer, 106(12), pp. 1940-1944. Available at: https://pubmed.ncbi.nlm.nih.gov/22617126/