Skip to content
    Font Size

    Upper Gastrointestinal Endoscopy

    An upper gastrointestinal (UGI) endoscopy is a procedure that allows your doctor to look at the inside lining of your esophagus camera.gif, your stomach, and the first part of your small intestine (duodenum camera.gif). A thin, flexible viewing tool called an endoscope (scope) is used. The tip of the scope is inserted through your mouth and then gently moved down your throat into the esophagus, stomach, and duodenum (upper gastrointestinal tract).

    This procedure is sometimes called esophagogastroduodenoscopy (EGD).

    Using the scope, your doctor can look for ulcers, inflammation, tumors, infection, or bleeding. He or she can collect tissue samples (biopsy), remove polyps, and treat bleeding through the scope. Your doctor may find problems that do not show up on X-ray tests.

    This test can sometimes prevent the need for exploratory surgery.

    Why It Is Done

    An upper gastrointestinal (UGI) endoscopy camera.gif may be done to:

    Endoscopy may also be done to:

    • Check for an injury to the esophagus in an emergency. (For example, this may be done if the person has swallowed poison.)
    • Collect tissue samples (biopsy) to be looked at in the lab.
    • Remove growths (polyps) from inside the esophagus, stomach, or small intestine.
    • Treat upper GI bleeding that may be causing anemia.
    • Remove foreign objects that have been swallowed.

    How To Prepare

    Before having an upper gastrointestinal endoscopy, tell your doctor if you:

    • Are allergic to any medicines, including anesthetics.
    • Are taking any medicines.
    • Have bleeding problems or take blood-thinning medicine, such as warfarin (Coumadin).
    • Have heart problems.
    • Are or might be pregnant.
    • Have diabetes and take insulin.
    • Have had surgery or radiation treatments to your esophagus, your stomach, or the upper part of your small intestine.
    1 | 2 | 3 | 4 | 5 | 6

    WebMD Medical Reference from Healthwise

    Last Updated: November 14, 2014
    This information is not intended to replace the advice of a doctor. Healthwise disclaims any liability for the decisions you make based on this information.

    Today on WebMD

    man holding his stomach
    Get the facts on common problems.
    blueberries in a palm
    Best and worst foods.
    woman shopping
    Learn what foods to avoid.
    fresh and dried plums
    Will it help constipation?
    diverticuliltis illustration
    couple eating at cafe
    sick child
    Woman blowing bubble gum

    Send yourself a link to download the app.

    Loading ...

    Please wait...

    This feature is temporarily unavailable. Please try again later.


    Now check your email account on your mobile phone to download your new app.

    Woman with crohns in pain
    Woman with stomach pain
    diet for diverticulitis
    what causes diarrhea