This page was reviewed under our medical and editorial policy by
Maurie Markman, MD, President, Medicine & Science
This page was reviewed on March 3, 2022.
The upper digestive tract consists of the esophagus, stomach and duodenum, which is where the small intestine starts. Sometimes, doctors must examine the lining of the patient's upper digestive tract. An upper endoscopy may be the best way to see these structures, as well as the gallbladder.
An upper endoscopy, also called an esophagogastroduodenoscopy (EGD), is a procedure to look at the upper digestive tract. Another term that may be used for it is gastroscopy.
During an upper endoscopy, a thin, flexible tube equipped with a light and small video camera is inserted into the patient's mouth and threaded down his or her throat into the esophagus and stomach until it reaches the small intestine.
The EGD procedure is typically performed as an outpatient procedure.
First, the patient's throat is sprayed with numbing medicine. Or, the patient may be asked to gargle with a liquid that numbs the throat.
Next, the patient lies on his or her left side on the examination table and is given a sedative. Some sedatives keep the patient drowsy but awake. If necessary, the doctor may perform the upper endoscopy under general anesthesia. Speak with the care team about which option is best for the patient.
A mouthpiece is placed to keep the patient's mouth open during the procedure.
The scope is guided down the patient's throat as far as the start of his or her small intestine. Doctors are able to see images of the digestive tract and to examine specific areas of concern. They can take color photographs for further review.
Sometimes, it’s necessary to pump air into the patient's stomach so the images are easier to see.
An upper endoscopy procedure takes about 15 minutes to a half hour.
The patient is observed for a while to make sure he or she is OK and until the sedative wears off. The patient should be able to go home after a few hours. In rare cases, some people may stay in the hospital overnight.
An upper endoscopy provides better detail than a CT scan or an upper gastrointestinal (GI) series, which uses X-rays.
However, there are some risks to consider. These include:
If the patient has any symptoms that are unexplained, including bleeding that doesn’t stop, call the doctor’s office and ask what to do.
Results typically take a few days. If the patient has a biopsy during the procedure, the results may take a little longer. The samples taken need to be studied in a pathology laboratory.
The care team should follow up with the patient once the results are available. The results can help guide treatment.