Helicobacter pylori (H. pylori) infection occurs when H. pylori bacteria infect your stomach. This usually happens during childhood. A common cause of stomach ulcers (peptic ulcers), H. pylori infection may be present in more than half the people in the world.
Most people don't realize they have H. pylori infection because they never get sick from it. If you develop signs and symptoms of a peptic ulcer, your health care provider will probably test you for H. pylori infection. A peptic ulcer is a sore on the lining of the stomach (gastric ulcer) or the first part of the small intestine (duodenal ulcer).
H. pylori infection is treated with antibiotics.
Most people with H. pylori infection will never have any signs or symptoms. It's not clear why many people don't have symptoms. But some people may be born with more resistance to the harmful effects of H. pylori.
When signs or symptoms do occur with H. pylori infection, they are typically related to gastritis or a peptic ulcer and may include:
- An ache or burning pain in your stomach (abdomen)
- Stomach pain that may be worse when your stomach is empty
- Loss of appetite
- Frequent burping
- Unintentional weight loss
When to see a doctor
Make an appointment with your health care provider if you notice any signs and symptoms that may be gastritis or a peptic ulcer. Seek immediate medical help if you have:
- Severe or ongoing stomach (abdominal) pain that may awaken you from sleep
- Bloody or black tarry stools
- Bloody or black vomit or vomit that looks like coffee grounds
From Mayo Clinic to your inbox
Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus expertise on managing health.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information, and understand which
information is beneficial, we may combine your email and website usage information with
other information we have about you. If you are a Mayo Clinic patient, this could
include protected health information. If we combine this information with your protected
health information, we will treat all of that information as protected health
information and will only use or disclose that information as set forth in our notice of
privacy practices. You may opt-out of email communications at any time by clicking on
the unsubscribe link in the e-mail.
Thank you for subscribing
Our Housecall e-newsletter will keep you up-to-date on the latest health information.
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
H. pylori infection occurs when H. pylori bacteria infect your stomach. H. pylori bacteria are usually passed from person to person through direct contact with saliva, vomit or stool. H. pylori may also be spread through contaminated food or water. The exact way H. pylori bacteria causes gastritis or a peptic ulcer in some people is still unknown.
People often get H. pylori infection during childhood. Risk factors for H. pylori infection are related to living conditions in childhood, such as:
- Living in crowded conditions. Living in a home with many other people can increase your risk of H. pylori infection.
- Living without a reliable supply of clean water. Having a reliable supply of clean, running water helps reduce the risk of H. pylori.
- Living in a developing country. People living in developing countries have a higher risk of H. pylori infection. This may be because crowded and unsanitary living conditions may be more common in developing countries.
- Living with someone who has an H. pylori infection. You're more likely to have H. pylori infection if you live with someone who has H. pylori infection.
A peptic ulcer is a sore on the lining of your stomach, small intestine or esophagus. A peptic ulcer in the stomach is called a gastric ulcer. A duodenal ulcer is a peptic ulcer that develops in the first part of the small intestine (duodenum). An esophageal ulcer occurs in the lower part of your esophagus.
Complications associated with H. pylori infection include:
- Ulcers. H. pylori can damage the protective lining of the stomach and small intestine. This can allow stomach acid to create an open sore (ulcer). About 10% of people with H. pylori will develop an ulcer.
- Inflammation of the stomach lining. H. pylori infection can affect the stomach, causing irritation and swelling (gastritis).
- Stomach cancer. H. pylori infection is a strong risk factor for certain types of stomach cancer.
In areas of the world where H. pylori infection and its complications are common, health care providers sometimes test healthy people for H. pylori. Whether there is a benefit to testing for H. pylori infection when you have no signs or symptoms of infection is controversial among experts.
If you're concerned about H. pylori infection or you think you may have a high risk of stomach cancer, talk to your health care provider. Together you can decide whether you may benefit from H. pylori testing.