Health Library
We have a vast digital library of medical information, including wellness and psychiatry topics as well as general medical topics. For more information or to schedule an appointment, don’t hesitate to call us.
Our Health Library information does not replace the advice of a doctor. Please be advised that this information is made available to assist our patients to learn more about their health. Our providers may not see and/or treat all topics found herein. An upper gastrointestinal (GI) endoscopy is a procedure that allows your doctor to look at the inside lining of your esophagus, your stomach, and the first part of your small intestine (duodenum). A thin, flexible viewing tool called an endoscope (scope) is used. The tip of the scope is inserted through your mouth and then gently moved down your throat into the esophagus, stomach, and duodenum. This procedure is sometimes called esophagogastroduodenoscopy (say “ih-SOF-uh-go-GAS-tro-DOO-aw-duh-NAW-skuh-pee”), or EGD. Using the scope, your doctor can look for ulcers, inflammation, tumors, infection, or bleeding. The procedure 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 collect tissue samples (biopsy), remove polyps, and treat bleeding through the scope. Your doctor may find problems that do not show up on X-ray tests. An upper GI endoscopy may be done to: Endoscopy may also be done to: Procedures can be stressful. This information will help you understand what you can expect. And it will help you safely prepare for your procedure. An upper GI endoscopy may be done in a doctor's office, a clinic, or a hospital. An overnight stay in the hospital usually isn't needed. Before the procedure, you will put on a hospital gown. If you are wearing dentures, jewelry, contact lenses, or glasses, remove them. For your own comfort, empty your bladder before the procedure. 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. You may get a pain medicine and a sedative through an intravenous (I.V.) line in your arm or hand. These medicines reduce pain and will make you feel relaxed and drowsy during the procedure. 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 slowly moving the endoscope. The doctor will check the lining 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 esophagus, stomach, and duodenum, someone may change your position or apply gentle pressure to your belly. After the exam is done, the scope is slowly pulled out. You will feel groggy afterward until the medicine wears off. This usually takes a few hours. Many people report that they remember very little of the procedure because of the sedative they are given. If your throat was numbed before the procedure, don't eat or drink until your throat is no longer numb and your gag reflex has returned to normal. The procedure usually takes 15 to 30 minutes. But it may take longer, depending on what is found and what is done during the procedure. You may notice a brief sting or pinch when the intravenous (I.V.) 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. Remember to relax and take slow, deep breaths. During the endoscopy, 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. 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 procedure. Bleeding may also happen from the endoscopy or if a tissue sample (biopsy) is taken. But the bleeding usually stops on its own without treatment. If you vomit during the procedure and some of the vomit enters your lungs, aspiration pneumonia is a possible risk. An irregular heartbeat may happen during the procedure. 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 physically weak. Talk to your doctor about your specific risks. 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: Abnormal: A biopsy sample may be taken to: Many conditions can affect the results of an endoscopy. Your doctor will discuss your results with you in relation to your symptoms and past health. Current as of: October 19, 2024 Author: Ignite Healthwise, LLC Staff Current as of: October 19, 2024 Author: Ignite Healthwise, LLC Staff Clinical Review Board This information does not replace the advice of a doctor. Ignite Healthwise, LLC 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. To learn more about Ignite Healthwise, LLC, visit webmdignite.com. © 2024-2025 Ignite Healthwise, LLC.Upper Gastrointestinal (GI) Endoscopy
Procedure Overview
Why It Is Done
How To Prepare
Preparing for the procedure
How It Is Done
How is an upper gastrointestinal (GI) endoscopy done?
Before the procedure
During the procedure
After the procedure
How long the procedure takes
Watch
How It Feels
Risks
Results
Related Information
Credits
Clinical Review Board
All Ignite Healthwise, LLC education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.
All Ignite Healthwise, LLC education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.