Upper Endoscopy

During an upper endoscopy, a digestive tract specialist (gastroenterologist) uses a scope to view the inside of the esophagus, stomach and duodenum (upper part of the small intestine). Doctors use the procedure to diagnose and treat acid reflux, stomach ulcers, celiac disease, gastrointestinal disorders and other digestive tract problems.


What is an upper endoscopy?

An upper endoscopy is a procedure to examine the upper part of the digestive tract. The procedure is also called an esophagogastroduodenoscopy, or EGD.

A gastrointestinal (GI) doctor (gastroenterologist) uses an endoscope. The scope is a narrow, flexible tube with a light and small video camera. Through the scope, your doctor can view the inside lining of your:

  • Esophagus: The tube that carries food from your mouth to your stomach.
  • Stomach: The organ that holds food and starts the digestion process.
  • Duodenum: The upper part of your small intestine.


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

Who might need an upper endoscopy?

You may need an upper endoscopy if you have unexplained:

Why do healthcare providers perform upper endoscopies?

An upper endoscopy allows for a direct view and biopsies. It can be more accurate than X-rays in diagnosing problems in the upper digestive system. These problems include:


What does an upper endoscopy treat?

Healthcare providers can also do treatments with an endoscope. Your doctor may also use upper endoscopy to:

  • Manage upper digestive tract bleeding.
  • Stretch narrowed digestive tracts.
  • Remove polyps, tumors or swallowed objects.

What other procedures use upper endoscopy?

Your doctor may combine an upper endoscopy with:


Procedure Details

What should I expect before an upper endoscopy?

To help your doctor clearly view the digestive tract, you should go into the procedure with an empty stomach. Your doctor will review preparation with you. You may need to prepare with:

  • Food and drink: Consume only clear liquids (broth, gelatin, popsicles, water, black coffee or tea) for six to eight hours before the procedure.
  • Medications: Stop taking medicines that thin blood or affect blood clotting, including aspirin. You may need to switch medications for diabetes or high blood pressure. Follow your doctor’s recommendation.

How is an upper endoscopy performed?

An upper endoscopy is typically an outpatient procedure, meaning you go home the same day. The procedure may be uncomfortable, but it shouldn’t be painful. You’ll receive an intravenous sedative or another form of anesthesia. Someone should drive you home after the procedure.

You lie on your left side during the procedure, which takes about 30 minutes. Your doctor:

  1. Administers a numbing spray to your throat and inserts a mouthguard to protect your teeth.
  2. Guides the endoscope through your mouth and down into the esophagus, stomach and duodenum.
  3. Pumps air through the endoscope into the stomach and duodenum to make it easier to see organs.
  4. Views images from the endoscope on a video monitor while looking for problems or performing treatments.
  5. Removes small pieces of tissue to biopsy (examine in a lab), if necessary.
  6. Performs treatments, if needed.

What should I expect after an upper endoscopy?

You’ll spend some time recovering while the sedative wears off before going home. An upper endoscopy can irritate your throat. You may be hoarse or have a cough for a few days. You can eat soft foods, drink ice water and use throat lozenges until the soreness subsides.

After the procedure, you may experience some bloating (a swollen feeling from the pumped-in air) and nausea (an anesthesia side effect). With your doctor’s approval, you should be able to resume your usual activities, including working and driving, the next day.

Care at Cleveland Clinic

Risks / Benefits

What are the potential risks or complications of upper endoscopy?

An upper endoscopy is a relatively low-risk procedure. Potential complications include:

  • Allergic reactions to the sedative.
  • Digestive tract bleeding or infection.
  • Tear (perforation) in the digestive tract lining.

Recovery and Outlook

When should I get my test results?

Your doctor may share diagnostic findings with you immediately. It can take up to two weeks to get biopsy results.

When To Call the Doctor

When should I call the doctor?

You should call your healthcare provider if you experience:

A note from Cleveland Clinic

An upper endoscopy is a relatively low-risk procedure that helps your doctor find the cause of certain digestive tract problems. Your doctor may also use upper endoscopy to treat some problems. You may have a day or two of throat irritation and bloating after the procedure. If your doctor took biopsy samples, it could take a few weeks to get results.

Medically Reviewed

Last reviewed on 07/28/2021.

Learn more about our editorial process.

Appointments 216.444.7000