Notice: Users may be experiencing issues with displaying some pages on stanfordhealthcare.org. We are working closely with our technical teams to resolve the issue as quickly as possible. Thank you for your patience.
An esophagogastroduodenoscopy (also called EGD or upper endoscopy) is a procedure that allows the doctor to examine the inside of the esophagus, stomach, and duodenum. A thin, flexible, lighted tube, called an endoscope, is guided into the mouth and throat, then into the esophagus, stomach, and duodenum. The endoscope allows the doctor to view the inside of this area of the body, as well as to insert instruments through a scope for the removal of a sample of tissue for biopsy (if necessary).