Introduction
If your doctor has recommended an egd procedure, you’re probably wondering what the test involves, whether it will hurt, and how to prepare. Feeling anxious before any medical procedure is common, especially when it involves a camera entering your digestive tract. The good news is that an EGD is a safe, minimally invasive procedure that helps doctors diagnose and sometimes treat problems affecting your esophagus, stomach, and the first part of your small intestine. Understanding what to expect before, during, and after the test can help reduce anxiety and ensure you’re fully prepared for a smooth experience.
What Is an EGD Procedure?
An EGD procedure, also known as an upper endoscopy or esophagogastroduodenoscopy, is a diagnostic procedure that allows a gastroenterologist to examine the upper digestive tract using a thin, flexible tube called an endoscope. The endoscope contains a tiny camera and light that provide real-time images of the lining of the digestive organs.
During the procedure, the doctor examines three major organs:
- Esophagus
- Stomach
- Duodenum (the first section of the small intestine)
Besides diagnosing diseases, the procedure also allows physicians to perform treatments during the same examination, such as taking biopsies, stopping bleeding, removing foreign objects, or widening narrowed areas of the digestive tract.
Why Is an EGD Procedure Performed?
Doctors recommend an EGD when symptoms suggest a problem in the upper gastrointestinal (GI) tract.
Common reasons include:
- Persistent heartburn or acid reflux
- Difficulty swallowing (dysphagia)
- Chronic nausea or vomiting
- Upper abdominal pain
- Chest pain not related to the heart
- Vomiting blood
- Black or tarry stools
- Unexplained weight loss
- Chronic indigestion
- Suspected stomach ulcers
- Anemia caused by gastrointestinal bleeding
An EGD is also commonly used to monitor existing digestive diseases or confirm findings from imaging tests. It provides a much clearer view than X-rays for many upper GI conditions.
Conditions an EGD Can Diagnose
One of the biggest advantages of the egd procedure is its ability to detect both minor and serious digestive conditions early.
It can help diagnose:
- Gastroesophageal reflux disease (GERD)
- Gastritis
- Esophagitis
- Stomach ulcers
- Duodenal ulcers
- Barrett’s esophagus
- Hiatal hernia
- Celiac disease
- Esophageal strictures
- Polyps
- Upper GI bleeding
- Stomach cancer
- Esophageal cancer
- Infections affecting the digestive tract
If abnormal tissue is found, the physician may take a biopsy for laboratory examination. A biopsy is painless because the lining of the digestive tract does not have pain receptors similar to the skin.
How to Prepare for an EGD Procedure
Preparation plays a major role in ensuring accurate results and reducing complications.
Fast Before the Procedure
Most healthcare providers recommend:
- No solid food for at least 8 hours
- Clear liquids may be allowed until 2 hours before the procedure, depending on your doctor’s instructions.
Inform Your Doctor About Medications
Tell your healthcare provider if you take:
- Blood thinners
- Diabetes medications
- Insulin
- Heart medications
- Blood pressure medicine
- Herbal supplements
Some medications may need temporary adjustment before the procedure. Never stop prescription medications without medical advice.
Discuss Allergies and Medical Conditions
Inform your doctor if you have:
- Heart disease
- Lung disease
- Sleep apnea
- Pregnancy
- Latex allergy
- Medication allergies
These details help your healthcare team choose the safest sedation plan.
What Happens Before the EGD Procedure?
When you arrive at the clinic or hospital, you’ll check in and change into a hospital gown.
A nurse will:
- Measure your blood pressure
- Check your oxygen level
- Monitor your heart rate
- Place an IV line in your arm
Most patients receive intravenous sedation, helping them relax or sleep lightly throughout the procedure. Your throat is also sprayed with a local anesthetic to reduce the gag reflex. A mouth guard is placed to protect both your teeth and the endoscope.
What Happens During an EGD Procedure?
The actual egd procedure usually takes 15 to 30 minutes, although your total visit may last a few hours due to preparation and recovery.
During the examination:
- You’ll lie comfortably on your left side.
- The doctor gently inserts the endoscope through your mouth.
- The scope passes through your esophagus into the stomach and duodenum.
- Air or carbon dioxide is introduced to improve visibility.
- Images are displayed on a monitor.
- If necessary, tissue samples are collected.
- Minor treatments can also be performed immediately.
Most patients remember very little because of the sedative medication.
Does an EGD Procedure Hurt?
This is one of the most common concerns.
Fortunately, the answer is usually no.
Because of sedation and throat numbing medication, most patients feel little to no pain. Some describe a sensation of pressure or fullness when air is introduced into the stomach, but discomfort is generally mild and temporary.
After the procedure, it’s normal to experience:
- Mild sore throat
- Temporary bloating
- Burping
- Sleepiness from sedation
These symptoms usually disappear within 24 hours.

