What Is H. Pylori? Symptoms, Causes, Diagnosis, Treatment, and Prevention
Helicobacter pylori (H. pylori) is a type of bacteria that can cause an infection in your stomach.
If you develop an H. pylori infection, you may not have any signs or symptoms. But it can lead to peptic ulcers, gastritis, and even certain types of stomach cancer.
Up until the discovery of H. pylori in 1982 (for which the scientists responsible were awarded the Nobel Prize), it was assumed peptic ulcers were caused by stress and spicy foods. It is now understood that H. pylori bacteria cause up to 80 percent of gastric ulcers.
Signs and Symptoms of H. Pylori
- Nausea
- Stomachache or burning in the stomach
- Abdominal pain that’s worse when your stomach is empty
- Burping
- Loss of appetite
- Bloating
- Weight loss
Causes and Risk Factors of H. Pylori
Doctors aren’t exactly sure how H. pylori infection is passed from person to person. Research shows that you can become infected with the bacteria by consuming contaminated food or water. H. pylori may also spread through contact with an infected person’s saliva, vomit, or fecal matter.
- Sharing a crowded living space
- Living in a developing country
- Not having access to clean water
- Living with someone who has H. pylori
How Is H. Pylori Diagnosed?
It’s a good idea to visit your doctor any time you have unusual stomach pains or complaints, especially if they are persistent or recurrent.
See a healthcare provider right away if you experience the following symptoms:
- Severe stomach or other abdominal pain
- Stomach or abdominal pain that doesn’t go away
- Difficulty swallowing
- Bloody, black, or tarry stools
- Vomit that’s bloody or looks like coffee grounds
First, your doctor will probably perform a physical exam and ask about your medical history. Then they might recommend one or more of these tests to identify the bacteria.
Stool Test
Breath Test
Breath tests are also considered highly accurate, and a 2021 review recommended breath tests and stool tests as the best noninvasive H. pylori tests. However, they are often difficult to perform on young kids, and you can’t take certain medicines, such as proton pump inhibitors, antibiotics, or Pepto-Bismol (bismuth subsalicylate), for a week or two prior to having the test because they affect the test’s accuracy.
Upper Endoscopy
During an upper endoscopy, your doctor will first give you a light sedative, then thread a long tube with a tiny camera on the end down your throat, past your esophagus, and into your stomach. This will allow your physician to see inside your digestive track and remove small pieces of tissue (known as biopsy samples) if necessary.
Blood Test
Should You Get Screened for H. Pylori?
In places where the risk of getting H. pylori is high, doctors test healthy people for the bacteria even if they have no signs or symptoms, which is known as medical screening. But there’s a debate in the medical community over whether this degree of screening is beneficial.
Prognosis of H. Pylori
Many people with H. pylori don’t experience any symptoms of the illness and never even know they have the infection.
If you do have symptoms or develop complications, treatment is usually successful. H. pylori infection can often be cured with treatment consisting of antibiotics and acid-reducing medications.
Duration of H. Pylori
Treatment and Medication Options for H. Pylori
If you have an H. pylori infection but don’t have any bothersome symptoms or develop an ulcer, you might not need to take any medications.
Medication Options
Antibiotics
Usually, you’ll need two or more antibiotics at once to treat the infection. This helps prevent the bacteria from becoming resistant to one drug.
Some antibiotics are commonly prescribed for H. pylori:
- amoxicillin (Amoxil)
- metronidazole (Flagyl)
- clarithromycin (Biaxin)
- rifabutin (Mycobutin)
- tetracycline (Achromycin)
Acid-Reducing Drugs
While these medications will not eradicate H. Pylori, they may reduce the amount of acid in your stomach and the symptoms of acid reflux in H. Pylori patients:
- Proton pump inhibitors work by blocking the production of stomach acid. They include omeprazole (Prilosec), esomeprazole (Nexium), lansoprazole (Prevacid), and pantoprazole (Protonix).
- Histamine (H2) blockers target a substance in your body called histamine, which can trigger stomach acid production — famotidine (Pepcid) and ranitidine (Zantac) are two commonly used H2 blockers.
- Better known as Pepto-Bismol, bismuth subsalicylate works by coating stomach ulcers, which protects them from acid.
Alternative and Complementary Therapies
There are some foods or supplements with antibacterial or antiviral properties that have been investigated for improving H. pylori infections or the ulcers that can sometimes result. These include garlic, honey, broccoli, green tea, and red wine.
It’s recommended that any alternative therapy be discussed with your doctor and should only be used along with traditional H. pylori eradication medication.
At-Home Care
You can help relieve stomach pain and other symptoms of H. pylori infection by following a consistent meal schedule that doesn’t require your stomach to be empty for too long. That may mean you’ll have to eat five or six small meals each day rather than three moderate to large meals.
- Avoid spicy or greasy foods
- Avoid caffeinated drinks such as coffee, tea, or soda if they bother your stomach
- Limit alcohol intake
- Practice good hand-washing hygiene
Follow-Up Doctor’s Visits
After you’ve been treated for H. pylori, your doctor might suggest that you get tested again for the infection four weeks later. If you still have the infection, you may need to take another round of treatment with different antibiotics.
Prevention of H. Pylori
There’s currently no vaccine to protect against H. pylori infection. Researchers aren’t sure exactly what causes the infection or how it spreads, so there aren’t standard prevention guidelines.
- Wash your hands frequently and thoroughly
- Drink water from a safe and trusted source
- Don’t eat contaminated food
Complications of H. Pylori
H. pylori can lead to complications, including ulcers, gastritis, and stomach cancer.
Ulcers
Ulcers themselves can lead to serious complications as well:
- Internal Bleeding This happens when stomach acid or an ulcer tears into a blood vessel.
- Obstruction An ulcer can block food from leaving your stomach.
- Perforation An ulcer can grow deep and break through the stomach or intestinal wall.
- Peritonitis Inflammation of the peritoneum (the lining of the abdominal cavity) can happen when infection or inflammation develops as a result of an ulcer.
Gastritis
Gastritis is inflammation of the lining of your stomach. People with H. pylori are at an increased risk of having this condition.
Stomach Cancer
Research and Statistics: Who Has H. Pylori?
Black and Hispanic Communities and H. Pylori
Related Conditions of H. Pylori
Resources We Love
The Mayo Clinic’s website provides comprehensive, up-to-date medical info. Its coverage of H. pylori infections — from symptoms and treatment to what questions to ask your doctor — is thoroughly accessible and helpful.
This site, from the American Academy of Family Physicians, has a wealth of educational materials and medical info for adults and kids, including a page on ulcers caused by H. pylori.
MedlinePlus is a service of the National Library of Medicine, the world’s largest medical library, and part of the National Institutes of Health. With health and wellness information in both English and Spanish, it’s a trusted source on a variety of conditions, including H. pylori infections.
Additional reporting by Becky Upham.
Editorial Sources and Fact-Checking
- Nobel Prize for H. Pylori Discovery. GI Society. November-December 2005.
- Helicobacter Pylori (H. Pylori) Infection: Symptoms and Causes. Mayo Clinic. May 5, 2022.
- Helicobacter Pylori Infections. MedlinePlus. May 5, 2021.
- Helicobacter Pylori (H. Pylori) Tests. MedlinePlus. March 3, 2021.
- Elwyn G, Taubert M, Davies S, et al. Which Test Is Best for Helicobacter Pylori? A Cost-Effectiveness Model Using Decision Analysis. British Journal of General Practice. May 1, 2007.
- Dore MP, Pes GM. What Is New in Helicobacter Pylori Diagnosis. An Overview. Journal of Clinical Medicine. May 13, 2021.
- Helicobacter Pylori (H. Pylori) Infection: Diagnosis and Treatment. Mayo Clinic. May 5, 2022.
- Peptic Ulcer. Atrium Health: Wake Forest Baptist Health.
- Abadi ATB, Ieradi E, Lee YY. Why Do We Still Have Helicobacter Pylori in Our Stomachs. The Malaysian Journal of Medical Science. September 2015.
- Helicobacter Pylori Infection. Merck Manual. September 2022.
- Ayala G, Escobedo-Hinojosa WI, de la Cruz-Herrera CF, Romero I. Exploring Alternative Treatments for Helicobacter Pylori Infection [PDF]. World Journal of Gastroenterology. February 14, 2014.
- H. Pylori Bacterial Infection: Care Instructions. Kaiser Permanente. October 31, 2022.
- Definition and Facts for Peptic Ulcers (Stomach or Duodenal Ulcers). National Institute of Diabetes and Digestive and Kidney Diseases. September 2022.
- Helicobacter Pylori and Cancer. National Cancer Institute. September 5, 2013.
- Trindade LMDF, de Oliveira Menezes LB, de Souza Neta AM, et al. Prevalence of Helicobacter Pylori Infection in Samples of Gastric Biopsies. Gastroenterology Research. February 2017.
- Chey WD, Leontiadis G, Howden C, Moss S. ACG Clinical Guideline: Treatment of Helicobacter Pylori Infection. American Journal of Gastroenterology. February 2017.
- Florea A, Brown HE, Harris RB, Oren E. Ethnic Disparities in Gastric Cancer Presentation and Screening Practice in the United States: Analysis of 1997–2010 Surveillance, Epidemiology, and End Results-Medicare Data. Cancer Epidemiology, Biomarkers & Prevention. April 1, 2019.
- H. Pylori Gastritis. The Ohio State University Wexner Medical Center.
- Bacteria That Can Lead to Cancer. American Cancer Society. July 11, 2016.
- Lazaridou E, Korfitis C, Kemanetzi C, et al. Rosacea and Helicobacter Pylori: Links and Risks. Clinical, Cosmetic, and Investigational Dermatology. August 10, 2017.
- Yang X. Relationship Between Helicobacter Pylori and Rosacea: Review and Discussion. BMC Infectious Diseases. July 11, 2018.