Everything You Need to Know About H. Pylori Infection

Helicobacter pylori (H. pylori) is a corkscrew-shaped bacterium that infects the stomach. The bacterial infection can easily be passed from person to person. It is thought to affect around one-third of the U.S. population, most of whom are asymptomatic (without symptoms).

For some, H. pylori can cause symptoms of gastritis (stomach inflammation), including stomach pain, heartburn, and indigestion. H. pylori is also the primary cause of peptic ulcers and a contributing factor to stomach cancer.

While the infection can be cleared with a combination of antibiotic drugs, H. pylori is prone to antibiotic resistance and may require several attempts before all the bacteria are fully cleared.

Symptoms of H. Pylori Gastritis

Photo composite by Michela Buttignol for Verywell Health; Getty Images

How Is H. Pylori Transmitted?

H. pylori is one of the most transmittable types of bacteria, affecting up to two-thirds of the world's population. It's most common in developing countries where public sanitation is poor. Most infections occur during childhood, although some can develop well into adulthood.

H. pylori is easily passed through direct or indirect contact with saliva, feces, or dental plaque. Possible routes of transmission include:

  • Kissing
  • Sharing food
  • Passing chewed food to a baby
  • Sharing a toothbrush, dental pick, or water flosser
  • Shaking someone's hand or touching a contaminated surface and then touching your mouth
  • Consuming food prepared by soiled hands
  • Drinking public or natural water contaminated with stool
  • Sexual contact like "rimming" (oral-anal sex)

H. pylori has unique features that increase its contagiousness. These include its corkscrew shape, allowing the bacterium to burrow into the stomach lining. It also secretes a substance called adhesin that locks it firmly into place.

Start of Symptoms

H. pylori stays with you for a lifetime until you clear the infection with antibiotics. Even so, around 80% of people with H. pylori will be entirely asymptomatic and never realize they've been infected.

Studies suggest that around 18% of people with H. pylori will experience gastritis symptoms. The condition tends to be chronic (persistent) with episodic bouts of acute (sudden, severe) symptoms.

Symptoms of H. pylori gastritis include:

Nausea

Complications

Peptic Ulcer Disease

Peptic ulcer disease (PUD) is when open sores develop in the stomach lining and duodenum (the first part of the small intestine). H. pylori is the most common cause of PUD.

H. pylori causes PUD by triggering inflammation in the stomach lining. In response, the stomach releases a hormone called gastrin that helps repair tissues and stimulates hydrochloric acid secretion (HCA). Long-term exposure to excessive HCA can lead to tissue deterioration and the formation of painful, bleeding ulcers.

Among people with chronic H. pylori, between 10% and 20% will develop PUD. People with the cagA gene have an 18-fold increased risk of PUD when they have an H. pylori infection.

The symptoms of PUD are similar to chronic gastritis but may also involve:

  • Blood-streaked vomit or coffee ground-like vomit
  • Radiating back pain
  • Stool that is dark red, black or tarry, or streaked with blood
  • Symptoms of anemia caused by blood loss (including fatigue, light-headedness, shortness of breath with exercise, and pale skin color)

Gastric Cancer

Gastric (stomach) cancer is rare and accounts for less than 2% of all cancers and cancer deaths in the United States. H. pylori is today categorized as a class 1 carcinogen (along with things like cigarette smoke and processed meat).

H. pylori is thought to contribute to 89% of these cancers, including gastric adenocarcinoma (the main form of stomach cancer) and nearly all cases of gastric MALT lymphoma (a rare type of non-Hodgkin lymphoma).

Among people with H. pylori, those who develop stomach ulcers are 3 times more likely to get gastric cancer than those without. By contrast, duodenal ulcers (which develop in the first section of the small intestine) are not associated with gastric cancer. How H. pylori causes gastric cancer is still unknown.

Symptoms of gastric cancer mirror those of PUD but may also include:

  • Swelling or fluid build-up in the abdomen (ascites)
  • Unexplained weight loss
  • Yellowing of the skin and whites of the eyes (jaundice)

Research found that eradicating H. pylori with antibiotics reduces the risk of gastric cancer by nearly 50%.

What Makes Symptoms Last Longer?

Stress

Psychological stress is known to independently increase the risk of acute gastritis in people with H. pylori. Stress may also contribute to chronic gastritis and the risk of peptic ulcer disease.

Nonsteroidal Anti-Inflammatory Drugs (NSAIDs)

Taking NSAIDs like aspirin, Advil or Motrin (ibuprofen), or Aleve (naproxen) independently increases the risk of peptic ulcers by fourfold. If used in people with H. pylori, the risk increases to over sixfold.

Smoking

Tobacco smoke can cause the thinning (atrophy) of the stomach lining, complicating gastritis and causing precancerous changes in cells. It also increases the risk of antibiotic failure by decreasing blood flow (and distribution of antibiotics) to the stomach.

Alcohol

While alcohol does not increase the risk of H. pylori (in fact, it seems to reduce it), it can damage the lining of the stomach and make gastritis symptoms worse. As with smoking, alcohol overuse can also increase the risk of antibiotic failure in people with H. pylori.

Certain Foods

Foods known to aggravate gastritis in people with H. pylori include:

  • Acidic fruits, such as pineapple
  • Carbonated sodas
  • Coffee
  • Fatty meats
  • Fried foods
  • Garlic
  • Mustard
  • Processed meats
  • Spicy foods

Do Antibiotics Clear the Infection?

H. pylori can be challenging to treat due to high rates of antibiotic resistance. The overuse of antibiotics worldwide, particularly among people who are undertreated or fail to complete treatment, has led to the emergence of drug-resistant H. pylori strains.

H. pylori treatment, described as eradication therapy, involves a combination of antibiotics that best clear most major strains of the bacterium. These antibiotics are accompanied by other drugs that reduce stomach acid and prevent H. pylori from sticking to the stomach lining.

Experts recommend a 14-day course of optimized bismuth-based quadruple therapy (BQT) for the first-line treatment of adults with H. pylori infection,

The 14-day protocol involves:

  • Tetracycline 500 milligrams (mg) taken by mouth four times daily
  • Metronidazole 500 mg taken by mouth three or four times daily
  • Bismuth subsalicylate 240 mg or bismuth subcitrate 300 mg or taken by mouth four times daily
  • A proton pump inhibitor (PPI) like esomeprazole 20 mg or lansoprazole 30 mg taken by mouth twice daily

The doses should be spaced equally over 24 hours to ensure the drugs remain at a constant therapeutic level in your blood. The medications are typically taken on an empty stomach before meals to improve absorption.

If the first-line treatment fails, other eradication protocols involving antibiotics like amoxicillin, clarithromycin, and rifabutin will be used.

Secondary Treatment for Severe Infection

Treatment of Ulcers

Smaller stomach ulcers may heal on their own or with the aid of proton pump inhibitors (PPIs) used for eradication therapy. PPIs like Nexium (esomeprazole) or Prevacid (lansoprazole) work by blocking an enzyme that stimulates acid production.

Severe ulcers may require more invasive endoscopic procedures performed under general anesthesia or with monitored anesthesia care (MAC). The procedure may involve lasers or electrocautery (uses an electric current) to stop the bleeding with heat or an injection of epinephrine to shrink local blood vessels.

In people with a history of peptic ulcers, NSAIDs should be avoided and replaced with medications like Tylenol (acetaminophen) that are less likely to promote gastric bleeding.

Periodontal Therapy

Periodontal therapy, involving the removal of dental plaque and calculus (tartar) from your teeth, has been proposed to improve cure rates for H. pylori.

It is well known that dental plaque is a reservoir for H. pylori. Some studies suggest that these reservoirs may resist oral antibiotics and can cause reinfection after treatment is completed.

Research seems to support the practice, suggesting that professional dental cleaning before eradication therapy may reduce the risk of reinfection by more than one-third.

Probiotics

One of the common reasons for the early discontinuation of eradication therapy is severe diarrhea caused by a bacteria known as Clostridioides difficile (C. difficile).

C. difficile is naturally found in the intestine but is well-controlled by other bacteria in the intestinal flora. When taking antibiotics, many of these "good" bacteria are killed, allowing C. difficile to overgrow. When this happens, the ensuing infection can cause severe diarrhea, fever, nausea, and stomach pain.

A probiotic supplement known as Saccharomyces boulardii has been shown to decrease the risk of diarrhea during eradication therapy by helping repopulate the intestinal flora. Some studies even suggest that it may improve cure rates.

Healing and Recovery  

One study showed that a 14-day course of BQT use for first-line therapy cleared the infection in 97% of cases.

Common side effects include weakness, diarrhea, constipation, loss of appetite, stomach pain, heartburn, a metallic taste in the mouth, a dry or sore mouth, and a dark tongue or stool (due to staining from bismuth). Most side effects are manageable, with only around 2% of users discontinuing treatment due to intolerance.

To better cope with H. pylori treatment and reduce the risk of side effects, here are some things you should do:

  • Avoid coffee, alcohol, and spicy, fatty, or acidic foods, which can cause stomach irritation and diarrhea.
  • Avoid NSAIDs and switch to Tylenol instead for pain.
  • Call your healthcare provider if side effects are severe and before stopping medications.
  • Eat smaller meals instead of three big meals if you are experiencing heartburn or stomach pain.
  • Stop smoking, which promotes bleeding and may also reduce the efficacy of treatment. If you cannot stop, speak with your provider about smoking cessation aids.
  • Take your medications as prescribed and to completion. Inconsistent dosing or early discontinuation can increase the risk of treatment failure and antibiotic resistance.

Hygiene and Contamination Prevention

As common as H. pylori is, there are a few simple ways to reduce your risk of exposure or prevent the spread of infections to others:

  • Avoid pre-chewing food for children.
  • Avoid sharing toothbrushes or other oral appliances.
  • Clean kitchen surfaces before food preparation and eating.
  • Keep bathroom surfaces clean, wearing gloves when cleaning the toilet.
  • Teach your children how to avoid hand-to-mouth behaviors.
  • Wash your hands for at least 20 seconds with soap and water before eating, after going to the bathroom, or whenever they are dirty.
  • When traveling to parts of the world where public sanitation is poor, only drink bottled water, avoid uncooked foods in restaurants, and wash all raw fruits and vegetables with clean water before peeling and eating.

Summary

Helicobacter pylori (H. pylori) is a highly transmittable bacterium that can be passed by direct or indirect contact with saliva or stool. Most people with H. pylori have no symptoms, but those who do may experience chronic stomach pain, heartburn, bloating, and, in severe cases, stomach ulcers.

H. pylori is associated with an increased risk of peptic ulcer disease and gastric cancer. Quadruple therapy involving two antibiotics, one proton pump inhibitor (PPI), and a drug called bismuth can often clear the infection if taken as prescribed.

38 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Shah S, Cappell K, Sedgley R, et al. Diagnosis and treatment patterns among patients with newly diagnosed Helicobacter pylori infection in the United States 2016–2019Sci Rep. 2023;13:1375. doi:10.1038/s41598-023-28200-3

  2. University of California San Francisco. Helicobacter pylori infection.

  3. Centers for Disease Control and Prevention. Helicobacter pylori.

  4. Nguyen J, Kotilea K, Bontems P, Meindje Deyi VY. Helicobacter pylori Infections in children. Antibiotics (Basel). 2023;12(9):1440. doi:10.3390/antibiotics12091440

  5. Anand PS, Kamath KP, Anil S. Role of dental plaque, saliva and periodontal disease in Helicobacter pylori infection. World J . Gastroenterol. 2014;20(19):5639–5653. doi:10.3748/wjg.v20.i19.5639

  6. Baj J, Forma A, Sitarz M, Portincasa P, et al. Helicobacter pylori virulence factors-mechanisms of bacterial pathogenicity in the gastric microenvironment. Cells. 2020;10(1):27. doi:10.3390/cells10010027

  7. Debowski AW, Walton SM, Chua EG, et al. Helicobacter pylori gene silencing in vivo demonstrates urease is essential for chronic infection. PLoS Pathog. 2017;13(6):e1006464. doi:10.1371/journal.ppat.1006464

  8. Shiota S, Thrift AP, Green L, et al. Clinical manifestations of Helicobacter pylori–negative gastritis. Clin Gastroenterol Hepatol. 2017;15(7):1037-1046.e3. doi:10.1016/j.cgh.2017.01.006

  9. National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & causes of gastritis & gastropathy.

  10. Malfertheiner P, Camargo MC, El-Omar E, et al. Helicobacter pylori infectionNat Rev Dis Primer, 2023:9:19: doi:h10.1038/s41572-023-00431-8

  11. Ahmed S, Belahyneh YM. Helicobacter pylori and duodenal ulcer: systematic review of controversies in causation. Clin Exp Gastroenterol. 2019;12:441–447. doi:10.2147/CEG.S228203

  12. American College of Gastroenterology. Peptic ulcer disease overview.

  13. National Cancer Institute. Cancer fast stats: stomach cancer.

  14. Shin WS, Xie F, Chen B, et al. Exploring the microbiome in gastric cancer: assessing potential implications and contextualizing microorganisms beyond H. pylori and Epstein-Barr virus. Cancers (Basel). 2023;15(20):4993. doi:10.3390/cancers15204993

  15. Paragomi P, Dabo B, Pelucchi C, et al. The association between peptic ulcer disease and gastric cancer: results from the Stomach Cancer Pooling (StoP) Project Consortium. Cancers (Basel). 2022 Oct 7;14(19):4905. doi:10.3390/cancers14194905

  16. American Cancer Society. Signs and symptoms of stomach cancer.

  17. Ford AC, Yuan Y, Forman D, Hunt R, Moayyedi P. Helicobacter pylori eradication for the prevention of gastric neoplasia. Cochrane Database Syst Rev. 2020 Jul 6;7(7):CD005583. doi:10.1002/14651858.CD005583.pub3

  18. Levenstein S, Rosenstock S, Jacobsen RK, Jorgensen T. Psychological stress increases risk for peptic ylcer, regardless of Helicobacter pylori infection or use of nonsteroidal anti-inflammatory drugs. Clin Gastroenterol Hepatol. 2015;13(3):498-506.e3. doi:10.1016/j.cgh.2014.07.052

  19. Budzynski J, Klopocka M. Brain-gut axis in the pathogenesis of Helicobacter pylori infection. World J Gastroenterol. 2014;20(18):5212–5225. doi:10.3748/wjg.v20.i18.5212

  20. Sostres C, Gargalio CJ, Lanas A. Interaction between Helicobacter pylori infection, nonsteroidal anti-inflammatory drugs and/or low-dose aspirin use: old question new insights. World J Gastroenterol. 2014;20(28):9439–9450. doi:10.3748/wjg.v20.i28.9439

  21. Salama R, Emara MW, Sharawy. Hazarders of smoking and Helicobacter pylori Infection on gastric mucosa among Egyptian patients with dyspepsia. Open J Gastroenterol. 2021;11:1-15. doi:10.4236/OJGAS.2021.111001

  22. Yu J, Yang P, Qin X, Li C, Lv Y, Wang X. Impact of smoking on the eradication of Helicobacter pylori. Helicobacter. 2022;27(1):e12860. doi:10.1111/hel.12860

  23. Du P, Zheng C, Wang A, Ma Z, Shen S, Li X. Association of alcohol drinking and Helicobacter pylori infection: a meta-analysis. J Clin Gastroenterol. 2023;57(3):269-277. doi:10.1097/MCG.0000000000001638

  24. Kim J, Chun S, Ohk SO, et al. Amelioration of alcohol-induced gastric mucosa damage by oral administration of food-polydeoxyribonucleotides. Mol Med Rep. 2021;24(5):790. doi:10.3892/mmr.2021.12430

  25. Yu J, Lv Y, Yang P, et al. Alcohol increases treatment failure for Helicobacter pylori eradication in Asian populationsBMC Gastroenterol. 2023;23:365. doi:10.1186/s12876-023-03002-z

  26. University of Central Florida Health. H. pylori diet: the best foods to eat and avoid.

  27. Boyanova L, Hadzhiyski P, Gergova R, Markovska R. Evolution of Helicobacter pylori resistance to antibiotics: a topic of increasing concern. Antibiotics (Basel). 2023;12(2):332. doi:10.3390/antibiotics12020332

  28. American College of Gastroenterology. ACG guideline on treatment of Helicobacter pylori: new recommendations… will practice change?

  29. Strand DS, Kim D, Peura DA. 25 years of proton pump inhibitors: a comprehensive reviewGut Liver. 2017;11(1):27-37. doi:10.5009/gnl15502

  30. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for peptic ulcers (stomach or duodenal ulcers).

  31. Ren Q, Yan X, Zhou YN, Li WX. Periodontal therapy as adjunctive treatment for gastric Helicobacter pylori infection. Cochrane Database Syst Rev. 2016;2016(2):CD009477. doi:10.1002/14651858.CD009477.pub2

  32. Zhang Y, Lu B, Dong Y, et al. Saccharomyces boulardii combined with triple therapy alter the microbiota in the eradication of Helicobacter pylori infectionSci Rep. 2024:14:13152. doi:10.1038/s41598-024-63894-z

  33. Czepiel J, Dróżdż M, Pituch H, et al. Clostridium difficile infection: reviewEur J Clin Microbiol Infect Dis. 2019;38(7):1211-1221. doi:10.1007/s10096-019-03539-6

  34. Yan EH, Chen WY, Chiang HC, et al. 10-day versus 14-day bismuth quadruple therapy for first-line eradication of Helicobacter pylori infection: a randomised, open-label, non-inferiority trial. Lancet eClinicalMedicine. 2024:70:102529. doi:10.1016/j.eclinm.2024.102529

  35. MedlinePlus. Bismuth, metronidazole, and tetracycline.

  36. Hwang JJ, Lee DH, Lee AR, et al. Fourteen- vs seven-day bismuth-based quadruple therapy for second-line Helicobacter pylori eradication. World J Gastroenterol. 2015;21(26):8132–8139. doi:10.3748/wjg.v21.i26.8132

  37. Alberta Health Services (Canada). H. pylori bacterial infection: care instructions.

  38. Han YM, Park JM, Jeong M, et al. Dietary, non-microbial intervention to prevent Helicobacter pylori-associated gastric diseases. Ann Transl Med. 2015;3(9):122. doi:10.3978/j.issn.2305-5839.2015.03.50

By James Myhre & Dennis Sifris, MD
Dr. Sifris is an HIV specialist and Medical Director of LifeSense Disease Management. Myhre is a journalist and HIV educator.