Skip to main content

HealthLLK

Peptic Ulcer

Peptic Ulcer Explained

Have you ever experienced a burning pain in your upper abdomen, especially when your stomach is empty? You may have heard people describe this condition as a “peptic ulcer.”

A peptic ulcer is a sore that develops in the inner lining of the stomach or the upper part of the small intestine. It occurs when the protective lining becomes damaged, allowing stomach acid and digestive enzymes to irritate the underlying tissue.

They can cause burning stomach pain, bloating, nausea, and discomfort after eating. Some people may have an ulcer without experiencing noticeable symptoms until a complication develops.

Understanding peptic ulcers is important because they are often treatable. Early diagnosis and appropriate treatment can help heal the ulcer, reduce symptoms, and prevent serious complications such as bleeding or perforation.

peptic ulcer

Understanding Peptic Ulcers

A peptic ulcer is an open sore that develops in the lining of the digestive tract where stomach acid and the digestive enzyme pepsin are present.

The two most common locations are:

  • The stomach: An ulcer in the stomach is called a gastric/stomach ulcer.
  • The duodenum: An ulcer in the duodenum is called a duodenal ulcer. The duodenum is the first part of the small intestine, located just after the stomach.

Peptic ulcers can vary in size and depth. A small ulcer may cause mild discomfort, while a deeper ulcer can damage blood vessels or create a hole in the digestive tract wall.

How Does the Stomach Protect Itself?

To understand peptic ulcers, it helps to understand how the stomach works.

The stomach performs several important functions:

  1. It stores food after swallowing.
  2. It mixes food with gastric juices.
  3. It produces hydrochloric acid, which helps break down food and kill some microorganisms.
  4. It produces pepsin, an enzyme that begins digesting proteins.
  5. It gradually moves partially digested food into the small intestine.

Although stomach acid is strong, the stomach has protective mechanisms that prevent it from damaging its own tissues.

The stomach lining protects itself through several mechanisms:

  • Mucus: Forms a protective layer over the stomach surface.
  • Bicarbonate: Helps neutralize acid close to the lining.
  • Healthy epithelial cells: Form a barrier against acid and digestive enzymes.
  • Blood circulation: Supplies oxygen and nutrients and supports tissue repair.
  • Cell repair: Damaged cells can be replaced or repaired.

When these protective mechanisms are weakened, acid and pepsin can damage the tissue. This damage may develop into a peptic ulcer.

How a Peptic Ulcer Develops

The development of an ulcer can be understood in stages.

  1. The protective lining becomes damaged. This may happen because of H. pylori infection or the use of NSAIDs (Pain Killers/Pain Relievers).
  2. The protective barrier becomes less effective. Acid and pepsin can reach vulnerable tissue.
  3. Inflammation develops. The affected area becomes irritated and damaged.
  4. An open sore forms. If the damage extends deeply enough, a peptic ulcer develops.
  5. The ulcer may heal or worsen. Appropriate treatment can support healing. Without treatment of the cause, the ulcer may persist or return.

An ulcer is not simply a result of having “too much acid.” The balance between acid-related injury and the protective lining is important.

Causes of Peptic Ulcers

The two leading causes of peptic ulcer disease are H. pylori infection and NSAID use.

1. Helicobacter pylori (H. pylori) Infection

H. pylori is a bacterium that can live in the stomach despite its acidic environment. It is one of the main causes of peptic ulcers worldwide.

How does H. pylori cause an ulcer?

The process involves several steps:

  1. The bacterium enters the body, often during childhood.
  2. It reaches the stomach and uses mechanisms that help it survive in the acidic environment.
  3. It attaches to the stomach lining.
  4. It causes inflammation, known as gastritis.
  5. In some people, the inflammation weakens the protective lining.
  6. Acid and pepsin damage the exposed tissue, potentially leading to an ulcer.

Not everyone infected with H. pylori develops an ulcer. Some people may carry the bacterium without experiencing noticeable symptoms.

2. Non-steroidal Anti-Inflammatory Drugs (NSAIDs)

NSAIDs are medicines used to relieve pain, reduce inflammation, and sometimes lower fever.

Examples of NSAIDs include:

  • Ibuprofen
  • Naproxen
  • Diclofenac
  • Mefenamic acid
  • Aspirin

These medicines can increase the risk of peptic ulcers, especially when abused, used regularly at higher doses, or in people with additional risk factors.

How do NSAIDs cause ulcers?

NSAIDs reduce the production of substances called prostaglandins.

Prostaglandins help protect the stomach by:

  • Supporting mucus production.
  • Supporting bicarbonate production.
  • Maintaining blood flow to the stomach lining.
  • Helping the lining repair itself.

When NSAIDs reduce prostaglandin production, the protective barrier may become weaker. Acid and pepsin can then damage the lining.

3. Other Common Causes

Some ulcers occur for reasons other than H. pylori or NSAID use.

Possible causes include:

  • Severe illness or critical medical stress.
  • Rare conditions that cause excessive acid production, such as Zollinger-Ellison syndrome.
  • Uncommon infections.
  • Other medical conditions affecting the digestive tract.

Risk Factors for Peptic Ulcers

A risk factor is something that increases the likelihood of developing a condition.

Risk FactorWhy It Matters
H. pylori infectionCan cause inflammation and damage the protective lining
Regular NSAID useReduces protective prostaglandins
Previous peptic ulcerUlcers may recur if the underlying cause remains
AgeRisk of NSAID-related complications increases with age
SmokingCan impair ulcer healing and increase recurrence risk
Taking NSAIDs and having H. pyloriBoth factors can increase ulcer risk
Certain serious illnessesMay increase risk of stress-related ulcers
Family or household exposure to H. pyloriMay increase likelihood of infection

Does Stress Cause Peptic Ulcers?

This question is often misunderstood.

Everyday emotional stress, such as work pressure, financial concerns, or relationship problems, is not considered a primary cause of most peptic ulcers.

However, stress can affect digestion and may worsen symptoms such as abdominal discomfort, nausea, or indigestion.

Severe physical stress caused by critical illness, major burns, serious injuries, or intensive care treatment can lead to stress-related ulcers in some patients.

Therefore, it is important to distinguish between:

  • Emotional stress: May worsen digestive symptoms but is not a leading direct cause of peptic ulcers.
  • Severe physical stress: Can contribute to ulcers in critically ill patients.

Do Spicy Foods Cause Peptic Ulcers?

Spicy foods are not considered a major cause of peptic ulcers.

However, some people may experience increased burning, indigestion, or discomfort after eating spicy meals. If a particular food worsens your symptoms, you can reduce or avoid it while your ulcer is being treated.

Symptoms of Peptic Ulcers

Peptic ulcers may cause several digestive symptoms. Some people experience mild discomfort, while others may have no symptoms until a complication occurs. Common Symptoms include:

1. Burning or aching upper abdominal pain

The most common symptom is pain in the upper middle part of the abdomen, between the breastbone and the belly button. The pain may feel like:

  • Burning.
  • Gnawing.
  • Aching.
  • A feeling of hunger or emptiness.
  • Discomfort that comes and goes.

2. Bloating

A person may feel that the abdomen is swollen or full of gas.

3. Nausea

Nausea is the uncomfortable feeling that you may vomit.

4. Early fullness

You may feel full after eating a small amount of food.

5. Belching

Some people experience frequent burping.

6. Reduced appetite

Pain or nausea may make a person less interested in eating.

7. Vomiting

Vomiting can occur, particularly if the ulcer is causing significant irritation or a blockage.

8. Unexplained weight loss

Some people may lose weight because eating causes discomfort or because a complication affects digestion.

Note: Some people have peptic ulcers without obvious pain or indigestion. An ulcer may first become noticeable when it causes bleeding or another complication.

This is particularly important for people who regularly take NSAIDs, because NSAID-related ulcers may occur with few warning symptoms.

Complications of Peptic Ulcers

Most peptic ulcers can be treated successfully. However, untreated or severe ulcers can cause complications.

1. Ulcer Bleeding

An ulcer may damage a blood vessel and cause bleeding. Signs may include:

  • Vomiting blood.
  • Vomiting material that looks like coffee grounds.
  • Black, sticky, tar-like stool.
  • Weakness.
  • Dizziness.
  • Fainting.
  • Unusual tiredness due to anemia.

Bleeding can be slow or sudden. Severe bleeding can be life-threatening.

2. Perforation

A perforation occurs when an ulcer creates a hole through the wall of the stomach or duodenum.

This can allow digestive contents to enter the abdominal cavity, causing inflammation and infection. Symptoms may include:

  • Sudden, severe abdominal pain.
  • A hard or rigid abdomen.
  • Pain that worsens with movement.
  • Fever.
  • Rapid heartbeat.

Perforation is a medical emergency.

3. Gastric Outlet Obstruction

A peptic ulcer may cause swelling or scarring near the outlet of the stomach.

This can interfere with the movement of food into the small intestine. Possible symptoms include:

  • Persistent vomiting.
  • Feeling full after eating very little.
  • Abdominal swelling.
  • Weight loss.
  • Dehydration.

4. Anemia

Slow or repeated bleeding from an ulcer may cause iron-deficiency anemia. Symptoms may include:

  • Fatigue.
  • Weakness.
  • Pale skin.
  • Shortness of breath during activity.
  • Dizziness.

Diagnosis of Peptic Ulcers

1. Medical History and Physical Examination

A clinician may ask you:

  • Where do you feel the pain?
  • When does the pain occur?
  • Does eating make it better or worse?
  • Have you experienced vomiting or black stool?
  • Do you regularly take ibuprofen, aspirin, diclofenac, or other NSAIDs?
  • Have you had an ulcer before?
  • Have you experienced unexplained weight loss?

A physical examination may include checking the abdomen for tenderness, swelling, or other signs.

2. Tests for H. pylori

Urea breath test

The urea breath test checks whether H. pylori is present in the stomach.

The patient takes a substance containing urea. If the bacterium is present, it breaks down the urea and produces carbon dioxide that can be detected in the breath.

Stool antigen test

This test examines a stool sample for substances produced by H. pylori.

It is commonly used to identify an active infection and to confirm whether treatment has successfully eliminated the bacterium.

3. Upper Gastrointestinal Endoscopy

An upper gastrointestinal endoscopy, also called a gastroscopy, allows a clinician to examine the lining of the esophagus, stomach, and duodenum.

During the procedure:

  1. A thin, flexible tube with a camera is passed through the mouth.
  2. The camera displays images of the digestive tract.
  3. The clinician looks for ulcers, inflammation, bleeding, or other abnormalities.
  4. Small tissue samples, called biopsies, may be collected.

Endoscopy is especially important when there are warning signs, suspected complications, or concern about another condition.

A biopsy may be used to examine tissue and help rule out stomach cancer, particularly when a gastric ulcer is found.

4. Other Tests

Depending on the symptoms, a clinician may order:

  • A complete blood count to check for anemia.
  • Iron studies if blood loss is suspected.
  • Imaging tests in selected cases.
  • Tests to investigate other causes of abdominal pain.

Treatment of Peptic Ulcers

Treatment aims to heal the ulcer, reduce acid-related injury, eliminate H. pylori when present, and prevent recurrence. The appropriate treatment depends on the cause of the ulcer.

1. Proton Pump Inhibitors (PPIs)

PPIs are medicines that reduce the production of stomach acid. Examples include:

  • Omeprazole.
  • Pantoprazole.
  • Esomeprazole.
  • Lansoprazole.
  • Rabeprazole.

How do PPIs help?

PPIs block the acid-producing mechanism in stomach cells. This reduces acid exposure and gives the ulcer time to heal.

PPIs are commonly used in the treatment of peptic ulcers and are often included in H. pylori eradication regimens.

2. Antibiotics for H. pylori

When an ulcer is caused by H. pylori, antibiotics are used to eliminate the infection.

Treatment usually involves a combination of medicines rather than one antibiotic alone.

Depending on the clinical situation and local antibiotic resistance patterns, treatment may include:

  • Two or more antibiotics.
  • A PPI or another acid-suppressing medicine.
  • Bismuth in certain regimens.

The American College of Gastroenterology’s 2024 guideline recommends 14-day optimized bismuth quadruple therapy as a preferred initial option for many patients when antibiotic susceptibility is unknown. Other regimens may be selected based on previous treatment, allergies, availability, and resistance testing.

Note: Do not self-prescribe antibiotics for an ulcer. The combination must be selected by a pharmacist.

Why is combination treatment important?

Using a combination of medicines helps increase the chance of eliminating the bacterium.

Taking an incomplete treatment course may allow some bacteria to survive. This can contribute to treatment failure and antibiotic resistance.

3. Bismuth-Containing Medicines

Bismuth may be included in some ulcer treatment regimens.

It can help protect the stomach lining and is used as part of certain combinations for H. pylori eradication.

Bismuth is not a replacement for a complete prescribed treatment regimen.

4. H2-Receptor Blockers

H2-receptor blockers reduce the production of stomach acid. They may be used in some cases, although PPIs are often preferred for ulcer healing.

5. Treatment of NSAID-Related Ulcers

If an ulcer is related to NSAID use, a clinician may:

  • Stop the NSAID if it is safe to do so.
  • Reduce the dose or duration.
  • Consider an alternative pain-relieving medicine.
  • Prescribe a PPI to support healing.
  • Review the person’s risk of bleeding.

If an NSAID is medically necessary, the healthcare professional may develop a plan to reduce the risk of another ulcer.

6. Surgery

Surgery is not usually needed for uncomplicated peptic ulcers.

It may be required when an ulcer causes serious complications, such as:

  • A perforation.
  • Severe bleeding that cannot be controlled by other methods.
  • Obstruction.
  • An ulcer that does not heal despite appropriate treatment.

How Long Does a Peptic Ulcer Take to Heal?

Healing time depends on the ulcer’s size, cause, and whether the treatment is effective.

Many uncomplicated ulcers heal within several weeks of appropriate treatment. Some require longer treatment or additional investigations.

Symptoms may improve before the ulcer has completely healed. Therefore, feeling better does not necessarily mean that treatment should be stopped. Always follow the prescribed treatment duration.

Comparison of Common Ulcer Treatments

TreatmentMain PurposeWhen It May Be Used
PPIReduces stomach acid and supports healingMany peptic ulcers
AntibioticsEliminates H. pyloriUlcers associated with active infection
BismuthHelps protect the lining and supports some eradication regimensSelected H. pylori treatment plans
H2-receptor blockerReduces acid productionSelected ulcer cases
NSAID adjustmentRemoves or reduces a medication-related causeNSAID-associated ulcers
Endoscopic treatmentControls bleeding or treats certain complicationsComplicated ulcers
SurgeryRepairs or manages severe complicationsSelected serious cases

Why Is Follow-Up Testing Important?

People treated for H. pylori should generally undergo a test to confirm that the infection has been eliminated.

The 2024 ACG guideline recommends a test of cure at least four weeks after completing antibiotic treatment. PPIs are typically withheld for two weeks before the test, and antibiotics and bismuth for four weeks, when medically appropriate and directed by a clinician.

A follow-up breath test or stool antigen test may be used.

This is important because symptoms can improve even when the infection remains.

Prevention of Peptic Ulcers

Not all peptic ulcers can be prevented. However, several steps can reduce the risk.

1. Treat H. pylori Infection

If testing confirms an active H. pylori infection, follow the prescribed treatment. Complete the full course and attend follow-up testing as recommended.

2. Use NSAIDs Carefully

Before regularly using medicines such as ibuprofen, diclofenac, or naproxen, discuss the risks with a healthcare professional.

This is particularly important if you:

  • Have had a peptic ulcer.
  • Are older.
  • Take blood thinners.
  • Take aspirin.
  • Have other medical conditions that increase bleeding risk.

Do not combine multiple NSAIDs unless a pharmacist specifically advises it.

3. Avoid Smoking

Smoking can interfere with ulcer healing and increase the risk of recurrence.

Quitting smoking supports digestive health and provides additional health benefits.

4. Practice Good Hygiene

Good hygiene may help reduce exposure to infections that spread through contaminated food, water, or close contact.

Helpful practices include:

  • Washing hands with soap and clean water.
  • Drinking safe water.
  • Handling food safely.
  • Washing fruits and vegetables.
  • Avoiding food prepared under unsafe conditions.

These steps are useful for general infection prevention, although they cannot guarantee prevention of H. pylori infection.

5. Avoid Self-Treatment

Herbal mixtures, supplements, and home remedies may not eliminate H. pylori or heal an ulcer.

Some products may also interact with medicines or cause side effects.

Seek appropriate medical assessment rather than relying on unproven treatments.

Nutrition and Peptic Ulcers

Food is important for maintaining general health, but diet alone does not usually cause or cure a peptic ulcer.

What Should You Eat if You Have a Peptic Ulcer?

There is no single ulcer diet that works for everyone.

You may find it helpful to choose foods that are comfortable for your digestive system.

Examples include:

  • Oatmeal.
  • Rice.
  • Potatoes.
  • Bananas.
  • Cooked vegetables.
  • Lean poultry or fish.
  • Eggs.
  • Yogurt, if tolerated.
  • Other balanced meals containing protein, carbohydrates, and healthy fats.

These foods are examples of generally nutritious options, not a specific ulcer-healing prescription.

Foods That May Worsen Symptoms

Some people notice increased symptoms after consuming:

  • Very spicy foods.
  • Coffee or other caffeinated drinks.
  • Alcohol.
  • Fatty or heavily fried foods.
  • Acidic foods such as citrus or tomatoes.

These foods do not necessarily cause ulcers. Their effect on symptoms varies from person to person.

If a food repeatedly worsens your discomfort, consider reducing it.

Myth vs. Fact About Peptic Ulcers

MythFact
1. All peptic ulcers are caused by stress.Most are caused by H. pylori infection or NSAID use.
2. Spicy food causes stomach ulcers.Spicy food may worsen symptoms, but it is not a leading cause of ulcers.
3. Ulcers happen because the stomach produces too much acid.Ulcers develop when the protective lining is damaged and acid-related injury occurs.
4. Every ulcer causes severe stomach pain.Some ulcers cause mild symptoms or no noticeable symptoms.
5. Milk cures peptic ulcers.Milk may temporarily soothe discomfort but does not heal the underlying cause.
6. Ulcers can be cured with herbal remedies alone.Evidence-based treatment is needed, especially for H. pylori infection.
7. Antibiotics are needed for every peptic ulcer.Antibiotics are used when H. pylori infection is present and treatment is indicated.
8. Once the pain stops, the ulcer is completely healed.Symptoms may improve before healing is complete.
9. An ulcer is always located in the stomach.Ulcers can develop in the stomach or duodenum.
10. Ulcers are not serious.Some can cause bleeding, perforation, or obstruction.
11. A blood test always confirms active H. pylori infection.Antibodies may remain after an infection has cleared.
12. People with ulcers must avoid all acidic foods.Food triggers vary; a universal restrictive diet is not required.

What You Can Do About a Peptic Ulcer

If you suspect that you have a peptic ulcer, the following steps can help you make informed decisions.

Step 1: Do Not Assume That Every Stomach Pain Is an Ulcer

Upper abdominal pain may be caused by several conditions, including:

  • Peptic ulcer disease.
  • Gastritis.
  • Acid reflux.
  • Gallbladder disease.
  • Functional dyspepsia.
  • Pancreatic disorders.

Symptoms alone cannot reliably identify the cause.

Step 2: Seek Medical Assessment

Arrange a medical consultation if you experience recurring upper abdominal pain, unexplained nausea, persistent indigestion, or other symptoms that concern you.

A clinician can determine whether H. pylori testing, endoscopy, or another investigation is appropriate.

Step 3: Review Your Medicines

Tell your healthcare professional about all medicines you use, including:

  • Prescription medicines.
  • Over-the-counter painkillers.
  • Aspirin.
  • Herbal products.
  • Supplements.

This is important because some medicines can increase ulcer risk or interfere with treatment.

Step 4: Follow Your Treatment Plan

If you receive treatment:

  • Take your medicines as prescribed.
  • Do not skip doses.
  • Do not stop antibiotics early.
  • Ask about possible side effects.
  • Attend follow-up appointments.
  • Complete recommended H. pylori testing.

Step 5: Monitor Your Symptoms

Pay attention to changes in your symptoms.

Seek medical attention if pain becomes more severe, vomiting persists, or you experience unexplained weight loss.

Do not wait for symptoms to become severe before seeking help.

When to Seek Medical Attention

Seek emergency medical care immediately if you experience any of the following:

  • Vomiting blood or material that resembles coffee grounds.
  • Black, tar-like stool.
  • Sudden, severe abdominal pain.
  • A rigid or extremely tender abdomen.
  • Fainting or severe dizziness.
  • Signs of severe blood loss, such as marked weakness or rapid heartbeat.

These symptoms may indicate bleeding or perforation from an ulcer.

Frequently Asked Questions

1. What is the difference between a peptic ulcer and a stomach ulcer?

A peptic ulcer is a sore in the stomach or duodenum. A stomach ulcer is specifically a gastric ulcer, which develops in the stomach lining. A duodenal ulcer develops in the first part of the small intestine.

2. What is the main cause of peptic ulcers?

The two main causes are H. pylori infection and the regular use of NSAIDs such as ibuprofen, naproxen, and diclofenac.

3. Can a peptic ulcer heal completely?

Yes. Most uncomplicated peptic ulcers can heal with appropriate treatment. Healing usually involves reducing stomach acid and treating the underlying cause.

4. Can H. pylori be completely eliminated?

Yes. Treatment can eliminate H. pylori in many people. However, treatment failure can occur, and a follow-up test is recommended to confirm eradication.

5. Can a peptic ulcer cause back pain?

Some people may experience pain that radiates toward the back. However, back pain is not a specific sign of peptic ulcer disease. Persistent or severe back and abdominal pain requires medical evaluation.

6. Is peptic ulcer disease contagious?

The ulcer itself is not contagious. However, H. pylori, one of its major causes, may spread between people. The exact transmission route is not always known.

7. Can a peptic ulcer cause vomiting?

Yes. An ulcer may cause nausea and vomiting. Persistent vomiting can also indicate a complication, such as gastric outlet obstruction.

8. Is peptic ulcer disease the same as gastritis?

No. Gastritis refers to inflammation of the stomach lining. A peptic ulcer is an open sore that develops in the stomach or duodenal lining. Gastritis and peptic ulcers may occur together, particularly with H. pylori infection.

9. Can a peptic ulcer come back?

Yes. An ulcer may recur if H. pylori infection persists, NSAID use continues, or another underlying cause is not addressed. Treating the cause and following medical advice can reduce the risk of recurrence.

Conclusion

Peptic ulcer disease is a digestive condition involving a sore in the lining of the stomach or duodenum. It develops when the protective lining becomes damaged and is exposed to acid and digestive enzymes.

The two major causes are Helicobacter pylori infection and the use of NSAIDs. Although ulcers may cause burning abdominal pain, nausea, bloating, or indigestion, some people experience few or no symptoms.

The good news is that most uncomplicated peptic ulcers can be treated successfully. Appropriate treatment may include acid-reducing medicines, antibiotics when H. pylori is present, and adjustments to medicines that contribute to ulcer formation.

Understanding the causes, recognizing warning signs, and seeking professional medical care are important steps toward protecting your digestive health. Do not start, stop, or change prescribed medicines or antibiotics without appropriate medical guidance.

A peptic ulcer is treatable, but the cause must be identified and addressed to support healing and reduce the risk of recurrence.

Medical Disclaimer

This article is intended for general health education only. It does not replace professional medical advice, diagnosis, or treatment.

HealthLLK.com encourages readers to make informed health decisions in partnership with Pharmacists and Doctors

References

1. NIDDK. Treatment for Peptic Ulcers

2.NHS. Stomach Ulcer.

Leave a Reply

Your email address will not be published. Required fields are marked *