Medical Content Created by the Faculty of the
Harvard Medical School
This test inspects your esophagus and stomach using an endoscope. An upper endoscopy allows the doctor to explore the cause of such symptoms as difficulty swallowing, abdominal pain, vomiting up blood, or passing blood in the stool. It can also diagnose irritation, ulcers, and cancers of the lining of the esophagus and stomach. During this type of endoscopy, the doctor can also take biopsy samples of tissue.