For most of the twentieth century, doctors told ulcer patients the same thing: cut the stress, skip the spicy food, and live with it. That advice turned out to be wrong. In the early 1980s, two Australian researchers named Barry Marshall and Robin Warren found a spiral shaped bacterium living in inflamed stomach tissue, and almost nobody in medicine wanted to believe a germ could survive stomach acid, let alone cause an ulcer. The bacterium is Helicobacter pylori, H. pylori for short, and it turned out to be one of the most common chronic infections humans carry, quietly present in more than half the people on earth[1].
What H. pylori is
Your stomach holds acid strong enough to dissolve most anything that lands in it, which is exactly why almost no bacteria can survive there. H. pylori manages it anyway. It burrows into the mucus layer coating your stomach wall and releases an enzyme called urease, which neutralizes the acid immediately around it so the bacteria can settle in for years, sometimes decades.
Once it's established, your immune system reacts to the bacteria and stays irritated, a condition doctors call gastritis, ongoing redness and swelling of the stomach lining (see how an inflamed stomach lining differs from an ulcer). In some people, that irritation eventually wears a hole through the lining itself. That hole is an ulcer.
How it spreads
Most people pick up H. pylori as children, usually through close contact with family members, or through contaminated food and water. Once you're infected, it can stick around for decades without treatment. It also moves easily inside a household without anyone noticing, which is why doctors sometimes test everyone under one roof once a single person tests positive.
The discovery that changed medicine
Proving that a bacterium caused ulcers took more than a hunch. It took Marshall willing to risk his own stomach to make the case, and reviewers rejecting the idea before he finally got a hearing.
Why the diagnosis gets missed
Burning stomach pain gets blamed on coffee, spicy food, or a vague catchall like acid reflux long before anyone tests for a specific bacterium. Your symptoms might not look like anyone else's. Some people feel a gnawing pain a few hours after eating, others get bloating or nausea, and plenty of people feel almost nothing even with an active infection sitting in their stomach. Other stomach conditions, like gastroparesis, when your stomach empties too slowly, can produce overlapping symptoms and get missed in much the same way.
Standard checkups don't automatically screen for H. pylori. You can spend years cycling through antacids and diet changes without anyone checking for the actual cause underneath.
Getting tested the right way
If you've had persistent burning pain, unexplained nausea, or an ulcer diagnosis with no clear reason, ask your doctor specifically about H. pylori testing rather than assuming reflux medication alone will fix things. A breath test is the most common option: you drink a solution, wait a few minutes, then breathe into a bag so your doctor can check for a gas H. pylori produces. A stool test works about as well and is just as simple.
Blood tests can detect H. pylori too, but they often stay positive long after an infection has cleared, so they can't confirm whether you're currently infected. Before you book any of these tests, ask your doctor whether you should pause antacids or antibiotics first, since recent use of either can throw off your results.
What treatment involves
Unlike most chronic digestive complaints, an H. pylori infection can be cured outright, not just managed. Standard treatment combines two antibiotics with an acid reducing medication, usually for around two weeks[1]. In places where the bacteria has grown resistant to common antibiotics, doctors often add bismuth to the mix instead, a stomach soothing compound found in some over the counter upset stomach medicines. Clearing the infection also matters beyond the ulcer itself: it lowers your longer-term risk, covered in more detail in H. pylori and stomach cancer risk.
Expect a rough stretch: nausea and a metallic taste are common side effects during treatment. Finishing the entire course matters more than almost anything else here, because stopping early can let the toughest bacteria survive and come back harder to treat. Your doctor will retest you at least a month after treatment ends, and typically wants you off proton pump inhibitors for two weeks beforehand, since feeling better isn't the same as testing clear.
Living with the answer
Finding out an infection explains months or years of stomach pain can feel like a weight lifting. A vague, unmanageable problem suddenly has an endpoint you can act on. If burning stomach pain keeps coming back, you don't have to settle into a permanent routine of antacids.
Ask your doctor this week whether testing for H. pylori makes sense for you. Get emergency care right away if you notice sudden severe abdominal pain, vomiting blood, or stools that look black and tarry, since those can signal a bleeding ulcer that needs prompt attention.
What to do with this
Ask your doctor this week whether testing for H. pylori makes sense for you, especially if burning stomach pain, unexplained nausea, or an unexplained ulcer diagnosis has been part of your history.
This content is for educational purposes only and is not a substitute for professional medical advice.