Upper GI Endoscopy
(Upper Gastrointestinal Endoscopy; Esophagogastroduodenoscopy [EGD])
by Rosalyn Carson-DeWitt, MD
Click here to view an animated version of this test.
An upper GI endoscopy is a test that uses a fiberoptic scope to examine the esophagus, throat, stomach, and upper part of the small intestines.
Reasons for Test TOP
Upper GI endoscopy may be recommended if you have:
Conditions that can be diagnosed with upper GI endoscopy include:
Possible Complications TOP
Problems from the procedure are rare, but all procedures have some risk. Your doctor will review potential problems, like:
Some factors that may increase the risk of complications include:
What to Expect TOP
Prior to test
Leading up to the test:
Description of the Test
To numb your throat, you may be given an anesthetic solution to gargle. Or, your throat may be sprayed with a numbing medication. You may be given a sedative through an IV. This is to help you relax during the test.
You may be asked to lie on your left side. You will have monitors tracking your breathing, heart rate, and blood oxygen levels. If sedation is used, you will be given supplemental oxygen to breathe through your nose.
A mouthpiece will be positioned to help keep your mouth open. During the test, a small suction tube will be used to clear saliva and fluids from your mouth. The endoscope will be lubricated and placed in your mouth. You will be asked to try to swallow it. Then, it will be carefully and slowly advanced down your throat. It will be passed through your esophagus and into your stomach and intestine.
While the endoscope is being advanced, your doctor will view the images on the screen. Air may be passed through the endoscope into your digestive tract. This will be done to smooth the normal folds in the tissues, allowing your doctor to view the tissue more easily. Tiny tools may be passed through the endoscope in order to take biopsies or do other tests.
After Test TOP
After the test, you will be observed for an hour. Then, you will be allowed to go home.
When you return home after the test, do the following to help ensure a smooth recovery:
How Long Will It Take? TOP
About 10-15 minutes
Will It Hurt? TOP
Yes, you will have discomfort during the test. Your throat will be sore. Also, you may feel bloated after the test.
This test gives your doctor information about the health of your digestive system. The results can help to explain your symptoms. You and your doctor will talk about the results and your treatment plan.
Call Your Doctor TOP
It is important to monitor your recovery. Alert your doctor to any problems. If any of the following occur, call your doctor:
If you think you have an emergency, call for medical help right away.
American Gastroenterological Association
American Society for Gastrointestinal Endoscopy
Canadian Digestive Health Foundation
Davila M, Keeffe E. Complications of Upper Endoscopy. In: Feldman M, Friedman L, Sleisenger M. Sleisenger & Fordtran's Gastrointestinal and Liver Disease. 7th ed. Philadelphia, PA: Saunders; 2002:539-543.
Pasricha PJ. Gastrointestinal Endoscopy. Cecil Textbook of Medicine. 21st ed. Philadelphia, PA: WB Saunders Company; 2000: 649-653.
Understanding upper endoscopy. American Society for Gastrointestinal Endoscopy website. Available at:
...(Click grey area to select URL)
Accessed September 30, 2014.
What is upper GI endoscopy? The American Gastroenterological Association website. Available at:
...(Click grey area to select URL)
Updated April 2014. Accessed September 30, 2014.
Last reviewed August 2015 by Daus Mahnke, MD
EBSCO Information Services is fully accredited by URAC. URAC is an independent, nonprofit health care accrediting organization dedicated to promoting health care quality through accreditation, certification and commendation.
This content is reviewed regularly and is updated when new and relevant evidence is made available. This information is neither intended nor implied to be a substitute for professional medical advice. Always seek the advice of your physician or other qualified health provider prior to starting any new treatment or with questions regarding a medical condition.
To send comments or feedback to our Editorial Team regarding the content please email us at firstname.lastname@example.org. Our Health Library Support team will respond to your email request within 2 business days.