Causes of Brain Fog / Gut & Gut-Brain Link

Helicobacter pylori infection (H. pylori)

Trigger

H. pylori (Helicobacter pylori) is a bacterial infection of the stomach lining that affects roughly half the world's population. Many people carry it without obvious symptoms, but in others it causes persistent stomach pain, nausea, bloating, and ulcers. It is a leading cause of peptic ulcers and a recognised risk factor for certain stomach cancers. It is treatable with a specific combination of antibiotics and acid-suppressing medication, though treatment failure is increasingly common due to antibiotic resistance.
Summary
Body system
Gut & Gut-Brain Link
Type
Trigger
Brain fog subtypes it maps to
Gut-brain axis
Known subtypes
  • Asymptomatic carriers
  • Peptic ulcer disease
  • H. pylori-associated dyspepsia
  • Antibiotic-resistant strains
  • Post-eradication persistent symptoms
  • H. pylori and gastric cancer risk
Baseline prevalence
~44%

~44% globally; up to 80-90% in some low-income countries; 30-40% in Western Europe and North America Summary: One …

Signs listed
14

What people describe that often tracks with this factor.

Treatments that fit
6

Published cards with a share-who-report estimate on shared brain fog subtypes · 8 linked overall.

What it is

Helicobacter pylori is a gram-negative, spiral-shaped bacterium that colonises the gastric mucosa - the protective lining of the stomach. It survives the hostile acidic environment by producing urease, an enzyme that neutralises stomach acid in its immediate vicinity. Once established, it triggers chronic inflammation of the stomach lining (chronic gastritis), which over years can progress to peptic ulcers, gastric atrophy, intestinal metaplasia, and in a minority of cases, gastric adenocarcinoma or MALT lymphoma. Transmission occurs via the oral-oral and fecal-oral routes, most often in childhood and in settings with poor sanitation or household crowding. Infection rates vary dramatically by geography and socioeconomic background - very high in parts of Africa, Asia, and Latin America, and lower but still significant in Western countries. The majority of infected individuals - estimated at 70-80% - remain asymptomatic throughout their lives. In those who do develop symptoms, the clinical picture is dominated by upper GI complaints: burning or gnawing epigastric pain, postprandial bloating, nausea, and early satiety. Ulcers, when they form, can cause more severe pain and in serious cases may bleed, causing iron-deficiency anaemia or, in emergencies, haematemesis. Diagnosis can be made non-invasively via urea breath test, stool antigen test, or serology, or invasively via endoscopic biopsy with rapid urease test or histology. The urea breath test and stool antigen test are the most accurate for active infection and for confirming eradication after treatment. First-line treatment typically involves a 10-14 day course of triple or quadruple therapy - combining one or two antibiotics (commonly clarithromycin, amoxicillin, metronidazole, or tetracycline) with a proton pump inhibitor (PPI) and sometimes bismuth. Eradication rates have declined in many regions due to rising clarithromycin and metronidazole resistance, making antibiotic susceptibility testing increasingly relevant before treatment in some settings. Even after successful eradication, some individuals continue to experience GI symptoms - a pattern sometimes called post-eradication functional dyspepsia - which may reflect lingering mucosal damage, altered gut microbiome, or pre-existing hypersensitivity. ~44% globally; up to 80-90% in some low-income countries; 30-40% in Western Europe and North America Summary: One of the most common bacterial infections in humans - roughly half the global population is infected, though rates vary widely by region. Notes: Prevalence declines with improved sanitation across generations. Most people are infected in childhood. Rates in developed countries have been falling, but significant socioeconomic and ethnic disparities persist. Serology-based estimates may overestimate current active infection because antibodies persist after eradication.

How it reaches thinking

How to tell if it is you

Burning or gnawing upper stomach pain that eases briefly after eating, combined with nausea and early fullness, preceded the cognitive symptoms.

  • epigastric pain or burning
  • nausea
  • bloating and early satiety
  • frequent belching
  • loss of appetite
  • unintentional weight loss
  • dark or tarry stools
  • vomiting blood or coffee-ground material
  • iron-deficiency anaemia
  • bad breath
  • heartburn or acid reflux
  • fatigue
  • numbness
  • cognitive symptoms

Easily confused with

Functional dyspepsia (mechanistic link)

H. pylori is found in a significant proportion of people with functional dyspepsia, and eradication resolves symptoms in a subset. After eradication, some people continue to have dyspeptic symptoms that then meet criteria for functional dyspepsia - a well-recognised post-infection pattern.

Irritable bowel syndrome (downstream)

Post-infectious IBS can follow acute or chronic H. pylori infection, likely due to mucosal damage, altered gut motility, and disruption of the gut microbiome. H. pylori eradication involving antibiotics may also transiently alter the lower GI microbiome.

Small intestinal bacterial overgrowth (SIBO) (downstream)

H. pylori infection and the hypochlorhydria it can cause may reduce the stomach's ability to act as a barrier against bacterial colonisation of the small intestine, potentially facilitating SIBO development. Antibiotic treatment for H. pylori may also disrupt the small bowel microbiome.

Gut dysbiosis (downstream)

Chronic H. pylori infection alters the gastric and intestinal microbiome. Eradication treatment - typically involving two antibiotics - can cause significant short-term disruption to the gut microbiome, sometimes requiring probiotic support during or after therapy.

Peptic ulcer disease (downstream)

H. pylori is the single most common cause of peptic ulcers (both gastric and duodenal). Chronic gastric inflammation disrupts the mucosal barrier, allowing acid to erode the underlying tissue.

Gastric cancer (downstream)

H. pylori is classified as a Group 1 carcinogen by the WHO. Chronic infection can progress through a sequence of atrophic gastritis, intestinal metaplasia, dysplasia, and eventually gastric adenocarcinoma in a minority of individuals - particularly with virulent CagA-positive strains.

MALT lymphoma (downstream)

Low-grade gastric MALT (mucosa-associated lymphoid tissue) lymphoma is strongly associated with H. pylori infection. H. pylori eradication alone causes remission in a significant proportion of early-stage cases.

Iron-deficiency anaemia (downstream)

H. pylori can cause iron deficiency through occult gastric bleeding, impaired iron absorption due to hypochlorhydria, and possibly direct competition for dietary iron. Unexplained iron-deficiency anaemia that doesn't respond to supplementation should prompt H. pylori testing.

Vitamin B12 deficiency (downstream)

Chronic atrophic gastritis caused by H. pylori can impair intrinsic factor secretion and reduce gastric acid-dependent B12 release, leading to B12 deficiency and its neurological and haematological consequences.

Chronic atrophic gastritis (downstream)

Long-standing H. pylori infection can lead to progressive loss of gastric glandular cells (atrophy), reducing acid and intrinsic factor secretion. Atrophic gastritis is a precancerous lesion and an independent risk factor for gastric cancer.

Gastro-oesophageal reflux disease (GORD/GERD) (mechanistic link)

The relationship between H. pylori and reflux is complex. H. pylori involving the antrum tends to increase acid secretion, potentially worsening reflux. Conversely, H. pylori involving the corpus may reduce acid output. Some studies suggest eradication modestly worsens GERD in some patients, particularly those with corpus-dominant infection.

Idiopathic thrombocytopaenic purpura (ITP) (mechanistic link)

H. pylori eradication has been shown to improve platelet counts in a subset of patients with ITP, suggesting an immune cross-reactivity mechanism. H. pylori testing is now recommended in ITP guidelines in many countries.

Rosacea (mechanistic link)

Several studies have identified higher H. pylori prevalence in rosacea patients, and some report improvement in skin symptoms after eradication - though evidence is not consistent and the relationship remains under investigation.

Mast cell activation syndrome (mechanistic link)

H. pylori infection activates mucosal mast cells and promotes local histamine release. In susceptible individuals, this may contribute to or exacerbate mast cell-related symptoms. Some patients with MCAS report improvement in their broader symptom picture following H. pylori eradication.

Histamine intolerance (mechanistic link)

H. pylori infection may impair diamine oxidase (DAO) activity in the gastric and intestinal mucosa, reducing histamine breakdown capacity. This could contribute to histamine intolerance symptoms in infected individuals.

How it is checked

Patterns to look for

  • Persistent or recurrent epigastric pain, especially with any alarm features (weight loss, anaemia, dysphagia, vomiting blood)
  • Unexplained iron-deficiency anaemia, particularly when other causes have been excluded
  • Peptic ulcer confirmed on endoscopy - H. pylori testing should be routine in this context
  • Family history of gastric cancer or personal history of gastric atrophy
  • Failure of standard acid-suppression therapy for dyspepsia without prior H. pylori testing
  • Post-treatment symptom persistence - confirmation of eradication (not assumed) is essential before pursuing other diagnoses

At home tests

Symptom tracking

Tracking the timing, nature, and triggers of upper abdominal symptoms (relation to meals, time of day, food types, stress) can provide useful clinical context before testing. A simple food-symptom diary kept for 1-2 weeks may help identify patterns. Safety notes: Symptom tracking alone cannot diagnose H. pylori. Alarm symptoms (bleeding, severe pain, significant weight loss) should prompt urgent medical evaluation rather than self-monitoring.

Clinical tests

Urea Breath Test (UBT) (gold_standard)

The patient swallows a small amount of labelled urea. If H. pylori is present, its urease enzyme breaks down the urea and the labelled carbon is detected in exhaled breath. Highly accurate for active infection and for confirming eradication. Must be performed at least 4 weeks after completing antibiotics and at least 2 weeks off proton pump inhibitors. Availability: Widely available in hospital gastroenterology departments and many primary care settings. Some private clinics also offer it. Requires advance preparation (stopping PPIs and antibiotics as above).

Stool Antigen Test (SAT) (gold_standard)

Detects H. pylori antigens in a stool sample. Accurate for both initial diagnosis and post-treatment confirmation. Less affected by PPI use than urea breath tests but still benefits from stopping PPIs 2 weeks before testing. Availability: Available through most GPs and gastroenterology clinics. Some private labs offer direct-to-consumer stool antigen testing.

Serology (IgG antibody blood test) (standard)

Detects antibodies to H. pylori in blood. Cannot distinguish active from past infection - antibodies persist for months to years after eradication. Useful in populations where prior testing has not occurred, but not reliable for confirming eradication. Availability: Routinely available via GP blood tests. Often the first test ordered, though its limitations should be understood.

Endoscopy with biopsy (Rapid Urease Test and/or histology) (gold_standard)

Upper GI endoscopy allows direct visualisation of the stomach and duodenum. Biopsy samples are tested via rapid urease test (detects urease activity in tissue) and/or sent for histological examination. Provides the most complete picture - can confirm infection, assess mucosal damage, identify atrophy or metaplasia, and rule out malignancy. Availability: Requires referral to gastroenterology. Typically reserved for those with alarm features, persistent symptoms, or failed non-invasive testing. In some countries, recommended as first-line in individuals over 55 with new dyspepsia.

Culture and antibiotic susceptibility testing (emerging)

Biopsy samples can be cultured to grow H. pylori and test which antibiotics will be effective. Increasingly recommended before second-line or rescue treatment given rising resistance rates. PCR-based resistance testing from biopsy or stool is also being developed. Availability: Available in specialist centres; not routine in all hospitals. Increasingly recommended by European and UK gastroenterology guidelines for patients who have failed one eradication attempt.

Known subtypes

Asymptomatic carriers

The majority of infected individuals - estimated 70-80% - carry H. pylori without noticeable symptoms. Infection is often discovered incidentally.

Features:

  • No upper GI pain or dyspepsia
  • May have low-grade chronic gastritis detectable only on biopsy
  • Still carry long-term risk of ulcer or cancer if infection persists
Peptic ulcer disease

H. pylori is the underlying cause in approximately 70-90% of duodenal ulcers and 60-70% of gastric ulcers. Eradication substantially reduces ulcer recurrence.

Features:

  • Epigastric burning or gnawing pain, often related to meals
  • Pain relief with food (duodenal) or worsening with food (gastric)
  • Possible melena or haematemesis if ulcer bleeds
  • Confirmed by endoscopy and biopsy
H. pylori-associated dyspepsia

A subset of people have upper GI symptoms attributable to H. pylori without macroscopic ulceration - often called H. pylori-positive functional dyspepsia.

Features:

  • Epigastric discomfort, nausea, bloating, early fullness
  • No ulcer on endoscopy
  • Symptoms may partially or fully resolve after eradication in some individuals
Antibiotic-resistant strains

A growing subgroup in whom standard triple therapy fails due to bacterial resistance - most commonly to clarithromycin or metronidazole.

Features:

  • Failed first-line eradication course confirmed by post-treatment test
  • Higher rates in regions with high antibiotic use
  • Requires culture-guided or alternative regimens (e.g. bismuth quadruple therapy, rifabutin-based regimens)
Post-eradication persistent symptoms

Some individuals continue to have upper GI symptoms after confirmed eradication - sometimes described as post-H. pylori functional dyspepsia.

Features:

  • Eradication confirmed by urea breath test or stool antigen (≥4 weeks post-treatment)
  • Ongoing bloating, nausea, or epigastric discomfort
  • May overlap with functional dyspepsia, SIBO, or altered gastric motility
  • Requires investigation of alternative drivers rather than repeat antibiotic treatment
H. pylori and gastric cancer risk

A minority of infected individuals - particularly those with certain strains (CagA-positive), atrophic gastritis, or a family history of gastric cancer - carry meaningfully elevated long-term cancer risk.

Features:

  • CagA-positive strains associated with higher virulence
  • Atrophic gastritis or intestinal metaplasia found on biopsy
  • Higher risk in East Asian populations and those with first-degree relatives with gastric cancer
  • Surveillance endoscopy may be recommended in high-risk individuals

What people try

Browse all treatments
Intervention Research Participants Showing Improvement Users Who Reported It Helped Cost
OTC H1 antihistamine 38% (n=352) 53% (n=35) Under $20
Low-histamine diet trial Still gathering Still gathering Under $20
Prescription antihistamines
Info only
32% 82% (n=11) 2050
Quercetin 28% 75% (n=8) Under $20
Gluten-free trial 28% 50% (n=4) Under $20
Luteolin with PEA 28% 100% (n=2) 2050
Dairy-free trial Still gathering Still gathering Free
No alcohol trial 35% 100% (n=1) Free