A rapid increase in the number of HIV cases in the men who have sex with men (MSM) population has been observed in China; however, little information is available on the genetic characterization of HIV prevalent in this population. In this study, 95 HIV-1-seropositive drug-naive patients from the Beijing MSM population were enrolled. The genetic characterization and transmission of drug resistance of HIV-1 were examined based on full-length gag, pol, and partial env gene sequences. Three subtypes, including CRF01_AE (56.0%), B (30.8%), and CRF07_BC (12.6%), were identified. Close phylogenetic relationships were found among these strains with isolates from other populations in Beijing and MSM isolates from Hebei province, which suggested that the Beijing MSM population might act as a bridge for HIV transmission between MSM and other high-risk populations. Drug-resistant mutations were identified in 5.3% of sampled individuals. Our results provided detailed genetic data and would be helpful for understanding the transmitting pattern of HIV strains between MSM and other populations.