GI
GERD, Erosive Esophagitis, and Peptic Ulcer Disease
Sort the compartment first, then choose acid suppression, infection testing, or urgent endoscopy.
- Separate reflux symptoms, erosive esophageal injury, gastric or duodenal ulcer disease, and H pylori infection.
- Choose empiric PPI therapy, noninvasive H pylori testing, endoscopy, or urgent complication care from the stem.
- Use acid physiology, mucosal defense, NSAID exposure, and H pylori status to select current treatment.
Key distinctions
Separate the closest diagnoses
The figure compares the nearest alternatives and highlights the finding that separates them.
Quick check
A 46-year-old man has burning behind the sternum and sour regurgitation after large evening meals. He has no dysphagia, bleeding, anemia, weight loss, or persistent vomiting.
What is the best initial clinical lane?
No alarm feature means start in the GERD lane, not the procedure suite.The alarm-feature fork
The key decision is whether empiric management is safe or structural disease needs direct inspection.
Dysphagia, odynophagia, gastrointestinal bleeding, unexplained iron deficiency anemia, weight loss, and persistent vomiting are alarm features that favor upper endoscopy.
Typical heartburn and regurgitation without alarm features can begin with lifestyle measures and an empiric PPI trial; failure of an optimized trial or diagnostic uncertainty changes the pathway.
A younger patient with uncomplicated dyspepsia can enter a noninvasive H pylori test-and-treat pathway, while age, cancer risk, alarm features, bleeding, or suspected obstruction lower the threshold for endoscopy.
A negative endoscopy does not automatically exclude reflux; ambulatory reflux monitoring is used when objective confirmation is needed and the diagnosis remains uncertain.
Choose the stem that should bypass empiric therapy.
Alarm features do not diagnose cancer; they remove permission to guess.
Four labels that are not synonyms
The symptoms overlap, but the injured compartment and the proof required are different.
GERD is reflux of gastric contents that causes troublesome symptoms or complications; typical symptoms are heartburn and regurgitation.
Erosive esophagitis is visible esophageal mucosal injury from reflux and is one objective GERD phenotype, not a diagnosis made from symptom intensity.
Peptic ulcer disease is a mucosal defect in the stomach or duodenum, most often driven by H pylori or NSAID injury; meal timing alone is an unreliable separator.
H pylori is an infection that can cause chronic gastritis and gastric or duodenal ulcers, but infection can exist without an ulcer and an NSAID ulcer can occur without infection.
Match the label to the clinical center of gravity.
Retrosternal burning or regurgitation without alarm features; begin with lifestyle measures and a properly timed PPI trial.
Endoscopy shows mucosal breaks in the esophagus; severity guides healing and maintenance strategy.
A gastric or duodenal mucosal crater prompts a search for H pylori, NSAIDs, and complications.
Active infection is established by breath, stool, or biopsy-based testing and requires eradication plus test of cure.
Name the compartment before naming the treatment.
Numbers that change the next action
A few intervals and thresholds prevent the most common management errors.
An empiric PPI course for classic uncomplicated GERD is commonly assessed over 8 weeks, with dosing before a meal and optimization before declaring failure.
Optimized bismuth quadruple therapy for H pylori is given for 14 days when susceptibility is unknown and that regimen is appropriate.
Test of cure should occur at least 4 weeks after antibiotics are completed, with PPIs held for 2 weeks when clinically safe to reduce false-negative testing.
A Glasgow-Blatchford score of 0 or 1 identifies a very-low-risk upper gastrointestinal bleeding group that may be managed without hospital admission when the full clinical context agrees.
Place the high-yield values on the timeline.
Bismuth quadruple therapy duration in days
Minimum weeks after antibiotics before H pylori test of cure
Weeks to hold a PPI before H pylori test of cure
Very-low-risk upper GI bleed GBS upper value
Four weeks after antibiotics and two weeks off PPI: do not test cure too early.
Localize the clue before interpreting the pain
The anatomic target is often more useful than the patient's adjective for discomfort.
Retrosternal burning and regurgitation point toward the esophagus; epigastric pain can arise from stomach or duodenum but does not reliably identify ulcer location.
Hematemesis, coffee-ground emesis, or melena indicates upper gastrointestinal bleeding until proven otherwise; tachycardia, orthostasis, syncope, or shock signals important blood loss.
Sudden severe epigastric pain with guarding, rigidity, and free intraperitoneal air suggests perforation and demands resuscitation plus urgent surgical evaluation.
Gastric ulcers are generally biopsied or followed to exclude malignancy when appropriate; uncomplicated duodenal ulcers are far less likely to be malignant.
Point each clue to the compartment and complication it localizes.
Heartburn, regurgitation, dysphagia, and endoscopic erosions live above the gastroesophageal junction.
Gastric ulcer, H pylori gastritis, NSAID injury, and a need to exclude malignant ulcer pathology center here.
Acid load plus H pylori-related metaplasia and inflammation commonly produce duodenal ulcer disease.
A perforated ulcer spills luminal contents, producing abrupt pain, guarding, and possible free air.
Melena plus orthostasis or syncope means the ulcer may be depleting circulating volume.
Burning localizes poorly; bleeding and peritoneal signs do not.
Acid is the final common pathway, not the only cause
Ulceration reflects aggressive acid-peptic forces overcoming mucosal defense.
Histamine at H2 receptors raises cAMP, while acetylcholine at M3 receptors and gastrin at CCK-B receptors raise intracellular calcium; all converge on the parietal-cell H+/K+ ATPase.
A PPI covalently inhibits active proton pumps, so dosing before a meal improves pump activation and drug effect.
Gastric prostaglandins support mucus, bicarbonate, epithelial restitution, and mucosal blood flow; NSAID cyclooxygenase inhibition weakens this defense even when acid output is not increased.
H pylori urease permits survival in acid. Antral-predominant inflammation can reduce somatostatin and increase gastrin and acid delivery to the duodenum, while corpus-predominant atrophic disease may reduce acid yet increase gastric ulcer and cancer risk.
Advance from stimulus to injury and intervention.
Histamine, acetylcholine, and gastrin activate different second messengers that converge on the proton pump.
The apical H+/K+ ATPase is the final step of gastric acid secretion.
NSAIDs reduce protective prostaglandin effects; H pylori adds inflammation and changes acid regulation.
Suppress acid for healing, stop or mitigate NSAIDs, and eradicate active H pylori rather than treating every syndrome as reflux.
Acid makes the injury possible; the cause tells you why it happened.
Treatment changes when the driver changes
Use the minimum effective acid strategy, but never leave H pylori, NSAID exposure, bleeding, or perforation unaddressed.
For typical uncomplicated GERD, optimize lifestyle measures and PPI timing, then use the lowest effective maintenance strategy once symptoms are controlled; severe erosive disease may require long-term maintenance.
When antibiotic susceptibility is unknown, the 2024 ACG H pylori guideline prefers optimized 14-day bismuth quadruple therapy and advises against empiric clarithromycin- or levofloxacin-containing salvage regimens without demonstrated susceptibility.
Treat every confirmed H pylori infection and document eradication with a urea breath test, fecal antigen test, or appropriate biopsy-based test after therapy.
For NSAID-associated ulcer disease, stop the NSAID when possible and give PPI therapy; if anti-inflammatory treatment must continue, minimize NSAID exposure and add gastroprotection according to gastrointestinal and cardiovascular risk.
Overt bleeding requires resuscitation and risk assessment followed by timely endoscopy; perforation or uncontrolled bleeding moves beyond routine outpatient acid suppression.
Open the plan that fits the dominant driver.
Typical GERD without alarm features
Start a properly timed once-daily PPI trial, reinforce weight and meal-position measures when relevant, and reassess the need for continued therapy.
Do not label symptoms as erosive disease without endoscopic evidence.
Confirmed H pylori
Use a guideline-concordant eradication regimen, check adherence and antibiotic exposure, then prove eradication.
Symptom improvement is not a test of cure.
NSAID-associated ulcer
Stop or reduce the NSAID and heal with a PPI; continued NSAID need requires deliberate gastroprotection.
Acid suppression without addressing the NSAID leaves the driver active.
Bleeding or perforation
Stabilize first, obtain urgent endoscopic hemostasis for bleeding, and involve surgery immediately for perforation.
This page only flags the emergency fork; the separate ulcer-bleeding page carries procedural detail.
Treat the lesion, remove the driver, and prove the infection is gone.
Decisive finding
Pick the discriminator
Choose the finding that separates the closest competing diagnoses.
What is the best initial clinical lane?
- Key finding. A 46-year-old man has burning behind the sternum and sour regurgitation after large evening meals. He has no dysphagia, bleeding, anemia, weight loss, or persistent vomiting.
- Answer. Treat uncomplicated typical GERD with an empiric once-daily PPI trial
- Why. Typical heartburn and regurgitation without alarm features support an initial therapeutic PPI trial.
- Board rule. No alarm feature means start in the GERD lane, not the procedure suite.
Stage 1 of 3: Overview
Overview
GERD, Erosive Esophagitis, and Peptic Ulcer Disease
Ulceration reflects aggressive acid-peptic forces overcoming mucosal defense.
Separate the competing diagnoses
Five upper-GI presentations arrive in sequence. Commit to the lane before revealing the next clue.
Cross out mimics and highlight the finding that separates the diagnoses. Shuffle to compare a new case order.
A 38-year-old woman has six weeks of postprandial heartburn and sour regurgitation. She has no dysphagia, bleeding, anemia, weight loss, vomiting, or family history of upper-GI cancer.
Which next step best fits the presentation?
Reason it through
- Which two symptoms define the dominant syndrome?Retrosternal heartburn and sour regurgitation define a typical GERD presentation.
- Which missing clues keep her out of the endoscopy-first lane?She lacks dysphagia, bleeding, anemia, weight loss, and persistent vomiting.
- How should the medication be taken before judging response?Use a once-daily PPI before a meal and verify adherence and timing.
- Which two symptoms define the dominant syndrome?Retrosternal heartburn and sour regurgitation define a typical GERD presentation.
- Which missing clues keep her out of the endoscopy-first lane?She lacks dysphagia, bleeding, anemia, weight loss, and persistent vomiting.
- How should the medication be taken before judging response?Use a once-daily PPI before a meal and verify adherence and timing.
A 67-year-old man reports progressive solid-food dysphagia, early satiety, and a 6-kg unintentional weight loss. He calls the discomfort heartburn and asks for a stronger acid medicine.
What is the most appropriate next step?
Reason it through
- Which word in the symptom history carries the most weight?Progressive dysphagia is an alarm feature.
- What additional clue raises concern for advanced structural disease?Unintentional weight loss lowers the threshold for urgent endoscopic evaluation.
- Why is more empiric acid suppression unsafe as the only plan?It could mask symptoms while delaying diagnosis of stricture, malignancy, or obstruction.
- Which word in the symptom history carries the most weight?Progressive dysphagia is an alarm feature.
- What additional clue raises concern for advanced structural disease?Unintentional weight loss lowers the threshold for urgent endoscopic evaluation.
- Why is more empiric acid suppression unsafe as the only plan?It could mask symptoms while delaying diagnosis of stricture, malignancy, or obstruction.
A 59-year-old woman taking naproxen daily for osteoarthritis develops epigastric pain. Endoscopy shows a clean-based gastric ulcer, and biopsy testing for H pylori is negative.
Which management plan best addresses the driver?
Reason it through
- Which exposure weakens gastric mucus, bicarbonate, and blood flow?Chronic NSAID use reduces protective prostaglandin effects.
- Which competing common cause was actively assessed?Biopsy testing did not show active H pylori infection.
- What two-part plan heals and prevents recurrence?Remove or minimize the NSAID and use PPI therapy for ulcer healing and gastroprotection when needed.
- Which exposure weakens gastric mucus, bicarbonate, and blood flow?Chronic NSAID use reduces protective prostaglandin effects.
- Which competing common cause was actively assessed?Biopsy testing did not show active H pylori infection.
- What two-part plan heals and prevents recurrence?Remove or minimize the NSAID and use PPI therapy for ulcer healing and gastroprotection when needed.
A 43-year-old man with dyspepsia has a positive urea breath test. He has no penicillin allergy, no prior H pylori treatment, and no antibiotic susceptibility results.
Which plan best follows current eradication principles?
Reason it through
- What makes clarithromycin an unsafe empiric assumption?Susceptibility is unknown and resistance can make clarithromycin-containing therapy fail.
- How long is the preferred bismuth quadruple course?The current preferred course is 14 days.
- How is eradication documented after treatment?Use breath, fecal antigen, or appropriate biopsy-based testing at least four weeks after antibiotics and off PPI for two weeks when safe.
- What makes clarithromycin an unsafe empiric assumption?Susceptibility is unknown and resistance can make clarithromycin-containing therapy fail.
- How long is the preferred bismuth quadruple course?The current preferred course is 14 days.
- How is eradication documented after treatment?Use breath, fecal antigen, or appropriate biopsy-based testing at least four weeks after antibiotics and off PPI for two weeks when safe.
A 51-year-old man with a history of ulcer disease develops sudden severe epigastric pain. He is tachycardic, lies motionless, and has a rigid abdomen with involuntary guarding.
Which complication and action are most likely?
Reason it through
- Which examination finding moves this beyond routine ulcer pain?Involuntary guarding and rigidity indicate peritonitis.
- What mechanism creates the abrupt pain?Perforation spills gastric or duodenal contents into the peritoneal cavity.
- What must happen before outpatient etiologic testing?Resuscitation, rapid imaging as appropriate, antibiotics, and urgent surgical evaluation take priority.
- Which examination finding moves this beyond routine ulcer pain?Involuntary guarding and rigidity indicate peritonitis.
- What mechanism creates the abrupt pain?Perforation spills gastric or duodenal contents into the peritoneal cavity.
- What must happen before outpatient etiologic testing?Resuscitation, rapid imaging as appropriate, antibiotics, and urgent surgical evaluation take priority.
Rapid review
Three questions to check
What is the best initial clinical lane?
Treat uncomplicated typical GERD with an empiric once-daily PPI trial. Typical heartburn and regurgitation without alarm features support an initial therapeutic PPI trial.
Which two symptoms define the dominant syndrome?
Retrosternal heartburn and sour regurgitation define a typical GERD presentation.
Which missing clues keep her out of the endoscopy-first lane?
She lacks dysphagia, bleeding, anemia, weight loss, and persistent vomiting.
Medically reviewed

Fatima Ali, DO
PGY-1 Resident Physician in Psychiatry
University Hospitals, Columbia
DO from Kansas City University
Resident physician and founding medical reviewer at Bone Wizardry, focused on clinical accuracy, clear diagnostic reasoning, and practical board-oriented teaching across the curriculum.
Languages: English, Urdu
Medically reviewed
Sources
- American Society for Gastrointestinal Endoscopy Guideline on the Diagnosis and Management of GERD: Summary and Recommendations2025
- ACG Clinical Guideline: Treatment of Helicobacter pylori Infection2024
- ACG Clinical Guideline: Upper Gastrointestinal and Ulcer Bleeding2021
- Peptic Ulcers (Stomach or Duodenal Ulcers)2022
Bone Wizardry is a study resource for medical students. It is not medical advice.