An EGD, short for esophagogastroduodenoscopy, is a procedure that lets a doctor look directly at the lining of your upper digestive tract using a thin, flexible camera. The name spells out exactly what gets examined: the esophagus (the tube connecting your throat to your stomach), the stomach itself (gastro), and the duodenum (the first section of your small intestine). The whole thing typically takes 30 to 60 minutes and is one of the most common procedures in gastroenterology.
Why Doctors Order an EGD
An EGD serves two purposes: diagnosis and treatment. On the diagnostic side, it’s used to investigate persistent heartburn, difficulty swallowing, unexplained nausea or vomiting, upper abdominal pain, and signs of bleeding in the upper digestive tract like vomiting blood or dark stools. It’s also the standard way to screen for conditions like Barrett’s esophagus (precancerous changes in the esophageal lining) and celiac disease, or to evaluate ulcers and unexplained weight loss.
But an EGD isn’t just for looking. During the same procedure, a doctor can take small tissue samples (biopsies) to send to a lab, stretch a narrowed section of the esophagus, remove polyps, stop active bleeding by applying heat or clips, and even remove small objects that have been swallowed. This combination of seeing and doing in a single session is a major reason the procedure is so widely used.
What Happens During the Procedure
Most people receive what’s called conscious sedation. An anesthesiologist gives you medication through an IV that makes you drowsy and relaxed, though you may not be fully asleep. A numbing spray is also applied to the back of your throat to reduce the gag reflex. Full general anesthesia is an option but is less common for a routine EGD.
Once you’re sedated, the doctor guides a narrow, flexible tube called an endoscope through your mouth and down your throat. The scope has a tiny camera and a light at the tip, sending a live video feed to a monitor. It passes through your upper esophageal sphincter into the esophagus, continues past the lower sphincter where the esophagus meets the stomach, and moves through the main body of the stomach into the antrum (the lower portion) and through the pyloric channel into the duodenum. The duodenum curves in a C-shape, and the doctor can typically examine its first and second portions. If biopsies are needed, tiny forceps pass through a channel in the scope to snip tissue samples. You won’t feel this.
How to Prepare
Preparation centers on having an empty stomach so the doctor has a clear view and sedation is safe. Current guidelines from the American Society of Anesthesiologists set the fasting windows: stop eating solid food at least 6 hours before the procedure, with fried, fatty, or heavy meals requiring 8 hours or more. Clear liquids like water, black coffee, or apple juice can be consumed up to 2 hours beforehand.
Your doctor will also review your medications ahead of time. Blood thinners often need to be paused or adjusted because of the small risk of bleeding, especially if biopsies are planned. You’ll need to arrange a ride home, since the sedation means you won’t be able to drive afterward.
What Recovery Looks Like
After the scope is removed, you’ll spend some time in a recovery area while the sedation wears off. Most people feel groggy for the first hour or two. A mild sore throat and some bloating from air introduced during the procedure are common and usually resolve within a day.
The standard recommendation is to avoid driving for at least 24 hours after sedation, though research using driving simulators has shown that most people’s driving ability returns to normal by about 4 hours. Still, the 24-hour guideline remains in place as a safety margin. You can typically eat and drink within a few hours, starting with something light. Most people return to normal activities the next day.
Risks and Complications
EGD is considered a very safe procedure. Serious complications are rare. The main risks include a small chance of bleeding (particularly if biopsies are taken or polyps are removed), perforation (a tiny tear in the lining of the esophagus, stomach, or duodenum), and reactions to sedation. Perforation during a standard diagnostic EGD is exceptionally uncommon. The risk goes up slightly when the procedure involves therapeutic work like stretching a narrowed area or removing tissue, but even then remains low.
Signs of a complication to watch for include fever, chest pain, worsening abdominal pain, or vomiting blood in the hours after the procedure. These are uncommon, but they warrant prompt medical attention.
Getting Your Results
The doctor can usually share initial findings right after the procedure, since they’ve watched the entire exam on a live video feed. If everything looked normal and no biopsies were taken, that conversation may be all you need. When biopsies are collected, the tissue samples go to a pathology lab for analysis. Biopsy results typically take anywhere from a few days to two weeks, depending on the lab and what’s being tested for. Your doctor’s office will contact you with those results or review them at a follow-up appointment.

