GERD is diagnosed in two main ways: by looking directly at the esophagus with an upper endoscopy, and by measuring how much acid actually flows back into it over time using pH testing. These are different tools that answer different questions, and doctors choose between them based on your symptoms, your history, and what they need to rule out.
Endoscopy shows damage. pH testing shows reflux. A doctor may use one, the other, or both. Here is how each test works, what it can and cannot tell you, and why the order matters.
How Is GERD Diagnosed From Endoscopy To pH Tests?
Doctors diagnose GERD using a combination of symptom history, a trial of acid-suppressing medication, upper endoscopy, and in some cases pH monitoring. No single test confirms GERD in every person, and that is the part most people do not expect.
In many cases, a doctor makes the diagnosis from symptoms alone. Classic heartburn and regurgitation, especially when they improve with acid suppression, point strongly toward GERD. Testing is usually reserved for people whose symptoms do not respond as expected, who have warning signs, or who are being considered for surgery.
This is where the two headline tests come in. Endoscopy looks for visible injury to the esophagus. pH testing measures the actual behavior of acid in the esophagus over a period of time. They are not competing tests. They answer separate questions.
What Does an Upper Endoscopy Show?
An upper endoscopy lets a doctor see the lining of the esophagus, stomach, and the first part of the small intestine. A thin flexible tube with a camera passes through the mouth while you are sedated. The procedure usually takes only a few minutes.
For GERD, the key finding is erosive esophagitis — visible inflammation or damage to the lower esophagus caused by acid exposure. Doctors grade this damage using a standard scale called the Los Angeles classification, which ranges from mild breaks in the lining to more extensive ulcers.
Endoscopy can also reveal other conditions that mimic GERD, including peptic ulcers, narrowing of the esophagus, and a condition called Barrett’s esophagus. Barrett’s esophagus is a change in the cells lining the lower esophagus. It is associated with long-standing acid reflux and is considered a risk factor for a type of esophageal cancer, so doctors sometimes perform endoscopy specifically to look for it.
Here is the limitation that matters. Most people with GERD have a normal endoscopy. Reflux can cause significant symptoms without leaving any visible damage. This is sometimes called non-erosive reflux disease. A normal endoscopy does not mean you do not have GERD.
When Do Doctors Recommend Endoscopy?
Endoscopy is not routine for everyone with heartburn. Guidelines generally reserve it for specific situations.
- Warning signs such as difficulty swallowing, painful swallowing, vomiting blood, black stools, or unintentional weight loss
- Symptoms that do not improve with an adequate trial of acid-suppressing medication
- Long-standing symptoms that raise concern for Barrett’s esophagus
- Evaluation before certain surgical procedures for reflux
The reason for this selective approach is practical. Endoscopy is invasive, requires sedation, and carries small but real risks. If a person has typical symptoms and responds well to treatment, the test is unlikely to change management.
Age thresholds for screening endoscopy in people with chronic reflux have been debated, and recommendations have shifted over time. Rather than relying on a specific cutoff, the current direction in clinical practice leans toward individual risk assessment. Your doctor’s reasoning may differ from a general rule you read online.
What Is pH Testing and How Does It Work?
pH testing measures how often and how long acid refluxes into the esophagus. This is the test that directly answers the question endoscopy cannot: is reflux actually happening, and how much?
There are two main approaches. The traditional method uses a thin catheter placed through the nose and positioned in the esophagus, connected to a recorder you wear for a set period. A newer approach uses a small wireless capsule clipped to the esophageal lining during endoscopy. The capsule transmits data to a receiver, and it eventually detaches and passes through the digestive system on its own.
During the study, the device records acid exposure. A key measure is the percentage of time the esophageal pH stays below 4 — the threshold generally used to define an acid reflux event. Doctors also look at how reflux episodes relate to your symptoms. If your heartburn lines up with recorded acid events, that strengthens the case that reflux is the cause.
Some studies combine pH testing with impedance monitoring, which can also detect non-acid reflux. This is a meaningful distinction because not all reflux is acidic, and standard pH testing alone would miss those events.
How Do Doctors Decide Between Endoscopy and pH Testing?
The choice depends on the question being asked. Endoscopy asks, “Is there damage or another condition?” pH testing asks, “Is reflux happening, and does it explain the symptoms?”
| Question | Endoscopy | pH Testing |
|---|---|---|
| What it measures | Visible damage or other conditions | Acid exposure over time |
| Detects reflux directly | No | Yes |
| Detects Barrett’s esophagus | Yes | No |
| Typical use | Warning signs, poor response, screening | Unclear diagnosis, before surgery |
| Invasive level | Sedated procedure | Catheter or implanted capsule |
pH testing is especially useful when the diagnosis is unclear. If symptoms persist despite treatment, or if a doctor is considering surgery, knowing whether reflux is genuinely occurring changes the plan. A person can have reflux symptoms without abnormal acid exposure, and pH testing helps separate those cases.
For someone with clear erosive esophagitis on endoscopy, pH testing is often unnecessary. The damage already confirms reflux. For someone with typical symptoms and a normal endoscopy, pH testing may be the next step.
What Other Tests Might Be Used?
Several other tests can support a GERD diagnosis, though none replaces endoscopy or pH monitoring.
Esophageal manometry measures how well the muscles of the esophagus work. It is often done before pH testing or surgery because it shows whether the esophagus can move food and liquid properly. It does not diagnose reflux by itself.
A barium swallow uses X-rays and a contrast liquid to show the shape and function of the esophagus. It can reveal narrowing or structural problems but is not sensitive for detecting reflux.
Doctors sometimes use a trial of proton pump inhibitors as a diagnostic step. If symptoms improve substantially with acid suppression, that response supports a GERD diagnosis. This approach is common in clinical practice, though it is not a definitive test.
Why the Diagnosis Is Not Always Straightforward
GERD shares symptoms with several other conditions. Chest pain from reflux can resemble heart-related pain. Chronic cough, hoarseness, and throat clearing are sometimes attributed to reflux, but the evidence linking reflux to these symptoms is mixed. Not everyone with a chronic cough has GERD, and treating reflux does not always resolve the cough.
This is why testing matters in unclear cases. A diagnosis built only on assumptions can lead to treatments that do not help and delay finding the real cause.
Another point worth understanding: the severity of symptoms does not reliably match the severity of damage. Some people with severe heartburn have a normal esophagus. Some people with significant esophagitis report only mild symptoms. Symptoms and findings are related but not perfectly aligned.
Frequently Asked Questions
Can GERD be diagnosed without endoscopy?
Yes. Many people are diagnosed from symptoms and their response to acid-suppressing medication. Endoscopy is typically reserved for warning signs, poor response to treatment, or screening concerns.
Does a normal endoscopy mean I do not have GERD?
No. Most people with GERD have a normal endoscopy, because reflux can cause symptoms without visible damage. A normal result does not rule out the condition.
How long does pH testing take?
Catheter-based studies usually run for about 24 hours, while wireless capsule studies often extend over several days. Your doctor will specify the exact duration based on the method used.
Is pH testing painful?
The catheter can cause throat or nose discomfort, but it is generally tolerated. The wireless capsule is placed during sedation, so the placement itself is not felt.

