Acid Reflux and Stomach Ulcers: Is There a Link?
- A straight answer on whether reflux causes stomach ulcers, and where each problem sits
- Stomach ulcer vs acid reflux, compared symptom by symptom
- The two main causes of peptic ulcers, and the myths that persist
- Bleeding ulcer warning signs that need urgent medical help
Acid reflux does not usually cause stomach ulcers. GERD, or gastro-oesophageal reflux disease, affects the oesophagus, while stomach and duodenal ulcers — together called peptic ulcers — are mainly caused by Helicobacter pylori (a common stomach bacterium) and by anti-inflammatory painkillers such as ibuprofen.
What reflux can cause is an ulcer in the oesophagus, which is a different place and a different problem. Ulcers can also cause symptoms that feel like reflux, which is why the two often get mixed up and why it is important to tell them apart before assuming the cause or the right treatment.
For UK adults dealing with acid reflux, GERD or possible ulcer symptoms, this guide explains the real relationship between the two conditions, how peptic ulcer symptoms differ from reflux symptoms, what actually causes peptic ulcers, how they are diagnosed and treated in the UK, and when to seek medical advice or urgent help.
Key things to know
- Acid reflux does not usually cause stomach or duodenal ulcers
- Peptic ulcers are mainly caused by H. pylori and anti-inflammatory painkillers
- Long-standing reflux can cause an ulcer in the oesophagus, which is a separate problem
- Ulcers can cause burning upper tummy pain that feels like reflux
- Vomiting blood, black tarry stools or sudden severe tummy pain need urgent help
- Treatment suitability depends on an individual clinical assessment
Can GERD cause stomach ulcers?
No, gastro-oesophageal reflux disease (GERD, called GORD in the UK) does not usually cause stomach ulcers. GORD involves acid escaping upwards from the stomach. Stomach ulcers form inside the stomach or the first part of the small intestine, where the lining's own defences have been weakened.
The confusion is understandable. Both involve stomach acid, both cause burning in the upper body, and both are often treated with the same acid reducing medicines. But the cause, the location and the risks differ.
Where each problem sits
| Condition | Where it is | Main cause |
|---|---|---|
| Acid reflux and GORD | Oesophagus, above the stomach | Stomach contents flowing back up |
| Oesophagitis | Lining of the oesophagus | Repeated acid exposure |
| Oesophageal ulcer | Deeper break in the oesophageal lining | Long-standing, severe reflux, or tablets that stick |
| Stomach (gastric) ulcer | Lining of the stomach | H. pylori, anti-inflammatory painkillers |
| Duodenal ulcer | First part of the small intestine | H. pylori, anti-inflammatory painkillers |
If you are not sure which of these fits your symptoms, our reflux symptom advice page explains how an online consultation with UK registered prescribers works, and when a GP review is the right route.
Oesophageal ulcer from reflux
Reflux can cause an ulcer, but in the oesophagus rather than the stomach. When acid keeps reaching the oesophageal lining, it can inflame it (oesophagitis) and, in more severe cases, create a deeper break called an oesophageal ulcer.
Signs that reflux may have progressed this far include:
- Pain when swallowing, sometimes sharp
- A sense that food is catching on the way down
- Burning that is more constant, rather than only after meals
- Pain that lingers between episodes
Tablets that stick in the oesophagus can also cause ulceration there. This is why leaflets advise taking tablets with a full glass of water while sitting or standing. NICE lists bisphosphonates and anti-inflammatory painkillers among medicines that can cause indigestion, and both have been linked with oesophageal irritation when swallowed without enough water.
Pain on swallowing needs medical assessment rather than self-treatment.
Can stomach ulcers cause acid reflux?
Stomach ulcers do not directly cause acid reflux, but they can produce symptoms that feel very similar, and the two can happen at the same time. Someone with an ulcer may describe burning in the upper tummy that seems to rise, along with nausea, bloating and burping, all of which people label as reflux.
There are a few practical overlaps:
- Both can be aggravated by anti-inflammatory painkillers
- Both can be affected by smoking and alcohol
- Both are often treated with acid reducing medicines
- Both can cause burning discomfort after meals
An ulcer near the exit of the stomach can also slow stomach emptying if it causes swelling or scarring, which increases pressure and may make reflux more likely. That is uncommon, and it is a reason for assessment rather than a typical picture.
Stomach ulcer vs acid reflux
The table below compares typical features. It is a guide, not a diagnosis, since symptoms overlap and only a clinician can tell them apart properly.
| Feature | Stomach ulcer | Acid reflux |
|---|---|---|
| Where the pain is | Upper tummy, below the breastbone | Behind the breastbone, rising to the throat |
| Type of pain | Burning or gnawing ache | Burning that climbs |
| Timing | Often when the stomach is empty, or at night | After meals, bending or lying down |
| Effect of eating | Duodenal ulcer pain often eases with food; gastric ulcer pain may worsen | Usually worse after eating |
| Other symptoms | Nausea, bloating, early fullness, loss of appetite | Sour taste, regurgitation, cough, hoarseness |
| Main causes | H. pylori, anti-inflammatory painkillers | Weak valve at the top of the stomach, triggers, weight, hiatus hernia |
| Warning signs | Vomiting blood, black stools, weight loss | Difficulty swallowing, weight loss |
The clue that points to an ulcer
Pain that comes on when you have not eaten for a while, wakes you in the early hours, and eases when you eat something is more typical of a duodenal ulcer than of reflux. Reflux tends to do the opposite: it follows food rather than hunger. If your pattern fits the first description, mention it specifically when you see a clinician.
Stomach ulcer symptoms
The main stomach ulcer symptom is a burning or gnawing pain, often described as burning stomach pain, felt in the upper abdomen between the breastbone and the belly button. It may last from minutes to a few hours and may come and go over days or weeks.
Other peptic ulcer common symptoms reported in the UK include:
- Indigestion that keeps returning
- Feeling sick or being sick
- Bloating and burping, with some people noticing bloating after eating fatty foods
- Feeling full quickly when eating
- Loss of appetite
- Unintended weight loss
- Feeling tired or breathless, which can indicate slow blood loss
The pain caused by an ulcer may feel like persistent stomach pain, but not all stomach ulcers are painful.
Some ulcers cause no symptoms at all until they bleed. That is one reason why anyone taking regular anti-inflammatory painkillers should report new upper tummy symptoms rather than waiting.
Bleeding stomach ulcer symptoms
A bleeding ulcer is a serious complication and a medical emergency. Get urgent help if you have:
- Vomiting blood, or material that looks like coffee grounds
- Black, sticky or tarry stools
- Sudden, severe tummy pain
- Feeling faint, dizzy, very pale or short of breath, which can point to internal bleeding
- A racing heartbeat with any of the above
Call 999 for severe pain, collapse, or vomiting large amounts of blood. Do not wait to see whether it settles, especially if sudden severe pain becomes steadily worse and a perforation develops. NICE quality standards support urgent review for persistent vomiting and for people aged 55 and over with weight loss and upper abdominal symptoms, as these complications can be potentially life threatening.

What causes stomach ulcers?
Peptic ulcers happen when the stomach or duodenal lining loses its protection against acid. Peptic ulcer disease includes these open sores in the stomach or duodenum. Stomach ulcers occur when stomach acid breaks through weakened defences in the stomach’s protective lining. Two causes account for the large majority of cases, and peptic ulcer disease affects about 1 to 3 people per 1000 each year.
| Cause | How it damages the lining |
|---|---|
| H. pylori | Inflames the stomach lining and weakens its defences |
| Anti-inflammatory painkillers (NSAIDs) | Reduce the natural chemicals that protect the lining |
| Other medicines | Steroids and some others can add to the risk, particularly in combination |
| Rare conditions | Some uncommon conditions increase acid production significantly |
Smoking, alcohol and stress do not by themselves create ulcers in the way once believed, but they can worsen symptoms and slow healing.
Helicobacter pylori and ulcers
Helicobacter pylori (H. pylori) is a bacterial infection caused by H. pylori bacteria living in the stomach lining. Many people carry it without ever knowing. In some, it inflames the lining and leads to ulcers.
H. pylori infection is usually found with a breath test or stool test, though a blood test may occasionally be used, or with a tissue sample taken at endoscopy. NICE advises a two week gap after stopping a proton pump inhibitor (PPI) before testing, because acid reducing treatment can make results unreliable. Do not stop prescribed treatment on your own to arrange a test; ask your GP first.
When H. pylori is found, treatment is a combination of antibiotics with an acid reducing medicine, prescribed as a course by a clinician. Treating the underlying cause helps lower the risk of the ulcer coming back. Completing the full course matters, and a retest is sometimes arranged afterwards to confirm the pylori infection has cleared.
NSAIDs and stomach ulcers
Nonsteroidal anti inflammatory drugs, known as NSAIDs, include ibuprofen, naproxen, diclofenac and aspirin. These anti inflammatory drugs reduce prostaglandins, natural chemicals that help protect the stomach lining, which is why they can cause ulcers.
These medicines can damage the stomach’s protective defences and are a common cause of ulcers.
Risk is higher with regular or long-term use, in people aged 65 and over, in those who have had an ulcer before, and when taken alongside blood thinners, steroids or another NSAID. NICE lists NSAIDs among medicines that can cause indigestion.
Myths about ulcer causes
| Myth | What is actually known |
|---|---|
| Spicy food causes ulcers | spicy foods can make ulcer discomfort symptoms worse, but they do not cause ulcers |
| Stress alone causes ulcers | Stress can make symptoms worse, but H. pylori and NSAIDs are the main causes |
| Ulcers only affect older people | Ulcers can occur at any adult age |
| Milk heals ulcers | It may soothe briefly, then stimulate more acid |
| Ulcers always hurt | Some cause no symptoms until they bleed |
How are stomach ulcers diagnosed?
Stomach ulcers are diagnosed by testing for H. pylori, reviewing your medicines and symptoms, and, where needed, an endoscopy. There is no reliable home test.
- History and symptoms: pattern of pain, timing, what eases it, and your medicines
- H. pylori testing: a breath or stool test arranged through a GP
- Blood tests: sometimes used to check for anaemia from slow blood loss
- Endoscopy: a thin camera looks at the oesophagus, stomach and duodenum, and can take samples
NICE quality standards support urgent assessment for people with difficulty swallowing, and for people aged 55 and over with weight loss and upper abdominal symptoms. Endoscopy is arranged through a GP or specialist, not through an online service.
Stomach ulcer treatment in the UK
Stomach ulcer treatment in the UK depends on the cause. It usually involves acid reducing treatment to let the ulcer heal, removing the cause where possible, and follow-up to confirm things have settled. With appropriate treatment, most stomach ulcers heal within one to two months.
| Situation | Usual approach |
|---|---|
| H. pylori found | A prescribed course combining antibiotics with acid reducing treatment |
| NSAID related | Reviewing the painkiller, with acid reducing treatment to allow healing |
| Neither found | Acid reducing treatment and a review of other contributing factors |
| Complications | Hospital assessment, sometimes endoscopic treatment |
NICE describes courses of acid reducing treatment lasting several weeks for peptic ulcers, alongside H. pylori eradication when it is found. Your prescriber will determine the appropriate treatment after reviewing your symptoms, medical history and current medicines, with the aim of treating the underlying cause so ulcers heal and do not recur.
Where acid reducing medicines fit
Proton pump inhibitors such as omeprazole acid treatment, lansoprazole, pantoprazole and esomeprazole help reduce stomach acid by lowering the acid the stomach produces, which helps an irritated lining heal and eases reflux symptoms. Another medicine called an H2 blocker, such as famotidine, works differently but also reduces acid.
These medicines treat acid, not the cause. If H. pylori is present it needs its own treatment, and if a painkiller is the driver, that needs reviewing. MHRA advice is that PPIs bought without a prescription should not be taken for more than four weeks without speaking to a doctor.
Everyday steps while an ulcer heals
- Avoid anti-inflammatory painkillers unless a clinician has advised otherwise
- Limit alcohol, which irritates the lining
- Stop smoking, which slows healing
- Eat smaller, regular meals rather than large ones
- Take tablets with a full glass of water, sitting or standing
- Report any warning signs immediately
If you have both reflux and an ulcer
Some people are treated for both, as they are both acid-related conditions within the digestive system. Reflux and ulcers can coexist, particularly in people who take anti-inflammatory painkillers and also have long-standing heartburn. Treating one does not automatically fix the other.
A practical approach is to deal with the ulcer cause first, because it carries the higher risk of complications, while keeping reflux controlled with lifestyle measures and prescribed treatment. NICE recommends healthy eating, weight reduction if you are overweight, stopping smoking and avoiding triggers such as alcohol, coffee, chocolate and fatty foods.
Once the ulcer has healed, a prescriber can review whether ongoing acid reducing treatment is still needed, and at what level. Options such as lansoprazole acid treatment may be discussed, based on your history and any other medicines you take. NICE advises that ongoing treatment is reviewed, with step-down or stopping considered when symptoms allow.
When to see a doctor about a stomach ulcer
See a GP if you experience persistent symptoms such as recurring burning or gnawing upper tummy pain, indigestion that does not settle, or symptoms that started after beginning an anti-inflammatory painkiller.
Seek prompt medical advice if you have:
- Unexplained weight loss
- Persistent vomiting
- Difficulty swallowing
- Feeling tired, breathless or unusually pale
- New, persistent symptoms after the age of 55
Get urgent help, or call 999, for vomiting blood, black or tarry stools, sudden severe tummy pain, or collapse, as worsening pain or bleeding can suggest an ulcer is affecting the stomach wall.
What to tell the clinician
A clear description shortens the path to the right test. Before your appointment, note:
- Where the pain sits, and whether it is burning, gnawing or aching
- Whether it comes on when hungry, after eating, or at night
- What eases it, including whether food helps
- Every painkiller you take, including ones bought without a prescription
- Any weight loss, vomiting, or changes in the colour of your stools
- Whether you have been tested for H. pylori before, and when
Mentioning painkillers matters. People often forget to list them because they are not prescribed, yet they are one of the two main causes of peptic ulcers.
Medical Disclaimer
This article is for general information and does not replace advice from a doctor, pharmacist or other qualified healthcare professional. Always read the patient information leaflet before taking any medicine.
Treatment suitability depends on an individual clinical assessment. If you vomit blood, pass black tarry stools or have sudden severe tummy pain, seek medical help straight away.









