18+ only: Closer Couples is sex and relationship education for adults.
GuideGay menSafer sexLGBTQ+

Anal HPV, Warts and Anal Cancer Screening for Gay and Bi Men

Most anal cancers are caused by HPV and gay and bi men have a higher risk. The NHS offers the HPV vaccine to men who have sex with men up to 45, and IANS guidelines suggest anal cancer screening from 35 for those with HIV and 45 for those without.

Key facts

Last updated 13 Nov 2026

Last updated: · Medically sourced (sources listed below)

TL;DR

Short answer: most anal cancers are caused by HPV, a very common virus passed on through skin contact during sex, and gay and bi men have a higher risk than other men. The HPV vaccine is free for men who have sex with men up to age 45 at UK sexual health and HIV clinics. International guidelines (IANS, 2024) suggest anal cancer screening from age 35 for gay and bi men living with HIV, and from 45 for those without HIV, so ask your clinic what's available.

Anal cancer is rare, and most people who get HPV never develop it. But it's one of the few cancers where gay and bi men carry a clearly higher risk, and it often has no symptoms early on. The good news is that there is now a vaccine, a screening approach and trial evidence that treating precancer works. This guide covers what the NHS, the CDC and the International Anal Neoplasia Society (IANS) say.

What anal HPV is and how it spreads

Human papillomavirus (HPV) is a group of very common viruses. The NHS says most types are harmless, but some cause genital and anal warts and others are linked to cancers, including anal, mouth and penile cancer.

According to the NHS, you can get HPV from:

Many people with HPV have no symptoms and can still pass it on. Condoms lower the chance of passing it on, but the NHS notes the virus can still spread from skin a condom doesn't cover. The CDC says most sexually active adults have already been exposed to HPV, though not necessarily to every type the vaccine covers.

Anal warts

The CDC says about 90% of anogenital warts are caused by HPV types 6 and 11, which don't cause cancer. The NHS describes them as small, rough lumps around the anus, penis or the skin in between, sometimes in groups. They're usually painless but can itch or bleed, and they can take weeks to months to appear after contact.

Who has a higher risk of anal cancer

The NHS says you may be more likely to get anal cancer if you:

In the IANS guidelines, anal cancer in the general population is about 1.7 cases per 100,000 people per year. Among gay and bi men without HIV, it starts to rise from about age 45 and peaks at 60 and over, at around 34 per 100,000. The highest rates are in gay and bi men living with HIV, with more than 70 per 100,000 from age 35. These are still small numbers, but they're why targeted checks make sense.

The HPV vaccine: up to 45 for gay and bi men

The vaccine prevents new HPV infections. It doesn't treat an infection you already have, so the CDC says it works best before exposure. Even so, the CDC notes that adults who've been exposed to HPV usually haven't caught every type the vaccine covers.

In the UK, the NHS offers the HPV vaccine free to men aged 45 and under who have sex with men, through sexual health and HIV clinics, up to your 46th birthday. It's also offered to people living with HIV and some trans people. People aged 25 to 45 usually have 2 doses, and people with a weakened immune system have 3.

In the US, the CDC recommends the vaccine for everyone up to age 26. Adults aged 27 to 45 can get it after talking it through with their clinician, and the CDC notes the benefit is smaller at that age because more people have already been exposed.

If you're on PrEP or attend a clinic for regular testing, ask about the vaccine at your next visit. Our guide to PrEP, DoxyPEP and safer sex for gay and bi men covers the rest of the safer-sex toolkit.

Anal cancer screening: who and when

Anal cancer often starts as precancerous changes called high-grade squamous intraepithelial lesions (HSIL), much like cervical cancer. In 2024 IANS published the first international consensus guidelines on screening. They recommend starting:

The guidelines also say screening should only be offered where clinics can follow up abnormal results, so availability differs by country and clinic. If you're in one of these groups, ask your HIV clinic or sexual health clinic whether anal screening is offered locally.

What the check involves

According to IANS, screening can include:

If results are abnormal, the next step is usually high-resolution anoscopy, a closer look at the lining with a small tube and magnification, so any patches can be biopsied. You can ask questions first and ask to pause at any point.

Does treating precancer actually prevent cancer?

Yes, according to the ANCHOR trial, published in the New England Journal of Medicine in 2022. It followed 4,446 people aged 35 and over living with HIV who had HSIL. Over a median of about 2 years, those whose lesions were treated had a 57% lower rate of anal cancer than those who were monitored without treatment (9 cases vs 21). Most people were treated with an in-clinic procedure (electrocautery), and the US National Institutes of Health reported that most side effects were mild, such as pain and bleeding.

The lead researcher stressed that treatment didn't prevent every case, so follow-up checks still matter after treatment.

Symptoms to get checked

Anal cancer may cause no symptoms, and the ones it does cause are easy to mistake for piles or a fissure. The NHS lists:

See a GP or sexual health clinic if you have any of these or notice a change that isn't normal for you. The NHS says a GP may examine you with a gloved finger. If you've had pain or bleeding after bottoming, our guide to anal fissures and piles explains the common, less serious causes, but don't let that stop you getting checked if things don't settle.

Lowering your risk

More guides are on our gay men hub and safer sex hub.

Frequently asked questions

Should gay men get screened for anal cancer?

International IANS guidelines from 2024 suggest screening from age 35 for gay and bi men living with HIV, and from age 45 for those without HIV. Availability varies, so ask your HIV or sexual health clinic whether they offer it.

Can I get the HPV vaccine at 30 or 40?

In the UK, yes: the NHS offers it free to men who have sex with men up to age 45 at sexual health and HIV clinics. In the US, adults 27 to 45 can get it after discussing it with a clinician.

Do anal warts mean I'll get anal cancer?

Not usually. The CDC says about 90% of anogenital warts come from HPV types 6 and 11, which don't cause cancer. Having had anal warts is one reason IANS suggests talking about screening from 45, and you can carry more than one HPV type, so it's worth a check.

Do condoms protect against HPV?

They lower the risk but don't fully prevent it, because HPV spreads through skin contact and can pass from areas a condom doesn't cover. The HPV vaccine adds stronger protection against the types most linked to cancer and warts.

What is an anal Pap test?

It's a swab of the anal canal checked for abnormal cells, similar to a cervical smear. It's often combined with a high-risk HPV test and a finger exam. Abnormal results lead to a closer look called high-resolution anoscopy.

Sources

Related reading

General information only, not medical advice. Talk to your sexual health or HIV clinic about vaccination and screening.