ambossIconambossIcon

Esophagogastroduodenoscopy

Last updated: May 27, 2026

CME information and disclosurestoggle arrow icon

To see contributor disclosures related to this article, click on this reference: [1]

Physicians can earn CME/MOC credit by using this article to address a clinical question and completing a brief evaluation about how they applied the information in their practice.

AMBOSS designates this internet point-of-care activity for a maximum of 0.5 AMA PRA Category 1 Credit(s)™. Physicians should claim only the credit commensurate with the extent of their participation in the activity.

For answers to questions about AMBOSS CME, including how to redeem CME/MOC credit, see “Tips and links” at the bottom of this article.

Summarytoggle arrow icon

Esophagogastroduodenoscopy (EGD), also referred to as upper endoscopy, is a procedure in which a flexible fiber-optic endoscope is passed through the mouth and oropharynx to visualize the mucosa of the esophagus, stomach, and, sometimes, the duodenum. It is commonly used to diagnose and manage upper gastrointestinal (GI) disorders, monitor precancerous syndromes (e.g., Barrett esophagus), and guide endoscopic percutaneous feeding tube placement. Contraindications include GI perforation and postsurgical upper GI bleeding (UGIB). Complications include bleeding, esophageal perforation, and infection (e.g., bacteremia, aspiration pneumonia).

Indicationstoggle arrow icon

Contraindicationstoggle arrow icon

We list the most important contraindications. The selection is not exhaustive.

Preparationtoggle arrow icon

Always obtain and document informed consent from the patient or their legal guardian.

Aspiration prevention

  • Recommended fasting instructions [6]
    • No clear liquids for at least 2 hours before endoscopy
    • No solid food for at least 6 hours before endoscopy
  • Provide oral and written instructions to improve adherence.

It may not be possible to delay endoscopy for fasting in hemodynamically unstable patients (e.g., those with esophageal variceal bleeding).

Consider intubation before EGD in patients with UGIB who are at risk of aspiration (e.g., patients with altered mental status or severe ongoing hematemesis). [7]

Medication management

Preprocedural diagnostic studies [13]

Technique/stepstoggle arrow icon

The following is a general overview and is not intended as a comprehensive guide. [14]

Complicationstoggle arrow icon

Complications from diagnostic EGD are rare. The risk of complications is higher with certain therapeutic interventions, e.g., dilation or management of food bolus impaction. [15]

We list the most important complications. The selection is not exhaustive.

Icon of a lock3 free articles left this month

Start a 5-day free trial or sign up for unlimited access.
 Evidence-based content, created and peer-reviewed by clinicians. Read the disclaimer