An upper endoscopy, also called an upper gastrointestinal endoscopy, is a procedure used to visually examine your upper digestive system. This is done with the help of a tiny camera on the end of a long, flexible tube. A specialist in diseases of the digestive system (gastroenterologist) uses an endoscopy to diagnose and sometimes treat conditions that affect the upper part of the digestive system.
The medical term for an upper endoscopy is esophagogastroduodenoscopy. You may have an upper endoscopy done in your health care provider's office, an outpatient surgery center or a hospital.