Back to all blogs

Can H Pylori Cause Diarrhea and Food Intolerances?

Can H. pylori cause diarrhea and food intolerances? Learn how this bacterium affects gut health and how to identify triggers with the Smartblood Method.
January 22, 2026

Table of Contents

  1. Introduction
  2. What is H. Pylori?
  3. Can H. Pylori Cause Diarrhoea?
  4. The Link Between H. Pylori and Food Intolerances
  5. Distinguishing Between Allergy and Intolerance
  6. Symptoms of H. Pylori to Watch For
  7. The Smartblood Method: A Phased Approach
  8. Understanding IgG Testing and the Clinical Debate
  9. How to Manage Gut Health During H. Pylori Treatment
  10. Restoring the Gut After Infection
  11. Choosing the Right Support
  12. Conclusion
  13. FAQ

Introduction

Many people in the UK live with "mystery" digestive symptoms that never seem to settle. You might experience a sharp, burning sensation in your upper abdomen after a heavy meal, or perhaps you find yourself rushing to the bathroom with diarrhoea (the British spelling of diarrhea) at the most inconvenient times. When these symptoms are paired with sudden reactions to foods you used to enjoy, it is natural to wonder if there is an underlying cause. Helicobacter pylori (H. pylori), a common stomach bacterium, is often at the heart of these concerns.

At Smartblood, we understand how frustrating it is to feel like your body is reacting to everything you eat. This article explores the connection between H. pylori infection, digestive upset, and the development of food sensitivities. We will examine how this bacterium affects your gut health and where the Smartblood Food Intolerance Test fits into your recovery. Our approach follows the Smartblood Method: always consult your GP first to rule out medical conditions, use structured elimination to identify triggers, and consider testing as a tool to guide your progress.

Quick Answer: H. pylori can cause diarrhoea and food intolerances by inflaming the stomach lining and disrupting normal digestion. This inflammation can lead to increased gut permeability, which may trigger the immune system to react to certain foods, though H. pylori itself requires medical treatment from a GP.

What is H. Pylori?

Helicobacter pylori is a spiral-shaped bacterium that lives in the digestive tract. It is remarkably resilient; while most bacteria cannot survive the highly acidic environment of the human stomach, H. pylori has evolved a clever survival mechanism. It produces an enzyme called urease, which neutralises stomach acid in its immediate vicinity. You can think of this as the bacterium wearing a "protective suit" that allows it to burrow into the mucosal lining of the stomach.

Once it has made itself at home, H. pylori can cause chronic inflammation, known as gastritis. For many people in the UK, this infection is silent and causes no symptoms for years. However, for others, the persistent irritation weakens the stomach’s protective barrier, potentially leading to peptic ulcers or, in rare cases, contributing to the risk of stomach cancer. Because it changes the internal chemistry of your gut, it often serves as a "root cause" for various secondary digestive issues.

Can H. Pylori Cause Diarrhoea?

While H. pylori is primarily known for causing stomach pain and ulcers, it can indeed lead to diarrhoea. There are several biological reasons why an infection in the stomach can lead to loose stools further down the digestive tract.

Disruption of Stomach Acid

The primary job of stomach acid is to break down proteins and kill off harmful pathogens in our food. Because H. pylori neutralises acid to survive, the stomach becomes less effective at these tasks. When under-digested food or "bad" bacteria pass from the stomach into the small intestine, it can irritate the bowel, leading to urgency and diarrhoea.

Changes in Gut Transit Time

Inflammation in the upper GI tract can sometimes trigger a "cascade" effect. When the stomach is irritated, the body may attempt to move contents through the system faster to clear out the perceived threat. This accelerated transit time means the large intestine has less time to absorb water, resulting in the watery stools associated with diarrhoea.

The Impact of Treatment

Interestingly, many people only experience diarrhoea once they begin treatment for H. pylori. The standard medical treatment—often called "triple therapy"—involves a combination of powerful antibiotics and proton pump inhibitors (PPIs). While these are necessary to clear the infection, antibiotics can temporarily wipe out the "friendly" bacteria in your microbiome, leading to antibiotic-associated diarrhoea.

Key Takeaway: H. pylori indirectly causes diarrhoea by reducing stomach acid effectiveness and increasing inflammation, though the treatment for the infection is also a common cause of temporary bowel changes.

The Link Between H. Pylori and Food Intolerances

The relationship between H. pylori and food intolerance is a complex area of gut science. A food intolerance occurs when the body has difficulty digesting a specific food or when the immune system produces a delayed response (often involving IgG antibodies) to food particles.

Increased Gut Permeability (Leaky Gut)

When H. pylori causes chronic inflammation in the stomach and the start of the small intestine (the duodenum), it can damage the "tight junctions" of the gut wall. In a healthy gut, these junctions act like a fine sieve, allowing only fully digested nutrients into the bloodstream.

When the gut becomes "leaky" due to inflammation, larger, undigested food particles may slip through into the blood. The immune system identifies these particles as foreign invaders and produces IgG (Immunoglobulin G) antibodies against them. This is often why someone with an H. pylori infection suddenly finds they are reactive to dairy and eggs, wheat, or eggs.

Malabsorption and Enzyme Deficiency

The inflammation caused by H. pylori can also affect the production of digestive enzymes. If your body isn't producing enough enzymes to break down sugars like lactose (found in milk) or fructose (found in fruit), those foods will ferment in the gut. This fermentation causes gas, bloating, and the "food intolerance" symptoms that many people mistake for a simple allergy.

The Role of IgG Testing

Research into H. pylori and food-specific IgG levels has shown mixed results. Some studies suggest that H. pylori infection might actually lower certain immune responses, while other clinical observations suggest that the damage caused by the bacteria makes people more susceptible to broad food sensitivities. This is why we view food intolerance testing as a "snapshot" of your current immune reactivity—it helps you see which foods are currently bothering your system while you work with your GP to address the bacterial infection.

Distinguishing Between Allergy and Intolerance

It is vital to distinguish between a food intolerance and a food allergy, especially when dealing with a bacterial infection like H. pylori.

  • Food Allergy (IgE-mediated): This is an immediate, often severe immune reaction. Symptoms usually appear within seconds or minutes.
  • Food Intolerance (often IgG-mediated): This is a delayed reaction. Symptoms like bloating, fatigue, or diarrhoea might not appear for 24 to 48 hours after eating the trigger food.

Important: If you experience swelling of the lips, face, or tongue, difficulty breathing, wheezing, a rapid heartbeat with dizziness, or collapse, this may be anaphylaxis. You must call 999 or go to A&E immediately. Food intolerance testing is not appropriate for these life-threatening symptoms.

Symptoms of H. Pylori to Watch For

Because H. pylori symptoms can overlap with general food intolerance, it can be hard to know which is which. Common signs of an active H. pylori infection include:

  • A dull or burning pain in the stomach (often worse when the stomach is empty)
  • Frequent burping or "acid reflux"
  • Feeling bloated after eating very small amounts
  • Nausea or a lack of appetite
  • Unintentional weight loss

If you notice your stool looks black, tarry, or contains blood, or if you have sharp, severe abdominal pain, you should contact your GP or NHS 111 immediately, as these can be signs of a bleeding ulcer. If bloating is your main issue, our IBS & Bloating guide explains the patterns we often see.

The Smartblood Method: A Phased Approach

We believe the best way to regain control of your gut health is through a structured, clinically responsible journey. If you suspect H. pylori is causing your diarrhoea or food intolerances, we recommend the following steps:

Step 1: Consult Your GP

Before changing your diet or taking tests, see your GP. They can arrange a simple urea breath test or a stool antigen test to check for H. pylori. It is essential to rule out medical conditions like coeliac disease, inflammatory bowel disease (IBD), or ulcers first. If you want more context on our responsible approach, our Health Desk explains the same GP-first mindset.

Step 2: Use a Symptom Tracker

While waiting for medical results, start a food and symptom diary. We offer a free elimination diet chart and symptom-tracking resource; How to Know My Food Intolerance explains how to use that approach to spot patterns. Do you feel worse after dairy? Does your diarrhoea always happen on days you eat bread? This data is invaluable for both you and your doctor.

Step 3: Targeted Elimination

Once H. pylori is being managed (or ruled out), you can begin a structured elimination diet. How to Find Out If I Have a Food Intolerance covers the elimination and reintroduction process in more detail. This involves removing suspected trigger foods for a few weeks and then carefully reintroducing them one by one. This is the "gold standard" for identifying intolerances.

Step 4: Consider Smartblood Testing

If you have tried elimination and are still struggling to find your triggers, or if you want a more structured "snapshot" to guide your plan, our home finger-prick test kit can help. The Smartblood Food Intolerance Test uses a small finger-prick blood sample to look for IgG reactions to over 200 foods and drinks.

Understanding IgG Testing and the Clinical Debate

It is important to be transparent: IgG testing is a debated area in clinical medicine. Most NHS GPs do not use it for diagnosis because IgG antibodies are often seen as a sign of "food exposure" rather than a definitive "allergy."

However, at us, we see the test as a practical tool for those who are "stuck." By identifying which foods your immune system is currently flagging, you can create a highly targeted elimination plan. Instead of guessing and cutting out entire food groups, you can focus on the specific items that appear on your results. How it works shows how we use that information to support a structured, responsible approach.

Bottom line: Our testing identifies food-specific IgG levels, providing a guide for a structured elimination diet rather than a medical diagnosis of an infection or allergy.

How to Manage Gut Health During H. Pylori Treatment

If your GP confirms an H. pylori infection and prescribes antibiotics, your gut will need extra support. Here is how you can manage the transition:

  • Stay Hydrated: Diarrhoea can quickly lead to dehydration. Drink plenty of water and consider oral rehydration salts if symptoms are persistent.
  • Eat "Low and Slow": During treatment, eat smaller, more frequent meals. This puts less pressure on a stomach that is already struggling with low acid and inflammation.
  • Focus on Whole Foods: Avoid highly processed sugars and fats, which can feed "bad" bacteria and worsen bloating.
  • Consider Probiotics: Some evidence suggests that specific probiotic strains can help reduce the side effects of H. pylori antibiotics. Consult a pharmacist or GP for recommendations suitable for use alongside your medication.

Restoring the Gut After Infection

Once the H. pylori infection is cleared, many people find their "food intolerances" naturally begin to fade. As the stomach lining repairs itself and inflammation goes down, the "leaky gut" can begin to close.

However, if your symptoms persist after the infection is gone, it may be that your gut microbiome needs more time to rebalance. This is the ideal time to use our Problem Foods hub. If your system is still in a state of "high alert," a temporary period of avoiding high-reactivity foods can give your gut the "breathing room" it needs to fully recover.

Feature H. Pylori Infection Food Intolerance (IgG)
Primary Cause Bacterial infection (H. pylori) Delayed immune/digestive reaction
Main Symptom Burning stomach pain, ulcers Bloating, fatigue, diarrhoea
Timing Often worse on an empty stomach Typically 24–48 hours after eating
Diagnosis Breath, stool, or endoscopy (GP) Elimination diet or IgG testing
Treatment Antibiotics and PPIs Dietary adjustment/Elimination

Choosing the Right Support

Investigating gut health is a journey, not a sprint. Whether you are dealing with the aftermath of an H. pylori infection or trying to understand why certain foods suddenly cause diarrhoea and bloating, having a plan is essential.

The Smartblood Food Intolerance Test is designed for UK adults who want more data about their bodies. For £179.00, a structured IgG analysis of 260 foods and drinks gives you a home finger-prick kit that analyses 260 foods and drinks. Your results are typically emailed to you within 3 working days after our lab receives your sample, categorised on a clear 0–5 reactivity scale.

If you decide that a structured test is the right next step for you, the code ACTION is currently available on our site and may provide a 25% discount on your order.

Conclusion

H. pylori is a common but significant factor in many cases of chronic digestive distress. By causing inflammation and changing the way your stomach handles food, it can directly lead to diarrhoea and create the conditions for food intolerances to develop.

Remember the Smartblood Method: see your GP first to address the infection, use a food diary to track your reactions, and use testing as a supportive tool if you need more clarity. Recovering your gut health takes time, but with the right clinical support and a structured approach to your diet, you can move away from mystery symptoms and back toward feeling like yourself again. If you are ready for that next step, the Smartblood Food Intolerance Test can help you move from guesswork to a clearer plan.

Key Takeaway: Address the bacterial infection with a GP first, then use structured elimination—supported by testing if needed—to identify and manage food triggers.

FAQ

Can H. pylori make you lactose intolerant?

Yes, H. pylori can cause inflammation in the lining of the small intestine, which may temporarily interfere with the production of lactase, the enzyme needed to digest milk sugar. This is often called "secondary lactose intolerance" and may improve once the infection is treated and the gut lining recovers.

Does H. pylori cause sudden food sensitivities?

It can, primarily by increasing "gut permeability" or leaky gut. When the stomach and intestinal lining are inflamed by the bacteria, undigested food particles can enter the bloodstream, potentially causing the immune system to produce IgG antibodies and creating a delayed sensitivity to those foods.

How do I know if my diarrhoea is from H. pylori or a food?

It can be difficult to tell without testing, as both can cause loose stools. Generally, H. pylori pain is often a "burning" sensation in the upper stomach that feels worse when hungry, whereas food intolerance diarrhoea usually occurs a few hours or even a day after eating a specific trigger food; a food diary can help distinguish the two.

Should I take a food intolerance test if I have H. pylori?

You should always prioritise seeing a GP to treat the H. pylori infection with antibiotics first. Once the infection is managed, if you still have lingering symptoms like bloating or diarrhoea, the Smartblood test can be a helpful tool to identify specific dietary triggers that are hindering your full recovery.