Recent Blog Articles
Can mindfulness change your brain?
Five lifestyle factors that can help prevent gastroesophageal reflux disease
Transient ischemic attacks: Varied symptoms, all important
5 inflammation-fighting food swaps
Is IBD an underrecognized health problem in minority groups?
Sickle cell disease in newborns and children: What families should know and do
COVID-19 vaccines for children and teens: What we do — and don’t — know
Happy trails: Take a hike, now
Sleep well — and reduce your risk of dementia and death
COVID-19 vaccines and the LGBTQ+ community
Upper Endoscopy (Esophagogastroduodenoscopy or EGD)
What is the test?
This test inspects your esophagus, stomach and the first section of intestine (the duodenum) using an endoscope. An upper endoscopy allows the doctor to explore the cause of such symptoms as difficulty swallowing, abdominal pain, vomiting up blood, or passing blood in the stool. It can also diagnose irritation, ulcers, and cancers of the lining of the esophagus and stomach. During this type of endoscopy, the doctor can also take biopsy samples of tissue.
How do I prepare for the test?
Don't eat or drink anything for eight hours before this test. It's also best to stop taking aspirin and other NSAIDs for several days beforehand, to reduce the chances of bleeding should your doctor need to take a biopsy. Ask your doctor if you should avoid taking any other medicines on the day of the test. If you have diabetes, talk with your doctor about ways to avoid low blood sugar (hypoglycemia) since you will be fasting. If you wear dentures, remove them before the test. Arrange for a ride home because the medicine given for this test will make you drowsy.
To continue reading this article, you must log in.
Subscribe to Harvard Health Online for immediate access to health news and information from Harvard Medical School.
- Research health conditions
- Check your symptoms
- Prepare for a doctor's visit or test
- Find the best treatments and procedures for you
- Explore options for better nutrition and exercise
I'd like to receive access to Harvard Health Online for only $4.99 a month.Sign Me Up
Already a member? Login ».
As a service to our readers, Harvard Health Publishing provides access to our library of archived content. Please note the date of last review or update on all articles. No content on this site, regardless of date, should ever be used as a substitute for direct medical advice from your doctor or other qualified clinician.