Skip to content

    Heartburn/GERD Health Center

    Select An Article

    Upper Endoscopy for Diagnosing Heartburn and Reflux

    Font Size

    An upper endoscopy can be used to determine the cause of heartburn and is often performed as an outpatient procedure. Upper endoscopy uses a thin scope with a light and camera at its tip to look inside of the upper digestive system -- the esophagus, stomach, and the first part of the small intestine, called the duodenum. During endoscopy, certain procedures such as taking a small tissue sample (biopsy) for testing may be performed.

    Sometimes, the procedure is done in emergencies in the hospital or emergency room to both identify and treat upper digestive system bleeding such as from an ulcer.

    Recommended Related to Heartburn/GERD

    Understanding Hiatal Hernia -- Diagnosis and Treatment

    A physical exam for hiatal hernia is similar to that for heartburn, with two additions: X-rays may be ordered to show the hernia, and if anemia is a concern, a blood sample may be taken to check your red blood cell count. A hiatal hernia can be diagnosed with a specialized X-ray study that allows visualization of the esophagus and stomach (barium swallow) or with endoscopy (a test that allows the doctor to view the hernia directly). An esophageal manometry test (pressure study) may also be performed...

    Read the Understanding Hiatal Hernia -- Diagnosis and Treatment article > >

    In addition to heartburn, the procedure may also be used to help evaluate:

    Endoscopy can also help identify inflammation, ulcers, and tumors.

    Upper endoscopy can be more accurate than X-rays or other imaging for detecting abnormal growths and for examining the inside of the upper digestive system.


    What Should I Do Before an Upper Endoscopy?

    Before the upper endoscopy, tell your doctor about any medications (including over-the-counter) or supplements you are taking and about any medical problems or special conditions you have. You may be asked to hold off on certain medications or supplements prior to the procedure or afterward.


    Can I Eat or Drink Anything Before an Upper Endoscopy?

    An upper endoscopy requires that you have an empty stomach before the procedure. Do not eat or drink anything for at least six hours before the procedure, or as directed by your doctor or nurse.

    Talk to your doctor about any changes that may be needed to your regular medication regimen. Ask if necessary medications may be taken with a small sip of water.


    I Have Diabetes. Can I Take Insulin the Day of my Upper Endoscopy?

    If you have diabetes and use insulin, you must adjust the dosage of insulin the day of your upper endoscopy. Ask your doctor for details. Bring your diabetes medication if your doctor recommends that you take it after the procedure.

    Will I Be Able to Drive Home Following my Upper Endoscopy?

    No. You will need to bring a responsible adult with you to take you home after the endoscopy. You should not drive or operate machinery for the rest of the day of the procedure to ensure that the sedative effects have worn off.

    Next Article:

    Today on WebMD

    Woman eating pizza
    How it starts, and how to stop it.
    man with indigestion
    Get lifestyle and diet tips.
    woman shopping for heartburn relief
    Medication options.
    man with heartburn
    Symptoms of both.
    digestive health
    Heartburn or Heart Attack
    stomach acid rising
    Woman eating pizza
    digestive myths
    Extreme Eats
    Bowl of pasta and peppers