H. pylori spreads from person to person, primarily through contact with an infected person’s vomit, stool, or saliva. Roughly 44% of adults worldwide carry the bacterium, making it one of the most common chronic infections on the planet. Most people pick it up during childhood, often from a family member, and carry it for years without knowing.
The Main Routes of Transmission
There are three recognized pathways for H. pylori to pass between people: fecal-oral, oral-oral, and gastric-oral. In plain terms, the bacterium leaves one person’s body through stool, saliva, or vomit and enters another person’s mouth. This can happen through direct contact, contaminated hands, or shared surfaces.
Vomiting turns out to be the single biggest driver. A CDC-supported household study found that exposure to vomit from an infected person accounted for more than 70% of confirmed new infections. Living with someone who had a stomach bug and was vomiting raised the risk of catching H. pylori by more than six times. Diarrhea carried some risk too, but far less. This makes sense biologically: H. pylori lives in the stomach lining, and vomiting expels stomach contents (and the bacteria) into the environment, where others can inhale aerosolized droplets or touch contaminated surfaces.
Oral-oral transmission, through saliva, is also supported by evidence. Sharing utensils, cups, or food with an infected person could transfer the bacterium. In some cultures, parents pre-chew food for young children, which is a plausible route.
Contaminated Water and Food
H. pylori can also spread through untreated water and contaminated food. In areas where water sanitation is unreliable, infection rates are significantly higher. The bacterium survives in water long enough to reach a new host, and food prepared with contaminated water or handled by an infected person with unwashed hands can carry it forward. This is a major reason infection rates are higher in developing countries, where clean water and sanitation infrastructure are less accessible.
Why Households Are Hotspots
H. pylori clusters within families. Crowded living conditions, shared bathrooms, and close daily contact all increase opportunities for transmission. In the CDC household study, 75% of new infections could be traced back to exposure to a sick household member. Children living with infected parents or siblings are especially vulnerable because they share spaces, food, and physical contact more frequently.
This intrafamilial pattern also explains why infection tends to track across generations. An infected parent can pass the bacterium to a child, who then carries it into adulthood, potentially passing it to their own children later.
Most Infections Begin in Childhood
The majority of H. pylori infections are acquired during childhood, though the exact age varies by region and living conditions. About 35% of children and adolescents worldwide test positive for the bacterium. In high-prevalence areas, most children are infected before age 10. Once acquired, the infection persists indefinitely unless treated with antibiotics. Adults can still catch it, but the window of highest risk is early life, when hygiene habits are developing and close physical contact with caregivers is constant.
How the Bacterium Survives Your Stomach
The stomach is one of the harshest environments in the body, with acid strong enough to dissolve metal. H. pylori has a remarkable workaround. It produces an enzyme that breaks down urea (a natural compound in the stomach) into ammonia, which neutralizes the acid in a thin layer around the bacterium. This creates a small pocket of near-neutral pH that protects it from destruction.
That trick does double duty. The stomach lining is coated with a thick mucus gel that acts as a barrier. At the stomach’s normal acidic pH, this mucus is thick and difficult to penetrate. But when H. pylori raises the local pH with ammonia, the mucus transitions from a stiff gel into a more liquid state. The bacterium can then swim freely through it and burrow into the stomach lining, where it sets up a long-term infection. Without this ability, the bacterium would be trapped and immobile in the mucus.
Can Pets Spread H. pylori?
Dogs and cats carry their own Helicobacter species, and there is some evidence these strains can infect humans. A few case reports have documented genetically identical Helicobacter strains in a pet and its owner. However, the species that commonly colonize dogs and cats are typically different from the H. pylori strain responsible for most human infections. Some studies have found higher infection rates in pet owners, while others have not. The zoonotic risk remains uncertain, but basic hygiene after handling pets, especially washing hands before eating, is a reasonable precaution.
Reducing Your Risk
There is no vaccine for H. pylori. Prevention comes down to hygiene and sanitation. Washing your hands thoroughly before eating and after using the bathroom is the most practical step. If you prepare food for others, handwashing before cooking is critical, since food handlers with unwashed hands are a recognized transmission route.
Drinking treated or boiled water in areas where water safety is questionable reduces exposure. If someone in your household is vomiting, cleaning contaminated surfaces promptly and avoiding direct contact with vomit lowers the risk substantially, given how dominant that route is in household spread.
If you have chronic stomach symptoms like persistent pain, bloating, or nausea, testing for H. pylori is straightforward (breath test, stool test, or blood test). Treating an active infection not only resolves your own symptoms but also reduces the chance of spreading the bacterium to family members, particularly young children in the home.