Medically Reviewed

Stomach Pain

Symptoms, Causes & Treatment

Stomach pain (epigastric pain) is one of the most common presentations in primary care. The underlying cause ranges from benign functional dyspepsia to surgical emergencies requiring immediate hospital care. Accurate assessment ensures timely and appropriate management.

Book My Consultation
Learn More
Licensed UK clinicians
Same-day prescriptions, where clinically appropriate
Delivered to your door within 24 hours
What our patients say
4.7 out of 5
Easy and efficient! … I am on the mend and so glad this service exists.
Pete Garvey
Excellent. Started to feel unwell and needed to see Dr before going on holiday. Couldn't get' GP appointment in time. I was 'seen' within 30mins of signing up. Just picked up a prescription. Very impressed with the Dr Victoria White.
Iann de Courcy
Fantastic service received from the gp service. Easy to book consultation… Would definitely use again :- )
Jay
Fantastic service. Easy to sign up and instructions were very clear. My doctor, Dr Shakil David Alam was amazing; listened to my issues, gave me in depth advice and really helped me out. Would definitely reuse - the speed of the service was impressive. Thank you Dr Shakil.
Babac Pashazadeh
I'm not someone who posts reviews regularly, but I have to say the process was super smooth. Booked a same day appointment with a clearly experienced and friendly doctor…
Yardie Grandmaster
Excellent service - quick, professional, and really convenient. The doctors are thorough and the whole process is smooth from start to finish. Highly recommend.
Mohammad Hassan
What our patients say
4.7 out of 5
Easy and efficient! … I am on the mend and so glad this service exists.
Pete Garvey
Excellent. Started to feel unwell and needed to see Dr before going on holiday. Couldn't get' GP appointment in time. I was 'seen' within 30mins of signing up. Just picked up a prescription. Very impressed with the Dr Victoria White.
Iann de Courcy
Fantastic service received from the gp service. Easy to book consultation… Would definitely use again :- )
Jay
Fantastic service. Easy to sign up and instructions were very clear. My doctor, Dr Shakil David Alam was amazing; listened to my issues, gave me in depth advice and really helped me out. Would definitely reuse - the speed of the service was impressive. Thank you Dr Shakil.
Babac Pashazadeh
I'm not someone who posts reviews regularly, but I have to say the process was super smooth. Booked a same day appointment with a clearly experienced and friendly doctor…
Yardie Grandmaster
Excellent service - quick, professional, and really convenient. The doctors are thorough and the whole process is smooth from start to finish. Highly recommend.
Mohammad Hassan
Overview

What Causes Stomach Pain?

Stomach pain encompasses any discomfort in the upper abdominal region. The most common causes are H. pylori-related peptic ulcer disease, functional dyspepsia, GORD, gallstones, and NSAID-induced gastritis. Emergency causes including pancreatitis, aortic aneurysm, and perforation must be excluded in any patient presenting with severe acute epigastric pain.

Symptoms

Symptoms of Stomach Pain

The location, timing, radiation, and associated features of epigastric pain guide the diagnosis and urgency of investigation.

Stomach Pain Symptoms

Epigastric or upper abdominal pain · Pain worse or better after eating · Gnawing, burning, or cramping sensation · Nausea · Belching or bloating · Loss of appetite · Feeling full quickly

common
Stomach Pain: Emergency Presentations

Severe sudden epigastric pain radiating to the back (pancreatitis — emergency) · Vomiting blood or melaena (black tarry stools) · Rigid board-like abdomen (perforation) · Pain with fever and jaundice (ascending cholangitis)

serious
Call 999 If:

Sudden severe epigastric pain radiating to back · Vomiting blood · Black tarry stools · Rigid abdomen · Jaundice with fever — call 999 immediately.

Causes & Risk Factors

What Causes Stomach Pain?

Stomach pain arises from many conditions. Identifying location, character, timing, and associated features narrows the differential diagnosis and guides investigation.

Peptic Ulcer Disease

Gastric ulcers are caused by H. pylori infection (70–80%), NSAID use, and excess acid production. They cause gnawing epigastric pain, often worsened by eating. Duodenal ulcers are more common and typically relieved by food.

Gastritis & H. pylori

Gastritis (inflammation of the gastric mucosa) causes nausea, vomiting, and epigastric pain. Acute causes include H. pylori, NSAIDs, alcohol, and stress. Chronic autoimmune gastritis leads to pernicious anaemia from B12 malabsorption.

Acute Pancreatitis

Acute pancreatitis causes sudden severe epigastric pain radiating to the back, nausea, vomiting, and raised serum amylase/lipase. The most common causes are gallstones (40%) and alcohol (40%). It requires urgent hospital admission.

Gallstones & Biliary Colic

Biliary colic from gallstones causes sudden severe right upper quadrant pain, often after fatty meals, with radiation to the right shoulder. Cholecystitis (infected gallbladder) presents with fever and peritoneal signs requiring urgent surgery.

Functional Dyspepsia

Functional dyspepsia causes recurrent upper abdominal pain, early satiety, and nausea without identifiable organic cause. Rome IV subgroups: postprandial distress syndrome (PDS) and epigastric pain syndrome (EPS). Treated with PPIs and gut-directed therapy.

Vascular Emergencies Mimicking Stomach Pain

Aortic aneurysm rupture, mesenteric ischaemia, and inferior myocardial infarction can all present with acute epigastric or diffuse abdominal pain. These are immediately life-threatening and require 999 emergency care.

Key Risk Factors

H. pylori infection
Regular NSAID or aspirin use
Alcohol excess
Gallstones
Acute or chronic pancreatitis
Stress and anxiety
High-fat diet triggering biliary colic
Previous abdominal surgery (adhesions)
Smoking (gastric ulcer risk)
Diabetes (gastroparesis)
Corticosteroid use
Age over 55 with new dyspepsia
Diagnosis

Diagnosing Stomach Pain

H. pylori testing, blood tests, ultrasound, and endoscopy are the key investigations, depending on whether alarm features are present and the likely diagnosis.

Test
What It Detects
When Used
H. pylori Testing (Stomach Pain)
Active H. pylori infection as cause of peptic ulcer or gastritis
Epigastric pain without alarm features in adults under 55 ('test and treat')
Upper GI Endoscopy (OGD - Stomach)
Gastric or duodenal ulcer; gastritis; malignancy; H. pylori biopsy
Alarm features; haematemesis; melaena; age over 55 with new dyspepsia
Amylase / Lipase (Pancreatitis)
Acute pancreatitis: raised amylase >3x ULN or raised serum lipase
Severe epigastric pain radiating to back; nausea; suspect pancreatitis
CT Abdomen (Stomach Pain)
Pancreatitis severity; gallstones; bowel obstruction; vascular pathology
Severe or complicated acute pancreatitis; inconclusive USS
Ultrasound Abdomen (Gallstones)
Gallstones, biliary dilation, cholecystitis, hepatic lesions
RUQ pain after fatty meals; suspected biliary colic or cholecystitis
LFTs & Bilirubin
Liver disease, obstructive jaundice from gallstones, hepatitis
Epigastric pain with jaundice, dark urine, or pale stools
Treatment Options

Treatment for Stomach Pain

Treatment targets the underlying cause. H. pylori eradication heals peptic ulcers. PPIs treat acid-related conditions. Surgery is required for gallstones, pancreatitis complications, and GI perforation.

Antibiotic
Typical Use
Standard Course
H. pylori Eradication (Stomach Pain)
H. pylori-positive peptic ulcer or gastritis; heals ulcers in 90% without ongoing acid suppression
Triple therapy: PPI + clarithromycin + amoxicillin for 7 days; confirm eradication 4 weeks later
PPI (Stomach Pain)
Functional dyspepsia; NSAID-related gastritis; acid peptic disease without H. pylori
Omeprazole 20–40mg daily; 4–8 weeks; H. pylori-negative dyspepsia
NSAID Cessation + Gastroprotection
NSAID-induced gastritis or peptic ulcer; prevents GI complications in high-risk patients
Stop NSAID if possible; if essential, add PPI (omeprazole 20mg) daily; ongoing
IV Fluids + Nil by Mouth (Pancreatitis)
Acute pancreatitis; aggressive fluid replacement prevents organ failure
IV fluid resuscitation; analgesia; NBM initially; restart feeds early; hospital care
Laparoscopic Cholecystectomy
Symptomatic gallstones causing biliary colic or cholecystitis; curative
Elective or urgent; day case or 1–2 days; laparoscopic approach standard
Prokinetics (Gastroparesis)
Gastroparesis causing nausea and early satiety; use with caution due to side effects
Metoclopramide 10mg TDS or domperidone 10mg TDS before meals; short course

Supportive Measures

Take PPIs or antacids as prescribed. Eat small frequent low-fat meals. Avoid alcohol, NSAIDs, and smoking. Apply a warm heat pack. Stay hydrated. Sit upright after meals. Seek urgent care for any sudden worsening of pain.

Managing Chronic Stomach Pain

Chronic dyspepsia requires long-term management. H. pylori should be eradicated when found. PPIs should be used at the lowest effective dose with annual review. Gallstones causing recurrent biliary colic are best treated by laparoscopic cholecystectomy to prevent complications.

When to Seek Help

When to Seek Help

Emergency — Call 999

Sudden severe epigastric pain radiating to back · Vomiting blood · Black tarry stools · Rigid abdomen · Pain with jaundice and fever — call 999 immediately. These are surgical emergencies.

Book a GP Appointment

See a GP for recurrent or persistent epigastric pain, especially if over 55 or with alarm features. An online GP consultation can arrange H. pylori testing and ultrasound without delay.

Prevention

Preventing Stomach Pain

Most common causes of stomach pain are preventable through H. pylori eradication, safe NSAID use, alcohol moderation, and low-fat diet.

Test & Treat H. pylori Early

Test for H. pylori if you have recurring indigestion or dyspepsia. Early identification and eradication treatment heals peptic ulcers in over 90% of cases and dramatically reduces the risk of recurrence.

Use NSAIDs Safely

If you take NSAIDs regularly, take them with food and discuss gastroprotection with your GP. Co-prescribing a PPI significantly reduces the risk of NSAID-induced gastritis, peptic ulcer, and GI haemorrhage.

Limit Alcohol

Reduce alcohol intake to within recommended limits (14 units/week maximum). Alcohol directly damages the gastric mucosa, triggers biliary colic, and is one of the two most common causes of acute pancreatitis.

Low-Fat Diet to Prevent Biliary Colic

Eat a low-fat diet to reduce biliary colic from gallstones. Maintain a healthy weight, as obesity is the leading risk factor for gallstone formation. Rapid weight loss also increases gallstone risk — lose weight gradually.

Early Endoscopy for Alarm Features

Attend gastroscopy if you have alarm features (dysphagia, haematemesis, melaena, unexplained weight loss, or new dyspepsia over 55). Early endoscopy identifies peptic ulcer, Barrett's oesophagus, and gastric cancer.

Stop Smoking (Stomach Health)

Stop smoking. Smoking increases gastric acid secretion, reduces mucosal prostaglandins, and is an independent risk factor for peptic ulcer disease and delayed ulcer healing.

Getting Treatment

Getting Treatment

A GP can arrange H. pylori testing, ultrasound for gallstones, prescribe PPIs, and refer urgently for endoscopy when alarm features are present. An online consultation is a good first step for non-emergency epigastric pain.

Woman sitting on a couch using a mobile app with a calendar and timer interface on the screen.
1
Book Your Appointment
Book to see a consultant online the same day, at a time that suits you.
Open 365 days a year, 8am - 5pm
Same-day appointments available
Smiling male doctor wearing a white coat and stethoscope holding a tablet in a hospital corridor.
2
See a Consultant
Speak to one of our licensed medical professionals from anywhere - using a phone, computer, or tablet.
Request prescriptions
Request Fit Notes
Request Referral Letters
Pharmacist wearing a white coat smiling and explaining medication to a female customer in a pharmacy.
3
Book a Consultation
Within minutes of your consultation, receive prescriptions, fit notes, or referral letters where clinically appropriate.
Collect prescriptions within an hour of issue
Pick up from ANY pharmacy
Shared with your medical records & NHS GP

Expert clinical advice, when you need it.

See a licensed clinician online in minutes. If treatment is clinically right for you, your prescription will be sent to your pharmacy the same day.
Book My Consultation
No waiting room
Delivered to your door within 24 hours
Open 365 days a year
Licensed UK clinicians
Secure & confidential
Frequently Asked Questions

Stomach Pain — Frequently Asked Questions

What causes stomach pain?

The most common causes of epigastric pain are H. pylori-related peptic ulcer disease, functional dyspepsia, GORD (acid reflux), gallstones (biliary colic), and NSAID-induced gastritis. In adults over 55 with new dyspepsia, endoscopy is recommended to exclude gastric cancer. A GP can assess symptoms and arrange appropriate investigations.

When is stomach pain an emergency?

Call 999 immediately for sudden severe epigastric pain radiating to the back (possible pancreatitis or aortic aneurysm), vomiting blood, black tarry stools, severe pain with a rigid abdomen (perforation or peritonitis), or epigastric pain with jaundice. These are surgical or vascular emergencies.

What is a peptic ulcer?

Peptic ulcers are sores in the stomach (gastric ulcers) or the first part of the small intestine (duodenal ulcers). They cause burning or gnawing epigastric pain, often worsened by food (gastric) or relieved by food (duodenal). H. pylori infection is the most common cause. Eradication therapy heals over 90% of ulcers permanently.

How is H. pylori diagnosed and treated?

H. pylori is diagnosed by urea breath test (most accurate non-invasive test), stool antigen test, or gastric biopsy at endoscopy. Treatment is 7-day triple therapy (PPI + clarithromycin + amoxicillin). Eradication should be confirmed 4 weeks later by repeat breath test or stool antigen test.

What are gallstones and how are they treated?

Gallstones cause right upper quadrant pain, often after fatty meals, which may radiate to the right shoulder or scapula. Episodes typically last 1–6 hours. Cholecystitis (infected gallbladder) adds fever and peritoneal tenderness. Gallstones are treated by laparoscopic cholecystectomy — a highly effective day-case procedure.

What causes pancreatitis?

Acute pancreatitis causes sudden severe epigastric pain radiating to the back, with nausea, vomiting, and fever. It is most commonly caused by gallstones (40%) or alcohol (40%). Pancreatitis is a hospital emergency requiring IV fluids, analgesia, and close monitoring. Recurrent pancreatitis may damage the pancreas permanently.

What is functional dyspepsia?

Functional dyspepsia is recurrent upper abdominal pain or discomfort (early satiety, postprandial fullness, nausea) without an organic cause identified at endoscopy. It is very common and often responds to H. pylori eradication (if positive), PPI therapy, dietary modifications, and low-dose tricyclic antidepressants for pain sensitisation.

When should I see a GP for stomach pain?

A GP can test for H. pylori and prescribe eradication therapy, arrange ultrasound for gallstones, prescribe PPIs for acid-related pain, and refer urgently for endoscopy when alarm features are present. An online consultation is a good first step for non-emergency epigastric pain.

Medical Disclaimer: The information on this page is provided for educational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of a qualified healthcare professional with any questions you may have regarding a medical condition or medication. Never disregard professional medical advice or delay seeking it because of something you have read on this page. If you think you may have a medical emergency, call 999 or your local emergency services immediately.