Peptic ulcers: treatment - myDr.com.au

A duodenal ulcer is a sore that forms in the lining of the duodenum. Your duodenum is the first part of your small intestine, just beyond the stomach. These ulcers often cause pain in the upper abdomen (tummy area), just below the breastbone.
You can also get an ulcer in your stomach. Stomach ulcers and duodenal ulcers are 2 types of peptic ulcers. If you have either of these, you have what's called 'peptic ulcer disease'. Once treated, they usually get better within a few weeks to months.

A duodenal ulcer is a sore that forms in the lining of the duodenum.
If you have a duodenal ulcer, you might:
Your stomach pain may come and go. It can often be relieved by eating food or taking an antacid medicine. Sometimes food makes the pain worse. This can happen immediately or soon after eating.
If an ulcer causes complications, you may experience:
A duodenal ulcer is usually caused by a type of bacteria called Helicobacter pylori, or H. pylori.
The bacteria can weaken the protective lining of your duodenum. If the protective lining is damaged, an ulcer can form.
Some medicines can also cause duodenal ulcers, particularly anti-inflammatory medicines such as ibuprofen and aspirin — these are also known as NSAIDs. They can sometimes harm the protective lining, allowing acid to create an ulcer.
If you are undergoing treatment for cancer, you are at a higher risk of developing a duodenal ulcer.
There are some lifestyle factors that may make you more likely to have a duodenal ulcer, such as:
See your doctor if you:
Go to the emergency department if:
If you have severe pain in your abdomen that doesn't go away, or if you have blood in your vomit, go to your nearest hospital emergency department immediately or call triple zero (000) and ask for an ambulance.
To diagnose a duodenal ulcer, your doctor will talk to you and examine you. They will probably arrange a test to find out if you have H. pylori in your body. These tests may include:
Your doctor may also arrange for you to have a gastroscopy. This is also called an endoscopy. During an endoscopy a specialist doctor uses a thin, flexible tube with a camera on the end to look inside your stomach and duodenum. This way they can see any ulcers or changes.
If you have a gastroscopy, your surgeon might take a sample of tissue, called a biopsy, to test for H. pylori.
If your ulcer is caused by H. pylori, the usual treatment is 'triple therapy'. This means taking 2 antibiotics and a proton pump inhibitor (PPI) medicine. The antibiotics kill the bacteria, while the PPI medicine reduces the acid made by your stomach.
If you don't have H. pylori infection and you have been using anti-inflammatory medicines, you will be advised to stop taking them if possible. You will also need to start taking a PPI medicine to reduce acid production in your stomach.
You can make some other changes to improve your symptoms, such as:
If left untreated, your duodenal ulcer may get worse. This can cause complications, such as:
These complications can cause sharp pain, bloody vomit or bloody stools (poo) and require emergency treatment.
There are lifestyle changes that you can make to avoid duodenal ulcers. These include:
If you have H. pylori infection, taking antibiotics to treat the infection can reduce your risk of getting an ulcer. Practicing good hygiene can help prevent infection.
Visit the Gastroenterological Society of Australia for information about Helicobacter pylori (Opens in new tab) and endoscopies (Opens in new tab).
Read the Royal Children's Hospital fact sheet on H. pylori (Opens in new tab).
The Emergency Care Institute peptic ulcer disease factsheet (Opens in new tab) has tips on care at home if you have a duodenal ulcer.
You can also call the healthdirect helpline on 1800 022 222 (known as NURSE-ON-CALL in Victoria). A registered nurse is available to speak with you 24 hours a day, 7 days a week.
Find out how we develop and review our content.
Last reviewed: February 2026










Worried about your health?
Select a symptom, answer some questions, get advice