Upper GI Endoscopy
(Upper Gastrointestinal Endoscopy; Esophagogastroduodenoscopy [EGD])
by Amy Scholten, MPH
Click here to view an animated version of this test.
An upper GI endoscopy is a test that allows the doctor to see inside the throat, esophagus, and stomach. The upper part of the small intestines may also be examined. It is done with a flexible tube called an endoscope.
Reasons for Test
This procedure is done to help diagnose the causes of:
An upper GI endoscopy may also be done to look for:
Problems are rare, but all procedures have some risk. The doctor will go over some problems that could happen, such as:
Things that may raise the risk of problems are:
What to Expect
Prior to test
The care team may meet with you to talk about:
The doctor will give:
Description of the Test
The endoscope will be put into the mouth. It will be passed through the esophagus and stomach until it reaches the small intestine. Images will be seen on a nearby monitor. Air may be passed through the scope. This helps the doctor view the area.
If needed, tiny tools may be passed through the endoscope. They can be used to take a sample of tissue for testing or do other procedures.
How Long Will It Take?
About 10 to 15 minutes
Will It Hurt?
Throat pain and bloating are common in the first few days. Medicine and home care can help.
Average Hospital Stay
Most people can go home the same day. If other procedures were done during the upper GI endoscopy, you may need to stay longer.
At the Care Center
The staff may give you something to eat and drink.
It will take a few hours to recover. Most can resume their diet.
Call Your Doctor
Call your doctor if you have:
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
Understanding upper endoscopy. American Society for Gastrointestinal Endoscopy website. Available at: https://www.asge.org/list-pages/patient-informations/understanding-upper-endoscopy. Accessed February 12, 2021.
Upper endoscopy. EBSCO DynaMed website. Available at: https://www.dynamed.com/procedure/upper-endoscopy. Accessed Februry 12, 2021.
Upper GI endoscopy. National Institute of Diabetes and Digestive and Kidney Diseases website. Available at: https://www.niddk.nih.gov/health-information/diagnostic-tests/upper-gi-endoscopy. Accessed February 12, 2021.
Volkan B, Bayrak NA, et al. Preparatory information reduces gastroscopy-related stress in children as confirmed by salivary cortisol. Saudi J Gastroenterol. 2019;25(4):262-267.
Last reviewed January 2021 by EBSCO Medical Review Board Chelsea Skucek, MSN, BS, RNC-NIC
Last Updated: 02/12/2021
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 email@example.com. Our Health Library Support team will respond to your email request within 2 business days.