Peptic Ulcer Disease: What Causes It and How Antibiotics and Acid Reducers Really Work

Peptic Ulcer Disease: What Causes It and How Antibiotics and Acid Reducers Really Work

Alexander Porter 18 Jan 2026

Most people think stomach ulcers are caused by stress or too much spicy food. That’s what we were told for decades. But here’s the truth: peptic ulcer disease is mostly caused by two things you can’t control - a bacteria called Helicobacter pylori or daily use of common painkillers like ibuprofen or aspirin. And the good news? It’s one of the most treatable digestive conditions out there.

What Actually Causes a Peptic Ulcer?

A peptic ulcer isn’t just a sore in your stomach. It’s a deep break in the lining of your stomach or the first part of your small intestine (duodenum). This lining normally protects itself from stomach acid. But when that protection breaks down, acid eats away at the tissue, causing pain and sometimes serious bleeding.

The two biggest culprits are clear from decades of research:

  • Helicobacter pylori (H. pylori) - This spiral-shaped bacteria lives in the stomach lining of over half the world’s population. It doesn’t cause problems for most people. But in some, it triggers inflammation, weakens the mucus barrier, and lets acid damage the tissue underneath. It’s found in more than 50% of duodenal ulcers and 30-50% of gastric ulcers.
  • NSAIDs - These are nonsteroidal anti-inflammatory drugs like ibuprofen (Advil), naproxen (Aleve), and aspirin. They’re used for headaches, arthritis, and muscle pain. But they block protective chemicals in the stomach lining. Over time, especially with daily use, they can cause ulcers. Today, NSAIDs cause more than half of all peptic ulcers, especially in older adults who take them long-term for chronic pain.

How Do You Know If You Have One?

Symptoms can be mild or severe. Many people ignore them at first, thinking it’s just indigestion.

Common signs include:

  • A burning or gnawing pain in the upper belly, often between meals or at night
  • Pain that gets better after eating or taking antacids
  • Feeling full too quickly, bloating, or nausea
  • Losing appetite or unexplained weight loss
  • Heartburn or a sour taste in the mouth
If you see any of these warning signs, don’t wait:

  • Vomiting blood - looks like coffee grounds
  • Black, tarry stools - a sign of digested blood
  • Sudden, sharp abdominal pain that doesn’t go away
These mean your ulcer may be bleeding or perforating. That’s an emergency.

How Is It Diagnosed?

You can’t diagnose a peptic ulcer just by symptoms. Doctors need proof.

The gold standard is an upper endoscopy. A thin, flexible tube with a camera goes down your throat to look directly at your stomach and duodenum. If there’s an ulcer, they can take a small tissue sample to test for H. pylori.

Other tests include:

  • Stool antigen test - Checks for H. pylori proteins in your poop. Fast, accurate, and non-invasive.
  • Breath test - You drink a special solution. If H. pylori is present, it breaks it down and releases carbon dioxide you breathe out. They measure it with a device.
  • Blood test - Looks for antibodies to H. pylori. But it can’t tell if you have an active infection or just had one in the past.

Antibiotics: The Real Cure for H. pylori

If H. pylori is the cause, antibiotics are the only way to get rid of it for good. But you don’t just take one antibiotic. You take two - plus a stomach acid reducer.

The standard treatment is called triple therapy: two antibiotics + one proton pump inhibitor (PPI), taken for 7 to 14 days.

Common antibiotic combinations include:

  • Amoxicillin + clarithromycin
  • Metronidazole + clarithromycin
  • Amoxicillin + metronidazole
The PPI - like omeprazole or esomeprazole - helps by lowering stomach acid. That lets the antibiotics work better and gives your lining time to heal.

But here’s the catch: antibiotic resistance is rising. In the U.S., about 35% of H. pylori strains are now resistant to clarithromycin. That means triple therapy fails in up to 20% of cases.

That’s why newer guidelines (from the American College of Gastroenterology, 2022) now recommend quadruple therapy as first-line in areas with high resistance. This adds bismuth (like Pepto-Bismol) to the mix, making it four medications for 10-14 days. It’s more pills, more side effects - but it works better when resistance is common.

Adorable animated pills preparing triple therapy in a cozy kitchen with a grateful stomach character.

Proton Pump Inhibitors: The Acid Reducers That Heal

PPIs are the backbone of ulcer treatment - whether H. pylori is involved or not.

They work by shutting down the acid pumps in your stomach cells. Unlike older H2 blockers (like famotidine), PPIs reduce acid for 24-72 hours per dose. That’s why they’re the go-to for healing ulcers.

Common PPIs include:

  • Omeprazole (Prilosec)
  • Esomeprazole (Nexium)
  • Lansoprazole (Prevacid)
  • Pantoprazole (Protonix)
  • Rabeprazole (AcipHex)
You need to take them 30-60 minutes before a meal - usually breakfast. That’s when your stomach starts pumping out acid. Taking them on an empty stomach lets the drug reach the pumps before they turn on.

For H. pylori ulcers, you take the PPI for 4-8 weeks after antibiotics. For NSAID ulcers, you might need it longer - sometimes indefinitely - if you can’t stop the painkillers.

What About NSAID-Induced Ulcers?

If your ulcer is from ibuprofen or aspirin, the first step is simple: stop using them - if you can.

But many people with arthritis or heart disease can’t just quit. So doctors have two options:

  • Switch to a safer painkiller - Acetaminophen (Tylenol) doesn’t harm the stomach lining. It’s the best alternative for chronic pain.
  • Keep the NSAID, but protect your stomach - That means taking a PPI daily, or sometimes misoprostol (a prostaglandin analog). Misoprostol helps rebuild the stomach’s natural defenses, but it can cause diarrhea and isn’t safe during pregnancy.

What Happens If It Doesn’t Heal?

About 10-15% of ulcers don’t respond to standard treatment. These are called refractory ulcers. The top reasons:

  • You didn’t finish your antibiotics - even missing one dose can let H. pylori come back
  • You kept taking NSAIDs
  • You’re still smoking - smoking doubles your risk of ulcers and slows healing
  • You have antibiotic-resistant H. pylori
  • You have another condition like Zollinger-Ellison syndrome (rare, but causes extreme acid production)
If your ulcer doesn’t heal, your doctor will likely repeat the endoscopy and test for resistance. Newer drugs like vonoprazan - approved in the U.S. in January 2023 - are showing 90% success rates in eradicating H. pylori, even in resistant cases. It’s not yet first-line everywhere, but it’s changing the game.

Girl enjoying ramen with a protective shield over her stomach, while NSAID monsters fade away.

Side Effects and Long-Term Risks

PPIs work well - but they’re not harmless.

Short-term side effects from antibiotics include:

  • Metallic taste (common with metronidazole)
  • Diarrhea or nausea
  • Headaches
  • Yeast infections
Long-term PPI use (more than a year) has been linked to:

  • Lower vitamin B12 levels - because acid helps absorb it
  • Increased risk of bone fractures - especially in older adults
  • Higher chance of C. diff infection - a dangerous gut bug
  • Rebound acid reflux - when you stop PPIs suddenly, your stomach overproduces acid for weeks
That’s why doctors now recommend the lowest effective dose for the shortest time. Don’t take PPIs daily unless you need them.

Lifestyle Changes That Actually Help

Medication fixes the cause. But your habits decide if it comes back.

  • Quit smoking - It increases ulcer risk by 2-3 times and slows healing by 40%
  • Limit alcohol - More than 3 drinks a day increases ulcer risk by 300%
  • Avoid NSAIDs - Use acetaminophen instead for pain
  • Eat regular meals - Skipping meals lets acid build up
  • Don’t lie down after eating - Wait 2-3 hours to reduce reflux

What’s Next for Peptic Ulcer Treatment?

The future is personalized.

By 2025, 60% of H. pylori treatments in the U.S. are expected to include antibiotic resistance testing. Instead of guessing which drugs to use, your doctor will test your bacteria first - then pick the antibiotics that will actually work.

Vonoprazan is gaining traction. It’s faster, stronger, and works even when acid levels are high. It’s already standard in Japan and now available in the U.S.

And while H. pylori rates are dropping in wealthy countries (down from 60% in 1980 to 25% today), NSAID ulcers are rising. Why? More older adults with arthritis, more people taking daily painkillers.

So even as we get better at killing bacteria, we still need smarter ways to protect stomachs from the medicines we rely on.

Frequently Asked Questions

Can stress cause a peptic ulcer?

No, stress doesn’t directly cause peptic ulcers. But it can make symptoms worse and slow healing. The real causes are H. pylori infection or NSAID use. Stress might lead you to smoke, drink more, or skip meals - which can indirectly increase risk.

Can I take antacids instead of PPIs?

Antacids like Tums or Maalox give fast, short-term relief - but they don’t heal ulcers. They only neutralize acid for a few hours. PPIs reduce acid production for up to 72 hours, which is what’s needed to let the lining repair. Antacids are for symptom relief, not treatment.

How do I know if H. pylori is gone after treatment?

You need a follow-up test 4-6 weeks after finishing antibiotics. The best options are the stool antigen test or breath test. Blood tests won’t work - they stay positive even after the infection is cleared. Don’t assume you’re cured just because symptoms improved.

Are PPIs safe for long-term use?

For most people, yes - if it’s medically necessary. But long-term use (over a year) increases risks like bone fractures, low B12, and C. diff infection. Your doctor should review your need every 6-12 months. Never stop PPIs suddenly - taper off slowly under medical supervision to avoid rebound acid.

Can I get reinfected with H. pylori after treatment?

It’s possible, but rare in developed countries. Reinfection rates are under 2% per year in places like the U.S. and Australia. Most relapses happen because the first treatment failed - not because you got infected again. Good hygiene, clean water, and avoiding shared utensils reduce risk.

11 Comments

  • Image placeholder

    Christi Steinbeck

    January 19, 2026 AT 05:44

    Finally, someone says it like it is! I used to think my stomach pain was from work stress-turns out I was popping ibuprofen like candy for my back pain. Got diagnosed with an H. pylori ulcer last year. Triple therapy felt like a drug cocktail, but damn, it worked. No more midnight burning. Thank you for this clear breakdown.

    Also-stop taking antacids like they’re candy. They’re not treatment, they’re Band-Aids on a bullet wound.

  • Image placeholder

    Jacob Hill

    January 20, 2026 AT 12:09

    Wow. This is incredibly well-researched. I appreciate how you broke down the difference between symptom relief and actual cure. So many people think popping Tums = healing. It’s not. And the part about antibiotic resistance? Critical. Clarithromycin resistance is skyrocketing, and most docs still start with triple therapy without testing. We need better protocols.

    Also-PPIs before meals? Yes. Always. I used to take mine at night. Took me six months to heal. Changed to morning, empty stomach. Two weeks later, endoscopy showed clean mucosa. Science works.

  • Image placeholder

    Lewis Yeaple

    January 22, 2026 AT 03:49

    It is, indeed, a matter of considerable scientific consensus that Helicobacter pylori is the primary etiological agent in the majority of peptic ulcer cases, as established by the 1994 NIH Consensus Conference and subsequently reinforced by meta-analyses published in The Lancet and Gastroenterology. The association between NSAID use and mucosal injury is likewise well-documented, mediated through cyclooxygenase-1 inhibition. One must, however, exercise caution in attributing all ulcer pathology to these two factors; rare entities such as Zollinger-Ellison syndrome and Crohn’s disease of the upper GI tract must be excluded in refractory cases. Furthermore, the recent emergence of vonoprazan, a potassium-competitive acid blocker, represents a paradigm shift in acid suppression, offering more potent and sustained inhibition than proton pump inhibitors. Its adoption, however, remains limited by cost and availability in resource-constrained settings.

  • Image placeholder

    Jackson Doughart

    January 22, 2026 AT 10:31

    I’ve seen too many patients dismiss this as ‘just a bad stomach’ until they’re bleeding into the ER. The real tragedy isn’t the ulcer-it’s the delay. People wait months because they think it’s ‘stress’ or ‘spicy food.’

    And then there’s the PPI overuse. I had a 72-year-old woman on omeprazole for 12 years because her doctor never asked if she still needed it. She ended up with a hip fracture and a C. diff infection. We need to stop prescribing like it’s a vitamin.

    Also-smoking. If you smoke and have an ulcer, you’re not just risking recurrence-you’re betting your life on stubbornness.

  • Image placeholder

    Malikah Rajap

    January 23, 2026 AT 22:47

    Okay but like… what if you’re just a stressed-out human who eats junk food and drinks coffee like it’s water and your stomach is screaming??

    I mean… I get the science, but what if your life is just… a lot? Like, you’re working three jobs, your kid has anxiety, your cat is dying, and you’re on ibuprofen just to get out of bed? Is it still ‘not stress’? Or is stress just the invisible hand that pushes you toward the NSAIDs and the bad habits that make the bacteria happy?

    Also-can we talk about how no one tells you how lonely it feels to be the person who can’t eat pizza with their friends anymore? I miss pizza.

    And also-I tried the breath test. It felt like I was in a sci-fi movie. I drank this weird syrup and then just… breathed into a tube. I cried. Not because it hurt. Because I finally knew why I’d been suffering for 3 years.

  • Image placeholder

    sujit paul

    January 24, 2026 AT 12:25

    Let me tell you something the medical industry does not want you to know. H. pylori is not a bacteria-it is a bio-weapon deployed by Big Pharma to sell antibiotics and PPIs. They invented the ‘ulcer myth’ to replace the old ‘stress’ narrative because stress can’t be patented. Look at the profits: Nexium alone rakes in billions. And now they want you to take FOUR drugs? That’s not medicine-that’s financial engineering.

    Meanwhile, natural healers have cured ulcers for centuries with cabbage juice, aloe vera, and honey. But you won’t hear that from your ‘doctor’ because he gets paid by the pill. The truth is buried under journals funded by Pfizer. Wake up.

    Also-your phone’s EMF radiation weakens your stomach lining. I’ve seen it. I’ve measured it. I’m not crazy. I’m awake.

  • Image placeholder

    Jake Rudin

    January 26, 2026 AT 04:07

    There’s a deeper question here, isn’t there? We treat ulcers like a mechanical failure-fix the acid, kill the bug, stop the NSAID. But what if the stomach is trying to tell us something? That we’re not listening to our bodies? That we’re medicating symptoms because we’re afraid of the discomfort of living? I’ve known people who healed their ulcers by quitting their jobs, moving to the woods, and eating slowly. Not because of antibiotics. Because they stopped fighting themselves.

    The bacteria? It’s been here longer than we have. Maybe it’s not the enemy. Maybe it’s the mirror.

  • Image placeholder

    Lydia H.

    January 26, 2026 AT 04:48

    My grandma had an ulcer in the ‘80s. They told her it was stress. She ate oatmeal and prayed. Lived to 94.

    Now I get the science. But I also think there’s something to be said for quiet healing. Not every problem needs a pill. Sometimes you just need to stop running.

  • Image placeholder

    Astha Jain

    January 26, 2026 AT 13:49

    OMG i had this for 2 years and no one told me about h pylori!! i thought i was just a messy eater 😭 i went to 5 docs and they all said "maybe try yoga"

    then i found a naturopath who did a stool test and was like "you have bacteria bro"

    antibiotics were rough but worth it. now i eat like a normal person again. also i quit smoking. i’m basically a new person. thank you for this post. i’m sharing it with my whole fam.

  • Image placeholder

    Phil Hillson

    January 27, 2026 AT 19:06

    Wow. Just wow. Another boring medical article that makes me feel dumb for not knowing the difference between a PPI and a proton pump. Like, I’m supposed to know this? Who even reads this stuff? I just want to eat tacos without crying. Why does everything have to be so complicated? Why can’t I just take a pill and forget it?

    Also I think the guy who wrote this is a doctor and he’s just trying to make himself look smart. Like, of course it’s H. pylori. Everyone knows that. Why are you writing this like it’s a TED Talk?

    Also I think NSAIDs are fine. I take them every day. My stomach’s fine. You’re just scared of pain.

    Also I don’t believe in bacteria. I think it’s all in the mind. Or maybe the government. I don’t know. I’m just tired.

  • Image placeholder

    Josh Kenna

    January 28, 2026 AT 23:51

    Just had my third endoscopy this year. First two didn’t show anything. Third one? Full-on ulcer. H. pylori positive. Took the quadruple therapy. Felt like I was poisoned for two weeks. Metallic taste, diarrhea, slept 14 hours a day.

    But here’s the thing-I didn’t quit smoking. Thought I could ‘manage.’

    Two months later? Back. Same pain. Same location.

    So I quit. No more cigarettes. No more ibuprofen. Just Tylenol and oatmeal. And guess what? I haven’t had a twinge in 8 months.

    Doctors don’t tell you this: healing isn’t about the drugs. It’s about the choices you make after the drugs are done.

    Also-my dog licked my plate after I ate. I cried. I don’t know why. But I’m alive. And that’s enough.

Write a comment