Skip to content

Endoscopic examination of the gastrointestinal tract (upper gastrointestinal endoscopy)

Published: August 9, 2026Updated: August 16, 2026

This procedure allows your doctor to examine the inside of your esophagus, stomach, and upper part of the small intestine using a thin, flexible tube with a light and camera. It helps identify issues like ulcers, tumors, or inflammation.

Quick summary

["Endoscopy helps diagnose and monitor conditions in your digestive tract with direct visualization."]

Medically reviewed by WellAlly Editorial TeamLast reviewed August 16, 2026Editorial policy

Key facts at a glance

LOINC
19785-5
Short code
Model # Endoscopy device
Synonyms
Model # Endoscopy device
Category
chemistry
Sample
serum
Container
Red-top tube (SST)
Units
N/A
Fasting
false
Population
adult
Sex
all
Age range
18–65 years
Specimen volume
5 mL
Stability
Room temperature: 4h, Refrigerated: 24h, Frozen: 7d
Hemolysis max
500
Lipemia max
1000
Icterus max
500
TAT
4–24 hours
Order
routine

Before your procedure, your care team will walk you through each step and answer any questions you have. You may be asked to fast for a set number of hours, adjust certain medications, and complete blood tests or imaging beforehand. Please arrange for a responsible adult to drive you home, since you may not be able to drive yourself after sedation.

You may receive a mild sedative to help you relax. Do not eat or drink anything for 6–8 hours before the procedure. Wear comfortable clothing and arrange for someone to drive you home afterward, as you may feel groggy.

During the procedure, you will be made as comfortable as possible, and anesthesia or sedation will be given exactly as planned. Your care team will monitor your heart rate, blood pressure, and oxygen levels throughout the entire time. Most procedures take between 30 minutes and 2 hours, depending on your specific condition and treatment plan.

A doctor inserts a flexible tube (endoscope) through your mouth or nose into your esophagus. The camera captures images of your digestive tract while a doctor guides the tube carefully. You may feel mild discomfort but should not experience pain.

Aftercare and recovery begin with a short monitoring period before you are discharged to go home. Follow your surgeon's written instructions carefully regarding wound care, bathing, activity limits, and prescribed medications. Mild soreness and fatigue are common during the first few days, so plan to rest, stay hydrated, and have help at home if needed. Attend all scheduled follow-up visits so your progress can be checked.

After the procedure, you’ll rest for a short time before being allowed to leave. Avoid strenuous activity for the rest of the day. You may have mild soreness or bloating, but this should improve quickly. Follow your doctor’s instructions for any prescribed medications or follow-up tests.

Possible risks and complications include bleeding, infection, blood clots, and reactions to anesthesia, although most patients recover smoothly without any problems. Contact your care team right away if you develop a fever, worsening pain, redness or drainage at the procedure site, leg swelling, shortness of breath, or any other symptom that concerns you.

While rare, complications can include bleeding, infection, or perforation of the digestive tract. Your doctor will assess risks based on your health and medical history before proceeding.

Clinical interpretation

How abnormal results are interpreted and what conditions they suggest.

Clinical Significance

Short name

Upper GI Endoscopy

Frequently asked questions

Why is this test important?
Endoscopy is crucial for diagnosing conditions like acid reflux, ulcers, tumors, or inflammation in the esophagus or stomach. It also helps monitor symptoms or track changes in treatment effectiveness.
How should I prepare my home and daily routine before the procedure?
Is this procedure painful? You’ll likely feel mild discomfort during the procedure, but a sedative helps keep you comfortable. Most patients describe it as tolerable.
When can I safely return to work, driving, or exercise after my procedure?
How long does recovery take? Most people recover within a few hours to a day, but avoid heavy activity for 24 hours. Follow-up instructions may vary based on your doctor’s recommendations.
  1. 1
  2. 2
  3. 3

Click any link to access the full source. PubMed Central (PMC) links provide free full-text access.

This information is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment.

Medical Disclaimer

This content is for general informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the guidance of a qualified healthcare provider with any questions you have about a medical condition, and never disregard professional medical advice or delay seeking it because of something you read here.

If you think you may have a medical emergency, call your local emergency number or go to the nearest emergency department immediately.

Medically reviewed by WellAlly Editorial Team Last reviewed August 16, 2026. · Read our editorial policy