Skip to main content

ACS & ASCO are Stronger Together: Cancer.Net content is now available on



Cancer Risk and Prevention

HIV and Cancer

HIV doesn’t seem to cause cancer directly, but over time it causes the immune system to become weaker, putting people living with HIV (PLWH) at an increased risk of many types of cancer. In addition, PLWH who are diagnosed with cancer are more likely to die from that cancer than people without HIV.

There are a number of factors that can contribute to this increased risk.

  • HIV can lead to ongoing inflammation and damage to the immune system.
  • PLWH are more likely to have other viruses that can cause cancer, such as human papillomavirus (HPV) , or other viruses including human herpes virus 8 (HHV-8) (also known as Kaposi sarcoma-associated herpesvirus (KSHV), hepatitis B or C virus (HBV or HCV), or Epstein Barr virus (EBV).
  • PLWH are more likely to use tobacco and have higher rates of alcohol and substance use disorders.

PLWH are living longer because of effective anti-retroviral therapy (ART), and they are developing the same types of cancer commonly seen in older people. However, PLWH are often diagnosed at a later stage when the cancer may be harder to treat.  It is especially important for PLWH to follow cancer screening guidelines to try and find cancer early.

Acquired immune deficiency syndrome (AIDS)-defining cancers

PLWH are much more likely to get certain types of cancer than people who are not infected. HIV can damage the immune system, allowing certain types of cancer to develop, called opportunistic cancers. These are considered AIDS-defining cancers. These are types of cancer that occur so often in people with AIDS that their presence in a person infected with HIV is a sign that AIDS has developed.

Kaposi sarcoma, non-Hodgkin lymphoma, and cervical cancer are considered to be AIDS-defining cancers.

Kaposi sarcoma

Kaposi sarcoma (KS) develops from the cells that line lymph or blood vessels. In the United States, the most common type of KS is related to infection with both the human herpes virus 8 (HHV-8) and HIV virus.

HHV-8, also known as Kaposi sarcoma-associated herpesvirus (KSHV), does not seem to cause disease in most healthy people. However, PLWH who are also infected with HHV-8 are much more likely to develop KS.  

KS causes dark purplish or brownish spots (called lesions) on the skin or in the mouth. These may be flat or raised. KS may also affect the lymph nodes and other organs, such as the digestive tract, lungs, liver, and spleen. In some cases, KS can cause serious problems or may even become life-threatening.

For someone with AIDS-related KS, taking antiretroviral therapy (ART) allows their immune function to get better and may shrink KS lesions. For some, ART may be the only treatment needed. For people with more advanced disease or whose disease does not respond to ART alone, other treatments for KS may be needed such as chemotherapy or radiation.

Non-Hodgkin lymphoma

Non-Hodgkin lymphoma (NHL) is a cancer that affects white blood cells called lymphocytes, which are part of the immune system.

There are many different types of NHL, but certain fast growing types are more common in PLWH. These include diffuse large B-cell lymphoma, Burkitt’s lymphoma, and central nervous system (CNS) lymphoma. PLWH are also more likely to get some types of lymphoma that have been linked with viruses, especially Epstein-Barr Virus.

PLWH are at a higher risk of developing cancer in their brain or spinal cord (central nervous system or CNS). People with lymphoma in their CNS can have headaches, confusion, vision problems, weakness or changes in feeling in their face, arms, or legs, and in some cases, seizures. Treatment for AIDS-related NHL will depend on the type and stage of NHL, but usually involves chemotherapy. Treatment is usually the same as for people with NHL who don’t have HIV.

Cervical cancer

Cervical cancer is cancer of the cervix, the lower part of the uterus (womb). Nearly all cervical cancers are caused by infection with the human papillomavirus (HPV).

People with a cervix who are infected with HIV and HPV are at higher risk for developing pre-cancer changes in their cervix than those without HIV infection. Pre-cancer cervical changes in PLWH are also more likely to develop into aggressive or invasive cancer faster than usual.

It is important to talk to your health care team about cervical cancer screening. Screening for cervical cancer and pre-cancer changes needs to start at age 25 for people with a cervix and who do not have HIV, but should be done as soon as possible after being diagnosed with HIV. Depending on the results of the screening test, more testing may be needed. PLWH might need more frequent screening of cervical cancer than those who don't have HIV.

If pre-cancer changes are found, they should be treated to keep them from turning into cervical cancer. This is done by removing or destroying the outer layers of the cervix.

It is also important to talk to the health care team about HPV vaccines that can help prevent HPV infection and some cancers linked to it.

Non-AIDS-defining cancers

There are other types of cancer that are more likely to occur in PLWH. These include:

Some of these cancers have been linked to different viruses. These viruses can cause cancer in people with and without HIV, but the risk might be higher in PLWH because their immune systems are weaker. For example, anal cancer and some mouth and throat cancers are linked to infection with HPV, the same virus that causes cervical cancer. Liver cancer is known to be more common in people infected with the hepatitis B or C viruses. Hodgkin lymphoma is often associated with EBV.

The higher risk for some cancers in PLWH may be in part because of other known risk factors, such as cigarette smoking. Lung cancer is one of the most common cancers in PLWH. The elevated risk of lung cancer in PLWH is not completely explained by smoking though.   

Of course, as PLWH are now living longer, they are also developing cancers that are not clearly linked to HIV but are more common in older people, such as breast, colorectal, and prostate cancer.

What can PLWH do to lower their risk or find cancer early?

Lowering cancer risk

  • Antiretroviral therapy (ART): One of the most important ways that PLWH can lower their risk of cancer is to stay on their ART medicines to help keep the HIV under control. This can greatly decrease the risk for AIDS and cancer.
  • Vaccines: It is important for PLWH to get vaccinated against viruses that can cause cancer. These are needed if the PLWH hasn’t been vaccinated and is not found to be infected with viruses such as HPV and hepatitis B virus. 

In addition, PLWH should follow the healthy living steps recommended for everyone who wants to lower their risk of cancer. These include:

Finding cancer early

Screening tests are used to find cancer before a person has any symptoms. Regular screening increases the chances of detecting certain cancers early before they have a chance to spread . The same cancer screening tests are recommended for PLWH as for people without HIV.  The American Cancer Society and other organizations have screening guidelines for breast, cervical, colorectal, lung and prostate cancers.

For Kaposi sarcoma and non-Hodgkin lymphoma, there are no screening tests at this time that help find them early. Still, regular medical checkups may help find signs or symptoms of these cancers in PLWH.

For people who have a cervix, cervical cancer can often be found early or even prevented by getting regular screening tests. This is especially important if the PLWH has had a positive test for HPV. Experts recommend that people with a cervix who are living with HIV have a cervical screening test as soon as possible after being diagnosed. Depending on the results of the screening test, more testing may be needed. How often screening is needed depends on the results of the first screening test and might be done more often for PLWH.

Other special screening tests for cancer in people with HIV are being studied. For example, because people with HIV are also at higher risk of anal cancer, some experts might recommend a screening test very much like cervical cancer screening, but one that takes samples of cells from the lining of the anus.

Unfortunately, HIV and AIDS still carry a stigma that might make PLWH put off getting screened or seeking health care. However, delaying screening or putting off getting symptoms checked out can lead to later diagnosis which can make a cancer harder to treat.

Cancer treatment in people with HIV or AIDS

PLWH who develop cancer should be given the same cancer treatment as people without HIV. The cancer treatment itself is based on the type and stage (extent) of the cancer. It is very important that PLWH continue their ART while getting cancer treatments. ART allows many PLWH who have cancer to get full doses of chemotherapy and other standard cancer treatments. PLWH may need additional care and medicines to support them during cancer treatment. This may include medicines to help keep their immune system working and to prevent infections. This allows PLWH to have the best outcomes and has led to better survival.

Treatment of both HIV and cancer can be complex, so it is very important that cancer doctors (oncologists) and HIV specialists work closely together. There may be a need to make changes to ART to decrease interactions between the cancer treatment and the HIV treatment. It is important that PLWH find a cancer doctor who understands how HIV can affect cancer care and will work with an HIV specialist. 

Even with standard cancer treatments, PLWH may still be more likely to die from certain types of cancer such as colorectal, lung, melanoma, and breast cancer. It is not clear why PLWH have higher death rates from cancer than people without HIV.

The American Cancer Society medical and editorial content team

Our team is made up of doctors and oncology certified nurses with deep knowledge of cancer care as well as editors and translators with extensive experience in medical writing.

Coghill AE, Pfeiffer RM, Shiels MS, Engels EA. Excess Mortality among HIV-Infected Individuals with Cancer in the United States. Cancer Epidemiol Biomarkers Prev. 2017 Jul;26(7):1027-1033.  

Coghill AE, Shiels MS, Suneja G, Engels EA. Elevated Cancer-Specific Mortality Among HIV-Infected Patients in the United States. J Clin Oncol. 2015 Jul 20;33(21):2376-83. 

Corrigan KL, Knettel BA, Suneja G. Inclusive Cancer Care: Rethinking Patients Living with HIV and Cancer. Oncologist. 2020;25(5):361-363.

Duko B, Ayalew M, Ayano G. The prevalence of alcohol use disorders among people living with HIV/AIDS: a systematic review and meta-analysis. Subst Abuse Treat Prev Policy. 2019; 14: 52.

Goncalves PH, Montezuma-Rusca JM, Yarchoan R, Uldrick TS. Cancer prevention in HIV-infected populations. Semin Oncol. 2016; 43(1): 173-188. 

Hernández-Ramírez RU, Shiels MS, Dubrow R, Engels EA. Cancer risk in HIV-infected people in the USA from 1996 to 2012: a population-based, registry-linkage study. Lancet HIV. 2017 Nov;4(11):e495-e504.

McNally GA. HIV and Cancer: An Overview of AIDS-Defining and Non-AIDS-Defining Cancers in Patients With HIV. Clin J Oncol Nurs. 2019; 23(3): 327-331.

National Cancer Institute. HIV Infection and Cancer Risk. Accessed at on October 28, 2021.

National Comprehensive Cancer Network. Cancer in People with HIV. Accessed at on October 28, 2021.

Park LS, Hernández-Ramírez RU, Silverberg MJ, Crothers K, Dubrow R. Prevalence of non-HIV cancer risk factors in persons living with HIV/AIDS: a meta-analysis. AIDS. 2016 Jan;30(2):273-91.

Rios A, Hagemeister FB. The acquired immunodeficiency syndrome–related cancers. In: Katarjian HM, Wolff RA, Reiber AG, eds.  The MD Anderson Manual of Medical Oncology. 4th ed. McGraw Hill LLC; 2021: 1223-1251.

Torres HA, Mulanovich V. Management of HIV infection in patients with cancer receiving chemotherapy. Clin Infect Dis. 2014 Jul 1;59(1):106-14. doi: 10.1093/cid/ciu174. Epub 2014 Mar 18.

US Department of Health and Human Services. Guidelines for the Prevention and Treatment of Opportunistic Infections in Adults and Adolescents with HIV. Accessed at on November 1, 2021.

US Department of Health and Human Services. HIV Basics. Accessed at on October 19, 2021.

Yarchoan R, Uldrick TS. HIV-associated cancer and related diseases. N Engl J Med. 2018 March 15; 378(11): 1029–1041. 

Last Revised: March 28, 2022

American Cancer Society Emails

Sign up to stay up-to-date with news, valuable information, and ways to get involved with the American Cancer Society.