Health Encyclopedia
Search Clinical Content Search Patient Health Library
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z A-Z Listings

Upper GI Endoscopy With Biopsy

Upper GI endoscopy is a test that looks inside your upper GI (gastrointestinal) tract. This includes your food pipe (esophagus), stomach, and the first part of your small intestine (duodenum). The test is done using a tool called an endoscope. This is a long, flexible tube with a tiny camera at one end. The test helps find problems such as ulcers, infections, or growths. It can check for celiac disease, gastritis, and esophagitis. During the test, tissue samples (biopsies) may be taken.

Outline of head and torso with endoscope in mouth and esophagus. Scope ends in first part of small intestine.
With the aid of an endoscope, the doctor can view the inside of the upper GI tract and also take small tissue samples.

Getting ready for your procedure

Follow any instructions from your doctor.

Tell your doctor about any medicines you are taking. This includes prescription and over-the-counter medicines, vitamins, herbs, and other supplements. You may need to stop taking some or all of these before the test.

Follow any directions you’re given for not eating or drinking before the test.

The day of the procedure

The procedure takes about 20 minutes. You'll go home the same day.

Before the procedure begins

You may be given medicine to help you relax or sleep (sedation). This is given through an IV line placed in a vein in your arm or hand. Your throat may be numbed with a spray or liquid. A small plastic guard will protect your teeth. You'll be given oxygen to breathe through small prongs that fit just inside your nose. You'll be connected to a machine to watch your heartbeat.

During the procedure

  • You lie on your left side. The endoscope is placed in your mouth and moved down your throat.

  • Air is used to expand your GI tract. This makes the area easier to see. You may feel pressure or mild pain from the air.

  • The scope sends pictures of your GI tract to a computer screen.

  • Problems may be seen and treated. These include bleeding, redness or swelling (inflammation), or growths. Using tools passed through the endoscope, small samples of tissue (biopsy) can be taken. In some cases, small growths can be removed.

  • The endoscope is then removed.

After the procedure

You’ll rest and be monitored as the sedative wears off and until you can go home. You'll need someone to drive you. Relax for the rest of the day. The doctor will talk with you later about the results.

Recovering at home

You’ll likely feel drowsy after the test. A mild sore throat, mild gas, and bloating are normal. After you're home, follow any instructions you've been given. If you had sedation, don't drive, run machinery, or make major decisions until the next day.

When to contact your doctor

Contact your doctor if you have:

  • A fever of 100.4°F (38°C) or higher, or as advised by your doctor.

  • Shaking chills.

  • Chest pain.

  • Dark-colored stools.

  • Severe belly pain that doesn't go away when passing gas.

  • Sore throat that doesn’t go away.

  • Trouble swallowing.

  • Vomiting, especially with blood.

  • Any other signs or symptoms noted by your doctor.

Follow-up care

If you had a biopsy, the results will be ready in about 7 days. Your doctor will talk with you about any more testing or treatment that you may need.

Risks and possible complications

  • Sore throat or hoarseness

  • Bloating

  • Nausea

  • Allergic reaction to the sedative or numbing medicine

  • Bleeding during or after the procedure

  • Too much bleeding from the biopsy site (if a biopsy is done)

  • A hole or tear in the lining of the digestive tract

  • Inhaling food or fluid into the lungs

  • Irregular heartbeat or cardiac arrest in someone with heart or lung disease

Online Medical Reviewer: Daphne Pierce-Smith RN MSN
Online Medical Reviewer: Lalitha Kadali
Online Medical Reviewer: Melinda Murray Ratini DO
Date Last Reviewed: 6/1/2025
© 2000-2025 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.
Powered by Krames by WebMD Ignite

These resources and their content are provided by a third party for informational purposes and do not necessarily reflect the values and positions of Ascension, its ministries, or its subsidiaries.

About StayWell | Terms of Use | Privacy Policy | Disclaimer

The Services may integrate with Third-Party Apps or contain third-party content or provide links to third-party websites. For example, the Services may integrate with Third-Party App providers to provide you with information. You authorize Ascension to transmit information about You to and receive information about You from applicable third parties.
You agree that Ascension is not responsible for Third-Party Apps, third-party content or third-party websites, and does not make any endorsements, representations or warranties regarding the same. Your use thereof is at Your own risk and subject to the third party’s terms and conditions, as applicable. By using a Third-Party App or third-party content or websites, You agree to the applicable third party’s terms and conditions, even if Ascension does not present them to You at the time of Your use.