Stomach Ulcer: An Evidence-Based Guide for Patients

A stomach ulcer is a type of peptic ulcer that forms in the stomach lining. Common causes include H. pylori infection and long-term use of NSAID pain relievers.
Key Takeaways
- A stomach ulcer is a type of peptic ulcer that forms in the stomach lining.
- Common causes include H. pylori infection and long-term use of NSAID pain relievers.
- Symptoms may include upper abdominal pain, bloating, nausea, or no symptoms at all.
- Diagnosis often involves testing for H. pylori and, in some cases, upper endoscopy.
- Treatment usually includes acid-reducing medicine, stopping ulcer-triggering drugs when possible, and treating H. pylori if present.
- Urgent care is important for vomiting blood, black stools, fainting, or sudden severe abdominal pain.
A stomach ulcer is an open sore in the lining of the stomach. Most stomach ulcers are linked to Helicobacter pylori infection or regular use of anti-inflammatory pain medicines, and many improve with the right diagnosis, medication, and follow-up.
Overview
A stomach ulcer is a sore that develops in the protective lining of the stomach. It is one type of peptic ulcer disease, which also includes ulcers in the first part of the small intestine. Although ulcers can cause burning stomach pain, they do not always cause clear symptoms, and many people improve once the underlying cause is identified and treated.
The two most common causes are infection with Helicobacter pylori (H. pylori) and regular use of nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, naproxen, and aspirin. These factors can weaken the stomach’s natural defenses against acid. Less often, severe illness, smoking, heavy alcohol use, or uncommon medical conditions can contribute.
Many patients worry that stress alone causes ulcers. Stress can make digestive symptoms feel worse, but most true stomach ulcers are related to H. pylori, NSAIDs, or both. This distinction matters because treatment is aimed not only at symptom relief but also at healing the sore and preventing it from returning.
Symptoms and Possible Complications

The most common symptom of a stomach ulcer is discomfort or pain in the upper abdomen. People often describe it as burning, gnawing, aching, or a feeling of irritation between meals or at night. Some notice early fullness, bloating, nausea, burping, or reduced appetite. In other cases, there may be no symptoms until the ulcer becomes more serious.
Symptoms can overlap with other digestive conditions, including gastritis, acid reflux, or stomach cancer, which is one reason persistent or unexplained symptoms should be assessed by a doctor. Weight loss, ongoing vomiting, difficulty eating, or anemia-related fatigue deserve medical attention because they may point to an ulcer or another condition that needs evaluation.
Complications can happen if an ulcer bleeds, breaks through the stomach wall, or causes blockage near the outlet of the stomach. Warning signs include vomiting blood, vomit that looks like coffee grounds, black tarry stools, sudden intense abdominal pain, dizziness, or fainting. These symptoms need urgent medical care.
- Upper abdominal burning or pain
- Bloating or feeling full quickly
- Nausea or vomiting
- Loss of appetite or unintentional weight loss
- Black stools or vomiting blood in complicated cases
Why Stomach Ulcers Happen
The stomach normally protects itself with mucus, bicarbonate, blood flow, and cell repair mechanisms. A stomach ulcer forms when these protective layers are disrupted and acid damages the tissue beneath. H. pylori is a common reason for this imbalance. The bacterium can live in the stomach lining, trigger inflammation, and make the lining more vulnerable to acid-related injury.
NSAID medicines are another major cause. These drugs reduce the production of protective substances called prostaglandins, which help maintain the stomach’s mucus barrier and blood supply. The risk tends to rise with higher doses, older age, longer use, a history of ulcers, or combination use with aspirin, steroids, blood thinners, or certain other medicines.
Additional factors may increase risk or slow healing. Smoking is linked to poorer ulcer healing and a higher chance of recurrence. Heavy alcohol use may irritate the stomach lining. Serious illness or hospitalization can also contribute in some settings. Rarely, excess acid production from uncommon conditions may lead to repeated ulcers.
How Doctors Diagnose a Stomach Ulcer
Diagnosis begins with a careful history and examination. A doctor usually asks about the pattern of pain, use of pain relievers, aspirin or blood thinners, smoking, alcohol, and any past ulcers. Symptoms alone cannot reliably confirm a stomach ulcer, so testing is often needed to identify the cause and rule out other problems.
Testing for H. pylori may be done with a breath test, stool antigen test, or tissue samples taken during endoscopy. An upper endoscopy is often the most direct way to diagnose a stomach ulcer. During this procedure, a thin flexible camera is passed through the mouth to view the esophagus, stomach, and duodenum. This approach may be especially important in older adults, in those with warning signs, or when symptoms do not improve as expected.
Because stomach ulcers can sometimes resemble more serious conditions, doctors may take a biopsy during endoscopy to examine the tissue more closely. In some patients, blood tests can help assess anemia or bleeding. When persistent symptoms require a closer look, doctors may recommend upper endoscopy as part of a complete evaluation.
Treatment Options and Recovery
Treatment depends on the cause, but the goals are similar: relieve symptoms, heal the ulcer, prevent complications, and reduce the risk of recurrence. Most patients are treated with proton pump inhibitors (PPIs), which lower stomach acid and allow the lining to heal. If H. pylori is found, the treatment plan usually includes a combination of antibiotics together with acid suppression.
If NSAIDs are contributing, the doctor may advise stopping them or switching to a safer alternative when possible. This decision should be individualized, especially for people who need aspirin or anti-inflammatory medicines for heart disease, arthritis, or other chronic conditions. Patients should not stop prescribed medicines without medical guidance.
Follow-up matters because a stomach ulcer may need confirmation of healing, especially if symptoms continue, the ulcer was large, or there were concerning endoscopy findings. In selected cases, repeat gastroenterology evaluation or endoscopy may be advised. If complications such as active bleeding occur, treatment may involve endoscopic therapy and hospital care; some patients may need surgical treatment if less invasive measures are not enough.
Self-Care, Prevention, and Daily Habits
Self-care can support healing, but it does not replace medical treatment for a true stomach ulcer. Taking ulcer medicines exactly as prescribed is important, even if symptoms improve early. If H. pylori treatment is prescribed, finishing the full antibiotic course helps reduce the chance that the infection will persist.
People with a history of ulcers should review all over-the-counter and prescription pain medicines with their doctor. NSAIDs, including some cold and pain products, may worsen ulcers or trigger new ones. Limiting smoking and alcohol can also support healing and reduce irritation to the stomach lining.
There is no single ulcer diet, but some people feel better by avoiding foods that clearly worsen their symptoms, such as very spicy, acidic, or fatty meals. Smaller meals may be easier during recovery. It can also help to avoid lying down immediately after eating, to stay hydrated, and to seek care if symptoms return after treatment.
- Take prescribed acid-reducing medicine as directed
- Complete H. pylori treatment if prescribed
- Avoid or minimize NSAIDs unless a doctor advises otherwise
- Stop smoking if possible
- Limit alcohol and identify personal food triggers
When to Seek Medical Care
Medical review is appropriate if upper abdominal pain lasts more than a few days, keeps returning, or is accompanied by nausea, vomiting, poor appetite, or unexplained weight loss. A doctor should also assess symptoms that begin after frequent NSAID use or aspirin use, especially in older adults or anyone with a history of ulcers.
Urgent care is needed for signs of bleeding or perforation. These include black tarry stools, vomiting blood, sudden severe abdominal pain, shortness of breath, fainting, or marked weakness. These symptoms do not always mean a stomach ulcer is the cause, but they should never be ignored.
For international patients who need coordinated digestive care, Acibadem International’s multidisciplinary specialists in JCI-accredited hospitals diagnose and treat stomach ulcers and related gastrointestinal conditions. Care may include assessment for gastritis and other causes of persistent upper digestive symptoms when clinically appropriate.
Frequently asked questions
What is the difference between a stomach ulcer and a peptic ulcer?
A stomach ulcer is a specific type of peptic ulcer. Peptic ulcer disease is a broader term that includes ulcers in the stomach and in the first part of the small intestine. The location matters because causes, symptoms, and follow-up can differ slightly.
Can a stomach ulcer heal on its own?
Some ulcers may improve temporarily, but the underlying cause often remains. If H. pylori infection or NSAID use is not addressed, the ulcer may return or worsen. Medical evaluation helps confirm the diagnosis and guide proper treatment.
Do spicy foods cause a stomach ulcer?
Spicy foods do not usually cause a stomach ulcer by themselves. However, they can irritate symptoms in some people and make discomfort more noticeable. The main proven causes are usually H. pylori infection and NSAID use.
How is H. pylori tested?
Doctors may use a breath test, a stool antigen test, or samples taken during endoscopy. The best choice depends on symptoms, age, recent medicines, and whether endoscopy is already planned. A doctor may also advise how to prepare because some ulcer medicines can affect test accuracy.
How long does stomach ulcer treatment take?
Treatment length varies depending on the cause and the size or severity of the ulcer. Acid-suppressing medicine is often used for several weeks, and H. pylori treatment adds a course of antibiotics if infection is present. Some patients also need follow-up testing or repeat endoscopy.
Can stress cause a stomach ulcer?
Everyday stress alone is not considered a common direct cause of most stomach ulcers. Stress can make digestive symptoms feel worse and may affect eating, sleep, and medication use. True ulcers are more often linked to H. pylori, NSAIDs, or serious illness.
References
- National Institute of Diabetes and Digestive and Kidney Diseases
- American College of Gastroenterology
- National Health Service
- Mayo Clinic
- Merck Manual Consumer Version
This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.
Persistent digestive symptoms? Get evaluated in Turkey
JCI-accredited · board-certified surgeons · reply within 24h
Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.
More from the Health Library
Related Specialists

Dr. Giray Girgin
Pediatrics
Asst. Prof. Dr. Zeynep Tuğçe Sarıkaya
Intensive Care
Prof. Dr. Ahmet Cem Batukan
Gynecology & Obstetrics
Dr. Semra Mehmetoğlu
Pediatrics




