In this article
Almost everyone experiences it occasionally, particularly after a heavy meal. When heartburn becomes frequent, occurring several times a week or every day, it is no longer an occasional nuisance and needs an explanation.
This article looks at the common and less common causes of persistent heartburn, from gastro-oesophageal reflux disease to medicines, lifestyle factors and conditions that mimic heartburn but have a different cause, such as heart problems. It aims to help you understand why persistent heartburn should be discussed with your doctor and which signs require prompt assessment. It is not a substitute for that assessment.
What happens when you experience heartburn
Between the oesophagus and the stomach is a ring of muscle called the lower oesophageal sphincter, which acts like a valve: it opens to let food through and closes to prevent the acidic contents of the stomach from flowing back up. The stomach is designed to withstand acid; the oesophagus is not. When stomach contents rise, they irritate the lining of the oesophagus and cause the characteristic burning sensation.
It is normal to have some episodes of reflux during the day, particularly after meals, without noticing them. The problem arises when these episodes are frequent or prolonged, or when the oesophagus is particularly sensitive. Persistent heartburn results from a combination of these factors, which varies from person to person.
| Mechanism | What happens | Examples of contributing factors |
|---|---|---|
| Sphincter relaxation | The valve opens at the wrong time | Large meals, fatty foods, alcohol |
| Pressure in the abdomen | Stomach contents are pushed upwards | Being overweight, pregnancy, tight clothing |
| Hiatus hernia | Part of the stomach moves up into the chest | Age, being overweight |
| Slow stomach emptying | Contents remain in the stomach for longer | Fatty meals, some medical conditions |
| Increased sensitivity of the oesophagus | Minor reflux causes significant symptoms | Functional heartburn, stress |
Gastro-oesophageal reflux disease
Gastro-oesophageal reflux disease (GORD) is the most common reason for ongoing heartburn. Reflux is classed as a disease when it causes troublesome symptoms or harms the oesophagus. The 2022 guideline from the American College of Gastroenterology (ACG), led by Katz, says that the usual symptoms are heartburn and regurgitation, when sour or bitter stomach contents rise into the mouth.
Many people with GORD have no visible damage to the oesophagus, while others have varying degrees of inflammation (oesophagitis). Over time, a small proportion may develop complications, such as narrowing of the oesophagus or changes to its lining called Barrett's oesophagus. These topics are covered in greater depth in the other articles in this series on reflux, tests and treatment.
Habits and lifestyle
Some habits clearly increase the likelihood of heartburn. Common examples include eating a large meal, eating late and lying down straight afterwards, consuming a lot of fatty food, alcohol or fizzy drinks, and smoking. The ACG guideline recommends, for example, avoiding meals for two to three hours before bedtime and losing weight if you are overweight, as these measures have proven benefits for many people.
Other foods, such as coffee, chocolate, citrus fruit, tomatoes, mint or spicy foods, are often blamed for heartburn. The evidence for these foods is weaker and their effect varies greatly from person to person. Rather than cutting out everything, it makes more sense to identify the foods that trigger symptoms for you.
| Factor | Strength of association | Comment |
|---|---|---|
| Excess weight, particularly around the abdomen | Strong | Weight loss tends to reduce symptoms |
| Late meals and lying down straight afterwards | Strong | Wait a few hours before lying down |
| Tobacco | Moderate | Stopping smoking also benefits other conditions |
| Alcohol | Moderate | Effect varies between people |
| Coffee, chocolate, citrus fruit, spicy foods | Weak to variable | Identify individual triggers |
| Tight clothing around the waist | Weak | May make symptoms worse in some people |
Hiatus hernia and pregnancy
A hiatus hernia occurs when part of the stomach passes through the opening in the diaphragm through which the oesophagus runs and moves into the chest. This weakens the natural barrier against reflux. It becomes more common with age and excess weight, and is often discovered during an endoscopy. Not all hernias cause symptoms, but larger ones are associated with more severe reflux.
Pregnancy is another very common cause of heartburn, particularly in the second and third trimesters. Pregnancy hormones relax the sphincter and the growing uterus increases pressure in the abdomen. Heartburn during pregnancy usually resolves after the birth. Treatment during pregnancy should be discussed with a doctor or pharmacist, as not all medicines are suitable.
Medicines that can cause or worsen heartburn
Several medicines can encourage reflux by relaxing the sphincter, or directly irritate the oesophagus if they become lodged there. Non-steroidal anti-inflammatory drugs, such as ibuprofen, can irritate the stomach and oesophagus. Some medicines for blood pressure and heart conditions, nitrates, certain asthma medicines, and some sedatives and antidepressants can relax the sphincter.
Some tablets, including certain antibiotics, bisphosphonates used for osteoporosis, iron or potassium, can damage the oesophagus if taken with too little water or just before bed. If you think a medicine is causing heartburn, speak to your doctor or pharmacist. Do not stop taking prescription medicines without medical advice.
| Group of medicines | How it can cause heartburn | What to do |
|---|---|---|
| Non-steroidal anti-inflammatory drugs | Irritation of the stomach and oesophagus | Discuss alternatives with your doctor |
| Calcium channel blockers, nitrates | Relaxation of the sphincter | Do not stop; discuss with your doctor |
| Bisphosphonates | Direct damage to the oesophagus | Take with plenty of water while standing, as directed |
| Some antibiotics, iron, potassium | Direct damage if the tablet becomes lodged | Take with water and do not lie down straight afterwards |
| Some sedatives and antidepressants | Relaxation of the sphincter | Review with your doctor |
Helicobacter pylori, ulcers and dyspepsia
Sometimes what is described as heartburn is actually pain or burning in the upper abdomen, around the stomach, which doctors call dyspepsia. Dyspepsia can be caused by gastritis, an ulcer in the stomach or duodenum, or it can be functional, meaning there is no visible damage. The bacterium Helicobacter pylori is an important cause of gastritis and ulcers.
The European Maastricht VI/Florence consensus, led by Malfertheiner, recommends testing for and treating H. pylori infection in people with dyspepsia, using non-invasive tests such as the urea breath test or stool antigen test. The same consensus states that the infection does not cause reflux disease and that eradicating it does not generally cause or worsen reflux. Distinguishing heartburn from dyspepsia helps the doctor choose the right tests.
Other less common causes
Eosinophilic oesophagitis is inflammation of the oesophagus that is more common in people with allergies. It can cause heartburn that does not improve with the usual treatment and, above all, difficulty swallowing or food becoming stuck. It is diagnosed by endoscopy with biopsies. Disorders affecting the movement of the oesophagus, such as achalasia, may be mistaken for reflux.
There is also functional heartburn, where a person experiences heartburn even though tests show neither excessive reflux nor damage. It is not an imaginary condition: it results from increased sensitivity of the oesophagus and has its own treatments. Infections of the oesophagus, which are more common in people with a weakened immune system, and, rarely, tumours of the oesophagus or stomach are other possibilities the doctor will consider according to the person's age and symptoms.
When chest pain is not heartburn
Pain of cardiac origin may feel like burning or tightness in the chest and can be mistaken for heartburn. Angina and a heart attack may occur during exertion or at rest, spread to the arm, neck or jaw, and be accompanied by shortness of breath, sweating, nausea or feeling very unwell. People with diabetes, women and older people may have less typical symptoms.
If you develop new or severe chest pain, or pain with these features, do not assume it is heartburn: call 112. The ACG guideline stresses that cardiac causes must be ruled out before chest pain is attributed to reflux.
Warning signs and the role of tests
Some signs require prompt medical assessment because they may indicate complications or other conditions: difficulty or pain when swallowing, unexplained weight loss, persistent vomiting, vomit containing blood or resembling coffee grounds, black stools, anaemia, or symptoms beginning later in life. In these situations, the doctor may request an endoscopy.
Blood tests cannot confirm or rule out reflux, but they are useful. A full blood count and ferritin test may reveal anaemia caused by hidden blood loss; tests for H. pylori help investigate dyspepsia. Reference ranges vary between laboratories and the results must be interpreted by the doctor alongside your medical history.
| Sign | Why it is a concern | What to do |
|---|---|---|
| Vomiting blood or passing black stools | Possible gastrointestinal bleeding | Emergency department or 112 |
| Chest pain with shortness of breath or sweating | Possible cardiac cause | 112 |
| Difficulty or pain when swallowing | Narrowing, inflammation or another lesion | Prompt medical appointment |
| Unexplained weight loss | May indicate a more serious condition | Prompt medical appointment |
| Anaemia in blood tests | Possible blood loss | Medical assessment |
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 it normal to have heartburn every day?
It is not something to ignore. Frequent heartburn should be assessed by a doctor, even if it improves with antacids.
Can stress cause heartburn?
It can heighten awareness of symptoms and affect habits, but it is rarely the only cause. It is worth looking for other factors.
Do spicy foods cause reflux?
They make heartburn worse in some people but not in others. The evidence is weak; identify your own triggers.
Does Helicobacter pylori cause reflux?
It is not considered a cause of reflux, but it can cause gastritis and ulcers, with symptoms that may be mistaken for heartburn.
Can a medicine give me heartburn?
Yes. Speak to your doctor or pharmacist, and do not stop the medicine on your own.
How do I know if my chest pain is coming from my heart?
You cannot be certain on your own. New or severe pain with shortness of breath, sweating or pain spreading to the arm or jaw requires a call to 112.
Can blood tests show whether I have reflux?
No. They help detect complications, such as anaemia, and other causes.
Did you enjoy this article?
Scientific references2
- 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.
- 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.





