Human papillomavirus (HPV) is causally associated with anal cancer, as HPV DNA is detected in up to 90% of anal intraepithelial neoplasias and anal cancers. With the gradual increase of anal cancer rates, there is a growing need to establish reliable and clinically relevant methods to detect anal cancer precursors. In resource-limited settings, HPV DNA detection is a potentially relevant tool for anal cancer screening. Here, we evaluated the performance of the Hybribio GenoArray (GA) for genotyping HPV in anal samples, against the reference standard Roche Linear Array (LA). Anal swab samples were obtained from sexually active men who have sex with men. Following DNA extraction, each sample was genotyped using GA and LA. The overall interassay agreement, type-specific, and single and multiple genotype agreements were evaluated by kappa statistics and McNemar's χ(2) tests. Using GA and LA, 68% and 76% of samples were HPV DNA positive, respectively. There was substantial interassay agreements for the detection of all HPV genotypes (κ = 0.70, 86% agreement). Although LA was able to detect more genotypes per sample, the interassay agreement was acceptable (κ = 0.53, 63% agreement). GA had poorer specific detection of HPV genotypes 35, 42, and 51 (κ < 0.60). In conclusion, GA and LA showed good interassay agreement for the detection of most HPV genotypes in anal samples. However, the detection of HPV DNA in up to 76% of anal samples warrants further evaluation of its clinical significance.