An upper endoscopy shows the lining of your esophagus, stomach, and the first part of your small intestine (the duodenum) in real time, using a thin, flexible camera. It can reveal inflammation, ulcers, abnormal growths, signs of acid damage, infections, and structural problems like hernias. Beyond just looking, the procedure also allows your doctor to take tissue samples and even treat certain problems on the spot.
What the Camera Can See
The endoscope travels the same path food does: down your throat, through the esophagus, into the stomach, and into the upper portion of the duodenum. Every surface along that route is visible on a high-definition monitor, giving your doctor a direct view of the tissue color, texture, and any irregularities. This is a significant advantage over imaging like X-rays or CT scans, which show the shape of organs but not the fine detail of their inner lining.
The procedure cannot see beyond the upper small intestine. The rest of the small bowel and the colon require different tools, like a colonoscopy or capsule endoscopy.
Common Findings in the Esophagus
One of the most frequent reasons for an upper endoscopy is persistent heartburn or difficulty swallowing. In the esophagus, the camera can reveal:
- Gastroesophageal reflux disease (GERD). Chronic acid exposure leaves visible inflammation, redness, or erosions where the esophagus meets the stomach.
- Barrett’s esophagus. Over time, acid damage can cause the normal pale esophageal lining to be replaced by salmon-colored tissue that resembles the stomach lining. Doctors measure how far this abnormal tissue extends using a standardized grading system, and they’ll take biopsies to check for precancerous changes.
- Hiatal hernia. This is where part of the stomach pushes up through the diaphragm into the chest cavity. It’s visible as a bulge at the junction between the esophagus and stomach.
- Esophageal varices. These are swollen veins in the esophagus, typically caused by liver disease. In populations with high rates of liver problems, varices can be the single most common finding.
- Strictures. Narrowed passages from scarring, often caused by long-term acid reflux or prior injury.
Common Findings in the Stomach
The stomach lining tells its own story. Gastritis, a general term for inflammation of the stomach wall, is one of the most frequently identified abnormalities, appearing in roughly 18% of cases in large studies. The inflamed tissue may look red, swollen, or have visible erosions. Gastric ulcers, which are open sores in the stomach lining, show up as distinct craters and are found in about 4% of procedures.
The endoscope can also reveal tumors or masses in the stomach wall, polyps (small growths on the surface), and signs of damage from medications like anti-inflammatory painkillers. If anything looks suspicious, your doctor will snip a small tissue sample during the same procedure for lab analysis.
Common Findings in the Duodenum
The duodenum is the first stretch of the small intestine, and it takes the full force of acid leaving the stomach. Duodenal ulcers are the most common problem found here, showing up in about 10–11% of endoscopies. Duodenitis, or general inflammation, appears in roughly 5% of cases.
The duodenum is also where doctors look for signs of celiac disease. In people with this condition, the normally smooth folds of the duodenal lining may appear scalloped, flattened, or have a mosaic or nodular texture. These visual markers aren’t always obvious, which is why biopsies of the duodenal tissue are taken whenever celiac disease is suspected, even if the lining looks relatively normal.
Testing for H. pylori Infection
H. pylori is a bacterium that burrows into the stomach lining and causes ulcers, chronic gastritis, and increases the risk of stomach cancer. During an upper endoscopy, your doctor can test for it by taking a small tissue sample and placing it on a special test strip. The strip detects a chemical reaction caused by the bacteria, and results are available within minutes. This biopsy-based test is one of the most reliable ways to confirm an active infection.
What Happens Beyond Just Looking
An upper endoscopy is both a diagnostic and a treatment tool. Small instruments can be passed through the endoscope to handle problems discovered during the exam. This includes removing polyps or small tumors, stretching open narrowed passages, stopping active bleeding by applying heat or clips, draining fluid collections, and retrieving swallowed objects. These interventions happen during the same session, so a second procedure is often unnecessary.
Tissue biopsies are the most common action taken. Even when something looks normal to the eye, microscopic examination in a lab can reveal inflammation, infection, or precancerous changes invisible on camera. Biopsy results typically take a few days to come back.
How Often It Finds Something
Not every endoscopy reveals a problem, and that’s actually useful information. In a UK study of patients with unexplained digestive symptoms, about 10% had organic disease found on endoscopy. For patients whose symptoms pointed to functional dyspepsia (chronic indigestion without an obvious structural cause) and who had no alarm features like weight loss or difficulty swallowing, the endoscopy came back completely normal. A “normal” result rules out serious conditions like ulcers, cancer, and celiac disease, which can bring genuine peace of mind and help redirect your treatment toward other approaches.
What to Expect Before and After
You’ll need to stop eating solid food at least 6 hours before the procedure, or 8 hours if you had a heavy or fatty meal. Clear liquids like water, black coffee, or juice without pulp are encouraged up to 2 hours beforehand. Staying hydrated closer to the procedure is now actively recommended by international guidelines rather than discouraged.
The procedure itself typically takes 15 to 30 minutes. You’ll receive sedation through an IV, which keeps you relaxed and drowsy but not fully under general anesthesia. Most people don’t remember much of the actual exam. Afterward, plan to stay at the facility for about an hour while the sedation wears off. You’ll need someone to drive you home.
In the hours following, bloating, mild nausea, and a sore throat are common and short-lived. You can usually eat again once the sedative has fully worn off and your throat no longer feels numb, which for most people is later that same day.

