Stomach ulcer: symptoms, causes and treatment
Lauren Dobischok
Epidemiologist
Lauren is a health scientist and science communicator currently living in the Netherlands. Originally from Canada, she completed a Research Master’s in Health Sciences at the Netherlands Institute of Health Sciences at Erasmus University Rotterdam (NIHES) with a specialisation in epidemiology. Prior to her master’s degree, she completed a Bachelor’s degree in Health Sciences at Simon Fraser University. With a background in public health, her goal is to create accurate scientific content that is easy to understand and empowers people to make informed decisions. Within Homed-IQ, Lauren works as a Product Developer and Content Lead, working closely with physicians and scientists on medical devices for Homed-IQ’s new products and written communications.
Our medical editorial process
All content at Homed-IQ undergoes a strict editorial process. Articles are written by specialist medical writers and subsequently reviewed by an independent doctor or medical specialist. This ensures that our information is evidence-based, up to date and reliable.
- Written by medically trained writers
- Reviewed by an independent doctor
- Based on peer-reviewed sources
- Regularly updated for accuracy
Table of contents
Some stomach ulcers develop without causing noticeable symptoms, while others cause a burning pain that makes everyday meals uncomfortable. Contrary to popular belief, they are usually not caused by stress or spicy food, but by a bacterial infection or commonly used painkillers. Recognising the signs of a stomach ulcer can help you understand when to seek medical attention and which treatments can support healing.
What is a stomach ulcer?
A stomach ulcer, also known as a gastric ulcer, is an open sore in the stomach lining. Although stomach ulcers are common and respond well to treatment, they can lead to serious complications if left untreated, including internal bleeding or a hole in the stomach wall.
Stomach ulcers belong to a broader group of conditions known as peptic ulcer disease. Depending on their location, peptic ulcers are classified into two main types:
- Gastric ulcers: develop in the stomach lining.
- Duodenal ulcers: develop in the lining of the duodenum, the first part of the small intestine.
Source: Mayo Clinic Staff, 2024; Cleveland Clinic, 2024
Stomach ulcers should not be confused with gastritis. While gastritis refers to inflammation of the stomach lining, an ulcer involves deeper tissue damage that results in an open sore. However, erosive gastritis can damage the protective stomach lining and lead to ulcer formation (Mayo Clinic, 2024; Cleveland Clinic, 2024).
Stomach ulcer symptoms
A typical symptom of a stomach ulcer is a burning or gnawing pain in the upper abdomen, between the breastbone and belly button, often slightly to the left. This pain is frequently accompanied by indigestion and an uncomfortable feeling of fullness during or after meals.
Other possible symptoms include:
- Feeling full after eating only a small amount
- Feeling full long after eating
- Heartburn and acid reflux
- Nausea and vomiting
- Bloating and increased burping
- Abdominal discomfort caused by trapped gas
However, not all stomach ulcers cause noticeable symptoms. These are known as silent ulcers and may go undetected until complications develop, such as bleeding or a hole in the stomach wall. For example, a bleeding ulcer can cause pale skin, dizziness, weakness, black, tar-like stools or vomiting material that resembles coffee grounds. Sudden, severe abdominal pain that does not go away.
Source: Cleveland Clinic, 2024
Stomach ulcer or heartburn?
Unlike ulcer pain, which is usually felt in the upper abdomen, heartburn typically causes a burning sensation in the chest that rises towards the throat (Cleveland Clinic, 2024; NHS, 2023).
What causes stomach ulcers
Most stomach ulcers are caused by one of two factors: an infection with Helicobacter pylori (H. pylori), which damages the stomach's protective lining, or regular use of non-steroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, naproxen and aspirin. These medications irritate the stomach lining and weaken its natural protection and repair mechanisms.
Everyday stress and dietary habits do not cause stomach ulcers, but they can worsen existing symptoms. Smoking, alcohol and certain foods, particularly spicy or acidic ones, can irritate the stomach lining and increase discomfort. Smoking can also slow ulcer healing.
Source: Cleveland Clinic, 2024
How a stomach ulcer is diagnosed
Your GP will first ask about your symptoms, medical history and use of anti-inflammatory painkillers (NSAIDs), as well as any previous H. pylori infections. If a stomach ulcer is suspected, further tests can help identify the ulcer and determine whether an H. pylori infection is present.
The following tests may be used:
|
Test |
Purpose |
|
Endoscopy |
A thin tube with a small camera is passed through your throat into your stomach under sedation. The doctor can also take a tissue sample (biopsy) to test for H. pylori and treat complications such as bleeding during the procedure. |
|
Upper gastrointestinal X-ray |
Uses X-ray imaging to identify stomach ulcers without inserting a camera into the stomach. |
|
Breath, blood or stool test |
Checks for signs of an H. pylori infection. |
Source: Cleveland Clinic, 2024
Stomach ulcer treatment
Most stomach ulcers can be treated with a combination of medicines that reduce stomach acid, protect the stomach lining and eliminate any underlying bacterial infection. The choice of treatment depends on the cause of the ulcer and whether complications have developed.
The following medications may be used:
|
Medication |
How it works |
Examples |
|
Antibiotics |
Eliminate H. pylori or other bacterial infections responsible for the ulcer. |
Amoxicillin, clarithromycin, metronidazole, tetracycline |
|
Cytoprotective agents |
Protect the stomach lining and support healing. They are particularly useful for treating and preventing ulcers associated with anti-inflammatory painkillers (NSAIDs). |
Sucralfate, misoprostol, bismuth subsalicylate |
|
Histamine receptor blockers (H2 blockers) |
Reduce stomach acid production by blocking the action of histamine, a substance that stimulates acid release. |
Famotidine, cimetidine, nizatidine |
|
Proton pump inhibitors (PPIs) |
Reduce stomach acid production, allowing the damaged stomach lining to heal. |
Omeprazole, pantoprazole, lansoprazole, esomeprazole |
When are medical procedures necessary?
If a stomach ulcer causes complications, medication alone may not be enough. Bleeding ulcers can often be treated during an endoscopy, while a hole in the stomach wall (perforation) may require emergency surgery.
In rare cases, persistent or recurring stomach ulcers can cause chronic pain and scarring, potentially blocking the passage of food from the stomach into the small intestine. Surgery may be needed to remove the blockage (pyloroplasty) or reduce stomach acid production (vagotomy).
Source: Cleveland Clinic, 2024
What can you do to support healing?
- Avoid smoking.
- Avoid or limit alcohol.
- Complete your prescribed treatment, even if you start feeling better.
- Avoid foods and drinks that noticeably worsen your symptoms.
- Treat H. pylori infections: Early detection and treatment can help prevent ulcers from developing or returning.
- Use NSAIDs responsibly: Follow the recommended dosage and discuss alternatives or stomach-protecting medication with your GP if you need to take them regularly.
Source: Cleveland Clinic, 2024
When to get help straight away
See your GP if you experience:
- Persistent indigestion despite treatment
- Recurring abdominal pain
Seek urgent medical advice if you experience:
- Persistent or worsening abdominal pain
- Loss of appetite or feeling full quickly
- Unintentional weight loss
- A noticeable lump in your abdomen
- Pain or difficulty swallowing
- Persistent vomiting
- Ongoing fatigue
Call 999 or go to A&E if you experience:
- Vomiting blood or material resembling coffee grounds
- Bloody or black, tar-like stools
- Severe abdominal pain
- Abdominal tenderness when touched
- Sudden chest pain
Source: NHS, 2025
Frequently asked questions about stomach ulcers
Can a stomach ulcer heal on its own?
Some stomach ulcers can heal without treatment, but it depends on the underlying cause. An untreated ulcer also carries a risk of bleeding and other complications. As treatment generally works well and takes only a few weeks, it is better to see your GP than to wait (Cleveland Clinic, 2024).
Frequently asked questions
How reliable are the tests?
Our tests are analysed in an ISO 15189 accredited laboratory with the same equipment and protocols used by hospitals and GPs. The accuracy is comparable to a venous blood draw.
How quickly will I receive my results?
After receipt of your sample at the lab, you will receive your results within 1-2 working days in your personal, secure portal.
Are the tests really anonymous?
Yes, 100%. The packaging is plain, containing no indication of the contents. Your test is registered with an anonymous code. Only you have access to the results.
Sources
-
1
Cleveland Clinic. (2024, March 18). Stomach ulcer. Retrieved November 27, 2026, from https://my.clevelandclinic.org/health/diseases/22314-stomach-ulcer
-
2
Mayo Clinic Staff. (2024, August 16). Peptic ulcer: Symptoms and causes. Mayo Clinic. Retrieved November 27, 2026, from https://www.mayoclinic.org/diseases-conditions/peptic-ulcer/symptoms-causes/syc-20354223
-
3
Mayo Clinic Staff. (2024, February 14). Gastritis: Symptoms and causes. Mayo Clinic. Retrieved November 27, 2026, from https://www.mayoclinic.org/diseases-conditions/gastritis/symptoms-causes/syc-20355807
-
4
NHS. (2023, November 20). Heartburn and acid reflux. Retrieved November 27, 2026, from https://www.nhs.uk/conditions/heartburn-and-acid-reflux/
-
5
NHS. (2025, August 12). Stomach ulcer. Retrieved November 27, 2026, from https://www.nhs.uk/conditions/stomach-ulcer/
Was this article helpful?
Your feedback helps us create better content
Thanks for your feedback!