Helicobacter pylori is a spiral-shaped bacterium that infects the lining of the stomach. It is one of the most common bacterial infections in humans, affecting roughly half of the world’s population. Most people who carry it never develop symptoms, but in others it causes chronic inflammation that can lead to stomach ulcers and, in rare cases, stomach cancer. Treatment involves a combination of antibiotics and acid-reducing medications taken together for about two weeks.
What Is Helicobacter Pylori and How Does It Cause Problems?
H. pylori is uniquely adapted to survive in the harsh acidic environment of the stomach. It burrows into the protective mucus layer that lines the stomach wall and attaches to the cells underneath. Once there, it produces an enzyme called urease that neutralizes stomach acid in its immediate surroundings, allowing it to thrive.
The infection triggers a chronic inflammatory response in the stomach lining, a condition called gastritis. Over years or decades, this inflammation can damage the protective mucus barrier. Without that barrier, stomach acid and digestive juices can irritate the stomach wall itself, which is how peptic ulcers form.
Not everyone with H. pylori develops ulcers. In fact, most infected people never have any noticeable problems. Why some people get ulcers and others do not is not fully understood, but genetics, diet, smoking, and the specific strain of bacteria all likely play a role.
How Do You Get Helicobacter Pylori?
The exact way H. pylori spreads is not completely confirmed, but the evidence strongly points to person-to-person transmission. The bacteria can be found in saliva, dental plaque, and stool. Contaminated food and water are also believed to be routes of infection, particularly in areas with poor sanitation.
Most people acquire the infection during childhood. In developing countries, infection rates in children are high, often exceeding 50 percent. In the United States, the overall infection rate is much lower, roughly 30 to 40 percent, and it is more common among older adults and people living in crowded conditions.
Once someone is infected, the bacteria typically remain in the stomach for life unless they are treated with antibiotics. The immune system cannot clear the infection on its own.
What Are the Symptoms of an H. Pylori Infection?
Most people with H. pylori have no symptoms at all. When symptoms do appear, they are usually related to gastritis or a peptic ulcer that developed as a result of the infection.
Common symptoms include:
- A dull or burning pain in the upper abdomen, often worse when the stomach is empty
- Bloating and excessive burping
- Nausea
- Loss of appetite
- Unintentional weight loss
- Feeling full after eating only a small amount of food
These symptoms overlap with many other digestive conditions, including gastroesophageal reflux disease (GERD), gallstones, and functional dyspepsia. Having these symptoms does not confirm an H. pylori infection. Testing is required for a diagnosis.
Some symptoms require urgent medical attention. Vomiting blood, passing black or tarry stools, or having severe abdominal pain can indicate a bleeding ulcer or other serious complication. These symptoms should never be ignored.
How Is Helicobacter Pylori Diagnosed?
Several tests can detect H. pylori. The most common are non-invasive, meaning they do not require an endoscopy.
The urea breath test is highly accurate. The patient drinks a solution containing urea labeled with a special carbon isotope. If H. pylori is present, the urease enzyme breaks down the urea, and the labeled carbon is detected in the breath. This test requires the patient to stop taking acid-suppressing medications for two weeks beforehand, or the result can be falsely negative.
Stool antigen testing detects H. pylori proteins in a stool sample. It is also highly accurate and does not require stopping medications in all cases, though some protocols still recommend it. It is commonly used both for initial diagnosis and to confirm that treatment worked.
Blood antibody tests detect antibodies against H. pylori. These are less useful because antibodies can remain in the blood for years after the infection has been successfully treated. A positive blood test does not mean the infection is currently active.
An upper endoscopy with biopsy is the most invasive option. A thin tube with a camera is passed down the throat into the stomach, and small tissue samples are taken. This is typically reserved for people with concerning symptoms like bleeding, difficulty swallowing, or unintentional weight loss, or for those over a certain age with new digestive symptoms.
What Is the Treatment for Helicobacter Pylori?
Treatment requires a combination of medications taken together. No single drug is effective on its own. The standard approach is called triple therapy and includes two different antibiotics plus a proton pump inhibitor (PPI), which is a strong acid reducer.
A typical regimen lasts 10 to 14 days. The antibiotics most commonly used are clarithromycin and amoxicillin, though metronidazole and tetracycline are alternatives. The PPI helps the antibiotics work more effectively by raising the pH of the stomach.
Antibiotic resistance is a growing problem. In regions where clarithromycin resistance is high, doctors may recommend a different combination, such as bismuth quadruple therapy, which includes bismuth subsalicylate, metronidazole, tetracycline, and a PPI.
After completing the full course of antibiotics, a follow-up test is needed to confirm the infection is gone. This is usually done at least four weeks after finishing treatment and at least two weeks after stopping acid-reducing medications. Eradication rates with standard triple therapy are generally around 80 to 90 percent, though they can be lower in areas with high antibiotic resistance.
It is critical to take every dose exactly as prescribed. Stopping early or skipping doses increases the risk of antibiotic resistance and treatment failure.
Why Is Treatment Important Even Without Symptoms?
Chronic H. pylori infection is the strongest known risk factor for gastric cancer. The World Health Organization classifies H. pylori as a Group 1 carcinogen, meaning there is sufficient evidence that it causes cancer in humans. Most people with H. pylori never develop stomach cancer, but the risk is significantly higher in infected individuals compared to uninfected individuals.
H. pylori is also the leading cause of duodenal ulcers and a major cause of gastric ulcers. Treating the infection dramatically reduces ulcer recurrence. Without eradication, ulcers return in most people within a year.
Because of these risks, many doctors recommend testing and treating H. pylori in people who have active ulcers, a history of ulcers, or a family history of gastric cancer. The decision to treat an asymptomatic infection is made on an individual basis, weighing the benefits of eradication against the risks and side effects of antibiotics.
Can Helicobacter Pylori Come Back After Treatment?
Recurrence after successful treatment is uncommon in adults in developed countries. The reinfection rate is estimated to be less than 1 to 3 percent per year in most Western populations. In developing countries, where sanitation is poorer and the bacteria are more widespread, reinfection rates are higher.
Most cases of apparent recurrence are actually treatment failure. The bacteria were not fully eradicated in the first place, either because of antibiotic resistance or because the patient did not complete the full course of medication. This is why follow-up testing is essential.
If the first treatment fails, a second course with different antibiotics may be prescribed. Doctors may also order a culture and sensitivity test from a biopsy sample to identify which antibiotics the specific strain is resistant to.
What Foods or Lifestyle Changes Help Manage Symptoms?
No diet cures H. pylori. Antibiotics are the only way to eliminate the infection. However, certain dietary choices may help reduce discomfort while the stomach lining heals.
Eating smaller, more frequent meals can help manage ulcer pain. Spicy foods, alcohol, and caffeine do not cause ulcers, but they can aggravate symptoms in some people. Smoking delays ulcer healing and increases the risk of complications, so quitting is strongly advised.
Some research has explored whether probiotics, particularly Lactobacillus and Bifidobacterium strains, can reduce the side effects of antibiotic treatment. The evidence is promising but not definitive. Probiotics do not replace antibiotics and should not be used as a standalone treatment.
Foods rich in antioxidants, such as fruits and vegetables, are part of a generally healthy diet, but there is no evidence that any specific food eradicates H. pylori. Claims that cranberry juice, green tea, or honey can cure the infection are not supported by clinical evidence.
When Should You See a Doctor?
Anyone with persistent upper abdominal pain, unexplained weight loss, or digestive symptoms lasting more than a few weeks should be evaluated by a doctor. Symptoms like vomiting blood, black stools, or severe abdominal pain require urgent medical care.
Screening for H. pylori is not recommended for the general population. The U.S. Preventive Services Task Force does not currently recommend routine screening in asymptomatic adults. Testing is reserved for people with symptoms, a history of ulcers, or specific risk factors.
If you have already been treated for H. pylori, confirm the infection is gone with a follow-up test. Do not assume treatment worked just because your symptoms improved. Ulcer symptoms can improve even when the bacteria survive, and the underlying risk remains.
Frequently Asked Questions
Can Helicobacter pylori go away on its own?
No. Once you are infected, H. pylori remains in your stomach for life unless treated with antibiotics. The immune system cannot clear the infection naturally.
Is Helicobacter pylori contagious between family members?
Yes, person-to-person transmission is believed to be the main route of spread, likely through saliva or contaminated food and water. Infection often clusters within families, which is why household members of an infected person are at higher risk.
What happens if Helicobacter pylori is left untreated?
Chronic infection can lead to gastritis, peptic ulcers, and an increased risk of stomach cancer over many years. Most infected people never develop these complications, but the risk is real and increases with the duration of infection.
How long does Helicobacter pylori treatment take to work?
The antibiotic course lasts 10 to 14 days. A follow-up test is performed at least four weeks after finishing the medication to confirm the bacteria have been eradicated.

