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
- IANS 2024: screen MSM with HIV from 35, without HIV from 45
- ANCHOR trial: treating anal HSIL cut anal cancer by 57% (NEJM 2022)
- About 90% of anogenital warts come from non-cancer HPV types 6 and 11 (CDC)
Last updated 13 Nov 2026
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:
- any skin-to-skin contact of the genital area
- vaginal, anal or oral sex
- sharing sex toys
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.
- Go to a sexual health clinic if you notice lumps, itching or bleeding around your anus. A nurse or doctor can usually diagnose warts by looking.
- Treatments include creams or liquids, freezing, or removal. Warts can also clear on their own within 6 months, and they can come back.
- Don't use wart treatments from a pharmacy. The NHS says they're not made for genital or anal warts.
- Avoid sex until warts have gone, or use condoms if you do. Some wart creams can weaken condoms, so check with the clinic.
Who has a higher risk of anal cancer
The NHS says you may be more likely to get anal cancer if you:
- have anal sex
- have a weakened immune system, for example from HIV or an organ transplant
- smoke
- are over 75
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:
- at 35 for gay, bi and other men who have sex with men, and trans women, living with HIV
- at 45 for gay and bi men and trans women without HIV, and for other people living with HIV
- from 45, as a shared decision, for people with a history of anal warts and some other groups
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:
- a digital anorectal exam, where a clinician feels inside the anus with a gloved, lubricated finger to check for lumps
- an anal swab for cytology (an "anal Pap") and/or a test for high-risk HPV types, including HPV16
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:
- bleeding from your bottom
- itching and pain around the anus
- small lumps around or inside your bottom
- mucus discharge
- problems controlling your bowels
- needing to poo more often, with looser poos
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
- Get the HPV vaccine if you're eligible.
- Use condoms. They lower the chance of HPV, though they don't remove it.
- Keep sex toys clean and don't share them, or cover them with a new condom for each person.
- Stop smoking. The NHS lists smoking as a risk factor for anal cancer.
- If you're living with HIV, stay on treatment and keep up with clinic checks. Our page on U=U and dating covers the basics.
- Keep up regular STI testing. See how to ask a partner to get tested.
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
- NHS: Causes of anal cancer
- NHS: Symptoms of anal cancer
- NHS: HPV vaccine
- NHS: Genital warts
- CDC: Anogenital warts (STI Treatment Guidelines)
- CDC: HPV vaccine recommendations
- Stier EA, et al. International Anal Neoplasia Society's consensus guidelines for anal cancer screening. International Journal of Cancer, 2024
- IANS: Frequently asked questions about anal cancer screening
- Palefsky JM, et al. Treatment of anal high-grade squamous intraepithelial lesions to prevent anal cancer (ANCHOR). NEJM, 2022 (PubMed)
- NIH: In people with HIV, treating precancerous anal lesions cuts risk of anal cancer by more than half
Related reading
- Anal fissure or piles after bottoming?
- PrEP, DoxyPEP and safer sex for gay and bi men
- Top, bottom, versatile or side
- How to prepare for bottoming
General information only, not medical advice. Talk to your sexual health or HIV clinic about vaccination and screening.