PharmingoGet the app
Acid & Peptic · H. pylori

H. pylori: Curing an Ulcer by Killing a Bacterium

One of the great medical surprises of the last century was that many stomach ulcers are caused by an infection — and can be cured, permanently, with a short course of antibiotics. Treating H. pylori is where the acid and antimicrobial worlds meet: a clever combination of an acid blocker plus antibiotics that eradicates the bug and cures the ulcer for good.

11 min read🎯 Linked lesson: H. pylori Eradication· Updated 2026-10-15
THE SCENE

For most of medical history, stomach ulcers were blamed on stress and spicy food, and treated by endlessly suppressing acid — the ulcers kept coming back. Then, in a Nobel-Prize-winning discovery, it turned out that a bacterium, Helicobacter pylori, living in the stomach lining, was the real cause of most ulcers. This changed everything: if an infection causes the ulcer, then killing the infection can cure it permanently. Suddenly, a disease that was managed for life became a disease that could be finished off with a short course of treatment. Eradicating H. pylori is now a cornerstone of managing peptic ulcers, and it beautifully combines what you've learned about acid drugs with what you learned in the antimicrobial section.

The eradication recipe: PPI + two antibiotics

A short combination course — an acid blocker and antibiotics together. The standard treatment is 'triple therapy': a proton pump inhibitor plus two antibiotics, all taken together for about a week (typically the PPI with two of: amoxicillin, clarithromycin, or metronidazole). Each part has a logical role. The two antibiotics kill the bacterium — and notice why there are TWO of them: it's the same anti-resistance principle from the antimicrobial chapter (combining antibiotics attacks the bug from two angles and makes resistance far less likely). The PPI does more than treat the ulcer's acid: by reducing stomach acid, it makes the environment less hostile so the antibiotics work more effectively, genuinely boosting the eradication rate. Taken together for a week or so, this combination clears the infection in most people. Because rising antibiotic resistance (especially to clarithromycin) can cause treatment to fail, in some regions or after a failed first attempt a 'quadruple therapy' is used instead — usually a PPI, bismuth, and two antibiotics — hitting the bug even harder. And after treatment, a test is often done to confirm the bacterium is truly gone.

Why it matters, and getting it right

The reason eradication is such a big deal is that it doesn't just heal the current ulcer — it removes the cause, so the ulcer doesn't come back. Compare that with simply taking a PPI: the acid suppression heals the ulcer, but as soon as you stop, the bacterium is still there and the ulcer can return. Kill the bug, and you cure the disease. This is why anyone found to have an ulcer is tested for H. pylori, and treated if positive. A few practical points make eradication succeed. Adherence matters enormously: it's several tablets a day for a week, and stopping early or missing doses is a common reason for failure and for breeding resistance — so patients are counselled to complete the full course. The antibiotics carry their usual issues from the antimicrobial chapter (for example, metronidazole means no alcohol, and the drugs can cause nausea or diarrhoea). And treatment is confirmed afterwards with a test to be sure the infection is truly cleared. The big idea to carry away is a satisfying one: some ulcers aren't a chronic acid problem to be managed forever, but an infection to be cured once — a triumph of realising that the stomach, too, can be colonised by bacteria.

Key points
  • Most peptic ulcers are caused by H. pylori infection — a Nobel-Prize discovery.
  • Eradicating it CURES the ulcer permanently, unlike acid suppression alone.
  • Triple therapy = a PPI + TWO antibiotics for ~1 week (e.g. amoxicillin + clarithromycin).
  • Two antibiotics prevent resistance; the PPI makes the antibiotics work better by reducing acid.
  • Complete the full course (adherence); quadruple (add bismuth) if resistance/failure; confirm cure with a test.
💡 CLINICAL PEARL

H. pylori treatment is where two chapters shake hands. From the acid side comes the PPI — but notice it's playing a double role here: it treats the ulcer AND creates a low-acid environment in which the antibiotics work better, raising the cure rate. From the antimicrobial side comes the choice of TWO antibiotics rather than one — the exact anti-resistance principle you met with tuberculosis and HIV, where combining drugs stops the organism escaping. So the eradication recipe isn't an arbitrary cocktail; every ingredient is there for a reason you already understand. And the deepest lesson is conceptual: it reframed the peptic ulcer from a lifelong 'acid disorder' to a curable infection. When a chronic disease suddenly becomes curable, it's often because someone found an infectious cause hiding underneath it.

⚠️ Common mistakes
  • Treating an H. pylori ulcer with acid suppression alone — it returns; you must eradicate the bug.
  • Using a single antibiotic — resistance is likely; use combination therapy.
  • Not completing the full course — incomplete treatment fails and breeds resistance.
  • Drinking alcohol with metronidazole in the regimen — disulfiram-like reaction.
🎓 Questions students ask
How can antibiotics cure a stomach ulcer?
Because most stomach ulcers are actually caused by an infection with a bacterium called H. pylori that lives in the stomach lining and weakens its defences. If you only suppress the acid, the ulcer heals but the bacterium is still there, so it tends to come back once you stop treatment. Antibiotics kill the bacterium itself, removing the underlying cause — so the ulcer heals and doesn't return. It was a revolutionary realisation that a condition long thought to be about acid and stress was, for many people, a curable infection.
Why does H. pylori treatment use two antibiotics plus an acid blocker?
Each part has a purpose. Two antibiotics are used rather than one because attacking the bacterium from two angles makes it far harder for it to develop resistance and escape — the same principle used in treating tuberculosis. The acid blocker (a PPI) does two jobs: it helps heal the ulcer, and by lowering stomach acid it creates a friendlier environment in which the antibiotics work more effectively, raising the chance of wiping out the infection. Together, taken for about a week, this combination clears H. pylori in most people and cures the ulcer.
Test yourself

Why does eradicating H. pylori cure an ulcer while a PPI alone doesn't?

🫁 In one breath
  • Most peptic ulcers are caused by H. pylori; eradicating it CURES the ulcer permanently.
  • Triple therapy: a PPI + two antibiotics for ~1 week; quadruple (add bismuth) if resistance/failure.
  • Two antibiotics prevent resistance; the PPI boosts their effect by lowering acid.
  • Complete the full course; confirm cure with a follow-up test.
📚 Sources
  • Katzung BG. Basic & Clinical Pharmacology — Drugs Used in Acid-Peptic Diseases (H. pylori therapy).
  • Brunton LL, et al. Goodman & Gilman's The Pharmacological Basis of Therapeutics — Treatment of H. pylori infection.
  • ACG / Maastricht — Guidelines on H. pylori management.
  • Whalen K. Lippincott Illustrated Reviews: Pharmacology — H. pylori eradication.

More in Acid & Peptic Disease →

Learn pharmacology and anatomy the fun way

Short lessons, interactive quizzes, a real 3D anatomy model, and a streak you'll actually keep.

Download on the App StoreGet it on Google Play