Upper endoscopy, also called esophagogastroduodenoscopy, or EGD, uses a thin scope with a light and camera at its tip to look inside of the upper digestive tract — the esophagus, stomach, and first part of the small intestine, called the duodenum.
Usually performed as an outpatient procedure, upper endoscopy sometimes must be performed in the hospital or emergency room to both identify and treat conditions such as upper digestive system bleeding.

The procedure is commonly used to help identify the causes of:

  • Abdominal or chest pain
  • Nausea and vomiting
  • Heartburn
  • Bleeding
  • Swallowing problems