GERD is usually diagnosed in stages, starting with the simplest approach and moving to more advanced testing only if needed. Most people begin with a trial of acid-suppressing medication. If symptoms improve, that response itself serves as a form of diagnosis. If they don’t, or if there are warning signs like difficulty swallowing or unexplained weight loss, doctors move on to direct testing of the esophagus.
The PPI Trial: First-Line Diagnosis
If you go to your doctor with typical reflux symptoms like heartburn, regurgitation, or non-cardiac chest pain and have no alarm symptoms, the standard first step is a 4- to 8-week trial of a proton pump inhibitor (PPI) taken once daily. This class of medication dramatically reduces the amount of acid your stomach produces. If your symptoms resolve or significantly improve, GERD is the likely diagnosis, and you and your doctor can work on tapering to the lowest effective dose.
If your symptoms don’t improve enough, the dose may be increased to twice daily or switched to a stronger acid-suppressing option. When symptoms persist despite these adjustments, that’s when objective testing becomes necessary to figure out what’s actually happening inside your esophagus.
Upper Endoscopy
An upper endoscopy (also called an EGD) is typically the first hands-on test. A thin, flexible camera is passed through your mouth and into your esophagus, stomach, and upper small intestine. The procedure takes about 15 to 20 minutes, and you’re sedated for it.
The doctor is looking for visible damage caused by acid reflux: inflammation of the esophageal lining (esophagitis), narrowing from scar tissue (strictures), and Barrett’s esophagus, a condition where the lining changes in response to chronic acid exposure. The severity of esophagitis is graded on a standardized scale from mild (small erosions) to severe (large, circumferential damage).
Here’s the catch: the majority of people with GERD have no visible damage on endoscopy. This is called non-erosive reflux disease, or NERD. A normal-looking esophagus doesn’t rule out GERD. It just means the next step is functional testing to measure what’s actually refluxing and when.
pH Monitoring: Measuring Acid Directly
Ambulatory pH monitoring is the gold standard for confirming whether abnormal levels of acid are reaching your esophagus. A small sensor is placed in your esophagus and records acidity levels over an extended period while you go about your normal routine, eating, sleeping, and doing your usual activities.
There are two main options. The catheter-based version involves a thin tube inserted through your nose that stays in place for 24 hours, connected to a small recorder you wear on your belt. It’s not painful, but it’s noticeable, and some people find it uncomfortable enough that they alter their behavior during the test, which can affect results.
The wireless option uses a tiny capsule (called the Bravo capsule) that’s clipped to the wall of your esophagus during a brief endoscopy. It transmits pH data wirelessly to a recorder you carry, typically over 48 hours. You won’t feel it once it’s placed. The capsule detaches on its own and passes through your digestive system in about 7 to 10 days.
The key number from either test is your acid exposure time, the percentage of the recording period your esophagus spent at a pH below 4.0 (strongly acidic). If that number exceeds 4.3% of total recording time while you’re off acid-suppressing medication, it’s considered abnormal. If you’re tested while still on medication, the threshold drops to 1.3%.
Preparing for pH Testing
For accurate results, you’ll need to stop PPIs at least one week before the test. H2 blockers (like famotidine) also need to be stopped a week ahead. Antacids and alginates can be used up until the night before. This washout period lets your stomach return to its natural acid production, so the test reflects your actual baseline. Some people experience a rebound in symptoms during this week, which can be unpleasant but is necessary for a reliable reading.
Impedance-pH Monitoring
Standard pH monitoring only detects acid reflux. But some people have significant symptoms caused by non-acid reflux, where stomach contents reach the esophagus but aren’t particularly acidic. This is where impedance-pH monitoring comes in. It’s currently considered the best diagnostic tool for detecting abnormal reflux and linking symptoms to reflux episodes.
The test uses a catheter similar to standard pH monitoring, but with additional sensors that detect the movement of liquid or gas in the esophagus regardless of its acidity. This is especially useful for people with NERD, because it can sort them into distinct groups: those with genuinely excessive acid, those with normal acid levels but an esophagus that’s hypersensitive to even small amounts of reflux, and those whose heartburn has no correlation with reflux at all (a condition called functional heartburn). These distinctions matter because each group responds to different treatments.
Barium Swallow
A barium swallow is an X-ray study where you drink a chalky liquid that coats your esophagus and stomach, making them visible on imaging. It’s not a primary test for diagnosing GERD itself, but it’s useful for evaluating the anatomy around the junction where your esophagus meets your stomach.
Its main role is detecting hiatal hernias, where part of the stomach pushes up through the diaphragm. A hernia is diagnosed on barium swallow when the gap between the stomach-esophagus junction and the diaphragm exceeds 2 centimeters. Smaller hernias are harder to catch because the junction shifts naturally during swallowing and breathing, creating a potential error margin of about 2 centimeters. The test can also reveal strictures or other structural abnormalities that might explain swallowing difficulties.
Esophageal Manometry
Manometry measures the pressure and coordination of the muscles in your esophagus, particularly the lower esophageal sphincter, the muscular valve that’s supposed to keep stomach contents from flowing backward. A thin pressure-sensing catheter is passed through your nose into your esophagus, and you’re asked to take a series of swallows while the sensors record how your muscles contract.
This test isn’t used to diagnose GERD directly. Its main purpose is to check whether your esophageal muscles are working properly and to rule out other conditions that can mimic reflux, like achalasia (where the lower sphincter doesn’t relax properly). It can identify a weak sphincter, frequent inappropriate sphincter relaxations, or the presence of a hiatal hernia. Manometry is strongly recommended before anti-reflux surgery to make sure the procedure is appropriate and to guide the surgical approach.
Saliva-Based Pepsin Testing
A newer, non-invasive option involves testing saliva for pepsin, a digestive enzyme produced in the stomach. The idea is that finding pepsin in your saliva suggests stomach contents are reaching your throat. Commercial kits like Peptest are available, and the test is simple: you spit into a tube after a reflux episode.
The results, however, are mixed. A review by NICE (the UK’s health technology authority) found the test had a specificity of 100%, meaning a positive result was highly reliable. But its sensitivity was only 33%, meaning it missed two out of every three people who actually had pathological reflux. A negative result, in other words, doesn’t tell you much. This test may serve as a preliminary screen in some cases, but it’s not a substitute for pH monitoring or endoscopy.
Which Tests You’ll Actually Need
Most people with straightforward heartburn that responds to a PPI trial will never need any of these tests. Testing becomes important when symptoms don’t respond to medication, when there are alarm signs like difficulty swallowing or unintended weight loss, when symptoms are atypical (chronic cough, hoarseness, chest pain), or when surgery is being considered.
A typical diagnostic path for someone with persistent, unclear symptoms might look like this: PPI trial first, then upper endoscopy if symptoms don’t resolve, then pH or impedance-pH monitoring if the endoscopy looks normal. Manometry gets added when surgery enters the conversation. Barium swallow is ordered selectively when the doctor suspects a structural problem. Not everyone needs every test, and the sequence depends on your specific symptoms and how you’ve responded to treatment so far.