Requests

Laboratory tests

Heartburn: tests and investigations

People with frequent heartburn often ask which test they need to find out whether they have reflux.

Clínica Alegre practitioner pipetting a sample into a test tube beside sample collection tubes

Reviewed by Dr. Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

The honest answer is that there is no blood test that can diagnose reflux. Persistent heartburn is diagnosed mainly from the medical history and, when necessary, tests of the oesophagus and stomach, such as endoscopy or oesophageal pH monitoring. Laboratory tests nevertheless have an important role: they help look for complications, identify the bacterium Helicobacter pylori and monitor the effects of long-term treatment.

This article explains which tests and investigations may be requested for persistent heartburn, what each is for, how you usually prepare for it and what the results may mean in general terms. The choice of tests depends on your age, symptoms, any warning signs and your response to treatment, and is always made by the doctor.

When tests are needed

For people with typical heartburn and regurgitation but no warning signs, the 2022 American College of Gastroenterology (ACG) guideline, led by Katz, recommends starting with an eight-week trial of a proton pump inhibitor without prior tests. If the symptoms improve, reflux becomes the likely diagnosis and tests may not be needed.

Further checks become important if the symptoms fail to improve, return straight after the tablets are stopped, or have no clear cause. They are also needed when warning signs appear or when years of treatment or an operation are being weighed up. The doctor picks the check that will best answer the question.

SituationUsual approach
Typical heartburn, no warning signsTrial treatment; tests if there is no response
Warning signs (dysphagia, weight loss, blood, anaemia)Prompt endoscopy
Symptoms that do not respond to treatmentEndoscopy and, often, pH monitoring
Dyspepsia (pain or burning in the stomach)Testing for Helicobacter pylori
Chest painRule out a cardiac cause first

Blood tests: what they can and cannot show

A full blood count is the most useful test in the context of persistent heartburn. Low haemoglobin, particularly with small red blood cells, may indicate slow blood loss from the digestive tract, for example due to severe oesophagitis, an ulcer or, more rarely, a tumour. Ferritin, which reflects the body's iron stores, helps confirm iron deficiency. Unexplained iron-deficiency anaemia is a warning sign that warrants investigation of the digestive tract.

Other tests, such as liver function tests and amylase or lipase, may be requested when the pain suggests a problem with the gallbladder, liver or pancreas. A blood antibody test for Helicobacter pylori is available, but has limitations: it may remain positive long after the infection has cleared and cannot confirm eradication. Reference ranges vary between laboratories; use those shown on your report and leave interpretation to the doctor.

TestWhat it may revealLimitations
Full blood countAnaemia caused by blood lossDoes not identify the source of the blood loss
FerritinLow iron storesMay rise with inflammation
Liver function testsProblems with the liver or bile ductsProvide guidance but are not diagnostic on their own
Amylase, lipaseInflammation of the pancreasMost useful in acute pain
H. pylori antibody testPrevious exposure to the bacteriumDoes not distinguish current from past infection

Helicobacter pylori: tests and preparation

When the main complaint is pain or burning around the stomach (dyspepsia), the European Maastricht VI/Florence consensus, led by Malfertheiner, recommends testing for Helicobacter pylori using non-invasive methods and treating it if present. The recommended tests are the urea breath test and a monoclonal stool antigen test. Both detect current infection.

These tests require preparation because some medicines reduce the number of bacteria and can produce false-negative results. As a rule, the consensus recommends stopping proton pump inhibitors about two weeks beforehand and not taking antibiotics or bismuth compounds in the preceding four weeks. These pauses must be agreed with your doctor, who may suggest alternatives to control symptoms during this period, and you should follow the laboratory's specific instructions. After treatment, eradication is confirmed using one of these methods, not an antibody test.

TestHow it is doneGeneral preparation
Urea breath testYou blow into a container before and after drinking a solutionFasting and stopping some medicines as instructed
Stool antigenA small stool sample is collectedStopping some medicines as instructed
SerologyBlood testNo need to stop medicines, but it does not confirm eradication
Biopsy during endoscopySample collected during the endoscopyIndicated when an endoscopy is being performed for another reason

Upper gastrointestinal endoscopy

Endoscopy uses a thin, flexible tube with a camera to view the oesophagus, stomach and duodenum directly and take biopsies. It is indicated when warning signs are present (difficulty or pain when swallowing, weight loss, persistent vomiting, blood, anaemia), when symptoms do not respond to treatment and, in some people with long-standing symptoms and risk factors, to look for Barrett's oesophagus.

The Lyon Consensus 2.0, published by Gyawali and colleagues in 2024, regards grade B, C or D oesophagitis, biopsy-confirmed Barrett's oesophagus and peptic stricture as conclusive evidence of reflux. A normal endoscopy does not rule out reflux because many people with the condition have no visible lesions. To make endoscopy more useful when the diagnosis has not been established, the consensus suggests performing it a few weeks after stopping medication, a decision for the doctor to make.

pH and impedance monitoring

When the diagnosis remains uncertain, pH monitoring measures how much acid the oesophagus is exposed to over one or several days. It can be performed using a thin probe passed through the nose for 24 hours, or a small wireless capsule attached to the oesophagus that records for several days. Impedance monitoring combined with pH monitoring also detects weakly acidic reflux. During the test, the patient records their symptoms to see whether they coincide with episodes of reflux.

For people whose reflux has never been confirmed, the Lyon Consensus 2.0 recommends prolonged wireless monitoring or monitoring while not taking acid-suppressing medication. Acid exposure time above 6% is considered conclusive evidence of reflux and values below 4% are considered normal; between these values, additional criteria are used for interpretation. In people with confirmed reflux who continue to have symptoms, the test may be performed while they are taking medication.

Acid exposure time resultInterpretation according to the Lyon Consensus 2.0
Above 6%Conclusive evidence of reflux
Between 4% and 6%Inconclusive range; other criteria are used
Below 4%Considered normal

Manometry and other imaging tests

High-resolution oesophageal manometry shows how strongly the gullet muscles squeeze, how well those squeezes work together and the pressure at the sphincter. The ACG and the Lyon Consensus both state that this test cannot prove reflux. It is useful before an anti-reflux operation and can rule out swallowing disorders such as achalasia, which may look like reflux.

A contrast X-ray examination (barium swallow) can show narrowing or a hiatus hernia, but is not recommended for diagnosing reflux. An abdominal sonogram may be requested if problems with the bile sac are suspected.

When chest pain requires cardiac tests

Pain of cardiac origin can be mistaken for heartburn. If you have chest pain, particularly if it is new, severe, associated with exertion, shortness of breath, sweating or nausea, or spreads to the arm, neck or jaw, ruling out a cardiac cause is the priority. In these cases, do not wait for routine tests: call 112.

In emergency departments, an electrocardiogram and a blood troponin test are central to assessing a possible heart attack. Outside an emergency, the doctor may request other cardiac tests before attributing the pain to reflux.

Monitoring long-term treatment

Some people take proton pump inhibitors for years. Studies, most of them observational, have associated long-term use with vitamin B12 and magnesium deficiencies, among other effects. The ACG guideline acknowledges these concerns but emphasises that the quality of evidence for many of these effects is limited and that the decision should weigh up the benefit for each person.

A doctor may ask for blood checks of vitamin B12 and magnesium, or a full blood count, when someone has taken these medicines for a long time and has other risks, such as being older, eating a poor diet or taking other medicines that alter these levels. Speak to your doctor before stopping the medicine because of such worries.

TestWhy it may be requested during long-term useComment
Vitamin B12Reduced absorption when there is less acidParticularly in older people or those with other risk factors
MagnesiumLow levels reported in some casesMore relevant when taking diuretics
Full blood countAnaemia from a range of causesOverall assessment
FerritinIron absorption may decreaseInterpret in context

At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.

Frequently asked questions

Is there a blood test for reflux?

No. Tests help detect complications and other causes, but the diagnosis is clinical and, if necessary, involves tests of the oesophagus.

Do I have to stop omeprazole before a Helicobacter pylori test?

A pause is generally recommended before a breath or stool antigen test. Agree this with your doctor and follow the laboratory's instructions.

My Helicobacter pylori antibody test was positive. Do I have the infection?

Not necessarily. It may reflect a past infection; the doctor may request a test that detects current infection.

Do I always need an endoscopy?

No. It is mainly indicated when warning signs are present or treatment has not worked.

Does a normal endoscopy mean I do not have reflux?

No. Many people with reflux have a normal-looking oesophagus.

What is a pH capsule?

A small device attached to the oesophagus that measures acid for several days without a probe through the nose.

Should I have tests because I have taken stomach-protecting medicine for years?

The doctor will decide whether checking vitamin B12, magnesium or a full blood count is appropriate, based on your age and other factors.

Did you enjoy this article?

Scientific references3
  1. Gyawali CP, Yadlapati R, Fass R, et al. Modern GERD diagnosis: updates from Lyon consensus 2.0. Gut. 2024;73(2):361-371.
  2. Malfertheiner P, Megraud F, Rokkas T, et al. Management of Helicobacter pylori infection: the Maastricht VI/Florence consensus report. Gut. 2022;71(9):1724–1762.
  3. Katz PO, Dunbar KB, Schnoll-Sussman FH, et al. ACG Clinical Guideline for the diagnosis and management of gastro-oesophageal reflux disease. Am J Gastroenterol. 2022;117(1):27–56.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.