Skip to Content

Upper Gastrointestinal Endoscopy


  • Upper gastrointestinal (gas-tro-in-TES-ti-nal) endoscopy (en-DOS-ko-pe) is also called esophagogastroduodenoscopy (EGD). This is a procedure to examine the lining (walls) of the upper gastrointestinal tract (GIT). The upper GIT includes the esophagus (food pipe), stomach, and duodenum (first part of the small intestine). EGD is used to help diagnose diseases and other problems that affect the upper GIT. These may include inflammation (swelling), infections, tumors, ulcers (sores), bleeding, or polyps (growths).
    Picture of a normal digestive system
  • With EGD, caregivers use an endoscope to help see the lining of the upper GIT. An endoscope is a thin and flexible (bendable) metal tube with a light and tiny video camera on the end. This gives caregivers a clear view of the esophagus, stomach, and duodenum while watching the images on a monitor. A small amount of tissue may be taken from the upper GIT and sent to the lab for tests. Your caregiver may also remove polyps or foreign objects, place a stent (tube), or treat bleeding during the endoscopy. With EGD, diseases of the upper GIT may be diagnosed and treatment given to relieve your symptoms.


Take your medicine as directed:

Call your primary healthcare provider if you think your medicine is not helping or if you have side effects. Tell him if you are allergic to any medicine. Keep a list of the medicines, vitamins, and herbs you take. Include the amounts, and when and why you take them. Bring the list or the pill bottles to follow-up visits. Carry your medicine list with you in case of an emergency.

  • Pain medicine: You may need medicine to take away or decrease pain.
    • Learn how to take your medicine. Ask what medicine and how much you should take. Be sure you know how, when, and how often to take it.
    • Do not wait until the pain is severe before you take your medicine. Tell caregivers if your pain does not decrease.
    • Pain medicine can make you dizzy or sleepy. Prevent falls by calling someone when you get out of bed or if you need help.

Ask for information about where and when to go for follow-up visits:

For continuing care, treatments, or home services, ask for more information.

  • Ask your caregiver when the results of your procedure will be available.

Eat healthy foods:

Choose healthy foods from all the food groups every day. Include whole-grain bread, cereal, rice, and pasta. Eat a variety of fruits and vegetables, including dark green and orange vegetables. Include dairy products such as low-fat milk, yogurt, and cheese. Choose protein sources, such as lean beef and chicken, fish, beans, eggs, and nuts. Ask how many servings of fats, oils, and sweets you should have each day, and if you need to be on a special diet.

Drinking liquids:

Adults should drink about 9 to 13 cups of liquid each day. One cup is 8 ounces. Good choices of liquids for most people include water, juice, and milk. Coffee, soup, and fruit may be counted in your daily liquid amount. Ask your caregiver how much liquid you should drink each day.


Rest when you feel it is needed. Slowly start to do more each day. Return to your daily activities as directed.


  • You have a feeling of being too full or bloated.
  • You have a fever.
  • You have nausea (upset stomach) or vomiting (throwing up).
  • You have questions or concerns about your procedure, condition, or care.


  • You feel dizzy or had an episode of passing out.
  • You have a chest pain or trouble breathing all of a sudden.
  • You have problems swallowing or having a bowel movement.
  • Your abdomen (stomach) becomes tender and hard.
  • Your signs and symptoms are getting worse.
  • Your vomit (throw up) has blood or bile in it.

The above information is an educational aid only. It is not intended as medical advice for individual conditions or treatments. Talk to your doctor, nurse or pharmacist before following any medical regimen to see if it is safe and effective for you.

Further information

Always consult your healthcare provider to ensure the information displayed on this page applies to your personal circumstances.

Learn more about Upper Gastrointestinal Endoscopy (Aftercare Instructions)

Micromedex® Care Notes