Why it's done

Multimedia

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

Diagnose. Your doctor may use 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.

Endoscopy is sometimes combined with other procedures, such as 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.

Legal Conditions and Terms

Reprint Permissions

A single copy of these materials may be reprinted for noncommercial personal use only. "Mayo," "Mayo Clinic," "MayoClinic.org," "Mayo Clinic Healthy Living," and the triple-shield Mayo Clinic logo are trademarks of Mayo Foundation for Medical Education and Research.