Dismiss Modal

Diagnosis

Upper GI Endoscopy with Biopsy

Choose a preferred language

Upper GI endoscopy is a test that looks inside your upper GI (gastrointestinal) tract. This includes your food pipe (esophagus) and stomach. And it includes the first part of your small intestine (duodenum). The test is also known as EGD (esophagogastroduodenoscopy). It's done using a tool called an endoscope. This is a long, thin, flexible tube. It has a tiny camera at one end. The test helps find problems such as ulcers, infection, or growths. It can check for celiac disease, gastritis, and esophagitis. During the test, tissue samples (biopsies) may be taken. These are studied for problems. Outline of head and torso with endoscope in mouth and esophagus. Scope ends in first part of small intestine.


Getting ready for your procedure

Follow any instructions from your healthcare provider.

Tell your provider 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 (intravenous) line placed in a vein in your arm or hand. Your throat may be numbed with a spray or liquid. You'll be given a small plastic guard to protect your teeth. You'll be given oxygen to breathe through small prongs (cannula) 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 it moves down your throat.

  • Air is used to expand your GI tract. This helps the lining be seen more clearly. You may feel pressure or mild pain from the air.

  • The scope sends pictures of your GI tract to a computer screen. The esophagus, stomach, and duodenum are viewed.

  • 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. Other treatments may be done such as stretching (dilating) a narrowed area.

  • The endoscope is then removed.

After the procedure: 

The healthcare provider will talk with you later about the results. You’ll rest and be monitored until you can go home. Have an adult family member or friend drive you. Relax for the rest of the day. If you had a biopsy, the results will be ready in about 7 days.


Recovering at home

You’ll likely feel drowsy after the test. A mild sore throat, mild gas, and bloating are normal. Once 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 call your healthcare provider

Call your healthcare provider if you have any of these:

  • Fever of 100.4°F (38°C) or higher, or as advised by your provider

  • Shaking chills

  • Chest pain

  • Dark-colored stools

  • Severe belly (abdominal) 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 indicated by your healthcare provider


Follow-up care

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


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 (perforation) in the lining of the digestive tract

  • Inhaling food or fluid into the lungs (aspiration)

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

© 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.

Find a doctor that's right for you.

From routine check-ups to groundbreaking treatments and beyond, Crestner Health is here to help you live your healthiest life.

Search our doctors
Related Articles
Read article
Digestive Health
Barium Enema

A barium enema is an X-ray exam of your rectum and colon. This test helps your doctor detect problems such as blockages, tumors, polyps, or other problems.

Read article
Digestive Health
Upper GI (Gastrointestinal) Series

An upper GI series is an X-ray exam of your upper digestive tract, the area from your mouth to the start of your small intestine. This test helps your doctor find problems such as ulcers, tumors, and certain diseases.

Read article
Digestive Health
Sigmoidoscopy

Sigmoidoscopy is a procedure used to view the lower colon and rectum. This test can help find the source of belly pain, rectal bleeding, and changes in bowel habits. Sigmoidoscopy is also used as part of the screening for colorectal cancer.

Read article
Digestive Health
Prep for Upper GI Test

An upper GI test will help you find out if you have a problem in your esophagus, stomach, or intestines that is causing your symptoms. Follow these instructions to prepare for the test.

Schedule a Colon Cancer Screening

A screening is the best way to catch colorectal cancer early, when treatments is more successful.

Schedule an Appointment