How do you diagnose and differentiate dyspepsia, non‑peptic‑ulcer dyspepsia (NPUD), peptic‑ulcer disease (PUD), gastro‑oesophageal reflux disease (GERD), and hyperacidity?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: February 11, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Diagnosis and Differentiation of Upper Gastrointestinal Disorders

Core Diagnostic Framework

The diagnosis begins by asking the patient to identify their single most predominant symptom, which determines the primary diagnostic pathway: if heartburn or acid regurgitation occurs more than once weekly, treat as GERD; if epigastric pain, burning, or discomfort predominates, treat as dyspepsia. 1, 2


Definitions and Diagnostic Criteria

GERD (Gastroesophageal Reflux Disease)

  • Defined as heartburn (burning sensation starting in epigastrium radiating to chest) or acid regurgitation occurring more than once weekly 1, 2
  • Diagnosis is primarily clinical in adolescents and adults with typical symptoms 3
  • More than 50% of GERD patients have normal endoscopy (non-erosive reflux disease), so absence of esophagitis does not exclude GERD 1, 4
  • Endoscopy is NOT required for diagnosis in uncomplicated cases 3

Dyspepsia (General Term)

  • Chronic or recurrent pain or discomfort centered in the upper abdomen lasting at least 8 weeks 3, 2
  • Cardinal symptoms include: epigastric pain, epigastric burning, postprandial fullness, or early satiation 3, 5
  • Heartburn alone is NOT dyspepsia, though it can coexist 3
  • Persistent vomiting is atypical and should prompt investigation for other disorders 3, 6

Functional Dyspepsia (Previously "Non-Ulcer Dyspepsia" or NPUD)

  • Diagnosed when one or more cardinal dyspeptic symptoms are bothersome for >8 weeks AND endoscopy shows no structural disease 3, 5
  • Accounts for 80% of patients with dyspepsia after endoscopic investigation 3, 1
  • Two subtypes exist:
    • Epigastric Pain Syndrome (EPS): Bothersome epigastric pain/burning ≥1 day per week 5
    • Postprandial Distress Syndrome (PDS): Bothersome postprandial fullness/early satiation ≥3 days per week 5
  • Up to 50% overlap with IBS, but pain in functional dyspepsia is unrelated to defecation 3, 5

Peptic Ulcer Disease (PUD)

  • Accounts for approximately 10% of upper gastrointestinal symptoms in dyspeptic populations 1, 6
  • Diagnosed definitively by endoscopy showing ulcer crater in stomach or duodenum 3
  • H. pylori infection is the principal cause of non-NSAID-related peptic ulcers 6
  • Symptoms alone cannot reliably distinguish PUD from functional dyspepsia 3

"Hyperacidity"

  • Not a recognized diagnostic entity in modern gastroenterology guidelines 3
  • This term is outdated; patients describing "hyperacidity" typically have either GERD, functional dyspepsia, or PUD 7, 8
  • Gastric acid secretion is NOT elevated in most functional dyspepsia patients 8, 9

Clinical Overlap and Differentiation

Key Distinguishing Features

Feature GERD Functional Dyspepsia PUD
Predominant symptom Heartburn/regurgitation >1×/week [1,2] Epigastric pain/discomfort [3,5] Epigastric pain (indistinguishable clinically) [3]
Symptom location Burning starts epigastrium, radiates to chest [3] Upper central abdomen [3,5] Epigastrium [6]
Relation to meals May worsen after meals/lying down [3] May be meal-related or fasting [3] Variable [6]
Endoscopy findings Esophagitis in <50% [1,4] Normal [3,5] Ulcer crater visible [3]
Response to PPI 80-90% improvement [6] Variable, modest [5] 80-90% ulcer healing [6]

Critical Clinical Reality

63-66% of patients with heartburn also have coexisting epigastric pain, and approximately one-third of functional dyspepsia patients have coexisting GERD symptoms 1, 5. This massive overlap means:

  • You cannot rely on symptoms alone to differentiate 3
  • Ask which symptom is most bothersome and predominant 1, 2
  • Treat the predominant symptom first 1, 4

Diagnostic Algorithm

Step 1: Screen for Alarm Features (Require Urgent Endoscopy)

Perform urgent 2-week wait endoscopy if: 3, 6

  • Age ≥55-60 years with new-onset dyspepsia or heartburn 3, 6
  • Dysphagia (food sticking sensation) 3, 6
  • Unintentional weight loss 3, 6
  • Persistent vomiting 3, 6
  • Evidence of GI bleeding (hematemesis, melena, anemia on CBC) 3, 6
  • Epigastric mass on examination 3
  • Family history of gastroesophageal malignancy in patient from high-risk area 3

Common pitfall: Delaying endoscopy in patients ≥55 years with new symptoms—age alone is an alarm feature regardless of other symptoms 3, 6

Step 2: For Patients WITHOUT Alarm Features

If Heartburn/Regurgitation Predominates (>1×/week):

  1. Diagnose as GERD clinically 1, 2
  2. Start empiric PPI therapy (omeprazole 20-40 mg once daily before meals) for 4-8 weeks 6, 2
  3. Endoscopy NOT required for diagnosis 3
  4. If symptoms persist after 8 weeks of twice-daily PPI, then perform endoscopy 3

If Epigastric Pain/Discomfort Predominates:

  1. Test for H. pylori using validated non-invasive test (^13C-urea breath test or stool antigen; NOT serology) 3, 6, 2
  2. If H. pylori positive: Eradicate with standard triple or quadruple therapy 6, 2
  3. If H. pylori negative OR symptoms persist after eradication: Start PPI trial (omeprazole 20-40 mg daily) for 4-8 weeks 6, 2
  4. If symptoms persist beyond 8 weeks despite treatment: Consider endoscopy 3, 2

Note: Test-and-treat for H. pylori is preferred when local prevalence ≥10%; empiric PPI is acceptable in low-prevalence areas 2

Step 3: Endoscopic Findings Determine Final Diagnosis

If endoscopy shows:

  • Esophagitis: Confirms GERD with erosive disease 3
  • Ulcer crater: Confirms PUD; biopsy for H. pylori 3, 6
  • Normal mucosa with dyspeptic symptoms: Diagnose functional dyspepsia 3, 5
  • Normal mucosa with heartburn: Diagnose non-erosive reflux disease (NERD) 1, 4

Diagnostic Testing: When and What to Order

History and Physical Examination

Essential elements to document: 3

  • Which symptom is most bothersome and predominant 1
  • Frequency: How many days per week? 3
  • Duration: Present for >8 weeks? 3, 5
  • Timing: Fasting vs. postprandial vs. nocturnal 3
  • Relationship to defecation (if yes, consider IBS instead) 3, 5
  • NSAID or aspirin use 3, 6
  • Previous acute gastroenteritis (10% develop post-infectious functional dyspepsia) 3, 5
  • Alarm features (see above) 3, 6

Laboratory Tests

Order in patients ≥55 years or with alarm features: 3, 6

  • Complete blood count (to detect anemia) 3, 6
  • Consider coeliac serology if IBS-type symptoms overlap 3

H. pylori Testing

Use validated non-invasive tests: 3, 6, 2

  • ^13C-urea breath test (preferred) 6
  • Stool antigen test 6, 2
  • Do NOT use serology (cannot distinguish active from past infection) 6

Upper Endoscopy with Biopsy

Indications: 3

  • Any alarm feature present 3, 6
  • Age ≥55-60 years with new-onset symptoms 3, 6
  • Symptoms persisting after 8 weeks of twice-daily PPI therapy 3
  • Treatment-resistant dyspepsia in patients ≥55 years 3
  • Obtain ≥5 esophageal biopsies if dysphagia present to exclude eosinophilic esophagitis 3

Common pitfall: Assuming normal endoscopy rules out GERD—it does not, as >50% of GERD is non-erosive 1, 4

Upper GI Series (Barium Study)

NOT recommended for routine diagnosis of GERD or dyspepsia 3

  • Too brief to rule out pathologic reflux 3
  • High false-positive rate for reflux 3
  • Only useful to delineate anatomy (stricture, hiatal hernia, malrotation) 3

Esophageal pH Monitoring or Impedance-pH

Reserved for: 3

  • Patients with typical GERD symptoms who failed twice-daily PPI AND have normal endoscopy 3
  • Performed OFF PPI for 7 days 3
  • Helps distinguish true refractory GERD from functional heartburn 3
  • Not needed for routine diagnosis 3

Esophageal Manometry

Indications: 3

  • Pre-operative evaluation before anti-reflux surgery (to assess peristalsis) 3
  • Suspected major motility disorder (achalasia, esophageal spasm) in patients with dysphagia and normal endoscopy 3
  • To localize lower esophageal sphincter for pH probe placement 3

Common Diagnostic Pitfalls

  1. Failing to ask about the predominant symptom leads to misclassification and inappropriate treatment 3, 1

  2. Assuming heartburn always means GERD and epigastric pain always means ulcer—symptoms overlap in 63-66% of cases 1, 5

  3. Over-relying on endoscopy to diagnose GERD—most GERD patients have normal endoscopy 1, 4

  4. Using serology for H. pylori testing—only breath or stool antigen tests are validated 6, 2

  5. Delaying endoscopy in patients ≥55-60 years—age alone mandates investigation 3, 6

  6. Attributing persistent vomiting to functional dyspepsia—vomiting is a red flag for organic disease 3, 6

  7. Ordering upper GI series to diagnose GERD or dyspepsia—it is not validated for this purpose 3

  8. Missing cardiac causes of epigastric pain—always consider acute coronary syndrome, especially in high-risk patients 6


Management Implications of Diagnosis

GERD

  • Empiric PPI therapy is first-line (omeprazole 20-40 mg daily before meals) 6, 2
  • No need for H. pylori testing unless dyspeptic symptoms also present 2

Functional Dyspepsia

  • Test and treat H. pylori first (provides 6-14% therapeutic gain and prevents future PUD and gastric cancer) 5, 2
  • If H. pylori negative or symptoms persist: PPI trial for 4-8 weeks 5, 2
  • Explain as disorder of gut-brain interaction, NOT psychological disease 3, 5

PUD

  • High-dose PPI therapy (omeprazole 20-40 mg daily) achieves 80-90% ulcer healing for duodenal ulcers and 70-80% for gastric ulcers 6
  • Eradicate H. pylori if present 6, 2
  • Stop NSAIDs if possible 3, 6

References

Guideline

Distinguishing Dyspepsia from GERD

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Research

Guidelines for the management of dyspepsia.

The American journal of gastroenterology, 2005

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Functional Dyspepsia Diagnosis and Management

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Guideline

Epigastric Pain Causes and Diagnostic Approach

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Research

Non-ulcer dyspepsia: myths and realities.

Alimentary pharmacology & therapeutics, 1991

Research

Non-ulcer dyspepsia: potential causes and pathophysiology.

Annals of internal medicine, 1988

Research

Non-ulcer dyspepsia and gastritis--clinical aspects.

Journal of physiology and pharmacology : an official journal of the Polish Physiological Society, 1993

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.