What causes peptic ulcers?

Peptic ulcer disease is when a sore forms on the inner lining of the stomach or small intestine. When a peptic ulcer is found in the stomach, it’s called a stomach ulcer or gastric ulcer. When it is found in the duodenum or where the small intestine starts, it’s called a duodenal ulcer.
Ulcers are painful and can cause complications if left untreated. But, how do you know when you have an ulcer? Here’s all you need to know about peptic ulcer symptoms, diagnosis, and treatment.
Peptic ulcers occur due to Helicobacter pylori (H. pylori) infection. H. pylori is a bacteria that lives in the gut, but it can also infect your stomach. Non-steroidal anti-inflammatory drugs or NSAIDs like ibuprofen, aspirin, naproxen, or diclofenac can also cause ulcers. You can also get stomach ulcers if you eat very spicy food or have too much alcohol. Sometimes, stress and smoking can increase your risk of developing stomach ulcers.
All these factors weaken the stomach lining. The stomach acid that helps digest food further damages the weak stomach lining. This causes a stomach ulcer.
Diseases like Zollinger-Ellison syndrome and multiple endocrine neoplasia can also cause peptic ulcers. These diseases cause stomach tumors and excess hormone levels, which can increase stomach acid production and cause peptic ulcers.
How do you know if you have an ulcer?
Peptic ulcers cause burning pain in your stomach. Stomach pain can start when your stomach is empty between meals or at night. It can also start after eating. It typically lasts from a few minutes to hours.
Antacids or medicines for indigestion may relieve the pain for some time, but if you don’t treat the ulcer, the pain may return. Other peptic ulcer symptoms include:
- Nausea
- Abdominal pain radiating to the back
- Burning feeling in the tummy that may feel like hunger pangs
- Tummy pain that increases after eating — a sign of stomach ulcers
- Pain relief after eating — a sign of duodenal ulcers
- Indigestion
- Heartburn
- Loss of appetite
- Feeling sick
- Weight loss
- Burping or bloating after eating fatty foods
How do you check for an ulcer?
If you think you have peptic ulcer symptoms, visit your doctor. They’ll check your medical history and your symptoms. They’ll ask you about medicines you take, especially NSAIDs. They’ll do a physical exam to check for stomach pain and bloating. They’ll order some lab tests to check for ulcers.
Peptic ulcer diagnosis can follow:
Laboratory tests
Your doctor will do lab tests for peptic ulcer diagnosis. They may measure gastrin levels in your blood. Gastrin is a hormone that helps release stomach acid or digestive juices.
They’ll also check for H. pylori infection using these tests:
- Urea breath test. Your doctor will ask you to drink a liquid containing urea — a waste product formed when protein breaks down in your body. H. pylori bacteria convert urea into carbon dioxide, which is the gas you breathe out. Your doctor will collect your breath sample. If you have an H. pylori infection in your stomach, your breath will have higher levels of carbon dioxide.
- Blood test. A blood test can help detect H. pylori infection.
- Stool test. Doctors use a stool test to detect H. pylori infection. They’ll check if your stool sample has the bacteria.
X-ray
Doctors use x-ray tests like barium contrast radiography or upper gastrointestinal (GI) series to check for digestive tract problems. You’ll have to swallow a contrast solution called barium, which coats your digestive tract. This helps your doctor see the shape of your stomach and small intestines on x-rays. The doctor will then take a series of x-ray images to detect peptic ulcers.
You may feel bloated and nauseous after the test. For a few days, you may have white or light-colored stools because of barium.
Computerized tomography or CT scan
A CT scan uses x-rays and computers to create images of your body. Your doctor will ask you to drink a solution called the contrast medium. You’ll then lie inside the CT machine, which will take x-rays of your body. The images will appear on the computer. Your doctor will check the images for peptic ulcer diagnosis.
Your doctor may use gastrointestinal endoscopy along with a biopsy to diagnose peptic ulcer disease. Endoscopy and biopsy are parts of the same procedure:
Endoscopy. An endoscope is a flexible tube with a camera attached to its end. The doctor will insert the endoscope into the stomach through your mouth. The camera allows your doctor to closely check the stomach lining for peptic ulcers.
Biopsy. The doctor will insert a biopsy tool through the endoscope. It helps your doctor get a sample of the stomach cells to test for infection or disease in the lab.
You’ll have to visit a hospital or healthcare facility for this procedure. Your doctor will give you anesthesia before the endoscopy.

QUESTION
Pancreatitis is inflammation of an organ in the abdomen called the pancreas. See AnswerHow to treat peptic ulcers?
Ulcers usually heal in a few months. Depending on the cause, doctors use the following treatments for peptic ulcers:
Antacids. Antacids are medicines that calm the stomach acid and help relieve your symptoms temporarily.
Triple therapy. Doctors usually prescribe triple therapy twice daily for 7 to 10 days. It includes antibiotics amoxicillin and clarithromycin or levofloxacin and a drug called a proton pump inhibitor (PPI), which decreases stomach acid production. This therapy is used to remove H. pylori from your stomach.
Sequential therapy. This treatment involves taking a PPI and amoxicillin twice daily for 5 days. After this, you’ll have to take a 5-day course of a PPI and the antibiotics clarithromycin and metronidazole or tinidazole twice daily.
Non-bismuth-based quadruple therapy. This involves triple therapy along with metronidazole or tinidazole.
Bismuth-based quadruple therapy. This involves non-bismuth-based quadruple therapy plus a bismuth salt.
NSAIDs. If your stomach ulcer is not caused by NSAIDs, you can take them for pain relief. If you have ulcers due to NSAIDs, your doctor will give you PPIs or paracetamol.
Alternative medication. Your doctor may ask you to take histamine H2 receptor antagonists, which are like PPIs. They may also recommend cyclooxygenase-2 (COX-2) inhibitors instead of painkillers.
Lifestyle changes. Your doctor will advise you to control stress, alcohol intake, spicy food intake, and smoking to let your ulcers heal.
What are the complications of peptic ulcer disease?
If left untreated, peptic ulcer disease can lead to complications like:
- Internal bleeding or hemorrhage
- Perforation or the ulcer burning through the stomach lining
- Pyloric stenosis — when the pylorus or opening of the stomach into the small intestine becomes narrow
It’s best to seek immediate peptic ulcer diagnosis and treatment to prevent complications.
Health News
- Death Count Climbs in Outbreak Linked to Recalled Eyedrops
- Birth Control Pills Tied to Slight Rise in Breast Cancer Risk, Regardless of Formulation
- Walking & Talking at Same Time: Aging Brain May Make It Tougher
- Medication Shortage Means Many With Advanced Prostate Cancer Are Missing Treatments
- Stress Urinary Incontinence? Know Your Surgical Options
More Health News »
Health Solutions From Our Sponsors
American Family Physician: "Diagnosis and Treatment of Peptic Ulcer Disease and H. pylori Infection."
John Hopkins Medicine: "Peptic Ulcer Disease," "Peptic Ulcer Disease Treatment."
National Institute of Diabetes and Digestive and Kidney Diseases: "Diagnosis of Peptic Ulcers (Stomach Ulcers)," "Symptoms & Causes of Peptic Ulcers (Stomach Ulcers)."
NHS: "Causes," "Diagnosis," "Symptoms," "Treatment."
Top How Can I Test Myself for Ulcers Related Articles
What Are the Best Foods To Eat When You Have a Stomach Ulcer?
What Is a Stomach Ulcer? Learn what foods you should eat to relieve your symptoms.Visual Guide to Stomach Ulcers
Learn about the causes and symptoms of stomach ulcers, and find out which kinds of treatment can help.How Do You Know if You Have a Stomach Ulcer?
Stomach ulcer or gastric ulcer is a painful open sore that develops on the lining of your stomach due to the damage to the inner stomach lining. This is a type of peptic ulcer disease. Stomach ulcers often can be easily cured; however, it can be fatal if not treated properly. It occurs mostly in men are than in women.magaldrate
Magaldrate is an over-the-counter medication commonly used to treat gastrointestinal (GI) issues from acidity including heartburn, acid indigestion, gastroesophageal reflux, gastric and duodenal ulcers. Common side effects of magaldrate include chalky taste, stomach cramps, fecal discoloration, constipation, fecal impaction, nausea, vomiting, osteomalacia, aluminum intoxication (hyperaluminemia), hypophosphatemia, hypermagnesemia, and diarrhea.Nonsteroidal Anti-inflammatory Drugs and Ulcers
Nonsteroidal anti-inflammatory drugs (NSAIDs) are prescribed medications for the treatment of inflammatory conditions. Examples of NSAIDs include aspirin, ibuprofen, naproxen, and more. One common side effect of NSAIDs is peptic ulcer (ulcers of the esophagus, stomach, or duodenum). Side effects, drug interactions, warnings and precautions, and patient safety information should be reviewed prior to taking NSAIDs.Peptic Ulcer (Stomach Ulcer)
Peptic or stomach ulcers are ulcers in the lining of the stomach, duodenum, or esophagus. Learn about symptoms, causes, diet, and treatment.Peptic Ulcer Disease
Peptic ulcers are sores that develop on the inner lining of your stomach and the upper portion of your small bowel (duodenum). Peptic ulcers cause symptoms like heartburn, nausea, vomiting, weight loss and other symptoms. Ulcers are treated with lifestyle modification and medications.What Are the Most Common Causes of Stomach Ulcers?
What causes stomach ulcers? Learn about what causes this common stomach problem and how to treat it.What Can I Take to Relieve Ulcer Pain?
Stomach ulcers are often very painful. Learn about which home remedies and medications can help relieve ulcer pain, and when stomach pain is and isn't an emergency.