• Upper GI Endoscopy

    (Upper Gastrointestinal Endoscopy; Esophagogastroduodenoscopy [EGD])

    Animation Movie AvailableClick 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.
    Upper GI Endoscopy
    Nucleus factsheet image
    Copyright © Nucleus Medical Media, Inc.

    Reasons for Test

    Upper GI endoscopy may be recommended if you have:
    • Abdominal pain
    • Severe heartburn
    • Persistent nausea and vomiting
    • Difficulty swallowing
    • Blood in stool or vomit
    • Abnormal x-ray or other examinations of the gastrointestinal tract
    Conditions that can be diagnosed with upper GI endoscopy include:
    • Ulcers
    • Tumors
    • Polyps
    • Abnormal narrowing
    • Inflammation

    Possible Complications

    Problems from the procedure are rare, but all procedures have some risk. Your doctor will review potential problems, like:
    • Bleeding
    • Damage to the esophagus, stomach, or intestine, which may include perforation
    • Infection
    • Reduced breathing rate and/or depth
    • Reaction to sedatives or anesthesia
    Some factors that may increase the risk of complications include:
    • Increasing age, especially age 60 and older
    • Pregnancy
    • Obesity
    • Smoking, alcohol use disorder, or drug use
    • Malnutrition
    • Recent illness
    • Diabetes
    • Heart or lung problems
    • Bleeding disorders
    • Use of certain medications

    What to Expect

    Prior to test

    Leading up to the test:
    • Your doctor may instruct you to take antibiotics.
    • Arrange for a ride home after the test. Also, arrange for help at home.
    • The night before, eat a light meal. Do not eat or drink anything for 6-10 hours before the test.
    • Talk to your doctor about your medications. You may be asked to stop taking some medications up to one week before the procedure.

    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

    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:
    • Rest when you get home.
    • Ask your doctor if you can resume your normal diet. In most cases, you will be able to.
    • Sedatives can slow your reaction time. Do not drive or use machinery for the rest of the day.
    • Avoid alcohol for the rest of the day.

    How Long Will It Take?

    About 10-15 minutes

    Will It Hurt?

    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

    It is important to monitor your recovery. Alert your doctor to any problems. If any of the following occur, call your doctor:
    • Signs of infection, including fever and chills
    • Severe abdominal pain
    • Hard, swollen abdomen
    • Difficulty swallowing or breathing
    • Any change or increase in your original symptoms
    • Bloody or black tarry colored stools
    • Nausea and/or vomiting
    • Cough, shortness of breath, or chest pain
    • Bleeding
    If you think you have an emergency, call for medical help right away.


    American Gastroenterological Association http://www.gastro.org

    American Society for Gastrointestinal Endoscopy http://www.asge.org


    Canadian Digestive Health Foundation http://www.cdhf.ca

    Health Canada http://www.hc-sc.gc.ca


    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: http://www.asge.org/patients/patients.aspx?id=378. Accessed September 30, 2014.

    What is upper GI endoscopy? The American Gastroenterological Association website. Available at: http://www.gastro.org/info%5Ffor%5Fpatients/2015/2/9/upper-gi-endoscopy. Updated April 2014. Accessed September 30, 2014.

    Revision Information

  • LiveWell personal health survey

    How healthy are you really? Find out – free.Learn more

    It's time to stop guessing. If you want to make some changes but just aren't sure how, the free personal health survey from LiveWell is a great place to start.

  • HeartSHAPE Spotlight

    At risk for a heart attack? Learn more

    Fight heart disease and prevent heart attacks. HeartSHAPE® is a painless, non-invasive test that checks pictures of your heart for early-stage coronary disease.

  • Calories and Energy Needs

    Calorie NeedsLearn more

    How many calories do you need to eat each day to maintain your weight and fuel your physical activity? Enter a few of your stats into this calculator to find out.

  • Ideal Body Weight

    Ideal Body WeightLearn more

    Using body mass index as a reference, this calculator determines your ideal body weight range. All you need to do is enter your height.

  • Body Mass Index

    Body Mass IndexLearn more

    This tool considers your height and weight to assess your weight status.

  • Can we help answer your questions?

    Wellmont Nurse Connection is your resource for valuable health information any time, 24 hours a day, seven days a week. Speak to a Nurse any time, day or night, at (423) 723-6877 or toll-free at 1-877-230-NURSE.