Also called an upper GI endoscopy, an EGD (esophagogastroduodenoscopy) is a test that allows your doctor to see inside the upper digestive system. EGDs are done at a clinic, outpatient surgical center or hospital. During the procedure, your doctor inserts an endoscope (a flexible tube equipped with a light and tiny camera) down your throat to see inside the esophagus, stomach, and first part of the small intestine.
Your doctor may take tissue samples (biopsy) or perform treatments during EGD. EGD can also be used to stop bleeding, remove small growths, fix narrowed areas and remove foreign objects. Sometimes an EGD is combined with an ultrasound
. An ultrasound device is attached to the tube to use sound waves to make pictures of nearby areas that would not be seen with EGD alone.