Back to Digestive System
Peptic Ulcer
Reviewed by Medicinsk Expert•Last updated: 2026-10-22•Digestive System

Peptic Ulcer

A peptic ulcer is a sore in the lining of your stomach or duodenum, most commonly characterized by a burning stomach pain.

Overview

Peptic ulcers occur when the acids that help you digest food damage the walls of the stomach or the duodenum, which is the first part of your small intestine.

Symptoms

A burning stomach pain is the most common symptom. This pain typically exhibits the following patterns:

  • Starts between meals or during the night
  • Briefly stops if you eat or take antacids
  • Lasts for minutes to hours
  • Comes and goes for several days or weeks

Causes & Risk Factors

The most common cause of peptic ulcers is an infection with a bacterium called Helicobacter pylori. Another primary cause is the long-term use of nonsteroidal anti-inflammatory medicines (NSAIDs), such as aspirin and ibuprofen. While stress and spicy foods do not cause ulcers, they can make them worse.

Diagnosis

To determine if you have an H. pylori infection, your doctor may test your blood, breath, or stool. Additionally, your doctor may perform an endoscopy or an x-ray to examine the inside of your stomach and duodenum.

Treatment & Management

Peptic ulcers will worsen if left untreated. Management strategies include:

  • Medicines to reduce stomach acids
  • Antibiotics to kill H. pylori
  • Avoiding smoking and alcohol
  • Surgery, if ulcers do not heal

Please note that antacids and milk cannot heal peptic ulcers.

Frequently Asked Questions

Nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen, naproxen, and aspirin inhibit the enzymes COX-1 and COX-2. COX-1 is responsible for producing prostaglandins that stimulate the protective mucus layer and blood flow within the stomach wall. Without sufficient prostaglandins, the stomach lining is vulnerable to gastric acid erosion. Patients with active or prior peptic ulcers should avoid routine NSAID use and consider acetaminophen for mild pain, or talk to their physician about alternatives such as topical analgesics or a selective COX-2 inhibitor paired with a protective acid reducer. How is Helicobacter pylori eradication verified after finishing treatment?::To ensure the bacteria have been eliminated, doctors typically perform a urea breath test or a stool antigen test at least four weeks after the patient completes the antibiotic regimen and at least one to two weeks after stopping proton pump inhibitors. Blood antibody tests should never be used to evaluate treatment success, as H. pylori antibodies can remain positive in the blood for months or years after the active infection has been successfully cleared. What are the critical warning signs that a peptic ulcer has perforated or is bleeding heavily?::Seek emergency medical attention if you vomit bright red blood, vomit dark material resembling coffee grounds, or pass stools that are black, tarry, and sticky (melena). A sudden, severe, knife-like pain across the entire abdomen that causes the stomach to feel rigid or "board-like" is the classic sign of a perforated ulcer, where stomach acid spills into the abdominal cavity. Both scenarios can lead to life-threatening shock or peritonitis and require urgent hospital intervention.
Source: MedlinePlus, National Library of Medicine

MedlinePlus brings together authoritative health information from the National Library of Medicine (NLM), the National Institutes of Health (NIH), and other government agencies and health-related organizations.

kontakt@hittavard.se

Ⓒ 2024. Alla rättigheter förbehålls av juxt ab