sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Questions  ›  Why does my stomach hurt?

Question · Abdominal pain

Why does my stomach hurt?

Your stomach may hurt because of a digestive problem such as gas, indigestion, constipation, or a bowel infection, but pain in this area can also come from other organs, muscles, or nerves. Most abdominal pain is short-lived, although some causes need urgent medical care.

QuestionReviewed 2026-11-20sofidex editorial standards

Common causes
Gas, indigestion, constipation, bowel infections, or menstrual cramps
Where pain can come from
Organs, muscles, or nerves between the ribs and groin
Often improves
Within hours or a few days when caused by gas, indigestion, or a minor bowel infection
Important to know
The pain’s location and strength do not always show how serious the cause is

Possible reasons for the pain

Common digestive causes include trapped gas, indigestion, constipation, and stomach or bowel infections. Irritable bowel syndrome can cause recurring pain with constipation, diarrhoea, or both. Menstrual cramps and muscle strain are also common causes.

Other possibilities include ulcers, gallstones, kidney stones, urinary infections, hernias, endometriosis, and ovarian cysts. Urgent causes include appendicitis, inflammation of the gallbladder or pancreas, a blocked or perforated bowel, internal bleeding, and some pregnancy-related problems.

Clues to the cause

Notice whether the pain is dull, burning, sharp, cramping, or pressure-like; whether it moves or spreads; and whether it follows eating, improves after a bowel movement, or occurs around a menstrual period.

Symptoms such as bloating, vomiting, diarrhoea, constipation, fever, painful urination, bleeding, or a swollen abdomen may offer clues, but they cannot confirm the cause on their own.

What you can do for mild pain

If there are no warning signs, rest, drink small and frequent amounts of fluid, and eat smaller meals if you feel able. Gentle warmth may help cramps.

Track when the pain began, where it is, and any links with food, bowel movements, urination, menstrual timing, fever, or vomiting. A pharmacist can advise whether an antacid, constipation treatment, or nonprescription pain medicine is suitable.

When to get help. Get emergency help for severe or sudden pain, fainting, confusion, breathing trouble, chest pressure, vomiting blood, black or bloody stool, a rigid or very swollen abdomen, or swelling and vomiting when you cannot pass stool or gas. Seek medical advice promptly if pain worsens, lasts several days, keeps returning, or comes with fever, repeated vomiting, dehydration, yellow skin or eyes, blood in urine or stool, difficulty urinating, unexplained weight loss, or pregnancy with pain, bleeding, or faintness.

Sources

  1. 1National Health Service. Stomach ache and abdominal pain . NHS Health A to Z
  2. 2National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Indigestion
  3. 3National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Irritable Bowel Syndrome
  4. 4MedlinePlus, US National Library of Medicine. Abdominal Pain
  5. 5American College of Radiology. ACR Appropriateness Criteria: Acute Nonlocalized Abdominal Pain . 2023
  6. 6Cartwright SL, Knudson MP. “Evaluation of Acute Abdominal Pain in Adults.” American Family Physician . 2008;77(7):971–978
  7. 7American College of Obstetricians and Gynecologists. Ectopic Pregnancy patient guidance

Health information, not medical advice. Nothing here replaces talking to your own doctor about your own situation.