Can H. Pylori Cause Anxiety?

H. pylori is a common stomach bacterium that can live in the stomach for years, and people who carry it are more likely to report anxiety than people who don’t. Being linked isn’t the same as causing, though, and the evidence so far shows a connection rather than proof. The conversation between gut and brain also runs in both directions, so anxiety can stir up stomach trouble as well.

What the Evidence Shows About H. Pylori and Anxiety

Pooling many studies, people with H. pylori had about 2.5 times the odds of having anxiety compared with people without it.1International Journal of Clinical Practice. Association of Helicobacter pylori Infection with Depression and Anxiety: A Systematic Review and Meta-Analysis The link held whether researchers compared groups at one moment or followed people over time, where the risk was about 1.7 times higher.1International Journal of Clinical Practice. Association of Helicobacter pylori Infection with Depression and Anxiety: A Systematic Review and Meta-Analysis The same analysis found no clear link with depression.1International Journal of Clinical Practice. Association of Helicobacter pylori Infection with Depression and Anxiety: A Systematic Review and Meta-Analysis Some individual studies have reported depression in roughly 1 in 8 to 1 in 3 people with H. pylori, depending on the country.2PubMed Central. New-Onset Illness Anxiety Disorder After Helicobacter Pylori Infection: A Case Report That range mostly reflects who was studied and how depression was measured, so it isn’t a rate you can apply to yourself.

Overlap is also common among people with stomach complaints. Among people with ongoing indigestion, more than half had H. pylori and more than half had stress, anxiety or depression.3PubMed Central. Prevalence of Helicobacter Pylori Infection and Stress, Anxiety or Depression in Functional Dyspepsia and Outcome after Appropriate Intervention About 3 in 10 had both at once.3PubMed Central. Prevalence of Helicobacter Pylori Infection and Stress, Anxiety or Depression in Functional Dyspepsia and Outcome after Appropriate Intervention

Several things separate association from causation here. Being sick and uncomfortable for months can itself make people anxious. People with more stomach symptoms are also more likely to get tested and diagnosed, which can make the infection look more tied to anxiety than it is. Studies that compare people at a single moment can’t show which came first, and following people over time gives stronger evidence, though still not final.

Even the follow-up studies can’t rule out things shared by people who get infected, such as crowded housing or lower income, which are linked to both infection and stress. A fair reading is that the infection might contribute, that anxiety might make people more prone to stomach trouble, or that something else drives both.

Most people with H. pylori don’t have an anxiety disorder, and the figures describe groups, not what will happen to one person.

How a Stomach Infection Could Affect Your Mood

Without treatment, H. pylori usually stays for life and keeps the stomach lining inflamed.4PubMed Central. Helicobacter pylori and neurological diseases: Married by the laws of inflammation Many people feel no symptoms at all, so it can go on quietly for years.

The inflamed stomach releases inflammatory signals that can enter the bloodstream and act elsewhere in the body.4PubMed Central. Helicobacter pylori and neurological diseases: Married by the laws of inflammation These signals may weaken the brain’s protective barrier and reach brain tissue.5PubMed. Research progress on Helicobacter pylori infection related neurological diseases Higher levels of inflammation markers in the blood have been studied in relation to anxiety in people with H. pylori.6PubMed Central. Associations between blood systemic inflammatory markers and anxiety in Helicobacter pylori-infected patients This is a proposed route, not something shown to happen in every infected person.

Mood chemicals may be affected too. Inflammatory signals can push the body to use tryptophan, the building block of serotonin, for other purposes.7Annals of Psychiatry and Mental Health. Helicobacter pylori and the Central Nervous System: Neurophysiopathology and therapeutic Strategies in Psychiatry Less may then be left to make serotonin, a brain chemical tied to mood and calm. The infection has also been linked to changes in stress chemicals such as adrenaline and noradrenaline.8Frontiers in Immunology. Helicobacter and the Potential Role in Neurological Disorders: There Is More Than Helicobacter pylori

None of this means a lower supply of tryptophan will by itself make someone anxious, since serotonin is only one of several chemicals involved in mood. Most of the body’s serotonin is actually made in the gut, which is one reason stomach conditions and mood are discussed together. Adrenaline and noradrenaline drive the racing heart and jittery feeling of alarm, so changes in them are a plausible link to anxious sensations. Researchers have found links to these chemicals but haven’t shown that fixing them relieves anxiety in infected people.

Gut and brain talk through several channels. Nerves, especially the vagus nerve, carry signals between them. Immune signals in the blood are another channel, and stress hormones travel in both directions. Much of this comes from lab studies and reviews, and researchers still don’t know how much each route matters in people.

The Role of Gut Bacteria

H. pylori changes the stomach environment and disturbs the bacteria living there.9PubMed Central. Gut Microbiota: The Missing Link Between Helicobacter pylori Infection and Metabolic Disorders? It may also shift the bacteria further down in the intestines.9PubMed Central. Gut Microbiota: The Missing Link Between Helicobacter pylori Infection and Metabolic Disorders? Children with H. pylori gastritis showed a disturbed balance of gut bacteria compared with healthy children.10PubMed Central. Helicobacter pylori Infection Aggravates Dysbiosis of Gut Microbiome in Children With Gastritis In infected adults, some groups of bacteria and yeasts become more common.11PubMed Central. Exploring the impact of Helicobacter pylori on gut microbiome composition

H. pylori changes how acidic the stomach is, and since acid keeps many microbes in check, shifting it can let different organisms settle in.

Gut bacteria help make and break down chemicals that affect the brain, and an unsettled mix can add to inflammation. The link between gut bacteria and anxiety in people is still being worked out.

The findings so far are limited. A disturbed mix in children with stomach inflammation shows an association with the infection, not that the mix caused any symptoms.

Will Treating H. Pylori Ease Anxiety

Treatment to clear H. pylori usually combines two or more antibiotics with a stomach-acid reducer for about two weeks. In one reported case, a woman’s anxiety and panic attacks eased once the infection was cleared.2PubMed Central. New-Onset Illness Anxiety Disorder After Helicobacter Pylori Infection: A Case Report A single case can’t show that this happens for most people.

The treatment itself may affect mood for a few weeks. In people treated for stomach ulcers, depression diagnoses rose in the first 30 days after treatment.12PubMed Central / Wiley Online Library. Increased risk of short-term depressive disorder after Helicobacter pylori eradication: A population-based nested cohort study Women were about 4.5 times more likely to have this short-term rise.12PubMed Central / Wiley Online Library. Increased risk of short-term depressive disorder after Helicobacter pylori eradication: A population-based nested cohort study Treatment that included the antibiotic clarithromycin was linked to about 3 times the odds.12PubMed Central / Wiley Online Library. Increased risk of short-term depressive disorder after Helicobacter pylori eradication: A population-based nested cohort study If your mood drops during or soon after treatment, tell your doctor rather than stopping the pills on your own.

Skipping doses or stopping early can leave bacteria that survive and become harder to treat, and phone reminders can help you not miss doses. Your doctor will usually tell you to avoid alcohol with certain antibiotics, so ask about this when the prescription is written.

Nausea, a metallic taste and loose stools are common and usually pass once the course ends. Feeling unwell for days can make anyone more worried or low, so side effects can be hard to tell apart from anxiety.

A breath or stool test taken at least a few weeks after finishing the antibiotics checks that the infection is gone, and testing too early can give a false result. Judge any change in anxiety a few weeks after the course ends, once side effects have cleared. If anxiety is unchanged, the treatment wasn’t wasted, and the anxiety may have other sources.

Finishing treatment still matters, because clearing H. pylori lowers the risk of ulcers and stomach cancer. The short-term mood risk is a reason to watch, not to skip treatment. You can ask your doctor whether a regimen without clarithromycin suits you.

When Anxiety Comes First

In a year-long study of about 1,900 people, higher anxiety predicted developing indigestion or irritable bowel problems.13PubMed Central. The Psychotic Impact of Helicobacter pylori Gastritis and Functional Dyspepsia on Depression: A Systematic Review People who started with those gut problems became more anxious and depressed over the year.13PubMed Central. The Psychotic Impact of Helicobacter pylori Gastritis and Functional Dyspepsia on Depression: A Systematic Review In about two-thirds, the gut problems came before the mood problems.13PubMed Central. The Psychotic Impact of Helicobacter pylori Gastritis and Functional Dyspepsia on Depression: A Systematic Review

The remaining third shows that for some people anxiety really does come first. The study looked at indigestion and irritable bowel problems generally, not H. pylori specifically.

When you feel anxious, the body’s stress response changes how fast the stomach empties and how the intestines move, which can bring nausea, fullness or cramps. Anxious people also tend to notice and worry about normal gut sensations more, which can make discomfort feel stronger. These symptoms are real, not imagined, even when tests find no physical cause.

Ongoing indigestion with no clear cause occurs in people with H. pylori and in people without it, so finding the bacterium doesn’t automatically explain the symptoms. Doctors usually reach the label after checking for ulcers and other causes.

If you have both problems, treating the infection may not settle everything. Stress management can ease stomach symptoms too, and both sides may need attention at the same time.

Other Stomach-Related Causes of Anxiety

Atrophic gastritis is long-term thinning of the stomach lining, which H. pylori can cause. People with this condition were more than three times as likely to have significant anxiety.14Neurology and Neurological Sciences: Open Access. Unspecified Polyneuropathy, Vitamin B12 Deficiency, and Atrophic Gastritis. When is Collaboration Between a Neurologist and A Gastroenterologist Necessary? Low vitamin B12, ongoing illness and immune factors may all play a part.14Neurology and Neurological Sciences: Open Access. Unspecified Polyneuropathy, Vitamin B12 Deficiency, and Atrophic Gastritis. When is Collaboration Between a Neurologist and A Gastroenterologist Necessary? Those reasons are possibilities rather than proven causes.

The stomach lining makes the substance that helps your body absorb vitamin B12, so when it thins, absorption can fall. The condition develops slowly over years and may cause few symptoms early, so it can go unnoticed.

Low B12 can show up as tiredness and weakness, tingling or numbness in the hands and feet, memory problems or low mood. It’s easy to check with a blood test and treatable.

Ask your doctor whether a B12 blood test makes sense, especially if you’ve had the infection a long time, have symptoms like tiredness or tingling, or have been told you have atrophic gastritis. If B12 is low, it can be replaced with supplements or injections, and your doctor can decide which suits you.

Do Probiotics Help

In infected rats, two probiotic strains, Lactobacillus rhamnosus and Lactobacillus plantarum, reversed anxiety-like behavior, especially when given together.15PubMed. Regulatory Effects of Probiotics on Anxiety and Depression-Like Behaviors in H. pylori-Infected Rats They also lowered stress hormones and restored serotonin levels in those animals.15PubMed. Regulatory Effects of Probiotics on Anxiety and Depression-Like Behaviors in H. pylori-Infected Rats Results in rats don’t show the same will happen in people.

Anxiety-like behavior in rats is measured by how they act in tests, a rough stand-in for human anxiety. The better serotonin levels fit the proposed route involving mood chemicals, but don’t show it works that way in people.

Probiotics are live microbes meant to support gut bacteria, and some people take them during antibiotics to reduce loose stools. They are generally safe to try alongside treatment, but not instead of it, because they haven’t been shown to clear the infection on their own. Different strains do different things, so a benefit from one product doesn’t carry over to another. Look for named strains on the label, and ask your doctor first, especially if your immune system is weak.

When to Talk to a Doctor

In children, gut disorders can come with anxiety about body sensations, including refusing school.16PubMed Central. Impact of pediatric gastrointestinal disorders on learning and cognitive development in schoolchildren Mention anxiety alongside stomach symptoms for both adults and children. Anxiety that disrupts sleep, work or relationships deserves care even if the infection is treated.

Waiting to see whether anxiety fades after the infection is treated is reasonable only if it is mild; severe anxiety shouldn’t be delayed. Talking therapy or medication doesn’t depend on proving the infection is involved.

Before an appointment, note when anxiety started compared with stomach symptoms, and list any antibiotics you’ve taken and mood changes during them. Ask about a follow-up test to confirm the infection cleared, and about therapy or other anxiety treatment.

Some signs need help right away. Thoughts of self-harm need immediate help. Black stools or vomiting blood need urgent medical care. Chest pain should be checked right away, even if you think it’s a panic attack.