What Is Upper GI Endoscopy?
Upper gastrointestinal (GI) endoscopy, also called gastroscopy, OGD (oesophago-gastro-duodenoscopy) or EGD, is a procedure in which a thin, flexible tube with a high-definition camera is passed through the mouth to examine the oesophagus (food pipe), stomach and duodenum (first part of the small intestine).
It is the most accurate test for evaluating upper digestive symptoms such as persistent acidity, pain, vomiting, swallowing difficulty and bleeding. During the same procedure, small tissue samples (biopsies) can be taken painlessly — for example, to test for H. pylori infection or to rule out cancer.
Endoscopy is also therapeutic. It can be used to stop bleeding, remove polyps, dilate narrowed areas and retrieve swallowed foreign bodies, often avoiding the need for surgery.
When Is Upper GI Endoscopy Recommended?
Your doctor may advise an endoscopy for:
- Persistent acidity, heartburn or indigestion not responding to medication
- Upper abdominal pain, nausea or recurrent vomiting
- Difficulty or pain while swallowing
- Vomiting blood or passing black stools
- Unexplained anaemia or weight loss
- Evaluation before bariatric or anti-reflux surgery, and surveillance of Barrett's oesophagus
Conditions Diagnosed by Endoscopy
Upper GI endoscopy can identify:
Preparing for the Procedure
Simple preparation ensures a safe and clear examination:
- Fasting: no food for 6–8 hours and no liquids for 2–4 hours before the procedure
- Medication review: inform the doctor about blood thinners, diabetes medicines and allergies
- Sedation choice: throat spray alone or conscious sedation for added comfort
- Escort: if sedation is given, a companion should accompany you home
- Consent: the procedure, benefits and small risks are explained beforehand
What Happens During Endoscopy
The procedure usually takes 5–15 minutes.
Safety of Upper GI Endoscopy
Endoscopy is very safe. Rare risks include:
- Mild sore throat for a day
- Temporary bloating from air used during the procedure
- Reaction to sedation (rare)
- Bleeding after biopsy or polyp removal (rare)
- Perforation (very rare, especially with therapeutic procedures)
Recovery & Aftercare
Frequently Asked Questions About Upper GI Endoscopy
No. With throat spray and optional sedation, most patients feel only mild pressure or gagging, and the procedure is completed within minutes.
Yes. The endoscope passes into the food pipe, not the windpipe, so breathing is unaffected.
No. The stomach lining has no pain sensation, so biopsies are painless.
Visual findings are explained on the same day. Biopsy results usually take 3–7 days.
Endoscopy is advised when acidity is persistent, does not respond to medication, or is associated with alarm symptoms such as weight loss, vomiting or difficulty swallowing.
This page is for patient education and does not replace a personal medical consultation. Treatment is individualised after clinical examination and investigations. Medically reviewed by Dr. Vishwanath Reddy CH.