Peptic Ulcer Disease (PUD): Causes, Symptoms, Treatment, Diet and Prevention
Reviewed by: Medskology Medical Team · Last updated: November 27, 2026
Ever experienced a burning pain in the upper abdomen that keeps returning, sometimes between meals or during the night?
One possible cause is peptic ulcer disease (PUD)—a condition in which open sores develop in the lining of the stomach or the first part of the small intestine.
Contrary to popular belief, ulcers are not usually caused simply by eating spicy food or worrying too much. Two of the most important causes are an infection called Helicobacter pylori and regular use of certain painkillers.
Understanding the cause is essential because treating the symptoms alone may not heal the ulcer or prevent it from returning.
What Happens Inside Your Stomach During an Ulcer?
Your stomach produces hydrochloric acid and digestive enzymes to break down food. Normally, a protective mucus layer and bicarbonate help prevent these substances from damaging the stomach lining.
A peptic ulcer develops when this protective barrier is damaged and the underlying tissue becomes exposed to digestive acid.
The two most common locations are:
Gastric ulcer: An open sore in the stomach lining.
Duodenal ulcer: An open sore in the duodenum, the first part of the small intestine.
Both are forms of peptic ulcer disease.
What Causes Peptic Ulcers?
Two major factors account for most peptic ulcers: Helicobacter pylori infection and non-steroidal anti-inflammatory drugs (NSAIDs).
1. Helicobacter pylori (H. pylori) Infection
H. pylori is a bacterium that can live in the stomach lining and cause persistent inflammation.
It produces an enzyme called urease, which helps it survive in the acidic stomach environment.
Over time, the infection can weaken the stomach's protective mechanisms and contribute to ulcer formation.
H. pylori is associated with:
Gastric ulcers.
Duodenal ulcers.
Chronic gastritis.
Atrophic gastritis and intestinal metaplasia in some people.
Increased risk of stomach cancer in certain infected individuals.
The infection can spread through contaminated food or water and person-to-person contact, although the exact route is not always identifiable.
2. Regular Use of Painkillers (NSAIDs)
Certain painkillers can interfere with the stomach's natural protective mechanisms.
Common examples include:
Ibuprofen.
Aspirin.
Naproxen.
Diclofenac.
Ketorolac.
These medicines inhibit enzymes called cyclooxygenases (COX), reducing prostaglandin production.
Prostaglandins normally support mucus and bicarbonate production and maintain blood flow to the stomach lining. When their levels fall, the lining becomes more vulnerable to acid-related injury.
The risk is higher with prolonged use, high doses, multiple NSAIDs or a history of ulcers.
3. Smoking
Smoking can increase the risk of peptic ulcers and interfere with ulcer healing.
It may also increase the likelihood of recurrence.
4. Severe Physical Stress
Critically ill patients, particularly those with severe burns, major trauma, sepsis or prolonged intensive care admission, may develop stress-related mucosal injury.
This is different from ordinary emotional stress or everyday anxiety.
5. Other Uncommon Causes
Less common causes include:
Zollinger-Ellison syndrome, in which gastrin-producing tumours cause excessive acid production.
Crohn's disease involving the upper digestive tract.
Certain infections.
Rare cases in which no clear cause is identified.
Myth to avoid: Spicy food and ordinary psychological stress are not considered the main causes of peptic ulcers.
Common Symptoms of Peptic Ulcer Disease
Some people with peptic ulcers have no symptoms until a complication develops.
When symptoms occur, they may include:
Burning upper abdominal pain: Usually felt between the breastbone and belly button.
Pain at night: Some people experience discomfort that wakes them from sleep.
Bloating: A feeling of fullness or swelling.
Early satiety: Feeling full after eating a small amount.
Nausea: Sometimes accompanied by vomiting.
Belching: Repeated burping or upper abdominal discomfort.
Does Ulcer Pain Change After Eating?
The relationship between food and ulcer pain is not always predictable.
Gastric ulcer pain may worsen after eating in some people.
Duodenal ulcer pain may improve temporarily after eating and return later.
Some people experience pain regardless of meals.
These patterns cannot reliably distinguish gastric ulcers from duodenal ulcers. Endoscopy is needed when direct confirmation is required.
Gastric Ulcer vs Duodenal Ulcer
Feature
Gastric ulcer
Duodenal ulcer
Location
Stomach
First part of small intestine
Common causes
H. pylori and NSAIDs
H. pylori and NSAIDs
Pain after meals
May worsen
May temporarily improve
Night-time pain
Possible
Commonly described
Cancer consideration
Some gastric ulcers require biopsy to exclude malignancy
Duodenal ulcers are rarely malignant
The symptoms overlap considerably, so the location cannot be established from pain patterns alone.
How Is Peptic Ulcer Disease Diagnosed?
The doctor considers your symptoms, medication history and possible risk factors before choosing investigations.
1. H. pylori Stool Antigen Test
This test detects evidence of an active H. pylori infection in a stool sample.
It can be used to diagnose infection and confirm whether treatment has successfully eliminated the bacteria.
2. Urea Breath Test
This non-invasive test detects H. pylori by measuring labelled carbon dioxide in the breath after the patient consumes a specially prepared urea solution.
The bacteria produce urease, which breaks down urea and helps generate the detectable signal.
Both stool antigen and urea breath tests are useful for identifying active infection.
Important testing detail: PPIs can interfere with these tests. Doctors generally advise withholding PPIs for two weeks and antibiotics and bismuth for four weeks before testing, when clinically appropriate and safe.
3. Upper GI Endoscopy
<escape> </escape>
An upper gastrointestinal endoscopy (also called OGD or EGD) is the main investigation used to directly identify a peptic ulcer.
A thin flexible tube with a camera is passed through the mouth to examine the oesophagus, stomach and duodenum.
It can help identify:
The location and size of an ulcer.
Active bleeding.
Signs of recent bleeding.
Other abnormalities in the stomach or duodenum.
Biopsy samples may be collected to test for H. pylori and examine suspicious stomach lesions. Gastric ulcers often require biopsy to exclude cancer.
4. Blood Tests
Blood tests may be used to check for:
Anaemia caused by chronic bleeding.
Low haemoglobin.
Other abnormalities associated with complications.
Blood tests alone cannot confirm or exclude a peptic ulcer.
Treatment of Peptic Ulcer Disease
The main goals are to heal the ulcer, eliminate H. pylori if present, remove contributing factors and prevent complications.
1. Proton Pump Inhibitors (PPIs)
PPIs reduce stomach acid production, allowing the ulcer to heal.
Common examples include:
Omeprazole.
Pantoprazole.
Esomeprazole.
Lansoprazole.
Rabeprazole.
The duration depends on the ulcer's location, cause and severity. Many uncomplicated ulcers are treated for several weeks.
2. H. pylori Eradication Therapy
If H. pylori is detected, treatment requires a combination of medicines rather than an acid-reducing medicine alone.
A commonly recommended empiric option in the 2024 American College of Gastroenterology guideline, when antibiotic susceptibility is unknown, is optimized bismuth quadruple therapy for 14 days.
It generally includes:
A proton pump inhibitor.
Bismuth.
Tetracycline.
Metronidazole.
Other regimens may be appropriate depending on antibiotic susceptibility, allergies, previous antibiotic exposure and local guidance.
Do not start antibiotics without a prescription. Completing the full course is important.
Confirming eradication matters: A follow-up stool antigen test or urea breath test is generally performed at least four weeks after completing antibiotics, with PPIs withheld for two weeks beforehand when safe.
3. Stopping or Changing NSAIDs
If NSAIDs are responsible for an ulcer, the doctor may recommend:
Stopping the NSAID if possible.
Using an alternative pain medicine.
Reducing the dose or duration.
Adding a PPI if anti-inflammatory treatment must continue.
Do not stop prescribed aspirin used for heart or stroke prevention without medical advice.
4. Treatment of Complicated Ulcers
Bleeding ulcers may require urgent endoscopy to stop the bleeding, followed by appropriate acid-suppressing treatment.
Perforated ulcers may require emergency surgery.
Treatment depends on the type and severity of the complication.
Diet for Peptic Ulcer Disease: What Should You Eat?
Can food heal an ulcer?
Not directly. Research has not established a special diet that reliably cures or prevents peptic ulcers.
However, choosing foods that you tolerate well can make eating more comfortable during recovery.
Foods You Can Include
A balanced diet may contain:
Rice and oats: Useful carbohydrate sources.
Bananas: Provide fibre and potassium.
Cooked vegetables: Provide vitamins and fibre.
Fruits: Choose varieties that do not worsen your symptoms.
Dal and legumes: Provide plant-based protein and fibre, according to individual tolerance.
Tofu and other protein sources: Help maintain adequate nutrition.
Curd or lactose-free dairy: Suitable if tolerated.
Foods and Drinks That May Worsen Symptoms
Some people notice more discomfort after consuming:
Very spicy foods.
Deep-fried foods.
Excessive tea or coffee.
Alcohol.
Foods that individually trigger indigestion.
These foods do not necessarily cause ulcers. There is no need to eliminate every item unless it repeatedly worsens your symptoms.
Does Milk Heal Stomach Ulcers?
No. Milk may temporarily soothe some people, but it does not heal peptic ulcers or eradicate H. pylori. Large quantities of milk are not a recommended ulcer treatment.
Complications of Peptic Ulcer Disease
Untreated or complicated ulcers can cause serious problems.
1. Gastrointestinal Bleeding
An ulcer can damage blood vessels in the stomach or duodenum.
Possible symptoms include:
Vomiting blood.
Vomit resembling coffee grounds.
Black, tarry stools.
Dizziness and weakness.
Anaemia.
Bleeding can be severe and requires urgent medical treatment.
2. Perforation
Sometimes an ulcer penetrates through the entire wall of the stomach or duodenum, creating a hole.
This allows digestive contents to leak into the abdominal cavity and cause peritonitis.
Typical warning signs include sudden, severe abdominal pain and a rigid or very tender abdomen.
This is a surgical emergency.
3. Gastric Outlet Obstruction
Swelling or scarring around an ulcer can narrow the passage through which food leaves the stomach.
Symptoms may include:
Repeated vomiting.
Feeling full very quickly.
Abdominal bloating.
Unintentional weight loss.
4. Penetration
An ulcer may extend into nearby organs, such as the pancreas, causing persistent or severe pain.
5. Stomach Cancer Risk
H. pylori infection is associated with an increased risk of stomach cancer.
However, uncomplicated peptic ulcers do not automatically become cancer. Gastric ulcers may require biopsy because some stomach cancers can resemble ulcers.
How to Prevent Peptic Ulcers
Some practical measures can reduce the risk of ulcer development and recurrence.
Avoid unnecessary use of NSAID painkillers.
Discuss stomach protection if you need long-term NSAID treatment.
Test for and treat H. pylori when indicated.
Complete the prescribed H. pylori antibiotic course.
Confirm that H. pylori has been eradicated.
Stop smoking.
Avoid alcohol if it worsens your symptoms or contributes to stomach irritation.
When Should You See a Doctor?
Consult a doctor if you experience:
Repeated upper abdominal pain or burning.
Persistent nausea or vomiting.
Unexplained loss of appetite.
Feeling full after small meals.
Unintentional weight loss.
Symptoms that continue despite treatment.
<badge color="danger">Medical emergency</badge>
Seek immediate medical attention if you experience:
Vomiting blood or coffee-ground-like material.
Black, tarry stools.
Sudden severe abdominal pain.
Fainting or severe dizziness.
Rapid heartbeat with weakness or signs of shock.
These symptoms may indicate ulcer bleeding or perforation.
Frequently Asked Questions (FAQs)
1. Can peptic ulcers be cured permanently?
Yes. Many peptic ulcers heal completely with appropriate treatment. If H. pylori is responsible, eliminating the infection significantly reduces the risk of recurrence.
2. Is peptic ulcer disease the same as gastritis?
No. Gastritis is inflammation of the stomach lining, whereas a peptic ulcer is an actual open sore extending into the deeper lining of the stomach or duodenum. Both can be caused by H. pylori and NSAIDs.
3. Can stress cause stomach ulcers?
Ordinary psychological stress is not considered a major direct cause of most peptic ulcers. Severe physical stress associated with critical illness can cause stress-related mucosal injury.
4. Can ulcers cause back pain?
Some ulcers, particularly those that penetrate nearby structures such as the pancreas, may cause pain radiating to the back. However, ordinary back pain does not necessarily indicate an ulcer.
5. Can peptic ulcers cause cancer?
H. pylori infection increases the risk of stomach cancer in some people. However, most peptic ulcers do not turn into cancer. Suspicious gastric ulcers should be biopsied when indicated.
6. How long does a stomach ulcer take to heal?
Healing time varies with the cause, size and severity of the ulcer. Many uncomplicated ulcers heal over several weeks with appropriate treatment.
7. Can I drink tea or coffee if I have an ulcer?
There is no universal requirement to stop tea or coffee. However, if these drinks worsen your discomfort, reducing them may help.
8. Does H. pylori always cause ulcers?
No. Many people carry H. pylori without developing peptic ulcers. However, the infection is an important cause of gastric and duodenal ulcers and should be treated when identified in a patient with peptic ulcer disease.
9. Is curd good for stomach ulcers?
Curd can be included if you tolerate it, but it does not cure ulcers or eliminate H. pylori. Appropriate medical treatment is necessary.
10. Can an ulcer heal without medication?
Some ulcers may improve after removing the triggering factor, but medical assessment and appropriate treatment are important. Untreated H. pylori infection or continued NSAID use can lead to recurrence and complications.
Key Takeaways
Peptic ulcer disease involves open sores in the stomach or duodenal lining.
H. pylori infection and NSAID painkillers are the two most important causes.
Burning upper abdominal pain is a common symptom, but some ulcers cause no symptoms.
Upper GI endoscopy can directly identify an ulcer.
Treatment generally includes acid suppression and removal of the underlying cause.
H. pylori requires combination antibiotic treatment and a follow-up test to confirm eradication.
Vomiting blood, black stools and sudden severe abdominal pain are emergency warning signs.
Medical References
Medical Disclaimer: This article is intended for general educational purposes and does not replace professional medical advice, diagnosis or treatment. Consult a qualified healthcare professional for persistent symptoms or suspected peptic ulcer disease.
Important medical accuracy point: Diet and stress are often blamed for ulcers, but the strongest established causes are H. pylori and NSAIDs. The article also explains why treating H. pylori and confirming eradication are essential to preventing recurrence.