Endoscopy

Overview

An upper endoscopy is a procedure used to visually examine your upper digestive system with a tiny camera on the end of a long, flexible tube. A specialist in diseases of the digestive system (gastroenterologist) uses an endoscopy to diagnose and, sometimes, treat conditions that affect the esophagus, stomach and beginning of the small intestine (duodenum).

The medical term for an upper endoscopy is esophagogastroduodenoscopy. You may have an upper endoscopy done in your doctor’s office, an outpatient surgery center or a hospital.

Why it’s done

An upper endoscopy is used to diagnose and, sometimes, treat conditions that affect the upper part of your digestive system, including the esophagus, stomach and beginning of the small intestine (duodenum).

Your doctor may recommend an endoscopy procedure to:

  • Investigate symptoms.
    An endoscopy may help your doctor determine what’s causing digestive signs and symptoms, such as nausea, vomiting, abdominal pain, difficulty swallowing and gastrointestinal bleeding.
  • Diagnose.
    Your doctor may use an endoscopy to collect tissue samples (biopsy) to test for diseases and conditions, such as anemia, bleeding, inflammation, diarrhea or cancers of the digestive system.
  • Treat.
    Your doctor can pass special tools through the endoscope to treat problems in your digestive system, such as burning a bleeding vessel to stop bleeding, widening a narrow esophagus, clipping off a polyp or removing a foreign object.

An endoscopy is sometimes combined with other procedures, such as an ultrasound. An ultrasound probe may be attached to the endoscope to create specialized images of the wall of your esophagus or stomach. An endoscopic ultrasound may also help your doctor create images of hard-to-reach organs, such as your pancreas. Newer endoscopes use high-definition video to provide clearer images.

Many endoscopes allow your doctor to use technology called narrow band imaging, which uses special light to help better detect precancerous conditions, such as Barrett’s esophagus.

Risks

An endoscopy is a very safe procedure. Rare complications include:

  • Bleeding.
    Your risk of bleeding complications after an endoscopy is increased if the procedure involves removing a piece of tissue for testing (biopsy) or treating a digestive system problem. In rare cases, such bleeding may require a blood transfusion.
  • Infection.
    Most endoscopies consist of an examination and biopsy, and risk of infection is low. The risk of infection increases when additional procedures are performed as part of your endoscopy. Most infections are minor and can be treated with antibiotics. Your doctor may give you preventive antibiotics before your procedure if you are at higher risk of infection.
  • Tearing of the gastrointestinal tract.
    A tear in your esophagus or another part of your upper digestive tract may require hospitalization, and sometimes surgery to repair it. The risk of this complication is very low — it occurs in an estimated 1 of every 2,500 to 11,000 diagnostic upper endoscopies. The risk increases if additional procedures, such as dilation to widen your esophagus, are performed.

You can reduce your risk of complications by carefully following your doctor’s instructions for preparing for an endoscopy, such as fasting and stopping certain medications.

Signs and symptoms that could indicate a complication

Signs and symptoms to watch for after your endoscopy include:

  • Fever
  • Chest pain
  • Shortness of breath
  • Bloody, black or very dark colored stool
  • Difficulty swallowing
  • Severe or persistent abdominal pain
  • Vomiting, especially if your vomit is bloody or looks like coffee grounds

Call your doctor immediately or go to an emergency room if you experience any of these signs or symptoms.

How you prepare

Your doctor will give you specific instructions to prepare for your endoscopy. In some cases your doctor may ask that you:

  • Fast before the endoscopy.
    You will need to stop drinking and eating four to eight hours before your endoscopy to ensure your stomach is empty for the procedure.
  • Stop taking certain medications.
    You will need to stop taking certain blood-thinning medications in the days before your endoscopy. Blood thinners may increase your risk of bleeding if certain procedures are performed during the endoscopy. If you have chronic conditions, such as diabetes, heart disease or high blood pressure, your doctor will give you specific instructions regarding your medications.