Older Adults

Upper GI Endoscopy

What is an upper GI endoscopy?

An upper GI endoscopy or EGD (esophagogastroduodenoscopy) is a procedure used to diagnose and treat problems in your upper GI (gastrointestinal) tract.

The upper GI tract includes your food pipe (esophagus), stomach, and the first part of your small intestine (the duodenum). This procedure is done using a long, flexible tube called an endoscope. The tube has a tiny light and video camera on 1 end. The tube is put into your mouth and throat. Then it's slowly pushed through your esophagus and stomach, and into your duodenum. Video images from the tube are seen on a screen.

Small tools may also be put on the tip of the endoscope. These tools can be used to:

  • Take tissue samples for a biopsy

  • Remove things, such as food that may be stuck in the upper GI tract

  • Inject air or fluid

  • Stop bleeding

  • Do procedures, such as endoscopic surgery, laser therapy, or open (dilate) a narrowed area

Why might I need an upper GI endoscopy?

An upper GI endoscopy can be used to diagnose and treat problems in your upper GI tract.

It's often used to find the cause of unexplained symptoms, such as:

  • Trouble swallowing (dysphagia)

  • Unexplained weight loss

  • Upper belly pain or chest pain that is not heart-related

  • Continuous vomiting for an unknown reason (intractable vomiting)

  • Bleeding from the upper GI tract

An upper GI endoscopy can be used to identify disorders or problems, such as:

  • GERD (gastroesophageal reflux disease)

  • An allergic condition of the esophagus (eosinophilic esophagitis)

  • Narrowing (strictures) or blockages

  • Larger than normal veins in your esophagus (esophageal varices)

  • Redness and swelling (inflammation)

  • Peptic ulcer disease (sores)

  • Tumors, either cancer (malignant) or noncancer (benign)

  • The stomach moving up, either into or next to your esophagus (hiatal hernia)

  • Damage caused by swallowing very harmful (caustic) substances, such as household detergents and chemicals

  • Celiac disease

  • Crohn's disease of the upper GI tract

  • Infections of the upper GI tract

An upper GI endoscopy can also treat problems in the upper GI tract. The procedure can be used to:

  • Control bleeding

  • Remove tumors or growths (polyps)

  • Open (dilate) a narrowed esophagus

  • Remove things that may be stuck

  • Do laser therapy

  • Put a tube used for tube feeding (a percutaneous gastrostomy tube) into the stomach

  • Band abnormal veins in your esophagus (esophageal varices)

An endoscope can be used to take tissue samples (biopsies) or fluid samples from the upper GI tract. An upper GI endoscopy may also be done to check your stomach and duodenum after a surgery.

Your healthcare provider may have other reasons or concerns to advise an upper GI endoscopy.

What are the risks of an upper GI endoscopy?

Some possible complications that may occur with an upper GI endoscopy are:

  • Infection

  • Bleeding

  • A tear in the lining (perforation) of the duodenum, esophagus, or stomach

  • A reaction to the medicines used to sedate (relax) you

You may have other risks that are unique to you. Talk about any concerns with your healthcare provider before the procedure.

How do I get ready for an upper GI endoscopy?

  • Your healthcare provider will explain the procedure to you. Ask any questions you have about the procedure.

  • You will be asked to sign a consent form that gives permission to do the procedure. Read the form carefully. Before you sign, ask questions if anything is not clear.

  • Tell your provider if you are sensitive to or allergic to any medicines, latex, tape, and anesthesia medicines (local and general).

  • Follow all directions you are given for not eating or drinking before the test. You may be given added instructions about following a special (soft) diet for 1 or 2 days before the procedure.

  • Tell your provider if you are pregnant or think you may be pregnant.

  • Tell your provider if you have a history of bleeding disorders. Let your provider know if you are taking any blood-thinning medicines, aspirin, ibuprofen, or other medicines that affect blood clotting. You may need to stop taking these medicines before the procedure.

  • If you have a heart valve disease, you may be given infection-fighting medicines (antibiotics) before the test. This may be advised in certain situations, such as when dilation is being done. It's not needed for a standard upper endoscopy.

  • You may be awake during the procedure. But you will take medicine (a sedative) to make you relaxed and drowsy before the test. Someone will have to drive you home afterward.

  • Follow any other instructions your provider gives you to get ready.

What happens during an upper GI endoscopy?

You may have an upper GI endoscopy as an outpatient. This means you go home the same day. Or it may be done as part of your stay in a hospital. The way the test is done may vary depending on your condition and your healthcare provider's practices.

Generally, an upper GI endoscopy follows this process:

  1. You will be asked to remove any clothing, jewelry, or other objects that may interfere with the procedure. If you wear false teeth (dentures), you will be asked to remove them until the test is over.

  2. If you are asked to remove clothing, you will be given a gown to wear.

  3. An IV (intravenous) line will be started in your arm or hand. A medicine to make you drowsy (a sedative) will be injected into the IV.

  4. Your heart rate, blood pressure, respiratory rate, and oxygen level will be continually watched during the procedure.

  5. You will lie on your left side on the X-ray table with your head bent forward.

  6. Numbing medicine may be sprayed into the back of your throat. This will stop you from gagging as the tube is passed down your throat into your stomach. The spray may have a bitter taste to it. Holding your breath while your provider sprays your throat may decrease the taste.

  7. You will not be able to swallow the saliva that may collect in your mouth during the procedure. This happens because the tube is in your throat. The saliva will be suctioned from your mouth from time to time.

  8. A mouth guard will be placed in your mouth. This will keep you from biting down on the tube. It will also protect your teeth.

  9. Once your throat is numbed and the sedative has made you drowsy, your healthcare provider will put the tube in your mouth and throat. The provider will guide the tube down your esophagus, through your stomach, and into your duodenum.

  10. You may feel some pressure or swelling as the tube moves along. If needed, samples of fluid or tissue can be taken at any time during the test. Other procedures, such as removing a blockage, may be done while the tube is in place.

  11. After the exam and procedures are done, the tube will be taken out.

What happens after an upper GI endoscopy?

After the procedure, you will be taken to the PACU (post-anesthesia care unit) to be watched. Once your blood pressure, pulse, and breathing are stable and you are awake and alert, you will be taken to your hospital room. Or you may be discharged to your home. If you are going home, someone must drive you.

You will not be allowed to eat or drink anything until your gag reflex returns. This is to prevent you from choking. Before you leave the facility, you will be asked to eat and drink a small amount. You may have a mild sore throat or pain for a few days when you swallow. This is normal.

You may feel gassy after the procedure.

You may go back to your normal diet and activities, unless you have other instructions.

Call your healthcare provider right away if you have any of the following:

  • Fever or chills

  • Redness, swelling, or bleeding or other drainage from the IV site

  • Belly pain, nausea, or vomiting

  • Black, tarry, or bloody stools

  • Trouble swallowing

  • Throat or chest pain that gets worse

Your healthcare provider may give you other instructions, depending on your situation.

Next steps

Before you agree to the test or procedure make sure you know:

  • The name of the test or procedure

  • The reason you are having the test or procedure

  • What results to expect and what they mean

  • The risks and benefits of the test or procedure

  • What the possible side effects or complications are

  • When and where you are to have the test or procedure

  • Who will do the test or procedure and what that person’s qualifications are

  • What would happen if you did not have the test or procedure

  • Any alternative tests or procedures to think about

  • When and how you will get the results

  • Who to call after the test or procedure if you have questions or problems

  • How much you will have to pay for the test or procedure

Online Medical Reviewer: Marianne Fraser MSN RN
Online Medical Reviewer: Robyn Zercher FNP
Online Medical Reviewer: Sabrina Felson MD
Date Last Reviewed: 2/1/2024
© 2000-2024 The StayWell Company, LLC. All rights reserved. This information is not intended as a substitute for professional medical care. Always follow your healthcare professional's instructions.