Breadcrumb
- Home
- Tests, Treatments & Medications
- Medical Tests
- Upper Gastrointestinal Endoscopy
Content Map Terms
Tests, Treatments & Medications Categories
-
Medications
- Immunization, Inactivated influenza
- Anthrax Vaccine
- Diphtheria, Pertussis, and Tetanus Vaccines
- Haemophilus Influenzae Type B (Hib) Vaccine
- Hepatitis A Vaccine
- Hepatitis B Vaccine
- Herpes-Zoster Vaccine for Shingles
- Human Papillomavirus (HPV) Vaccine
- Measles, Mumps, and Rubella Vaccine
- Meningococcal Vaccine
- Pneumococcal Vaccines
- Polio Vaccine
- Rotavirus Vaccine
- Weight-Loss Medicines
- Non-Prescription Products for Weight Loss
- Obesity: Should I Take Weight-Loss Medicine?
-
Medical Tests
- Abdominal Ultrasound
- Abdominal X-Ray
- Adrenocorticotropic Hormone
- Alanine Aminotransferase (ALT)
- Albumin Urine Test
- Aldosterone in Blood
- Aldosterone in Urine
- Alkaline Phosphatase
- Allergy Tests
- Alpha-Fetoprotein (AFP) in Blood
- Ambulatory Electrocardiogram
- Ammonia
- Amniocentesis
- Amylase
- Angiogram
- Angiogram of the Head and Neck
- Angiogram of the Lung
- Antinuclear Antibodies (ANA)
- Antisperm Antibody Test
- Antithyroid Antibody Tests
- Arterial Blood Gases
- Arthrogram (Joint X-Ray)
- Arthroscopy
- Aspartate Aminotransferase (AST)
- Autoimmune Disease Tests
- Autopsy
- Barium Enema
- Bilirubin
- Biophysical Profile (BPP)
- Biopsy of Genital Warts
- Bladder Stress Test in Women
- Blood Alcohol
- Blood Culture
- Blood Glucose
- Blood Type Test
- Blood Urea Nitrogen
- Body Temperature
- Bone Biopsy
- Bone Density
- Bone Marrow Aspiration and Biopsy
- Bone Scan
- Bowel Transit Time
- Brain Natriuretic Peptide (BNP) Test
- Breast Biopsy
- Breast Cancer (BRCA) Gene Test
- Breast Ultrasound
- Bronchoscopy
- C-Peptide
- C-Reactive Protein (CRP)
- Calcium (Ca) in Blood
- Calcium (Ca) in Urine
- Cancer Antigen 125 (CA-125)
- Carbon Dioxide
- Carbon Monoxide (CO)
- Carcinoembryonic Antigen (CEA)
- Cardiac Blood Pool Scan
- Cardiac Catheterization
- Cardiac Enzyme Studies
- Cardiac Perfusion Scan
- Catecholamines in Blood
- Catecholamines in Urine
- CD4+ Count
- Celiac Disease Antibodies
- Cell-Free Fetal DNA Test
- Chemistry Screen
- Chest X-Ray
- Chlamydia Tests
- Chloride (Cl)
- Cholesterol and Triglycerides Tests
- Chorionic Villus Sampling (CVS)
- Clinical Breast Examination
- Clostridium Difficile Toxins
- Cold Agglutinins
- Colonoscopy
- Colposcopy and Cervical Biopsy
- Complete Blood Count (CBC)
- Computed Tomography (CT) Scan of the Body
- Computed Tomography (CT) Scan of the Head and Face
- Computed Tomography (CT) Scan of the Spine
- Computed Tomography Angiogram
- Contraction Stress Test
- Coombs Antibody Test
- Coronary Calcium Scan
- Cortisol in Blood
- Cortisol in Urine
- Cranial Ultrasound
- Creatine Kinase
- Creatinine and Creatinine Clearance
- Cystometry
- Bacterial Vaginosis Tests
- Cystoscopy
- Cystourethrogram
- D-Dimer Test
- D-Xylose Absorption Test
- DHEA-S Test
- Dental X-Rays
- Digital Rectal Examination (DRE)
- Doppler Ultrasound
- Ear Examination
- Echocardiogram
- Electrocardiogram
- Electroencephalogram (EEG)
- Electromyogram (EMG) and Nerve Conduction Studies
- Electronystagmography (ENG)
- Electrophysiology Study
- Electrophysiology Tests for the Eyes
- Endometrial Biopsy
- Endoscopic Retrograde Cholangiopancreatogram (ERCP)
- Endoscopic Sinus Examination for Sinusitis
- Esophagus Tests
- Evoked Potential Test for Multiple Sclerosis
- Exercise Electrocardiogram
- Extremity X-Ray
- Facial X-Ray
- Ferritin
- Fertility Awareness
- Fetal Blood Sampling (FBS) for Rh Sensitization During Pregnancy
- Fetal Ultrasound
- Folic Acid Test
- Galactosemia Test
- Gallbladder Scan
- Gallium Scan
- Gastrin
- Genetic Test
- Glycohemoglobin
- Gonioscopy
- Gonorrhea Test
- Growth Hormone
- HIV Viral Load Measurement
- Hair Analysis
- Hearing Tests
- Heart Catheterization for Congenital Heart Defects
- Helicobacter Pylori Tests
- Hemochromatosis Gene Test
- Hemoglobin Electrophoresis
- Hepatitis A Virus Test
- Hepatitis B Virus Tests
- Hepatitis C Virus Tests
- Herpes Tests
- High-Sensitivity C-Reactive Protein
- Home Blood Glucose Test
- Home Blood Pressure Test
- Home Ear Examination
- Home Lung Function Test
- Home Pregnancy Tests
- Homocysteine
- Hormone Inhibin A
- Human Chorionic Gonadotropin (HCG)
- Human Immunodeficiency Virus (HIV) Test
- Human Papillomavirus (HPV) Test
- Hysterosalpingogram
- Hysteroscopy
- Immunoglobulins
- Intravenous Pyelogram (IVP)
- Iron (Fe)
- Joint Fluid Analysis
- KOH Preparation
- Karyotype Test
- Ketones
- Kidney Biopsy
- Kidney Scan
- Kidney Stone Analysis
- Lactic Acid Dehydrogenase (LDH)
- Lactic Acid
- Laparoscopy
- Laryngoscopy
- Lead
- Lipase
- Liver Biopsy
- Liver Function Tests
- Liver and Spleen Scan
- Lumbar Puncture
- Lung Biopsy
- Lung Cancer Screening: Low-Dose CT Scan
- Lung Function Tests
- Lung VQ Scan
- Lyme Disease Test
- Lymph Node Biopsy
- Magnesium (Mg)
- Magnetic Resonance Angiogram (MRA)
- Magnetic Resonance Imaging (MRI) of the Abdomen
- Magnetic Resonance Imaging (MRI) of the Breast
- Magnetic Resonance Imaging (MRI) of the Head
- Magnetic Resonance Imaging (MRI) of the Knee
- Magnetic Resonance Imaging (MRI) of the Shoulder
- Magnetic Resonance Imaging (MRI) of the Spine
- Magnetic Resonance Imaging (MRI)
- Mammogram
- Mediastinoscopy
- Medicine Levels in Blood
- Mental Health Assessment
- Mononucleosis Tests
- Myelogram
- Myoglobin Test
- Needle Puncture and Aspiration of Sinus Contents
- Neurological Examination for Multiple Sclerosis
- Neuropsychological Tests
- Nuchal Translucency Screening Test
- Ophthalmoscopy
- Oral Glucose Tolerance Test
- Overnight Dexamethasone Suppression Test
- Pap Test
- Paracentesis
- Parathyroid Hormone
- Partial Thromboplastin Time
- Pelvic Examination
- Pelvic Ultrasound
- Pericardial Drainage
- Perimetry Test for Glaucoma
- Phenylketonuria (PKU) Test
- Phosphate in Blood
- Phosphate in Urine
- Positron Emission Tomography (PET)
- Potassium (K) in Blood
- Potassium (K) in Urine
- Prealbumin Blood Test
- Prolactin
- Prostate Biopsy
- Prostate-Specific Antigen (PSA)
- Prothrombin Time and INR
- Pulse Measurement
- Radioactive Iodine Uptake Test
- Rapid Strep Test for Strep Throat
- Renin Assay
- Reticulocyte Count
- Retinal Imaging
- Retrograde Pyelogram for Kidney Stones
- Rheumatoid Factor (RF)
- Rubella Test
- Salivary Gland Scan
- Sedimentation Rate
- Seizure Medicine Levels in Blood
- Self-Examination for Dental Plaque
- Semen Analysis
- Sentinel Lymph Node Biopsy
- Serum Osmolality
- Serum Protein Electrophoresis (SPEP)
- Sickle Cell Test
- Sigmoidoscopy
- Single Photon Emission Computed Tomography (SPECT)
- Skin Biopsy
- Skin and Wound Cultures
- Skull X-Ray
- Sleep Studies
- Slit Lamp Examination
- Sodium (Na) in Blood
- Sodium (Na) in Urine
- Sonohysterogram
- Spinal X-Ray
- Sputum Culture
- Sputum Cytology
- Stool Analysis
- Stool Culture
- Stool Tests for Colorectal Cancer
- Swallowing Study
- Sweat Test
- Syphilis Tests
- Tay-Sachs Test
- Testicular Biopsy
- Testicular Examination and Testicular Self-Examination
- Testicular Scan
- Testicular Ultrasound
- Testosterone
- Tests for Erection Problems
- Thick and Thin Blood Smears for Malaria
- Thoracentesis
- Throat Culture
- Thyroid Biopsy
- Thyroid Hormone Tests
- Thyroid Scan
- Thyroid and Parathyroid Ultrasound
- Thyroid-Stimulating Hormone (TSH)
- Tissue Type Test
- Tonometry
- Total Serum Protein
- Toxicology Tests
- Toxoplasmosis Test
- Tuberculin Skin Test
- Tympanocentesis for Ear Infections
- Tympanometry
- Upper Gastrointestinal (UGI) Series
- Upper Gastrointestinal Endoscopy
- Uric Acid in Blood
- Uric Acid in Urine Test
- Urine Culture
- Urine Test
- Urodynamic Tests for Urinary Incontinence
- Vaginal Examination for Preterm Labour
- Vaginal Self-Examination (VSE)
- Vaginal Wet Mount
- Viral Tests
- Vision Tests
- Vitamin B12 Test
- Vitamin D Test
-
Surgery
- Achilles Tendon Rupture: Should I Have Surgery?
- ACL Injury: Should I Have Knee Surgery?
- Blood Transfusions: Should I Bank Blood Before Surgery?
- Bunions: Should I Have Surgery?
- Carpal Tunnel Syndrome: Should I Have Surgery?
- Cataracts: Should I Have Surgery?
- Dupuytren's Disease: Should I Have Hand Surgery?
- Ear Problems: Should My Child Be Treated for Fluid Buildup in the Middle Ear?
- Endometriosis: Should I Have a Hysterectomy and Oophorectomy?
- Enlarged Prostate: Should I Have Surgery?
- Gallstones: Should I Have Gallbladder Surgery?
- GERD: Which Treatment Should I Use?
- Coronary Artery Disease: Should I Have Bypass Surgery?
- Hysterectomy: Should I Also Have My Ovaries Removed?
- Inguinal Hernia: Should I Have Surgery Now, or Should I Wait?
- Lumbar Herniated Disc: Should I Have Surgery?
- Lumbar Spinal Stenosis: Should I Have Surgery?
- Meniscus Tear: Should I Have Surgery?
- Nearsightedness: Should I Have Laser Surgery?
- Pelvic Organ Prolapse: Should I Have Surgery?
- Peripheral Arterial Disease: Should I Have Surgery?
- Plantar Fasciitis: Should I Have Surgery for Heel Pain?
- Rotator Cuff Problems: Should I Have Surgery?
- Scoliosis: Should My Child Have Surgery?
- Sinusitis: Should I Have Surgery?
- Sleep Apnea: Should I Have Surgery?
- Stress Incontinence in Women: Should I Have Surgery?
- Tennis Elbow: Should I Have Surgery?
- Temporomandibular Disorder: Should I Have Surgery for Jaw Pain?
- Tonsillitis: Should My Child Have a Tonsillectomy?
- Ulcerative Colitis: Should I Have Surgery?
- Umbilical Hernia: Should I Have Surgery?
- Umbilical Hernia: Should My Child Have Surgery?
- Uterine Fibroids: Should I Have Surgery?
- Varicose Veins: Should I Have a Surgical Procedure?
- Wisdom Teeth: Should I Have My Wisdom Teeth Removed?
-
Treatments
- Advance Care Planning: Should I Receive CPR and Life Support?
- Advance Care Planning: Should I Stop Treatment That Prolongs My Life?
- Hearing Loss: Should I Get Hearing Aids?
- Atrial Fibrillation: Should I Have Catheter Ablation?
- Hemorrhoids: Which Treatment Should I Use?
- Kidney Failure: What Type of Dialysis Should I Have?
- Low Back Pain: Should I Try Epidural Steroid Shots?
- Obesity: Should I Use a Diet Plan to Lose Weight?
- Warts: Should I Treat Warts?
- First Aid
Test Overview
An upper gastrointestinal (or GI) endoscopy is a test that allows your doctor to look at the inside of your esophagus, stomach, and the first part of your small intestine, called the duodenum. The esophagus is the tube that carries food to your stomach. The doctor uses a thin, lighted tube that bends. It is called an endoscope, or scope.
The doctor puts the tip of the scope in your mouth and gently moves it down your throat. The scope is a flexible video camera. The doctor looks at a monitor (like a TV set or a computer screen) as he or she moves the scope. A doctor may do this procedure to look for ulcers, tumours, infection, or bleeding. It also can be used to look for signs of acid backing up into your esophagus. This is called gastroesophageal reflux disease, or GERD. The doctor can use the scope to take a sample of tissue for study (a biopsy). The doctor also can use the scope to take out growths or stop bleeding.
Why It Is Done
An upper GI endoscopy may be done to:
- Find what's causing you to vomit blood.
- Find the cause of symptoms, such as upper belly pain or bloating, trouble swallowing (dysphagia), vomiting, or unexplained weight loss.
- Find the cause of an infection, such as helicobacter pylori (H. pylori).
- Find problems in the upper gastrointestinal (GI) tract. These problems can include:
- Inflammation of the esophagus (esophagitis) or the stomach (gastritis) or intestines (Crohn's disease).
- Gastroesophageal reflux disease (GERD).
- Celiac disease.
- A narrowing (stricture) of the esophagus.
- Enlarged and swollen veins in the esophagus or stomach. (These veins are called varices.)
- Barrett's esophagus, a condition that increases the risk for esophageal cancer.
- Hiatal hernia.
- Ulcers.
- Cancer.
- Check the healing of stomach ulcers.
- Look at the inside of the stomach and upper small intestine (duodenum) after surgery.
- Look for a blockage in the opening between the stomach and duodenum.
Endoscopy may also be done to:
- Check for an injury to the esophagus in an emergency. (For example, this may be done if the person has swallowed poison.)
- Collect tissue samples (biopsy) to be looked at in the lab.
- Remove growths (polyps) from inside the esophagus, stomach, or small intestine.
- Treat upper GI bleeding that may be causing anemia.
- Remove foreign objects that have been swallowed or food that is stuck.
- Treat a narrow area of the esophagus.
- Treat Barrett's esophagus.
How To Prepare
Procedures can be stressful. This information will help you understand what you can expect. And it will help you safely prepare for your procedure.
Preparing for the procedure
- Do not eat or drink anything for 6 to 8 hours before the test. An empty stomach helps your doctor see your stomach clearly during the test. It also reduces your chances of vomiting. If you vomit, there is a small risk that the vomit could enter your lungs. (This is called aspiration.) If the test is done in an emergency, a tube may be inserted through your nose or mouth to empty your stomach.
- Do not take sucralfate or antacids on the day of the test. These medicines can make it hard for your doctor to see your upper GI tract.
- If your doctor tells you to, stop taking iron supplements 7 to 14 days before the test.
- Be sure you have someone to take you home. Anesthesia and pain medicine will make it unsafe for you to drive or get home on your own.
- Understand exactly what procedure is planned, along with the risks, benefits, and other options.
- Tell your doctor ALL the medicines and natural health products you take. Some may increase the risk of problems during your procedure. Your doctor will tell you if you should stop taking any of them before the procedure and how soon to do it.
- If you take a medicine that prevents blood clots, your doctor may tell you to stop taking it before your procedure. Or your doctor may tell you to keep taking it. (These medicines include aspirin and other blood thinners.) Make sure that you understand exactly what your doctor wants you to do.
- Make sure your doctor and the hospital have a copy of your advance care plan. If you don't have one, you may want to prepare one. It lets others know your health care wishes. It's a good thing to have before any type of surgery or procedure.
How It Is Done
How is an upper GI endoscopy done?
Before the test
Before the test, you will put on a hospital gown. If you are wearing dentures, jewellery, contact lenses, or glasses, remove them. For your own comfort, empty your bladder before the test.
Blood tests may be done to check for a low blood count or clotting problems. Your throat may be numbed with an anesthetic spray, gargle, or lozenge. This is to relax your gag reflex and make it easier to insert the endoscope into your throat.
During the test
You may get a pain medicine and a sedative through an intravenous (IV) line in your arm or hand. These medicines reduce pain and will make you feel relaxed and drowsy during the test. You may not remember much about the actual test.
You will be asked to lie on your left side with your head bent slightly forward. A mouth guard may be placed in your mouth to protect your teeth from the endoscope (scope). Then the lubricated tip of the scope will be guided into your mouth. Your doctor may gently press your tongue out of the way. You may be asked to swallow to help move the tube along. The scope is no thicker than many foods you swallow. It will not cause problems with breathing.
After the scope is in your esophagus, your head will be tilted upright. This makes it easier for the scope to slide down your esophagus. During the procedure, try not to swallow unless you are asked to. Someone may remove the saliva from your mouth with a suction device. Or you can allow the saliva to drain from the side of your mouth.
Your doctor will look through an eyepiece or watch a screen while he or she slowly moves the endoscope. The doctor will check the walls of your esophagus, stomach, and duodenum. Air or water may be injected through the scope to help clear a path for the scope or to clear its lens. Suction may be applied to remove air or secretions.
A camera attached to the scope takes pictures. The doctor may also insert tiny tools such as forceps, clips, and swabs through the scope to collect tissue samples (biopsy), remove growths, or stop bleeding.
To make it easier for your doctor to see different parts of your upper GI tract, someone may change your position or apply gentle pressure to your belly. After the examination is done, the scope is slowly pulled out.
How is an upper GI endoscopy done?
You will feel groggy after the test until the medicine wears off. This usually takes a few hours. Many people report that they remember very little of the test because of the sedative given before and during the test.
If your throat was numbed before the test, don't eat or drink until your throat is no longer numb and your gag reflex has returned to normal.
How long the test takes
The test usually takes 30 to 45 minutes. But it may take longer, depending on what is found and what is done during the test.
How It Feels
You may notice a brief, sharp pain when the intravenous (IV) needle is placed in a vein in your arm. The local anesthetic sprayed into your throat usually tastes slightly bitter. It will make your tongue and throat feel numb and swollen. Some people report that they feel as if they can't breathe at times because of the tube in their throat. But this is a false sensation caused by the anesthetic. There is always plenty of breathing space around the tube in your mouth and throat. Remember to relax and take slow, deep breaths.
During the test, you may feel very drowsy and relaxed from the sedative and pain medicines. You may have some gagging, nausea, bloating, or mild cramping in your belly as the tube is moved. If you have pain, alert your doctor with an agreed-upon signal or a tap on the arm. Even though you won't be able to talk during the procedure, you can still communicate.
The suction machine that's used to remove secretions may be noisy, but it doesn't cause pain. The removal of biopsy samples is also painless.
Risks
Problems, or complications, are rare. There is a slight risk that your esophagus, stomach, or upper small intestine will get a small tear in it. If this happens, you may need surgery to fix it. There is also a slight chance of infection after the test.
Bleeding may also happen from the test or if a tissue sample (biopsy) is taken. But the bleeding usually stops on its own without treatment. If you vomit during the test and some of the vomit enters your lungs, aspiration pneumonia is a possible risk.
An irregular heartbeat may happen during the test. But it almost always goes away on its own without treatment.
The risk of problems is higher in people who have serious heart disease. It's also higher in older adults and people who are frail or physically weakened. Talk to your doctor about your specific risks.
Results
Your doctor may be able to talk to you about some of the findings right after your endoscopy. But the medicines you get to help relax you may impair your memory, so your doctor may wait until they fully wear off. It may take 2 to 4 days for some results. Tests for certain infections may take several weeks.
Normal: |
The esophagus, stomach, and upper small intestine (duodenum) look normal. |
---|---|
Abnormal: |
Inflammation or irritation is found in the esophagus, stomach, or small intestine. |
Bleeding, an ulcer, a tumour, a tear, or dilated veins are found. |
|
A hiatal hernia is found. |
|
A too-narrow section (stricture) is found in the esophagus. |
|
A foreign object is found in the esophagus, stomach, or small intestine. |
A biopsy sample may be taken to:
- Find the cause of inflammation.
- Find out if tumours or ulcers contain cancer cells.
- Identify a type of bacteria called H. pylori that can cause ulcers or a fungus such as candida that sometimes causes infectious esophagitis.
Many conditions can affect the results of this test. Your doctor will discuss your results with you in relation to your symptoms and past health.
Related Information
Credits
Current as of: March 22, 2023
Author: Healthwise Staff
Medical Review:
E. Gregory Thompson MD - Internal Medicine
Adam Husney MD - Family Medicine
Jerome B. Simon MD, FRCPC, FACP - Gastroenterology
Current as of: March 22, 2023
Author: Healthwise Staff
Medical Review:E. Gregory Thompson MD - Internal Medicine & Adam Husney MD - Family Medicine & Jerome B. Simon MD, FRCPC, FACP - Gastroenterology
This information does not replace the advice of a doctor. Healthwise, Incorporated disclaims any warranty or liability for your use of this information. Your use of this information means that you agree to the Terms of Use and Privacy Policy. Learn how we develop our content.
Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.
HealthLinkBC Files
HealthLinkBC Files are easy-to-understand fact sheets on a range of public health and safety topics including disease prevention and immunizations.
Find Services and Resources
If you are looking for health services in your community, you can use the HealthLinkBC Directory to find hospitals, clinics, and other resources.