Can you test for H. pylori while pregnant?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- Yes. Breath tests and stool tests have no known risks (MedlinePlus).
- With a stool test you swallow nothing. You only give a sample.
- You can check for H. pylori at home with a stool antigen test, with a result in 10 minutes.
Which test is simplest in pregnancy?
A stool test. There's nothing to swallow, no fasting and no appointment. For a breath test you fast for several hours and swallow a dose of urea (MedlinePlus), which can be hard if you already feel sick.
Is nausea in pregnancy a sign of H. pylori?
Nausea is common in pregnancy, and it's also a symptom of gastritis and ulcers (NIDDK). A test is the way to tell whether H. pylori is involved.
What if the test is positive?
Your doctor or midwife decides the next step. Some H. pylori medicines can't be used in pregnancy. Pylera is one (Pylera label). They may treat now or wait until after the birth. More in H. pylori in pregnancy.
How to do the home test
- Catch a stool sample and dip the end of the sampling stick into it.
- Put the stick back in the tube, then stir and turn it for about 10 seconds.
- Squeeze 2 drops into the round sample hole on the test.
- Lay the test flat and read it at 10 minutes.
Our step-by-step instructions and video walk you through each stage.
Before you test
Ask your doctor before stopping a PPI such as Prilosec or Nexium. If they agree, stop it 2 weeks before you test. Test at least 4 weeks after your last dose of antibiotics or bismuth (Pepto-Bismol) (ACG), and never cut a course of antibiotics short.
What your result means
- C and T lines: H. pylori detected. Take your result to your doctor to talk about treatment.
- C line only: not detected.
- No C line: the test didn't work. Use a new test.
When to see a doctor instead
See a doctor right away, instead of testing at home, if you have:
- trouble swallowing
- weight loss you can't explain
- vomiting that keeps coming back
If you're vomiting blood or passing black, tarry stools, call 911.
Frequently asked questions
Is a blood test useful instead?
A blood test looks for antibodies, and it can't tell a current infection from a past one (MedlinePlus).

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to your door in the US.
Sources
- MedlinePlus, US National Library of Medicine. Helicobacter pylori (H. pylori) tests. Updated November 2, 2026. medlineplus.gov/lab-tests/helicobacter-pylori-h-pylori-tests/
- NIDDK. Symptoms and causes of gastritis and gastropathy. Last reviewed August 2019. www.niddk.nih.gov/health-information/digestive-diseases/gastritis-gastropathy/symptoms-causes
- DailyMed, US National Library of Medicine. Pylera (bismuth subcitrate potassium, metronidazole, tetracycline hydrochloride) capsules: prescribing information. dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=a762e164-b390-4e8c-bd46-bf6c31eeb486
- Chey WD, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2024. Guideline highlights, American College of Gastroenterology. mediacdn.gi.org/giorgcdn/wp-content/uploads/2025/01/ACG-Hpylori-Guidelines-Highlights-2024-FINAL.pdf.pdf
- NIDDK. Symptoms and causes of indigestion. Last reviewed March 2025. www.niddk.nih.gov/health-information/digestive-diseases/indigestion-dyspepsia/symptoms-causes
- MedlinePlus Medical Encyclopedia. Gastrointestinal bleeding. Reviewed January 24, 2025. medlineplus.gov/ency/article/003133.htm
First published November 2026.