An upper gastrointestinal endoscopy is a way for your doctor to look at the inside lining of your esophagus, stomach, and the first part of your small intestine (called the duodenum). The doctor uses a thin, flexible viewing instrument called an endoscope. With the endoscope, your doctor can check to see if you have any ulcers, inflammation, tumors, infection, or bleeding.
This test is also known as an esophagogastroduodenoscopy, or EGD.
Current as of: May 1, 2026
Author: WebMD Ignite Staff Clinical Review Board All WebMD Ignite education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.
Clinical Review Board All WebMD Ignite education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.
PeaceHealth endeavors to provide comprehensive health care information, however some topics in this database describe services and procedures not offered by our providers or within our facilities because they do not comply with, nor are they condoned by, the ethics policies of our organization.
This information does not replace the advice of a doctor. WebMD Ignite 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.