What is EGD? Esophagogastroduodenoscopy, or EGD, is an endoscopic examination of the esophagus, stomach and duodenum (the uppermost part of the small intestine) for hiatal hernias, ulcers, bleeding sources, tumors or other problems.