Doctors Note Logo

Published on: 9/15/2026

How did I get H. pylori and can I pass it to my family?

H. pylori usually spreads through saliva, vomit, or stool, meaning close contact like kissing, sharing utensils or drinks, and contaminated food or water are the most common routes, with many people first infected in childhood. Because it moves between household members so easily, family members, especially partners and children, can carry it too, and testing or treating everyone in the home is sometimes recommended. Crowded living conditions, limited access to clean water, and poor hand hygiene after using the bathroom all raise the risk of transmission. Several important factors affect who should be tested, how contagious you are during treatment, and which precautions actually help, so see below for the complete details before deciding what to do next.

If stomach pain, bloating, nausea, or burning after meals brought you here, guessing wastely delays relief, and untreated H. pylori can lead to ulcers or more serious complications, so take a free, instant, online symptom check to understand what your symptoms may mean and what step to take next.

Last reviewed for medical accuracy: 09/14/2026

answer background

Explanation

Understanding H. pylori: How You Got It and Can You Pass It to Your Family?

Helicobacter pylori (H. pylori) is a common bacteria that lives in the lining of the stomach. While many people carry this bug without knowing it, it can sometimes cause discomfort or more serious issues. Here’s an overview of how you might have picked up H. pylori, whether you can pass it on to loved ones, and what h pylori symptoms to watch for.


How Do People Get H. pylori?

H. pylori spreads primarily through oral and fecal routes. It thrives in environments where hygiene and sanitation are less controlled. Common ways of acquiring H. pylori include:

  • Contaminated Food or Water
    • Drinking untreated water with H. pylori bacteria
    • Eating food prepared with unclean hands or surfaces
  • Person-to-Person Contact
    • Oral–oral transmission (sharing utensils, cups, or toothbrushes)
    • Fecal–oral transmission (improper handwashing after using the bathroom)
  • Childhood Exposure
    • Infection often occurs in early childhood, especially in crowded or low-sanitation settings
    • Once picked up, it can persist for years if untreated

Even in clean households, a single lapse—like neglecting proper handwashing after changing a diaper—can be enough for H. pylori to move from one person to another.


Can You Pass H. pylori to Your Family?

Yes. Although not every exposure leads to infection, families often share similar hygiene habits and living spaces, which can facilitate spread. Factors that increase household transmission include:

  • Close Contact
    • Sharing eating utensils or drinking cups
    • Kissing or other oral contact
  • Shared Hygiene Items
    • Toothbrushes, towels, or washcloths
  • Crowded Living Conditions
    • Limited bathroom facilities
    • High person-to-bathroom ratio

Key point: Good habits go a long way. Simple measures can cut the chances of passing H. pylori between family members:

  • Wash hands thoroughly with soap and water before eating, after using the bathroom, and after changing diapers.
  • Use separate towels, toothbrushes, and eating utensils.
  • Clean kitchen counters and bathroom surfaces daily with an appropriate disinfectant.
  • Drink water from safe, treated sources.

Recognizing h pylori symptoms

Many people with H. pylori never develop noticeable issues. When symptoms do occur, they can range from mild discomfort to more alarming signs. Common h pylori symptoms include:

  • Upper abdominal pain or burning (especially when stomach is empty)
  • Bloating, belching, or gas
  • Nausea or occasional vomiting
  • Loss of appetite or unintended weight loss
  • Feeling full after eating small amounts
  • In some cases, dark or tar-colored stools (a sign of bleeding in the stomach)

Rarely, untreated H. pylori can lead to ulcers or increase the risk of stomach cancer. However, early detection and treatment usually clear the infection and alleviate symptoms.


Diagnosing H. pylori

If you suspect you have H. pylori—either due to persistent stomach discomfort or because a family member tested positive—talk to your doctor. They may recommend one or more of the following tests:

  • Breath Test
    You drink a solution containing a harmless labeled compound. If H. pylori is present, it breaks down the compound, releasing a measurable gas.
  • Stool Antigen Test
    Detects H. pylori proteins (antigens) in a stool sample.
  • Blood Antibody Test
    Looks for antibodies against H. pylori. (Less commonly used now due to lower accuracy in telling current from past infections.)
  • Endoscopy with Biopsy
    A thin tube with a camera examines the stomach lining and takes tissue samples. Usually reserved for more severe cases or if ulcers are suspected.

Treatment and Prevention

Once diagnosed, H. pylori is usually treated with a combination of medications over 10–14 days:

  • Antibiotics (two different types to reduce resistance risk)
  • Acid-reducing drugs (proton pump inhibitors or H2 blockers)
  • Bismuth subsalicylate (in some regimens)

Tips to support recovery and prevent reinfection:

  • Complete the full course of antibiotics—even if you feel better after a few days.
  • Avoid alcohol and nonsteroidal anti-inflammatory drugs (NSAIDs) during treatment.
  • Maintain the hygiene measures outlined above to protect family members.

When to Seek Medical Advice

If you experience any of the following, speak with a healthcare professional promptly:

  • Severe or worsening abdominal pain
  • Persistent vomiting, especially if it contains blood
  • Black, tar-like stools
  • Sudden weight loss or inability to eat

For a quick check of your symptoms, try a free, online symptom check, using the doctor approved Ubie Symptom Checker. This tool can help you decide whether to seek medical care right away.


Final Thoughts

H. pylori is common and often manageable, but it’s important to recognize how it spreads and what h pylori symptoms to look out for. Simple hygiene steps can reduce transmission risk within your home, and effective treatments are widely available.

Always consult a healthcare provider for tests or treatment decisions. If you notice symptoms that worry you, or anything that could be life-threatening or serious, please speak to a doctor without delay.

Your health matters—early action can bring relief and prevent complications.

(References)

  • * Axon AT. Helicobacter pylori infection. J Antimicrob Chemother. 1993 Jul;32 Suppl A:61-8. doi: 10.1093/jac/32.suppl_a.61. PMID: 8407699.

  • * Dunn BE, Cohen H, Blaser MJ. Helicobacter pylori. Clin Microbiol Rev. 1997 Oct;10(4):720-41. doi: 10.1128/CMR.10.4.720. PMID: 9336670; PMCID: PMC172942.

  • * Brown LM. Helicobacter pylori: epidemiology and routes of transmission. Epidemiol Rev. 2000;22(2):283-97. doi: 10.1093/oxfordjournals.epirev.a018040. PMID: 11218379.

  • * Burucoa C, Axon A. Epidemiology of Helicobacter pylori infection. Helicobacter. 2017 Sep;22 Suppl 1. doi: 10.1111/hel.12403. PMID: 28891138.

  • * Mladenova I, Durazzo M. Transmission of Helicobacter pylori. Minerva Gastroenterol Dietol. 2018 Sep;64(3):251-254. doi: 10.23736/S1121-421X.18.02480-7. Epub 2018 Feb 19. PMID: 29458239.

  • * Yang H, Hu B. Immunological Perspective: Helicobacter pylori Infection and Gastritis. Mediators Inflamm. 2022;2022:2944156. doi: 10.1155/2022/2944156. Epub 2022 Mar 8. PMID: 35300405; PMCID: PMC8923794.

  • * Duan M, Li Y, Liu J, Zhang W, Dong Y, Han Z, Wan M, Lin M, Lin B, Kong Q, Ding Y, Yang X, Zuo X, Li Y. Transmission routes and patterns of helicobacter pylori. Helicobacter. 2023 Feb;28(1):e12945. doi: 10.1111/hel.12945. Epub 2023 Jan 16. PMID: 36645421.

  • * Malfertheiner P, Camargo MC, El-Omar E, Liou JM, Peek R, Schulz C, Smith SI, Suerbaum S. Helicobacter pylori infection. Nat Rev Dis Primers. 2023 Apr 20;9(1):19. doi: 10.1038/s41572-023-00431-8. Epub 2023 Apr 20. PMID: 37081005; PMCID: PMC11558793.

  • * Yamaoka Y, Saruuljavkhlan B, Alfaray RI, Linz B. Pathogenomics of Helicobacter pylori. Curr Top Microbiol Immunol. 2023;444:117-155. doi: 10.1007/978-3-031-47331-9_5. PMID: 38231217.

  • * Gisbert JP. Helicobacter pylori and gastric disease. Med Clin (Barc). 2025 Jul;165(1):106974. doi: 10.1016/j.medcli.2025.106974. Epub 2025 May 22. PMID: 40409232.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.