Helicobacter pylori spreads primarily through person-to-person contact, most often within families during early childhood. Roughly half the world’s adult population carries this stomach bacterium, with most people picking it up before age 10. The infection travels through saliva, contaminated food or water, and contact with fecal matter, though no single route has been identified as the dominant one.
Person-to-Person Contact Is the Main Route
H. pylori lives in the stomach lining, but it also shows up in saliva, dental plaque, and the layer of bacteria that builds up below the gum line. The bacterium reaches the mouth after episodes of reflux or vomiting, and from there it can pass to another person through shared saliva. This is especially common between mothers and young children. A parent chewing food before giving it to a baby, sharing utensils, or kissing on the mouth can all transfer the bacterium.
The fecal-oral route matters too. If someone with H. pylori doesn’t wash their hands thoroughly after using the bathroom, they can contaminate surfaces, food, or water. In households where one person gets a stomach illness with vomiting, the risk of spreading H. pylori to other family members jumps dramatically. Research from the CDC found that exposure to an infected household member who had gastroenteritis was associated with a nearly fivefold increased risk of new infection, with vomiting posing a greater risk than diarrhea alone.
Why Most Infections Start in Childhood
H. pylori behaves like most gut infections: it’s picked up during childhood, when the immune system is still developing and close physical contact with caregivers is constant. Children under two are especially vulnerable. In one household study, the annual rate of new infection was 21% in children under two, compared to 7% overall. Once a child is infected, the bacterium typically persists for life unless treated with antibiotics.
This childhood window explains why infection rates climb with age in every population studied worldwide. It’s not that older adults are catching it later in life. It’s that they caught it decades ago and never cleared it. Reinfection after successful treatment is possible but uncommon in high-income countries, occurring in roughly 1 to 2% of treated adults per year.
Water, Food, and Environmental Sources
Contaminated water is a significant vehicle for H. pylori, particularly in regions without reliable water treatment. The bacterium survives inside biofilms, the thin slimy layers that coat the inside of water pipes. These biofilms act as a shield. Even chlorinated drinking water doesn’t fully eliminate H. pylori embedded in pipe biofilms. Lab research has shown the bacterium persisting inside these structures for at least 26 days despite chlorine exposure, remaining viable even when it can no longer be cultured using standard methods.
Food can also carry the bacterium, especially raw vegetables irrigated with untreated water or foods handled by someone who is infected. The exact contribution of food versus direct human contact is hard to pin down, but both play a role. In areas with modern sanitation, person-to-person spread within families is likely the dominant pathway. In areas without treated water or reliable sewage systems, environmental exposure adds a substantial layer of risk.
Household and Living Conditions
Living in close quarters with other people is one of the strongest predictors of H. pylori infection. A systematic review and meta-analysis published in Frontiers in Public Health found that household overcrowding was associated with a 38% higher odds of infection. This makes intuitive sense: more people sharing bathrooms, kitchens, utensils, and sleeping spaces means more opportunities for the bacterium to pass between them.
The pattern holds across income levels. People with lower education levels had up to 3.5 times higher odds of infection compared to those with the highest education, a gradient that likely reflects differences in housing density, sanitation access, and hygiene resources rather than education itself. Occupational instability, which often correlates with crowded or unstable housing, also showed a significant association. Water source, sanitation quality, and whether someone lives in a rural or urban area all push infection risk in the same direction.
How It Does Not Spread
H. pylori is not airborne. You won’t catch it from sitting next to someone on a bus or being in the same room as an infected person. It requires direct contact with contaminated saliva, vomit, stool, or water. Casual social contact outside the household carries very little risk. Pets are not considered a meaningful source of transmission to humans, though the bacterium has been detected in some animals.
Sexual transmission between adults is theoretically possible through oral contact, but the primary risk in adult partnerships appears to be the shared household environment rather than sexual activity specifically. Studies of married couples show that having an infected spouse does increase your risk, but the effect is much smaller than the risk a parent poses to a young child.
Who Is Most at Risk
Your risk of carrying H. pylori depends heavily on where and how you grew up. The global prevalence in adults is close to 49%, but that number masks enormous variation. In high-income countries with modern sanitation, infection rates have been declining for decades. In lower-income regions, especially parts of Africa, South America, and South Asia, the majority of children are infected before they start school.
The key risk factors cluster around early life conditions:
- Crowded housing in childhood, particularly sharing a bed or bedroom with multiple family members
- Untreated or poorly treated drinking water
- Having an infected parent or caregiver, especially the mother
- Limited access to sanitation, including shared or outdoor toilets
- Institutional childcare settings, such as daycare or orphanages, where young children are in close contact
If you grew up in a high-income country with good sanitation and weren’t exposed through an infected family member, your chances of carrying H. pylori are relatively low. If you grew up in crowded conditions without reliable clean water, your chances are high, and you likely acquired the infection before you were old enough to remember it.
Can You Prevent Transmission?
There is no vaccine for H. pylori. Prevention comes down to basic hygiene measures: handwashing with soap after using the bathroom and before handling food, drinking treated or boiled water in areas where water quality is uncertain, and avoiding sharing utensils or pre-chewing food for children. These steps reduce risk but can’t eliminate it entirely, given how easily the bacterium spreads in close family settings.
If you’ve been diagnosed and treated for H. pylori, reinfection is possible but uncommon in settings with good sanitation. The biggest reinfection risk comes from living with someone who still carries the bacterium and hasn’t been treated. In some cases, doctors will test and treat household members together to prevent the infection from bouncing back and forth within a family.