Indigestion and functional dyspepsia: when to test for H. pylori, do endoscopy, or treat
Evaluate upper abdominal discomfort, early fullness and epigastric burning. Apply the endoscopy and Helicobacter pylori pathways and treat persistent functional dyspepsia.
What you’ll learn
- Separate uninvestigated dyspepsia from a working diagnosis of functional dyspepsia.
- Select endoscopy or noninvasive H. pylori testing according to risk.
- Match persistent symptoms to a staged treatment plan and follow-up.
What does the patient mean by indigestion?
Dyspepsia usually refers to symptoms centered in the epigastrium, such as early satiation, postprandial fullness, epigastric pain, or burning. Identify the dominant symptom and its relation to meals. Retrosternal heartburn and regurgitation suggest reflux. Recurrent vomiting, a sensation of food sticking, colicky right-upper-quadrant pain, and pain with exertion require other pathways. Overlap is common, so clarify which symptom most limits eating or daily activities.
Review nonsteroidal anti-inflammatory drugs (NSAIDs), aspirin, oral iron, opioids, and medications that slow gastric emptying. Ask about bleeding, anemia, unintentional weight loss, progressive symptoms, family history and prior residence in a region with high gastric cancer incidence. Consider peptic ulcer, Helicobacter pylori, malignancy, biliary and pancreatic disease, and reflux according to the presentation. Severe acute pain, suspected ischemia or cardiac symptoms, or active bleeding requires urgent evaluation.
[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[2] Rome V criteria: Gastroduodenal Disorders[3] British Society of Gastroenterology guidelines on functional dyspepsia
Who needs endoscopy first?
The ACG/CAG guideline suggests upper endoscopy for patients aged 60 or older presenting with dyspepsia. Consider endoscopy at a younger age with elevated gastric malignancy risk, including a relevant family history or childhood in a high-incidence region. ACG/CAG does not require endoscopy for every isolated alarm feature in every younger patient. Significant weight loss, documented bleeding or anemia, dysphagia, or persistent vomiting should be interpreted in context and can justify prompt endoscopy or a distinct diagnostic pathway.
Inspect the mucosa and obtain indicated biopsies when endoscopy is performed. Gastric biopsies can help evaluate H. pylori when noninvasive testing was not done or suspicion remains. Duodenal biopsy or celiac serology may be appropriate with anemia, diarrhea or other compatible findings. Choose targeted imaging or a gastric emptying study when the history raises a specific alternative. Routine imaging and motility testing add little in typical low-risk dyspepsia.
This pathway follows ACG/CAG age guidance for North American practice and allows earlier investigation when individual risk warrants.
Scroll the table to see all columns.
| Presentation | Next step |
|---|---|
| Age ≥60 or concerning gastric cancer risk | Upper endoscopy. Consider earlier endoscopy with elevated risk. |
| Under 60 with a typical low-risk presentation | Noninvasive H. pylori test and treat if positive. |
| H. pylori negative, or residual symptoms after eradication | Trial of a proton pump inhibitor (PPI). Check adherence and reassess the symptom pattern. |
| Alarm symptom or atypical dominant presentation | Evaluate the specific finding. Dysphagia, bleeding and persistent vomiting can change the urgency and tests. |
Sources[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[4] ACG Clinical Guideline: Treatment of Helicobacter pylori Infection[3] British Society of Gastroenterology guidelines on functional dyspepsia
[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[4] ACG Clinical Guideline: Treatment of Helicobacter pylori Infection[3] British Society of Gastroenterology guidelines on functional dyspepsia
Test for H. pylori before committing to long-term acid suppression
Use a urea breath test or stool antigen test to identify active infection. Recent acid suppression, antibiotics or bismuth can suppress the signal. When feasible, plan for a two-week PPI or potassium-competitive acid blocker hold and four weeks without antibiotics or bismuth around testing. Choose eradication therapy using current guidance, allergies and antibiotic history.
Confirm cure in all treated patients at least four weeks after antibiotics, using an appropriate active-infection test and the medication washouts. Persistent symptoms after proven eradication can reflect functional dyspepsia or another cause. Recurrent discomfort alone is not evidence of persistent infection.
[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[4] ACG Clinical Guideline: Treatment of Helicobacter pylori Infection
Recognize functional dyspepsia and its symptom patterns
Make a positive diagnosis after an evaluation appropriate to the risk profile has found no explanatory structural or other disorder. Rome V uses chronic bothersome symptoms meeting the criteria for the last three months, starting at least six months before diagnosis. Postprandial distress syndrome centers on fullness after meals and early satiation. Epigastric pain syndrome centers on epigastric pain or burning. Many patients have features of both.
Explain that altered gastric accommodation, visceral sensitivity and gut–brain signaling can generate symptoms despite a reassuring workup. The working diagnosis should be consistent with symptom behavior. Persistent vomiting, progressive restriction of intake or a new alarm sign merits reevaluation even after a normal prior endoscopy.
[2] Rome V criteria: Gastroduodenal Disorders[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[3] British Society of Gastroenterology guidelines on functional dyspepsia
Treat to an outcome the patient can recognize
After H. pylori has been addressed, use a time-limited PPI trial for persistent symptoms, then assess meal completion, pain days, and rescue medication use. If benefit is absent, reconsider adherence and the diagnosis before escalating. Less bulky meals or adjusted meal fat may help selected patients. Avoid prolonged restrictive diets without a clear benefit or nutritional follow-up.
For troublesome symptoms after initial therapy, consider a low-dose tricyclic neuromodulator, such as amitriptyline 10 mg at bedtime with gradual titration when appropriate. Review constipation, urinary retention, sedation and cardiac risk. Selected patients with prominent early satiation and weight loss may benefit from mirtazapine after completing the necessary organic workup. Evidence is limited and weight gain or sedation can influence the choice. A prokinetic is an option for selected patients when available and safe. Weigh drug-specific risks rather than assuming efficacy across agents.
Gut–brain behavioral therapy, coexisting anxiety management, and dietitian review can support a patient with persistent impairment. Set a follow-up point to revisit weight, intake, ability to work or sleep, and changed symptoms. A 42-year-old with years of postprandial fullness and a reassuring evaluation needs a different plan from a 62-year-old with new early satiation and unintended weight loss.
[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[3] British Society of Gastroenterology guidelines on functional dyspepsia
When symptoms should reopen the workup
If treatment has failed, check what was actually tested and how. An H. pylori result obtained during active acid suppression or soon after antibiotics may need a repeat under valid conditions. Review whether a prior endoscopy addressed the current symptoms and whether prior weight and blood counts are comparable. Persistent symptoms after an adequate, reassuring workup can still be managed as functional dyspepsia if the pattern remains consistent.
New dysphagia, overt blood loss, progressive anemia, recurrent vomiting or unintended weight loss change the evaluation. For prominent vomiting, retained food, diabetes or a medication that delays emptying, consider targeted investigation for gastric outlet obstruction or gastroparesis. For a focal biliary pattern, pursue a biliary evaluation. Treat changing symptoms as new diagnostic information.
[1] ACG and CAG Clinical Guideline: Management of Dyspepsia[3] British Society of Gastroenterology guidelines on functional dyspepsia[2] Rome V criteria: Gastroduodenal Disorders
References and scope
Original educational synthesis for clinicians. References support the sections linked above; their publication dates and scopes are shown separately from this guide’s source check. No source figure, question-bank item or guideline table is reproduced here.
- ACG and CAG Clinical Guideline: Management of DyspepsiaMoayyedi and colleagues · 2017
Society guideline
Source checked November 22, 2026 - Rome V criteria: Gastroduodenal DisordersRome Foundation · 2026
Expert diagnostic consensus
Source checked November 22, 2026 - British Society of Gastroenterology guidelines on functional dyspepsiaBlack and colleagues · 2022
Society guideline · DOI: 10.1136/gutjnl-2022-327737
Source checked November 22, 2026 - ACG Clinical Guideline: Treatment of Helicobacter pylori InfectionChey and colleagues · 2024
Official guideline highlights
Source checked November 22, 2026