A peptic ulcer is a sore on the lining of your stomach, small intestine or esophagus. A peptic ulcer in the stomach is called a gastric ulcer. A duodenal ulcer is a peptic ulcer that develops in the first part of the small intestine (duodenum). An esophageal ulcer occurs in the lower part of your esophagus.
Peptic ulcers are open sores that develop on the inside lining of your stomach and the upper portion of your small intestine. The most common symptom of a peptic ulcer is stomach pain.
Peptic ulcers include:
- Gastric ulcers that occur on the inside of the stomach
- Duodenal ulcers that occur on the inside of the upper portion of your small intestine (duodenum)
The most common causes of peptic ulcers are infection with the bacterium Helicobacter pylori (H. pylori) and long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen (Advil, Motrin IB, others) and naproxen sodium (Aleve). Stress and spicy foods do not cause peptic ulcers. However, they can make your symptoms worse.
- Burning stomach pain
- Feeling of fullness, bloating or belching
- Intolerance to fatty foods
The most common peptic ulcer symptom is burning stomach pain. Stomach acid makes the pain worse, as does having an empty stomach. The pain can often be relieved by eating certain foods that buffer stomach acid or by taking an acid-reducing medication, but then it may come back. The pain may be worse between meals and at night.
Many people with peptic ulcers don't even have symptoms.
Less often, ulcers may cause severe signs or symptoms such as:
- Vomiting or vomiting blood — which may appear red or black
- Dark blood in stools, or stools that are black or tarry
- Trouble breathing
- Feeling faint
- Nausea or vomiting
- Unexplained weight loss
- Appetite changes
When to see a doctor
See your doctor if you have the severe signs or symptoms listed above. Also see your doctor if over-the-counter antacids and acid blockers relieve your pain but the pain returns.
Get the latest health information from Mayo Clinic delivered to your inbox.
Subscribe for free and receive your in-depth guide to
digestive health, plus the latest on health innovations and news. You can unsubscribe at any
time. Click here for an email preview.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information, and understand which
information is beneficial, we may combine your email and website usage information with
other information we have about you. If you are a Mayo Clinic patient, this could
include protected health information. If we combine this information with your protected
health information, we will treat all of that information as protected health
information and will only use or disclose that information as set forth in our notice of
privacy practices. You may opt-out of email communications at any time by clicking on
the unsubscribe link in the e-mail.
Thank you for subscribing
Your in-depth digestive health guide will be in your inbox shortly. You will also receive
emails from Mayo Clinic on the latest health news, research, and care.
If you don’t receive our email within 5 minutes, check your SPAM folder, then contact us
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
Peptic ulcers occur when acid in the digestive tract eats away at the inner surface of the stomach or small intestine. The acid can create a painful open sore that may bleed.
Your digestive tract is coated with a mucous layer that normally protects against acid. But if the amount of acid is increased or the amount of mucus is decreased, you could develop an ulcer.
Common causes include:
A bacterium. Helicobacter pylori bacteria commonly live in the mucous layer that covers and protects tissues that line the stomach and small intestine. Often, the H. pylori bacterium causes no problems, but it can cause inflammation of the stomach's inner layer, producing an ulcer.
It's not clear how H. pylori infection spreads. It may be transmitted from person to person by close contact, such as kissing. People may also contract H. pylori through food and water.
- Regular use of certain pain relievers. Taking aspirin, as well as certain over-the-counter and prescription pain medications called nonsteroidal anti-inflammatory drugs (NSAIDs) , can irritate or inflame the lining of your stomach and small intestine. These medications include ibuprofen (Advil, Motrin IB, others), naproxen sodium (Aleve, Anaprox DS, others), ketoprofen and others. They do not include acetaminophen (Tylenol, others).
- Other medications. Taking certain other medications along with NSAIDs, such as steroids, anticoagulants, low-dose aspirin, selective serotonin reuptake inhibitors (SSRIs), alendronate (Fosamax) and risedronate (Actonel), can greatly increase the chance of developing ulcers.
In addition to having risks related to taking NSAIDs, you may have an increased risk of peptic ulcers if you:
- Smoke. Smoking may increase the risk of peptic ulcers in people who are infected with H. pylori.
- Drink alcohol. Alcohol can irritate and erode the mucous lining of your stomach, and it increases the amount of stomach acid that's produced.
- Have untreated stress.
- Eat spicy foods.
Alone, these factors do not cause ulcers, but they can make ulcers worse and more difficult to heal.
Left untreated, peptic ulcers can result in:
- Internal bleeding. Bleeding can occur as slow blood loss that leads to anemia or as severe blood loss that may require hospitalization or a blood transfusion. Severe blood loss may cause black or bloody vomit or black or bloody stools.
- A hole (perforation) in your stomach wall. Peptic ulcers can eat a hole through (perforate) the wall of your stomach or small intestine, putting you at risk of serious infection of your abdominal cavity (peritonitis).
- Obstruction. Peptic ulcers can block passage of food through the digestive tract, causing you to become full easily, to vomit and to lose weight either through swelling from inflammation or through scarring.
- Gastric cancer. Studies have shown that people infected with H. pylori have an increased risk of gastric cancer.
You may reduce your risk of peptic ulcer if you follow the same strategies recommended as home remedies to treat ulcers. It also may be helpful to:
Protect yourself from infections. It's not clear just how H. pylori spreads, but there's some evidence that it could be transmitted from person to person or through food and water.
You can take steps to protect yourself from infections, such as H. pylori, by frequently washing your hands with soap and water and by eating foods that have been cooked completely.
Use caution with pain relievers. If you regularly use pain relievers that increase your risk of peptic ulcer, take steps to reduce your risk of stomach problems. For instance, take your medication with meals.
Work with your doctor to find the lowest dose possible that still gives you pain relief. Avoid drinking alcohol when taking your medication, since the two can combine to increase your risk of stomach upset.
If you need an NSAID, you may need to also take additional medications such as an antacid, a proton pump inhibitor, an acid blocker or cytoprotective agent. A class of NSAIDs called COX-2 inhibitors may be less likely to cause peptic ulcers, but may increase the risk of heart attack.