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

Since the entire upper gastrointestinal (GI) tract can be examined during this test, the procedure is sometimes called esophagogastroduodenoscopy (EGD).

Using the endoscope, your doctor can look for ulcers, inflammation, tumors, infection, or bleeding. Tissue samples can be collected (biopsy), polyps can be removed, and bleeding can be treated through the endoscope. Endoscopy can reveal problems that do not show up on X-ray tests, and it can sometimes eliminate the need for exploratory surgery.

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.
  • Are diabetic and take insulin.
  • Have had surgery or radiation treatments to your esophagus, stomach, or the upper part of your small intestine.

Do not eat or drink anything for 6 to 8 hours before the test. An empty stomach helps your doctor see your stomach clearly during the test. It also reduces your chances of vomiting. If you vomit, there is a small risk that your stomach contents could enter your lungs (aspiration). If the test is done in an emergency, a tube may be inserted through your nose or mouth to empty your stomach.