provider image
Welcome! You’re in GoodRx for healthcare professionals. Now, you’ll enjoy a streamlined experience created specifically for healthcare professionals.
Skip to main content

Gastric and Duodenal Ulcers: Symptoms and Treatment

Joanna Jan, MDKatie E. Golden, MD
Written by Joanna Jan, MD | Reviewed by Katie E. Golden, MD
Published on March 2, 2022

Key takeaways:

  • An ulcer can form anywhere along the digestive tract, but the most common locations are the stomach and first part of the small intestine (duodenum).

  • The most common cause of an ulcer is increased stomach acid, which breaks down the lining of the digestive tract. This process leads to a wound that may bleed or cause burning abdominal pain.

  • The treatment for most ulcers is medication to help decrease stomach acid and allow the ulcer to heal. When present, treatment of Helicobacter pylori — an infection that causes ulcers — can also help to heal the ulcer. 

Doctor examining a patient's abdomen. He is pressing down on the upper intestine area to check for pain. The patient is making a slight squinting face in discomfort.
EmirMemedovski/E+ via Getty Images

Almost 6% of people will experience a peptic ulcer at some point in their lifetime. An ulcer is an area of erosion that develops in the lining of the gastrointestinal (GI) tract. You can develop an ulcer anywhere along the GI tract. They are most common in the stomach (a peptic ulcer) and in the first part of the small intestine (a duodenal ulcer). We’ll review the differences between these two types of ulcers along with their symptoms and treatment.

What are the most common types of ulcers?

The two most common types and places that an ulcer forms are:

  1. Gastric ulcers that form in the lining of the stomach

  2. Duodenal ulcers that form in the duodenum, the very first part of the small intestine

Peptic ulcer disease (PUD) refers to both gastric and duodenal ulcers.

Duodenal ulcers are actually more common than gastric ulcers. But both types of ulcers have become less common over time. That’s probably because there are fewer people affected by Helicobacter pylori — a bacteria that causes ulcers (more on this below).

Ulcers can also form in other parts of the GI tract, although this isn’t as common. For example, people who have inflammatory bowel disease (like ulcerative colitis or Crohn's disease) can form ulcers in the intestine. And ulcers can occasionally form in the esophagus. 

Causes of gastric and duodenal ulcers

The environment in the stomach is very acidic. This helps to break down food. But an ulcer can form if there’s too much acid or the lining of the stomach or duodenum becomes prone to injury.

The two main reasons that ulcers form are:

  1. Nonsteroidal anti-inflammatory drug (NSAID) and aspirin use, which can affect the lining of the GI tract and make it more susceptible to injury 

  2. H. pylori bacteria, which can live in the lining of the digestive tract, causing inflammation that can damage the lining

Although NSAID use and H. pylori cause most peptic ulcers, there are other, much less common causes. Some studies have linked psychological stress to ulcer formation, but research on this is still ongoing. And other studies suggest that cigarette smoking may also increase the risk of peptic ulcer disease.

Symptoms of peptic ulcer disease

Peptic ulcers don’t always cause symptoms. When they do, pain is often the main symptom of both gastric and duodenal ulcers. While everyone experiences their pain differently, people often describe it as follows: 

  • A burning pain in the upper abdomen that lasts for minutes to several hours

  • Pain that’s often worse on an empty stomach and may improve with eating or antacids — or the pain may get worse a few hours after a meal

Other common symptoms that may be associated with a peptic ulcer include:

  • Nausea or vomiting

  • A burning sensation in the chest

  • Reflux or regurgitation of stomach contents, which may lead to a cough or acidic taste in the mouth 

  • Decreased appetite or feeling full quickly 

  • Weight loss

One of the more serious complications of a peptic ulcer is bleeding. A bleeding peptic ulcer can cause:

  • Stools that are black and tarry or maroon in color

  • Vomiting of bright red blood, or vomit that appears to have coffee grounds in it

  • Fatigue, weakness, and shortness of breath (due to low blood counts, or anemia)

When an ulcer is bleeding, especially if it’s only a small amount, you might not notice it right away. If the bleeding continues at a slow rate over a long period of time, you may need a test to identify low blood counts. 

Peptic ulcer treatment

If you have a peptic ulcer, there are a few ways to go about treatment. The recommended treatment depends on your symptoms and your individual health history.

The initial treatment for peptic ulcers always includes a course of proton pump inhibitors (PPIs), medications to help decrease acid in the stomach. And it’s important to let your provider know if you’re taking any NSAIDs or aspirin. They may recommend that you stop taking these medications, since they can worsen ulcers. But don’t stop any medication, especially aspirin, before checking with your provider to make sure it’s safe.

Your provider may also initially recommend testing for H. pylori infection. That’s because it’s such a common cause of ulcers. And if the test is positive, treatment with antibiotics often takes care of the problem.

They may also recommend an endoscopy if you have any factors or symptoms that put you at higher risk of a more serious condition, such as stomach cancer or an ulcer that needs urgent treatment. These risk factors include: 

  • Age over 60

  • History of ulcers

  • Family history of stomach or esophageal cancer

  • Weight loss

  • Long-standing symptoms that don’t improve with medications

Your provider may also recommend an endoscopy if you have clear signs of active bleeding from an ulcer. Your provider can treat the bleeding during an endoscopy. And they can also do a biopsy to check for H. pylori during the endoscopy.

Most peptic ulcers heal on their own with a course of PPIs and, if necessary, antibiotics for H. pylori. Healing can take anywhere from several weeks to a couple of months.

The bottom line

Ulcers are becoming less common over time, as H. pylori affects fewer people. But they are still a significant cause of abdominal pain and, in some cases, bleeding from the GI tract. Luckily, before they cause any major complications, most ulcers can be treated with a regimen of acid-blocking medication and, if necessary, antibiotics for H. pylori. With the proper treatment, most peptic ulcers will heal after a couple of months. 

why trust our exports reliability shield

Why trust our experts?

Joanna Jan, MD
Written by:
Joanna Jan, MD
Joanna Jan, MD, is board-certified in internal medicine and licensed to practice medicine in the state of Pennsylvania. In 2017, she received her board certification from the American Board of Internal Medicine.
Katie E. Golden, MD
Katie E. Golden, MD, is a board-certified emergency medicine physician and a medical editor at GoodRx.

References

American College of Gastroenterology. (2021). Peptic ulcer disease

Drini, M. (2017). Peptic ulcer disease and non-steroidal anti-inflammatory drugs. Australian Prescriber

View All References (10)

Kim, H. U. (2015). Diagnostic and treatment approaches for refractory peptic ulcers. Clinical Endoscopy

Kurata, J. H., et al. (1997). Meta-analysis of risk factors for peptic ulcer. Nonsteroidal antiinflammatory drugs, Helicobacter pylori, and smoking. Journal of Clinical Gastroenterology

Laine, L., et al. (2021). ACG clinical guideline: Upper gastrointestinal and ulcer bleeding. The American Journal of Gastroenterology

Levenstein, S., et al. (2015). Psychological stress increases risk for peptic ulcer, regardless of Helicobacter pylori infection or use of nonsteroidal anti-inflammatory drugs. Clinical Gastroenterology and Hepatology.

MedlinePlus. (2021). Tests for H pylori

Moayyedi, P. M., et al. (2017). ACG and CAG clinical guideline: Management of dyspepsia. The American Journal of Gastroenterology.

Narayanan, M., et al. (2018). Peptic ulcer disease and Helicobacter pylori infection. Missouri Medicine: The Journal of the Missouri State Medical Association

National Institute of Diabetes and Digestive and Kidney Diseases. (2014). Symptoms & causes of peptic ulcers (stomach ulcers)

Rosenstock, S. J., et al. (1995). Prevalence and incidence of peptic ulcer disease in a Danish county​​—A prospective cohort study. Gut

Sonnenberg, A., et al. (2020). Low prevalence of Helicobacter pylori-positive peptic ulcers in private outpatient endoscopy centers in the United States. The American Journal of Gastroenterology.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Get the facts on Peptic Ulcer Disease.

Sign up for our newsletter to get expert tips on condition management and prescription savings.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men’s health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.