Health Care Evidence-Based

5 Infections Linked to Cancer and How to Reduce Risk

Certain infections can increase the risk of specific cancers, sometimes after remaining in the body for many years. Human papillomavirus, H. pylori, hepatitis B, hepatitis C, and Epstein-Barr virus are among the major infections associated with cancer. Understanding how they are linked to disease—and which prevention or treatment options exist—can help people make informed decisions without assuming that an infection automatically leads to cancer.

Alex Standall

Health & Wellness Writer

Published Oct 14, 2026 • 13 min read
Medical illustration representing HPV, stomach bacteria and hepatitis viruses associated with specific cancer risks
KEY SCIENTIFIC TAKEAWAYS
1

Certain infections can increase the risk of specific cancers, sometimes after remaining in the body for many years.

2

Human papillomavirus, H. pylori, hepatitis B, hepatitis C, and Epstein-Barr virus are among the major infections associated with cancer.

3

Understanding how they are linked to disease—and which prevention or treatment options exist—can help people make informed decisions without assuming that an infection automatically leads to cancer.

Most infections do not cause cancer. However, scientific evidence shows that certain infectious agents can contribute to the development of specific cancers. They may interfere with normal cell growth, cause persistent inflammation, damage tissues over time, or affect the immune system's ability to control abnormal cells.

A global analysis from the International Agency for Research on Cancer (IARC), published online in September 2026 in The Lancet Oncology, estimated that approximately 2.3 million new cancer cases worldwide in 2024 were attributable to infections—about 12% of all new cases. The analysis considered 12 infectious agents, including bacteria and viruses.

These findings highlight a major public health opportunity. Some infection-related cancers can be prevented or their risk reduced through vaccination, appropriate screening, and testing and treatment for selected infections. But the overall estimate does not mean that one in eight people with an infection will develop cancer. It describes the estimated share of cancer cases attributable to infections across a population.

The five infections below are important examples, but they do not represent every infectious agent associated with cancer. Their risks, routes of transmission, and available preventive measures differ substantially.

1. Human papillomavirus (HPV)

Human papillomavirus is a large group of viruses. HPV is very common and is usually transmitted through intimate skin-to-skin contact, including sexual contact. Many infections are temporary and clear naturally. The main cancer concern involves persistent infection with certain high-risk HPV types.

Which cancers are linked to HPV?

High-risk HPV types are the principal cause of cervical cancer. HPV is also associated with cancers of the anus, penis, vulva, vagina, and oropharynx, which includes parts of the throat and the base of the tongue. The contribution of HPV varies by cancer type and location.

When a high-risk HPV infection persists, viral proteins can interfere with normal cellular mechanisms that control growth and repair. Over time, infected cells may develop precancerous changes. Some of these changes progress to cancer, but this is not inevitable, and the process usually develops over years rather than immediately after infection.

What symptoms does HPV cause?

HPV often causes no noticeable symptoms. Many people do not know when they acquired it or whether they have ever had it. Some HPV types cause genital warts, but the types that cause most HPV-related cancers are not necessarily the same types that cause warts.

Because symptoms are unreliable, people should follow the recommended HPV vaccination and cervical screening guidance that applies to them. A person should not assume that the absence of symptoms means there is no infection, nor should a positive HPV result be interpreted as a cancer diagnosis.

HPV vaccination protects against the types responsible for most HPV-related cancers. It is most effective before exposure to the virus, although some people outside the routine vaccination age group may still benefit under local guidance.

Cervical screening can detect high-risk HPV or precancerous changes, depending on the test used. Vaccination and screening complement one another: vaccination reduces the risk from covered HPV types, while screening can identify problems that need follow-up. The appropriate schedule depends on age, medical history, previous results, and national guidelines.

2. Helicobacter pylori (H. pylori)

Helicobacter pylori is a bacterium that can live in the stomach. Infection is common worldwide and often begins in childhood. It may persist for years without obvious symptoms, although some people develop gastritis or peptic ulcers.

How is H. pylori linked to cancer?

Persistent H. pylori infection can cause chronic inflammation of the stomach lining. In some people, long-term inflammation leads to changes in the stomach tissue that increase the risk of gastric cancer. H. pylori is also associated with a type of lymphoma known as mucosa-associated lymphoid tissue (MALT) lymphoma.

Having H. pylori does not mean that a person will develop cancer. Risk varies according to several factors, including the characteristics of the infection, family history, the condition of the stomach lining, and regional differences in gastric cancer rates.

What symptoms may occur?

Many infected people have no symptoms. Others may experience upper abdominal discomfort, bloating, nausea, or ulcer-related symptoms. These complaints have many possible causes and cannot confirm H. pylori on their own. Some people with serious stomach conditions may have few symptoms initially.

Seek medical assessment for persistent digestive symptoms, unexplained weight loss, difficulty swallowing, repeated vomiting, black stools, or evidence of gastrointestinal bleeding. Severe or sudden symptoms warrant urgent evaluation. These symptoms do not automatically mean cancer, but they should not be ignored.

Can H. pylori be treated?

Yes. When treatment is indicated, clinicians commonly prescribe a combination of medicines that may include antibiotics and acid suppression. The specific regimen depends on antibiotic resistance patterns, allergies, prior treatment, and clinical guidance.

Patients should take medicines exactly as prescribed and ask whether a follow-up test is required to confirm that the infection has cleared. Treatment can reduce infection-related complications, but it does not guarantee that a person will never develop stomach cancer, particularly if significant tissue changes have already occurred.

Testing is not necessary for every person with occasional stomach discomfort. A healthcare professional can determine whether testing is appropriate based on symptoms, medical history, and local recommendations.

3. Hepatitis B virus (HBV)

Hepatitis B is a viral infection that affects the liver. Some people develop a short-term infection and recover, while others develop chronic infection. The likelihood of chronic infection is strongly influenced by the age at which a person becomes infected.

How is hepatitis B associated with liver cancer?

Chronic HBV infection can cause ongoing inflammation and damage in the liver. Over time, some people develop fibrosis or cirrhosis, which increases the risk of hepatocellular carcinoma, the most common type of primary liver cancer. HBV can also contribute to liver cancer through biological effects that are not explained by cirrhosis alone.

Not everyone with hepatitis B develops severe liver disease. Risk varies according to viral activity, liver health, age, alcohol exposure, other infections, family history, and additional factors. People with chronic HBV should have an individualized care plan rather than relying on symptoms to judge whether the infection is affecting their liver.

How does hepatitis B spread?

HBV can be transmitted through infected blood and certain body fluids. Routes include transmission from an infected mother to a baby during childbirth, sexual exposure, and sharing needles or other injection equipment. Unsafe medical procedures involving contaminated equipment can also create a risk.

Hepatitis B is not ordinarily spread through hugging, sharing food, casual contact, or sitting near someone. Understanding transmission helps people protect themselves without unnecessarily isolating or stigmatizing those who have the infection.

Hepatitis B vaccination is a central preventive measure. People who have not been vaccinated should ask whether they are eligible, and pregnant people should follow recommended screening and prevention guidance to reduce the risk of transmission to a newborn.

People with confirmed chronic hepatitis B may need periodic blood tests and liver assessment. Antiviral treatment is appropriate for some patients, depending on clinical findings. Some people with chronic infection also need regular liver cancer surveillance, even when they feel well.

Testing results require careful interpretation because they can indicate current infection, past infection, or immunity. A clinician can explain which results matter and whether follow-up or treatment is needed.

4. Hepatitis C virus (HCV)

Hepatitis C is another viral infection that affects the liver. It is mainly transmitted through contact with infected blood. Without treatment, chronic infection may persist for many years and cause progressive liver damage.

What is the connection between hepatitis C and cancer?

Long-term HCV infection can cause liver inflammation and scarring. Advanced scarring, or cirrhosis, is associated with a substantially higher risk of hepatocellular carcinoma. The risk is not identical for every infected person and is affected by the extent of liver damage and other health factors.

Hepatitis C can remain undetected because many people do not have obvious symptoms. Fatigue or abdominal discomfort may occur, but these symptoms are nonspecific. A person cannot reliably determine their hepatitis C status based on how they feel.

Is hepatitis C curable?

Modern direct-acting antiviral medicines can cure most people who complete appropriate treatment. There is currently no widely available vaccine for hepatitis C, making testing and treatment especially important for people who may have been exposed or are included in local screening recommendations.

An initial antibody test indicates whether exposure may have occurred. An HCV RNA test is used to determine whether the virus is currently present. Antibodies may remain after the infection has cleared or been cured, so an antibody-positive result alone does not necessarily mean active infection.

What happens after treatment?

People should attend the recommended follow-up testing to confirm that treatment has succeeded. Those who already have advanced fibrosis or cirrhosis may continue to need liver cancer surveillance after the virus has been cleared. Treatment removes the virus, but it may not reverse all existing liver damage.

If you think you may have been exposed to hepatitis C, ask a qualified healthcare professional whether testing is appropriate. Do not attempt to diagnose infection from symptoms or use unproven products marketed as liver cleanses or antiviral remedies.

5. Epstein-Barr virus (EBV)

Epstein-Barr virus is one of the most widespread human viruses. It is best known as a cause of infectious mononucleosis, often called mono, but many people acquire it without developing noticeable illness. After the initial infection, EBV generally remains in the body in a dormant state.

Which cancers are associated with EBV?

EBV is associated with certain lymphomas and other cancers, including nasopharyngeal carcinoma and some forms of Hodgkin lymphoma and non-Hodgkin lymphoma. The associations vary by cancer type and geography. EBV can contribute to cancer development through interactions with infected cells and the immune system, but infection alone is not sufficient to explain why a particular person develops cancer.

Most people with EBV never develop a related cancer. Additional factors, including immune function, genetic characteristics, and environmental influences, affect risk. A past episode of mononucleosis should not be treated as evidence that cancer is likely.

Can EBV be prevented or screened for?

There is currently no approved vaccine for general EBV prevention. Because the virus is extremely common and may spread through saliva, completely avoiding exposure can be difficult. Sensible hygiene practices can help reduce exposure to saliva from someone who is ill, but they cannot eliminate all risk.

Routine EBV testing is not recommended for every healthy person as a way to predict future cancer. Blood tests may be useful in particular clinical circumstances, but results must be interpreted in context. There is no universal screening program that can reliably predict which otherwise healthy person with EBV will develop a related cancer.

If you have persistent or concerning symptoms, seek medical assessment rather than requesting EBV testing solely because of a news headline. Symptoms such as prolonged fever, unexplained weight loss, or persistent enlarged lymph nodes can have many causes and require individualized evaluation.

The five infections described here do not share one prevention method. A practical approach focuses on measures that have evidence for the specific pathogen.

Review vaccination and screening

Ask whether you are eligible for HPV and hepatitis B vaccination. Follow the cervical screening guidance recommended for your age and health history. Vaccination and screening are not interchangeable: vaccines prevent selected infections, while screening looks for signs that may require further assessment.

Get tested when medically appropriate

Hepatitis B and C testing may be recommended under national screening policies or because of a person's history or possible exposure. H. pylori testing may be appropriate for particular digestive conditions or other risk factors. No single panel of tests is recommended for every healthy person to predict all infection-related cancers.

Complete prescribed treatment

When a treatable infection is confirmed, follow the recommended treatment plan. For H. pylori, ask whether eradication should be confirmed with follow-up testing. For hepatitis C, attend follow-up testing after antiviral treatment. For chronic hepatitis B, discuss monitoring, treatment eligibility, and liver cancer surveillance where indicated.

Use safer practices around blood and intimate contact

Do not share needles or injection equipment, and use healthcare services that follow appropriate infection-control procedures. Follow guidance about safer sex and HPV prevention. These measures can reduce exposure risks, but an infection should never be treated as evidence of someone's behavior or character.

Do not rely on symptoms alone

Some infections remain silent for years. Conversely, common symptoms such as tiredness, abdominal discomfort, or a sore throat do not automatically indicate an infection or cancer. If you have concerns, seek a clinical assessment instead of trying to self-diagnose.

For a step-by-step overview of vaccines, testing, and treatment options, read how to prevent infection-related cancers. For the wider research context, see the latest global findings on infections linked to cancer.

Frequently asked questions

What are the five major infections linked to cancer?

Important examples include HPV, H. pylori, hepatitis B, hepatitis C, and Epstein-Barr virus. Other infectious agents are also associated with certain cancers, so these five do not represent the complete list.

Which infection causes cervical cancer?

Persistent infection with certain high-risk HPV types is the principal cause of cervical cancer. HPV vaccination and recommended cervical screening can reduce risk.

Can H. pylori cause stomach cancer?

H. pylori is associated with an increased risk of gastric cancer and MALT lymphoma. Most infected people do not develop cancer. Testing and treatment may be recommended in particular clinical circumstances.

Do hepatitis B and hepatitis C cause liver cancer?

Chronic infection with either virus can increase liver cancer risk, particularly when substantial liver damage or cirrhosis develops. Hepatitis B vaccination prevents HBV infection, while hepatitis C can often be cured with antiviral medicines.

Does Epstein-Barr virus mean I will develop lymphoma?

No. EBV is very common, and the vast majority of people who have it never develop a related cancer. Routine EBV testing is not recommended for every healthy person to predict future cancer.

Can antibiotics prevent cancer?

Antibiotics are used to treat particular bacterial infections, including H. pylori when treatment is indicated. They do not prevent cancer generally and should not be taken without an appropriate medical indication.

Should I get tested for every infection mentioned here?

No. The appropriate tests depend on your symptoms, medical history, possible exposure, vaccination status, and local recommendations. A healthcare professional can help identify which tests, if any, are useful.

Sources and Further Reading

Was this health guide clear and helpful?

💬

Discussion & Reader Comments

0 Comments

No reader comments yet.

Be the first to share your thoughts, questions, or clinical insights below.

Leave a Comment

Your email address will not be published. All comments undergo clinical & editorial review before appearing publicly. Required fields are marked *

⚠️

⚠️

⚠️

Human Verification Solve the visual equation to submit

Continue Reading

More in Health Care →