What is Peptic ulcer?
A peptic ulcer is a break in the lining of the stomach, the first part of the small intestine (duodenum), or the upper portion of the small intestine (the jejunum). The ulcer creates a sore that can bleed and cause pain. When the ulcer forms in the stomach, it is called a gastric ulcer; when it forms in the duodenum, it is called a duodenal ulcer. Together they are referred to as peptic ulcer disease (PUD).
Peptic ulcers develop when the protective mucus layer that shields the gut lining is compromised, allowing gastric acid and digestive enzymes to damage the tissue. They are common worldwide—affecting up to 10 % of the population at some point in their lives—yet many people never experience obvious symptoms.
Sources: Mayo Clinic, Peptic ulcer disease; NIH National Institute of Diabetes and Digestive and Kidney Diseases, Peptic Ulcers.
Common Causes
Peptic ulcers are usually multifactorial. Below are the most frequent contributors, listed in order of prevalence:
- Helicobacter pylori infection – a bacteria that weakens the stomach’s protective mucous layer.
- Long‑term use of non‑steroidal anti‑inflammatory drugs (NSAIDs) – ibuprofen, naproxen, aspirin, and others.
- Smoking – reduces bicarbonate production and impairs healing.
- Excessive alcohol consumption – irritates and inflames the mucosa.
- Stress‑related physiologic changes – severe burn, trauma, or major surgery can increase acid output.
- Zollinger‑Ellison syndrome – a rare tumor that produces too much gastrin, leading to high acid levels.
- Caffeine overuse – may increase gastric acid secretion in sensitive individuals.
- Genetic predisposition – family history raises risk, especially with H. pylori.
- Use of corticosteroids – especially when combined with NSAIDs.
- Radiation therapy to the abdomen – damages mucosal cells.
Associated Symptoms
Many people with a peptic ulcer experience one or more of the following:
- Burning or gnawing pain in the upper abdomen, often described as “hunger‑like.”
- Pain that improves after eating (gastric ulcer) or worsens a few hours after a meal (duodenal ulcer).
- Bloating, belching, or a feeling of fullness.
- Nausea or mild vomiting.
- Heartburn or acid reflux.
- Weight loss (often due to fear of eating because of pain).
- Dark, tar‑like stools (melena) indicating bleeding.
- Vomiting blood (hematemesis) – may appear bright red or look like coffee grounds.
- Fatigue or weakness from chronic blood loss.
When to See a Doctor
Although many ulcers are painless or cause only mild discomfort, you should contact a healthcare professional promptly if you notice any of the following:
- Persistent or worsening abdominal pain lasting more than a few weeks.
- Vomiting blood, or vomit that looks like coffee grounds.
- Dark, black, or tar‑like stools.
- Unexplained weight loss greater than 5 % of body weight.
- Difficulty swallowing or a feeling that food is getting stuck.
- Fever, chills, or signs of infection after abdominal surgery or trauma.
Early evaluation prevents complications such as perforation, obstruction, or severe bleeding.
Diagnosis
Diagnosing a peptic ulcer typically involves a combination of history‑taking, physical examination, and targeted tests.
Medical History & Physical Exam
The clinician will ask about:
- Pattern, timing, and triggers of pain.
- Medication use (especially NSAIDs, aspirin, steroids).
- Alcohol, tobacco, and caffeine consumption.
- Previous H. pylori infection or treatment.
During the exam, the doctor may gently press on the abdomen to assess tenderness.
Diagnostic Tests
- Upper endoscopy (esophagogastroduodenoscopy – EGD): Direct visualization of the ulcer, ability to take biopsies, and rule out malignancy. Preferred when alarming symptoms exist.
- H. pylori testing:
- Non‑invasive: urea breath test, stool antigen test, or serology.
- Invasive: rapid urease test or histology from biopsy during endoscopy.
- Imaging: Abdominal X‑ray or CT scan may be used if perforation is suspected.
- Laboratory studies: Complete blood count (CBC) to detect anemia, and serum chemistry to assess overall health.
Guidelines from the American College of Gastroenterology (ACG) recommend endoscopy for patients >55 years with new‑onset dyspepsia, or any patient with alarm features, regardless of age.
Treatment Options
Management aims to eradicate the underlying cause, promote healing, relieve symptoms, and prevent recurrence.
Medical Therapy
- Proton‑pump inhibitors (PPIs) – omeprazole, esomeprazole, pantoprazole. They suppress acid production and are the mainstay of ulcer healing.
- Histamine‑2 receptor antagonists (H2 blockers) – ranitidine (withdrawn in many markets), famotidine. Useful for mild disease or maintenance therapy.
- Antibiotic regimens for H. pylori – typically a 2‑week triple therapy (PPI + clarithromycin + amoxicillin or metronidazole) or a 4‑week sequential/quadruple therapy. Confirm eradication with a breath or stool test 4‑6 weeks after treatment.
- Protective agents – sucralfate (coats ulcer), misoprostol (prostanoid analog, especially for NSAID‑induced ulcers).
- Discontinuation or substitution of NSAIDs – switch to acetaminophen or COX‑2 selective inhibitors if needed.
Home & Lifestyle Measures
- Eat smaller, frequent meals rather than large, heavy meals.
- Avoid trigger foods: spicy foods, citrus, chocolate, fatty meals, and carbonated beverages if they worsen symptoms.
- Limit alcohol to ≤1 drink per day for women, ≤2 for men, or abstain if ulcer is active.
- Quit smoking—use nicotine replacement or counseling programs.
- Elevate the head of the bed 6–8 inches to reduce nighttime reflux.
- Manage stress with relaxation techniques (deep breathing, mindfulness, yoga) as stress can aggravate symptoms.
Surgical Intervention
Surgery is rare (<1 % of cases) and reserved for complications:
- Perforated ulcer (hole in the wall).
- Severe, uncontrolled bleeding.
- Obstruction of the gastric outlet.
- Ulcer that does not heal after 8‑12 weeks of optimal medical therapy.
Procedures include laparoscopic oversewing of the perforation, vagotomy with antrectomy, or partial gastrectomy, depending on the situation.
Prevention Tips
Most peptic ulcers can be prevented by modifying risk factors. Follow these evidence‑based recommendations:
- Test and treat for H. pylori if you have a history of ulcers, gastritis, or live in high‑prevalence areas.
- Use NSAIDs only when necessary and at the lowest effective dose. Combine with a PPI if long‑term use is unavoidable.
- Quit smoking – enlist the help of quitlines, apps, or prescription medications (varenicline, bupropion).
- Limit alcohol intake; consider abstinence if you have an active ulcer.
- Maintain a balanced diet rich in fiber, fruits, and vegetables, which may aid mucosal protection.
- Manage stress through regular exercise, adequate sleep, and mental‑health support.
- Regularly review all medications with your pharmacist or physician, especially over‑the‑counter pain relievers.
- If you have a family history of peptic ulcer disease, discuss screening for H. pylori with your doctor.
Emergency Warning Signs
If any of the following occur, seek emergency medical care (call 911 or go to the nearest emergency department) immediately:
- Sudden, severe abdominal pain that feels like a “sharp knife” or “explosion.”
- Vomiting blood or material that looks like coffee grounds.
- Black, tarry stools (melena) or bright red blood per rectum.
- Signs of shock: rapid heartbeat, low blood pressure, pale or clammy skin, dizziness, or fainting.
- High fever (>101 °F / 38.3 °C) with abdominal tenderness, suggesting infection or perforation.
- Difficulty breathing or swallowing due to a large ulcer or associated swelling.
Prompt treatment of these emergencies can be life‑saving.
© 2026 HealthFirst Symptom Checker. Content reviewed by board‑certified gastroenterologists. Sources: Mayo Clinic, CDC, NIH, WHO, Cleveland Clinic, American College of Gastroenterology.