An upper GI endoscopy lets a doctor look directly at the lining of your esophagus, stomach, and the first part of your small intestine (the duodenum). The tube passes through your mouth and throat, so the anatomy it examines is the upper digestive tract: esophagus, stomach, and duodenum, plus the pylorus and lower esophageal sphincter that connect them.
A typical exam lasts about 15 to 30 minutes. You lie on your left side, a thin flexible scope goes in through the mouth, and the doctor steers it down the esophagus, through the stomach, and into the duodenum, looking at the wall and taking pictures or small tissue samples as needed.
Map the Upper GI Tract Before the Scope Goes In
The upper GI tract is one continuous tube about 25 to 30 cm (10 to 12 inches) from the incisors to the duodenum in an average adult. Each segment has a job and a distinctive lining the endoscopist checks.
| Structure | Where it sits | What the endoscopist looks for |
|---|---|---|
| Esophagus | Throat to the stomach, roughly 25 cm long in an adult | Smooth pale lining, the Z-line where it meets the stomach, narrowing or rings |
| Lower esophageal sphincter | Junction of esophagus and stomach | Whether it closes, signs of reflux damage |
| Stomach | Left upper abdomen | Rugae (folds), the antrum, the pylorus, ulcers or inflammation |
| Pylorus | Outlet of the stomach | Whether it opens normally into the duodenum |
| Duodenum | First 25 cm of small intestine | Villi, the duodenal bulb, bleeding or ulcers |
The esophagus has no serosa, the protective outer layer the rest of the gut has, so it heals and behaves differently. The stomach holds about 1 to 1.5 liters when full but collapses to a fist size when empty, which is why you fast before the exam.
Follow the Scope Down the Tract, Step by Step
Knowing the route helps you understand what the doctor reports and why each step matters.
- Throat and esophagus. The scope enters the mouth and passes the upper esophageal sphincter, then travels the length of the esophagus. The doctor checks the lining and the Z-line at the bottom.
- Stomach. The scope enters the stomach and the doctor inflates it with air to see the folds (rugae). The scope is turned to view the cardia, fundus, body, and antrum.
- Pylorus and duodenum. The scope passes through the pyloric opening into the duodenal bulb and the second part of the duodenum, about 25 cm of small intestine.
- Retroflexion. In the stomach the doctor may bend the scope back on itself to look at the cardia and the angle where the esophagus meets the stomach, an area easy to miss.
- Biopsy and treatment. Small forceps pass through the scope to sample tissue; bleeding can be stopped with clips or heat, and narrow areas can be stretched with a balloon.
Air inflation is why you may feel bloated or burp afterward. The air is absorbed or passed within a few hours.
Read the Report by Its Anatomy Words
Endoscopy reports use the anatomy names above. A finding in the "gastric antrum" means the lower part of the stomach near the pylorus. "Duodenal bulb" is the first segment after the pylorus. "Z-line" is the border between the pale esophageal lining and the redder stomach lining. "Retroflexion view" means the doctor looked backward at the cardia.
A common misconception is that the exam only looks at the stomach. In fact the esophagus and duodenum are examined in every routine upper endoscopy, and the duodenum is where many ulcers and celiac-related changes appear.
Another misconception: the scope does not enter the lungs or the colon. It stays in the upper tract, which is why the prep is fasting rather than a bowel cleanse.
Know What the Anatomy Means for Prep and Recovery
Because the scope passes the throat, you fast for about 6 to 8 hours before the exam; clear liquids are often allowed up to 2 hours before. Food in the stomach blocks the view and raises the risk of aspiration.
Sedation relaxes the throat and the gag reflex, so you need a ride home and should not drive for about 24 hours. A sore throat for a day or two is common. If you take blood thinners or diabetes medication, the doctor gives instructions ahead of time because biopsy or treatment can cause bleeding.
Call the office if you have chest pain, trouble swallowing, vomiting blood, black stools, or fever after the exam, since those can signal a complication such as bleeding or a tear.
Upper GI Anatomy Questions People Ask After the Exam
Does the scope go into the small intestine? Yes, into the duodenum, the first 25 cm of small intestine, but not farther.
Why does the report mention the Z-line? It marks where the esophagus meets the stomach and is where reflux damage is graded.
What is the pylorus? The muscular valve between the stomach and duodenum; the scope passes through it.
How long is the esophagus? About 25 cm in an adult, which is roughly the distance the scope travels from the upper sphincter to the stomach.