Human papillomavirus (HPV) has been identified as etiologic agent of various cancers for both men and women. However, HPV vaccine has not been recommended for men in China by far. To provide more evidences to promote HPV vaccination among males at high-risk of infection, this study investigated genital HPV genotypes among male attendees of sexually transmitted disease (STD) clinic. Male attendees (⩾18 years old) were recruited from STD clinic of Beijing Ditan Hospital. Data on sociodemographic characteristics and self-reported sexual behaviors were collected based on questionnaire. Genital swab specimens were collected for HPV genotypes. Finally, a total of 198 eligible participants were included in the study. Nearly half of them were infected with at least one type of HPV. The prevalence of genital infection among participants with only heterosexual behaviors (50·91%, 56/110) was significantly higher than those with only homosexual behaviors (36·36%, 32/88) (P < 0·001). However, the distribution pattern of the most frequently observed HPV subtypes were found to be similar between these two subgroups. HPV31, HPV18, HPV16 and HPV58 were the most frequently identified high-risk types and HPV11, HPV6, HPV81 and HPV61 were the most frequently observed low-risk types. Our results, although need further verification by larger sample size, suggested that currently available HPV vaccines covered most prevalent HPV types observed in Chinese men. As HPV vaccine has been approved for application in females in China, molecular epidemiological studies and intervention studies among high-risk males should be promoted as well.