Skip to content
PubMed This is a summary of 11 peer-reviewed journal articles Updated
Gastroenterology

When Do I Need an Endoscopy for Heartburn and GERD?

At a Glance

Most people with typical GERD do not need a routine endoscopy when symptoms respond to treatment. Doctors consider one for warning symptoms, risk-based Barrett's esophagus screening, or heartburn that continues despite correct, consistent medication use.

If you have had manageable heartburn for years, you might wonder if you need a camera to look down your throat. The short answer is: not necessarily. Having manageable heartburn does not automatically mean you need an upper endoscopy (a procedure where a doctor uses a flexible tube with a camera to examine your esophagus and stomach).

For most people with typical GERD symptoms, symptom control with medication is the primary goal, and an endoscopy is not routinely required [1][2]. However, doctors generally recommend an endoscopy in three main situations: if you develop “alarm” symptoms, if you need risk-based screening for a condition called Barrett’s esophagus, or if your medications fail to control your symptoms despite proper use [1][2].

⚠️ When to Seek Emergency Care

Do not assume new or severe chest symptoms are just heartburn. Seek emergency medical care immediately if you experience:

  • New or severe chest pressure or pain, especially if accompanied by shortness of breath, sweating, faintness, or pain spreading to your arm, back, or jaw (this could be a heart attack).
  • Vomiting blood or material that looks like coffee grounds.
  • Black, tarry stools.
  • Food completely stuck in your throat, preventing you from swallowing saliva.
  • Fainting or severe weakness.

1. You Experience “Alarm” Symptoms

While the symptoms above require emergency care, other new or concerning symptoms—often called “alarm features”—require a prompt medical appointment to see if an endoscopy is needed [1]. The American College of Gastroenterology (ACG) recommends evaluating these symptoms [1][3]:

  • Dysphagia: Difficulty swallowing or a progressive feeling that food is getting stuck [4].
  • Odynophagia: Painful swallowing.
  • Unintentional weight loss: Losing weight without actively trying [3].
  • Signs of slow bleeding: Developing anemia (a low red blood cell count) [3].
  • Frequent vomiting [5].

These symptoms do not automatically mean you have cancer, but a doctor may recommend an endoscopy or other tests to rule out structural issues like severe inflammation, strictures (narrowing), or precancerous changes [1][3].

2. You Meet the Criteria for Barrett’s Esophagus Screening

Many patients worry about esophageal cancer. An endoscopy can screen for Barrett’s esophagus, a condition where the esophagus lining changes, which is associated with chronic reflux and other risk factors [6]. Barrett’s esophagus is not cancer, and the risk of it progressing to cancer is generally low, but identifying it allows for proper monitoring [6].

Screening is not an absolute rule for everyone with heartburn [6]. Instead, current guidelines suggest considering a one-time screening endoscopy for people who have had chronic GERD symptoms for more than 5 years plus at least three of the following additional risk factors [7][8]:

  • Age: Over 50 years old [9].
  • Sex: Male sex [9].
  • Race: Being White (a population-level risk factor used in current guidelines) [9].
  • Weight: Having obesity (excess body weight) [9].
  • Smoking: Current or past tobacco use [9].
  • Family history: A first-degree relative (parent, sibling, or child) who has had Barrett’s esophagus or esophageal adenocarcinoma (a specific type of esophageal cancer) [9].

If you do not have Barrett’s esophagus, repeat screening is usually not necessary [6]. If Barrett’s is found, your doctor will recommend a separate surveillance plan [6].

3. Your Medications Stop Working

If you are taking an acid-reducing medication, such as a PPI (proton-pump inhibitor), but your symptoms persist, your doctor may recommend an endoscopy [1].

However, this is not an automatic first step. Your doctor will likely first check that you are taking the medication correctly (e.g., at the right time before meals) and consistently for an adequate trial period, typically 4 to 8 weeks [10][11]. Do not stop or change your medication dose without medical advice.

If symptoms still persist, an endoscopy can check for erosive injury or other conditions. It is important to know that an endoscopy can look perfectly normal even if you have GERD [1]. If the endoscopy is normal but your symptoms continue, your doctor may order additional tests, such as ambulatory pH monitoring, to measure acid levels in your esophagus directly [1].

A Note on Medication Dosing: If your uncomplicated GERD symptoms are completely managed on a PPI, guidelines suggest working with your doctor to try lowering the dose to the minimum amount needed [1]. However, long-term or higher-dose PPI therapy is appropriate and recommended for certain patients, such as those diagnosed with severe erosive esophagitis (specifically classified as Los Angeles Grade C or D) or Barrett’s esophagus [10].

What to Expect From an Endoscopy

If an endoscopy is recommended, here is what you can generally expect:

  • Preparation: You will need to fast (no food or drink) for a certain number of hours before the procedure.
  • The Procedure: You will typically receive sedation to keep you comfortable. The doctor will insert a thin, flexible tube with a camera down your throat to view your esophagus, stomach, and the beginning of your small intestine. They may take biopsies (small tissue samples) to test for conditions like Barrett’s esophagus.
  • Afterward: Because of the sedation, you will need someone to drive you home. You may have a mild sore throat for a day or two.
  • Follow-up: If the endoscopy reveals severe erosive esophagitis (Grade C or D), your doctor will usually prescribe PPIs and schedule a repeat endoscopy after a healing period (often around 8 weeks) to ensure the inflammation has cleared and to check for hidden Barrett’s esophagus [2].

Common questions in this guide

Do I need an endoscopy if my heartburn is controlled?
Usually not. People with typical GERD symptoms that improve with appropriate medication generally do not need a routine upper endoscopy unless they have warning symptoms or a reason to screen for Barrett's esophagus.
Which heartburn symptoms should prompt an endoscopy evaluation?
Difficulty or pain with swallowing, unexplained weight loss, anemia, or frequent vomiting should prompt a medical appointment because an endoscopy may be needed. These symptoms can have several causes, including inflammation or narrowing of the esophagus, and do not automatically mean cancer.
Who should be screened for Barrett's esophagus with an endoscopy?
A one-time screening endoscopy may be considered for people with GERD symptoms lasting more than five years who also have at least three risk factors, such as age over 50, male sex, White race, obesity, tobacco use, or a first-degree family history of Barrett's esophagus or esophageal adenocarcinoma. Screening is individualized, and people without Barrett's usually do not need repeat screening.
What should I do if a PPI no longer controls my heartburn?
A clinician will usually first check that you take the proton-pump inhibitor correctly and consistently, often for a 4- to 8-week trial. Do not change the dose on your own; if symptoms continue, an endoscopy or other testing such as ambulatory pH monitoring may be used.
What happens during an upper endoscopy for GERD?
You will fast beforehand and typically receive sedation while a flexible camera examines the esophagus, stomach, and the beginning of the small intestine. The doctor may take biopsies, and you will need someone to drive you home; a mild sore throat can last a day or two.
Can GERD be present if my endoscopy is normal?
Yes. An endoscopy can look normal even when a person has GERD, so ongoing symptoms may lead to ambulatory pH monitoring or other tests that measure acid exposure in the esophagus.
When is heartburn an emergency rather than a reason for a routine endoscopy?
Seek emergency care for new or severe chest pressure or pain, especially with shortness of breath, sweating, faintness, or pain spreading to the arm, back, or jaw. Vomiting blood, black tarry stools, food completely stuck so you cannot swallow saliva, fainting, or severe weakness also require immediate medical attention.

Get notified when new evidence is published on gastroesophageal reflux disease.

We monitor PubMed for new peer-reviewed studies on this topic and email a short summary when something meaningful changes.

References

References (11)
  1. 1

    AGA Clinical Practice Update on the Personalized Approach to the Evaluation and Management of GERD: Expert Review.

    Yadlapati R, Gyawali CP, Pandolfino JE,

    Clinical gastroenterology and hepatology : the official clinical practice journal of the American Gastroenterological Association 2022; (20(5)):984-994.e1 doi:10.1016/j.cgh.2022.01.025.

    PMID: 35123084
  2. 2

    The role of endoscopy in the management of GERD.

    , Muthusamy VR, Lightdale JR, et al.

    Gastrointestinal endoscopy 2015; (81(6)):1305-10.

    PMID: 25863867
  3. 3

    Gastroesophageal Reflux Disease: A Review.

    Maret-Ouda J, Markar SR, Lagergren J

    JAMA 2020; (324(24)):2536-2547 doi:10.1001/jama.2020.21360.

    PMID: 33351048
  4. 4

    Concise Review: Applicability of High-resolution Manometry in Gastroesophageal Reflux Disease.

    Jandee S, Keeratichananont S, Tack J, Vanuytsel T

    Journal of neurogastroenterology and motility 2022; (28(4)):531-539 doi:10.5056/jnm22082.

    PMID: 36250360
  5. 5

    Low Prevalence of Suspected Barrett's Esophagus in Patients With Gastroesophageal Reflux Disease Without Alarm Symptoms.

    Lin EC, Holub J, Lieberman D, Hur C

    Clinical gastroenterology and hepatology : the official clinical practice journal of the American Gastroenterological Association 2019; (17(5)):857-863 doi:10.1016/j.cgh.2018.08.066.

    PMID: 30196157
  6. 6

    AGA Clinical Practice Update on New Technology and Innovation for Surveillance and Screening in Barrett's Esophagus: Expert Review.

    Muthusamy VR, Wani S, Gyawali CP, et al.

    Clinical gastroenterology and hepatology : the official clinical practice journal of the American Gastroenterological Association 2022; (20(12)):2696-2706.e1 doi:10.1016/j.cgh.2022.06.003.

    PMID: 35788412
  7. 7

    Use of a Two-Gene Methylated DNA Biomarker Assay and Nonendoscopic Balloon for Detection of Barrett Esophagus Among High-Risk Individuals in a Screening Population.

    Shaheen NJ, Othman MO, Taunk J, et al.

    The American journal of gastroenterology 2024; (120(7)):1511-1520 doi:10.14309/ajg.0000000000003238.

    PMID: 39588974
  8. 8

    Role of gastrointestinal endoscopy in the screening of digestive tract cancers in Europe: European Society of Gastrointestinal Endoscopy (ESGE) Position Statement.

    Săftoiu A, Hassan C, Areia M, et al.

    Endoscopy 2020; (52(4)):293-304 doi:10.1055/a-1104-5245.

    PMID: 32052404
  9. 9

    Barrett's Esophagus Risk Factors in Patients Without Gastroesophageal Reflux: A Large Population-Based Study.

    Saha B, Verma A, Dierkhising R, et al.

    Clinical gastroenterology and hepatology : the official clinical practice journal of the American Gastroenterological Association 2024; (22(10)):2150-2152.e2 doi:10.1016/j.cgh.2024.03.034.

    PMID: 38670476
  10. 10

    The management of gastro-oesophageal reflux disease.

    Keung C, Hebbard G

    Australian prescriber 2016; (39(1)):6-10 doi:10.18773/austprescr.2016.003.

    PMID: 27041798
  11. 11

    How Would You Manage This Patient With Gastroesophageal Reflux Symptoms? Grand Rounds Discussion From Beth Israel Deaconess Medical Center.

    Libman H, Anderson TS, Rangan VV, Reynolds EE

    Annals of internal medicine 2024; (177(12)):1695-1701 doi:10.7326/ANNALS-24-02808.

    PMID: 39652874

This page explains when an upper endoscopy may be considered for heartburn or GERD for informational purposes only and is not medical advice. Contact a healthcare professional for personalized guidance, and seek emergency care for severe chest pain, vomiting blood, black stools, or food completely stuck.