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 small intestine to check for ulcers.
Your doctor may take tissue samples (biopsy) or perform treatments during EGD. EGD can also be used to stop bleeding, remove tumors and polyps, 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 areas that are hard to see with the endoscope alone.