Skip to content
Font Size

H. pylori (Helicobacter pylori)

Treatments for H. Pylori

There a number of treatments for H. pylori infection. They include:

  • Antibiotics to kill the bacteria
  • Medications, including H2-blockers and proton pump inhibitors, to reduce the amount of stomach acid
  • Surgery to treat ulcers

Doctors used to advise people with ulcers not to eat spicy, fatty, or acidic foods. However, it is now known that diet has little if any effect on ulcers for most people. Smoking, on the other hand, can interfere with the healing of ulcers and has been linked to their recurrence. If you smoke and have ulcers, that is another reason to stop.

The appropriate treatment for you will depend on a number of factors, including:

  • Your age, health, and medical history
  • The severity of infection or stomach damage
  • Your ability to tolerate certain medications or treatments
  • Your treatment preference

As with most health conditions, the best treatment for H. pylori is prevention. Right now, there is no vaccine against H. pylori, and because doctors don't fully understand how the bacterium is spread, there are no guidelines for preventing it. However, it is always important to protect yourself from GI infections by washing your hands well and frequently, practicing safe food preparation and storage, and drinking water from a safe source.

WebMD Medical Reference

Reviewed by Andrew Seibert, MD on June 16, 2012

Today on WebMD

man holding his stomach
Get the facts on common problems.
blueberries in a palm
Best and worst foods.
woman shopping
Learn what foods to avoid.
fresh and dried plums
Will it help constipation?
top foods for probiotics
couple eating at cafe
sick child
Woman blowing bubble gum

Send yourself a link to download the app.

Loading ...

Please wait...

This feature is temporarily unavailable. Please try again later.


Now check your email account on your mobile phone to download your new app.

Woman with crohns in pain
Woman with stomach pain
diet for diverticulitis
what causes diarrhea