Yes, but the specific risks are different for men. HPV infection is very common, but it usually doesn't cause any signs or symptoms in either sex. Some types of HPV cause genital warts, however.
Often, the body's immune system eliminates the virus without treatment within about two years. But until the virus is gone, you can spread it to your sex partners.
Certain types of HPV, known as high-risk types, may cause persistent infection. These infections are the ones that can gradually turn into cancer. HPV can cause cancers of the vulva, vagina, penis, anus, and the back of the mouth and upper part of the throat (oropharynx).
Men who have HIV — the virus that causes AIDS — and men who have sex with other men have a higher risk of anal, penile and throat cancers associated with persistent HPV infection. Oropharyngeal cancers have been on the rise recently, especially in men.
Men can prevent the types of HPV that cause most genital warts and anal cancer by receiving an HPV vaccine. The HPV vaccines were originally approved by the Food and Drug Administration as a cervical cancer vaccine for girls and young women, and they're now approved for the prevention of anal, vulvar and vaginal cancers, too.
The vaccines are recommended for males ages 9 to 26. The U.S. Food and Drug Administration recently approved the use of Gardasil 9 for males and females ages 9 to 45. The best time to get the vaccines is before sexual activity begins. Although these vaccines are not yet approved for preventing HPV-related penile and oropharyngeal cancer, recent studies suggest that these vaccines may be effective for preventing these cancers as well.
You may also lower your risk of contracting HPV by using a condom every time you have sex, though you can still get an HPV infection in areas left exposed by the condom. So condom use isn't considered a substitute for HPV vaccination in those eligible for the vaccines.