Stomach & Gut Health

What Is a Peptic Ulcer? Symptoms, Causes and How to Lower Your Risk

Sep 19, 2025

7 min read

Written by Fluent Team Medically reviewed by Dr Amey Sonavane

What Is a Peptic Ulcer? Symptoms, Causes and How to Lower Your Risk

A peptic ulcer is an open sore in the lining of the stomach or the first part of the small intestine, most often caused by H. pylori infection or regular use of certain medicines. Peptic ulcers can heal with medical care, so stomach pain that keeps coming back needs a doctor's check.

Key takeaways

  • A peptic ulcer is a sore in the lining of the stomach or duodenum, and a community study in India found that about 11 in every 100 adults had had one at some point.
  • The most common symptom of a peptic ulcer is a burning or gnawing pain in the upper belly, often between meals or at night, though many ulcers cause no symptoms at first.
  • Vomiting blood, passing black, tarry stools or sudden severe belly pain can signal a bleeding or perforated ulcer and needs emergency care straight away.

What is a peptic ulcer?

A peptic ulcer is an open sore in the inner lining of the stomach or the duodenum, the first part of the small intestine. The stomach lining is normally protected by a layer of mucus that stops stomach acid from damaging it. When that protective layer is weakened, acid can wear into the lining and create a sore, which often causes a burning or gnawing pain in the upper belly. Peptic ulcers are common in India: a community study in an urban area found that about 11 in every 100 adults had had a peptic ulcer at some point in their lives. Most peptic ulcers are linked to infection with H. pylori bacteria or to regular use of certain medicines, and they can heal with the right medical care. Stomach pain that keeps coming back is worth a doctor’s check rather than waiting it out.

What are the types of peptic ulcers?

The two main types of peptic ulcer are gastric ulcers, which form in the lining of the stomach, and duodenal ulcers, which form in the duodenum, the first part of the small intestine just beyond the stomach. Both types develop the same way: the protective lining is damaged, and stomach acid irritates the exposed tissue underneath. In the Indian study, duodenal ulcers were far more common than gastric ulcers, and both types were seen more often in men. The timing of pain can sometimes hint at the type of peptic ulcer, because gastric and duodenal ulcer symptoms can differ in how they relate to meals, but timing alone can’t confirm which type someone has. Only a doctor can diagnose a peptic ulcer and its location. Knowing the type and the cause helps the doctor plan treatment and decide what follow-up is needed.

What are the symptoms of a peptic ulcer?

The most common symptom of a peptic ulcer is a burning or gnawing pain in the upper belly, between the breastbone and the belly button, that often comes on between meals or wakes people at night. Some people also feel bloated or uncomfortable after eating, have heartburn that keeps coming back, or feel sick or lose weight without trying. Peptic ulcers don’t always announce themselves: research suggests that around 70% of people with peptic ulcer disease may have no symptoms at first, which is why some ulcers are found only when a complication appears. Symptoms can also be milder or vaguer in older adults. Because these symptoms overlap with what many people call acidity, gastritis and indigestion, it isn’t possible to tell from symptoms alone whether a peptic ulcer is the cause. Anyone with upper belly pain that keeps returning, or pain alongside weight loss or vomiting, should see a doctor for proper tests.

Quick Explainer

H. pylori is a bacterium that can live in the stomach’s mucus layer for years. Doctors check for it in the breath, stool or blood, or by examining a small tissue sample.

Which peptic ulcer symptoms need emergency care?

Some peptic ulcer symptoms can signal bleeding or a tear in the stomach wall and need emergency care straight away:

  • Vomiting blood: Vomit that contains blood can mean an ulcer is bleeding.
  • Black, tarry stools: Dark, sticky stools are a sign of bleeding higher up in the digestive tract.
  • Sudden, severe belly pain: Sharp pain that spreads across the belly may mean an ulcer has torn through the wall of the stomach or duodenum.

What causes peptic ulcers?

Peptic ulcers form when something weakens the stomach’s protective lining faster than the lining can repair itself. Research reviews identify two main causes: Infection with H. pylori bacteria and regular use of certain medicines, which together explain most cases. Stress, smoking, alcohol and family history can add to the risk or slow healing.

How does H. pylori cause a peptic ulcer?

H. pylori (Helicobacter pylori) causes a peptic ulcer by settling into the mucus layer of the stomach lining, triggering inflammation and weakening the lining’s defences so that stomach acid can reach the tissue underneath. A recent research review found that H. pylori is involved in about 42% of peptic ulcers. The bacteria usually spread through contaminated food or water, or through saliva, and many people carry H. pylori for years without any symptoms. Testing for H. pylori is recommended for everyone diagnosed with a peptic ulcer, because clearing the infection changes the outlook: the same review reported that treating H. pylori lowers the chance of the ulcer coming back from about 50–60% to 0–2%. That’s why doctors treat the infection rather than only easing the pain. Washing hands before meals and after using the toilet, and drinking safe water, may lower the chance of picking up H. pylori in the first place.

Do stress, smoking, alcohol or genes raise the risk of a peptic ulcer?

Stress, smoking, alcohol and family history can all raise the risk of a peptic ulcer or make an existing ulcer slower to heal, though none of them is usually the main cause on its own. Long-term stress is thought to increase acid and weaken the stomach’s defences, and serious illness can cause a separate type called a stress ulcer. Smoking and alcohol both irritate the digestive system and are linked to slower healing, which is why stopping smoking and cutting back on alcohol are part of most ulcer care plans. Some people are more prone to ulcers because of inherited factors, and a personal or family history of ulcers is a recognised risk factor. Rarely, a condition called Zollinger-Ellison syndrome, in which tumours in the pancreas or duodenum make the stomach produce far too much acid, leads to repeated ulcers. Regular use of certain medicines also raises the risk, so it’s worth reviewing every medicine you take with your doctor.

How can you lower your risk of a peptic ulcer?

You can lower your risk of a peptic ulcer, and support healing alongside medical care, with a few everyday habits:

  • Manage stress: Meditation, yoga and slow breathing may ease the strain that long-term stress puts on digestion.
  • Use medicines carefully: Avoid medicines you don’t need, take them with food when advised, and ask your doctor before using any medicine long term.
  • Eat a balanced diet: Fruit, vegetables and whole grains support digestion, and probiotic foods such as curd add friendly bacteria.
  • Stop smoking and drinking alcohol: Both irritate the stomach lining and slow healing.
  • Wash your hands well: Regular hand washing may help prevent H. pylori infection.
  • Ask about testing: If you have a family history of ulcers or ongoing stomach symptoms, a doctor can advise whether testing makes sense.
  • Sleep well and keep up check-ups: A rested body heals better, and routine check-ups can catch problems early.

What should you eat while a peptic ulcer heals?

While a peptic ulcer heals, small, frequent meals of gentle, easy-to-digest food may help limit irritation and discomfort, though diet supports medical treatment rather than replacing it. Eating smaller amounts more often also stops large amounts of acid building up between meals. Soft, low-fat choices such as porridge, steamed vegetables, dal, lean proteins like chicken, soft fruits such as bananas and pears, and low-fat dairy are usually well tolerated. Whole grains such as oats and brown rice add fibre without being harsh on the gut. Many people find that spicy food, citrus fruits, caffeine, alcohol, fried or fatty meals, fizzy drinks, strong tea or coffee, and chocolate make their symptoms worse, so it’s worth noticing personal triggers rather than cutting out entire food groups. Plain water and mild herbal teas such as chamomile or ginger are gentle ways to stay hydrated. A dietitian can help build an eating plan that fits the doctor’s advice.

What complications can a peptic ulcer cause?

An untreated peptic ulcer can lead to serious complications, including bleeding, a hole through the stomach or duodenal wall, and a blockage that stops food from passing through. Bleeding is the most common complication of a peptic ulcer and can cause black, tarry stools or vomiting blood, both of which need emergency care. A perforation, where the ulcer tears right through the wall, lets digestive contents leak into the belly and can cause peritonitis, a dangerous inflammation of the lining of the abdominal cavity. Scarring and swelling around an ulcer can narrow the outlet of the stomach, causing vomiting and severe discomfort. Repeated ulcers may also affect how well nutrients are absorbed. Long-standing stomach ulcers may be linked to a higher risk of stomach cancer, which is one reason doctors investigate persistent symptoms such as weight loss or anaemia (a low red blood cell count). Early diagnosis and treatment lower the risk of all of these complications.

Quick Tip

Before a consult, note when the pain comes (before or after meals, at night), what eases it, any weight change, and every medication you take.

How can you keep your family’s digestive health history together?

Keeping a record of symptoms, test results and treatment makes the next appointment easier, whether the peptic ulcer is yours or a parent’s. For caregivers and busy families, Fluent Health is building one place to keep the family’s health history together, so the next doctor’s visit starts with the full picture. That matters for ulcers, where details such as an earlier H. pylori result, a list of regular medicines and a family history of ulcers all help a doctor decide what to check next. Having those medical records in one place means less searching through old reports and more time for the questions that matter. Fluent Health is a family health brand for the people who look after everyone’s health.

Frequently asked questions

1. Can a peptic ulcer heal?

Yes, most peptic ulcers heal with medical treatment that addresses the cause, such as clearing an H. pylori infection or changing a medicine that irritates the stomach. Healing time varies with the ulcer’s size and cause, so follow the plan your doctor gives you and go back if symptoms return.

2. What can ease peptic ulcer pain?

Following the treatment plan from your doctor is the main way to ease peptic ulcer pain. Eating smaller meals, avoiding foods that trigger your symptoms, managing stress, stopping smoking and limiting alcohol may also help. Talk to your doctor before taking any new medicine for stomach pain.

3. Are there home remedies for a peptic ulcer?

Eating gentle foods, sticking to regular meals, and avoiding alcohol and smoking can support recovery, but an ulcer requires a proper diagnosis and medical treatment. See a doctor if stomach pain keeps coming back.

4. Does a family history of ulcers raise your risk?

Yes, a personal or family history of ulcers is a recognised risk factor for peptic ulcers. If close relatives have had ulcers and you have ongoing stomach symptoms, mention it to your doctor, who can advise whether testing for H. pylori makes sense.

5. Is a peptic ulcer the same as heartburn?

No. Heartburn is a burning feeling in the chest caused by stomach acid travelling up the food pipe, while a peptic ulcer is a sore in the lining of the stomach or duodenum. An ulcer can cause heartburn-like symptoms, so frequent symptoms need a doctor’s check.

Click here for medical advice disclaimer