How People Catch H. pylori (And Whether You Can Give It to Family)
SaveWhether H. pylori is 'catching' the way a cold is isn't a simple yes or no. This explainer covers what's actually known about how it spreads, why it clusters in some households, what a positive test in one family member means for everyone else, when symptoms are worth getting checked, and what happens once it's confirmed.
Last updated: July 2026
Is H. pylori actually contagious?
In a meaningful sense, yes — H. pylori is generally believed to pass from person to person, most plausibly through close contact or contaminated food or water, rather than developing spontaneously in the stomach. But the exact mechanism isn't as precisely mapped as it is for something like a cold virus, and that honest uncertainty is worth naming rather than papering over with false specificity.
That uncertainty doesn't make the question unanswerable, just less tidy than a soundbite. The stomach and saliva of an infected person are generally treated as the plausible sources, which is consistent with why it tends to cluster among close contacts rather than spreading the way an airborne illness does.
What's clearer is what it does once it's established: H. pylori infection is the leading cause of gastritis, an inflamed stomach lining 1Ref 1National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019).Symptoms & Causes of Gastritis & Gastropathy.Supports naming H. pylori infection as the most common cause of gastritis., and it's also linked to peptic ulcer disease and, less commonly, gastric cancer 2Ref 2Chey WD, Howden CW, Moss SF, Morgan DR, Greer KB, Grover S, Shah SC (2024).ACG Clinical Guideline: Treatment of Helicobacter pylori Infection.Supports that H. pylori causes dyspepsia, gastritis, peptic ulcer disease, and gastric cancer, and that a positive test generally leads to eradication treatment.. That downstream picture is better established than the upstream question of exactly how any one person picked it up.
Why does it seem to run in families?
Households sharing an infection isn't unusual for something that spreads through close contact, and it's a common enough pattern that a positive test in one family member often prompts the question of whether others should be tested too. That question doesn't have a single blanket answer — it depends on whether anyone else has symptoms, not just on shared exposure alone.
Because gastritis, including the kind H. pylori causes, so often produces no symptoms at all 3Ref 3National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019).Definition & Facts for Gastritis & Gastropathy.Supports that many people with gastritis have no symptoms, used here to explain why H. pylori infection can go unnoticed within a household., a household can share the bacteria for years without anyone knowing until one person happens to get tested for something else entirely. That's worth sitting with rather than treating a single positive result as proof everyone nearby is definitely infected too.
Shared living space, shared meals, and close daily contact are the kinds of exposure most often discussed in connection with household clustering, though none of that amounts to a guarantee that living with an infected person means catching it too. Plenty of households have one infected member and no others, which is part of why exposure alone isn't treated as proof of infection.
Does everyone in the household need to get tested?
Not automatically. Testing decisions are generally guided by whether a person actually has symptoms, not by exposure alone — someone with no digestive complaints doesn't necessarily need h. pylori testing just because a family member tested positive. That's a conversation worth having directly with a primary care clinician rather than assuming universal testing is the default.
For people under 60 without alarm symptoms, guidance generally supports a test-and-treat approach — testing for h. pylori and treating if positive — without jumping straight to endoscopy 4Ref 4Moayyedi P, Lacy BE, Andrews CN, Enns RA, Howden CW, Vakil N (2017).ACG and CAG Clinical Guideline: Management of Dyspepsia.Supports the age/alarm-feature threshold for choosing test-and-treat versus upper endoscopy in evaluating dyspepsia.. Age and alarm features change that calculus, covered further down.
A family history of stomach cancer or a personal history of peptic ulcer disease can also shift that conversation, since either one is a reasonable thing to mention when deciding whether testing makes sense even without dramatic symptoms. Bringing it up explicitly, rather than waiting to be asked, tends to make that visit more useful.
What symptoms would actually prompt getting tested?
Persistent upper-abdominal discomfort, burning pain, or unexplained nausea are the kinds of symptoms that generally prompt H. pylori testing, particularly under age 60 and without other red flags 4Ref 4Moayyedi P, Lacy BE, Andrews CN, Enns RA, Howden CW, Vakil N (2017).ACG and CAG Clinical Guideline: Management of Dyspepsia.Supports the age/alarm-feature threshold for choosing test-and-treat versus upper endoscopy in evaluating dyspepsia.. Plenty of people with the infection have no symptoms at all, since gastritis frequently causes none 3Ref 3National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019).Definition & Facts for Gastritis & Gastropathy.Supports that many people with gastritis have no symptoms, used here to explain why H. pylori infection can go unnoticed within a household., so the absence of symptoms doesn't rule it out — it just means testing usually isn't the immediate next step.
Age 60 and older, or anyone with alarm features like bleeding, difficulty swallowing, or unintentional weight loss, generally warrants endoscopy rather than a test-and-treat approach 4Ref 4Moayyedi P, Lacy BE, Andrews CN, Enns RA, Howden CW, Vakil N (2017).ACG and CAG Clinical Guideline: Management of Dyspepsia.Supports the age/alarm-feature threshold for choosing test-and-treat versus upper endoscopy in evaluating dyspepsia.5Ref 5Gaddey HL, Holder KK (2021).Unintentional Weight Loss in Older Adults.Supports that unintentional weight loss alongside digestive symptoms is a red flag warranting evaluation for serious underlying disease.. That threshold exists because those features raise the chance something beyond routine gastritis is going on.
What happens after a positive test?
A positive H. pylori test generally leads to treatment aimed at eradicating the bacteria, since it's the driver of the gastritis, and often the peptic ulcer disease, causing symptoms in the first place 1Ref 1National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019).Symptoms & Causes of Gastritis & Gastropathy.Supports naming H. pylori infection as the most common cause of gastritis.2Ref 2Chey WD, Howden CW, Moss SF, Morgan DR, Greer KB, Grover S, Shah SC (2024).ACG Clinical Guideline: Treatment of Helicobacter pylori Infection.Supports that H. pylori causes dyspepsia, gastritis, peptic ulcer disease, and gastric cancer, and that a positive test generally leads to eradication treatment.. A separate explainer covers h pylori infection symptoms and treatment in more depth, including what the treatment course generally involves.
Not every course clears the infection on the first attempt, and a separate explainer covers h. pylori treatment failure — when h. pylori won't clear — for anyone who's already been through one round without success.
Confirming that treatment actually worked matters here too — a follow-up test is generally used to check that the infection is gone, rather than assuming a completed course of medication did the job. Testing too soon after finishing treatment can give a misleading result, which is part of why the timing of that follow-up matters as much as the treatment itself.
When do digestive symptoms need more than routine testing?
Unintentional weight loss alongside stomach symptoms is one of the clearest signals that something beyond routine gastritis needs to be ruled out, and it's part of why weight loss is treated as an alarm feature that generally prompts endoscopy rather than empiric treatment 5Ref 5Gaddey HL, Holder KK (2021).Unintentional Weight Loss in Older Adults.Supports that unintentional weight loss alongside digestive symptoms is a red flag warranting evaluation for serious underlying disease.. Bleeding and difficulty swallowing are treated the same way — as signals to look directly rather than guess.
None of this is about panicking over ordinary digestive discomfort; it's about knowing which combination of symptoms changes the plan from watchful management to a same-week evaluation.
Difficulty swallowing, in particular, is worth naming specifically rather than lumping in with general stomach discomfort, since it points toward a possible narrowing or obstruction that benefits from being looked at directly rather than managed with medication alone.
Bringing a specific description to that appointment — how long symptoms have lasted, whether anything makes them better or worse, whether anyone else at home has had similar complaints — tends to be more useful than a general 'my stomach's been off' description offered in the moment.
Common questions
Related
Digestive health
H. pylori Infection: Symptoms, Testing, and TreatmentDigestive health
What Actually Causes Gastritis (Acute and Chronic)Digestive health
Calming Gastritis: What Helps the Stomach Lining Heal
Say it back
How would you explain this to someone you love?
Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.
When digestive symptoms need more than routine H. pylori testing
- —Unintentional weight loss
- —Difficulty or pain swallowing
- —Vomiting blood or black, tarry stools
- —Persistent symptoms in someone age 60 or older
Vomiting blood or passing black, tarry stools are signs of possible gastrointestinal bleeding and warrant an emergency room visit rather than a routine appointment.
This article explains general patterns around H. pylori and is not medical advice. Whether testing or treatment is needed depends on individual symptoms and history, best assessed by a primary care clinician.
References
- 1.National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019). Symptoms & Causes of Gastritis & Gastropathy. NIDDK, National Institutes of Health. link ✓Supports naming H. pylori infection as the most common cause of gastritis.
- 2.Chey WD, Howden CW, Moss SF, Morgan DR, Greer KB, Grover S, Shah SC (2024). ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. American Journal of Gastroenterology. doi:10.14309/ajg.0000000000002968 ✓Supports that H. pylori causes dyspepsia, gastritis, peptic ulcer disease, and gastric cancer, and that a positive test generally leads to eradication treatment.
- 3.National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (2019). Definition & Facts for Gastritis & Gastropathy. NIDDK, National Institutes of Health. link ✓Supports that many people with gastritis have no symptoms, used here to explain why H. pylori infection can go unnoticed within a household.
- 4.Moayyedi P, Lacy BE, Andrews CN, Enns RA, Howden CW, Vakil N (2017). ACG and CAG Clinical Guideline: Management of Dyspepsia. American Journal of Gastroenterology. doi:10.1038/ajg.2017.154 ✓Supports the age/alarm-feature threshold for choosing test-and-treat versus upper endoscopy in evaluating dyspepsia.
- 5.Gaddey HL, Holder KK (2021). Unintentional Weight Loss in Older Adults. American Family Physician. link ✓Supports that unintentional weight loss alongside digestive symptoms is a red flag warranting evaluation for serious underlying disease.
5 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — every citation independently verified. Editorial policy