← Full dyspepsia algorithm
Reasoning GP · Diagnostic Compass · decision tree

Dyspepsia1 PAGE

Indigestion in an adult: is it dangerous, how urgent, and what is the likely cause?
NICE CG184 · NG12 (Apr 2026) · HTG690 · CG95
BSG 2021, 2022 · BSG/ACPGBI 2025 · MHRA
Reviewed Oct 2026 · next review Apr 2027
Applies to: adults with new, changed or uninvestigated epigastric pain, fullness, bloating, nausea or heartburn, ≥4 weeks; in person or remote. Not children. A response to a PPI or antacid excludes neither cancer nor cardiac pain.
Dyspepsia presents

Haematemesis, coffee-ground vomit, melaena; any bleed on an anticoagulant · Shock: tachycardia + hypotension, pallor, syncope · Sudden severe pain, tearing or board-like rigidity (perforation, aneurysm) · Epigastric pain with sweating, nausea or breathlessness (inferior MI), ongoing · Jaundice, fever, RUQ pain → emergency admission

Emergency?
YES
CALL 999
Cirrhosis: assume variceal. Inferior MI: ECG without delaying transfer; aspirin 300 mg unless allergic, contraindicated or actively bleeding. NBM, stop NSAIDs.
NO

Cardiac-type pain now settled → same day · Persistent vomiting, outlet obstruction (succussion splash); severe pain, no clear cause → same day · Dysphagia, any age; ≥55 + weight loss with upper pain, reflux or dyspepsia · Epigastric mass, Virchow's node; jaundice ≥40 · ≥60 + weight loss with abdominal or back pain, bowel change, nausea, vomiting or new diabetes → urgent direct-access CT (pancreas) · Iron-deficiency anaemia, unexplained → urgent FIT

Same day or cancer pathway?
YES
SAME DAY · CANCER PATHWAY
Dysphagia: no PPI trial before referral. Treatment-resistant at ≥55, no weight loss: consider non-urgent direct-access OGD. FIT ≥10 µg Hb/g → colorectal pathway; a low FIT does not stop investigation.
NO
Which pattern?
Drugslinked to a new drug
  1. NSAIDs (OTC too), aspirin, steroids, bisphosphonates, SSRIs: stop or switch.
  2. Risk-assess before stopping secondary-prevention aspirin or steroids.
  3. NSAID needed: lowest dose, shortest time, gastroprotection.
Ulcer, H. pyloriworse hungry or at night
  1. Test and treat: off PPI 2 weeks, antibiotics 4 weeks.
  2. Positive: 7-day eradication (CG184).
  3. Proven ulcer: confirm eradication.
GORDheartburn, regurgitation, lying
  1. Full-dose PPI 4–8 weeks, 30 min before food.
  2. Partial: check timing, adherence; double dose a further month.
  3. Then step down; long-term PPI: review yearly.
Functional>8 weeks, alarm-free
  1. Positive diagnosis; no routine OGD (BSG 2022).
  2. After H. pylori and a 4-week PPI: amitriptyline 10 mg nocte (off-label).
  3. Or routine gastroenterology.
EVERY PATIENT

Tests that change management

  • H. pylori: urea breath test or stool antigen, off PPI 2 weeks, antibiotics 4 weeks. FBC, ferritin.
  • If indicated: LFTs, U&E if vomiting, tTG-IgA + total IgA, FIT if iron deficiency; ECG if autonomic features.
  • OGD by referral only: cancer pathway, non-urgent direct access per NG12, or after 2 full courses.
  • Not: office serology, breath test on PPI, first-line OGD.

Safety-net · follow up

  • 999: vomiting blood, black tarry stools, collapse, sudden severe pain. Today: dysphagia, weight loss, repeated vomiting, a lump.
  • 4 weeks of PPI: step down; 4–8 weeks named reviewer; 2 courses failed → gastroenterology.
  • Any new alarm feature → cancer pathway at once. Long-term PPI: yearly.
Never: Reassure by relief on a PPI or antacid, or by young age with dysphagia · Trust a negative H. pylori test on a PPI or antibiotics; accept a low FIT in iron deficiency · Call epigastric pain with sweating "reflux" without an ECG
Reasoning GP · Dyspepsia · decision tree · v1.0 · Oct 2026 · Full algorithm: gpreasoning.uk/tools/algorithms/dyspepsia.htmlDecision support, not a substitute for clinical judgement. Check doses in the SPC and your local formulary.