We investigated HPV genotypes in a large cohort of patients with definitive cervical histologic diagnosis. HPV testing was performed by real-time PCR assay, including 18 high-risk HPV (hrHPV) and 3 low-risk HPV (lrHPV). Totally 61,422 patients with documented HPV genotyping results within 6 months before cervical histologic diagnoses were included. HrHPV positive rate was 55.1% among all tested cases with the highest in adenosquamous carcinoma (94.1%), followed by squamous cell carcinoma (SCC) (93.7%), cervical intraepithelial neoplasia 2/3 (CIN2/3) (92.8%). HrHPV positive rates were significantly higher in high-grade squamous lesions than in those in glandular lesions. HPV16 was the most common genotype followed by HPV52 and HPV58 in CIN2/3. The most frequent hrHPV genotype in adenocarcinoma in situ (AIS) was HPV18, followed by HPV16, HPV45 and HPV52. In SCC cases, HPV16 was the most common type followed by HPV58, HPV52, HPV18 and HPV33. However, HPV18 showed significantly higher prevalence in adenocarcinoma and adenosquamous carcinoma than in that in SCC. Theoretically, the protective rates of 2/4-valent and 9-valent vaccine were 69.1% and 85.8% for cervical cancers. The prevalence of HPV genotypes in Chinese population was different from that in Western population. Some hrHPV types were identified in cervical precancerous lesions and cancers, which are not included in current HPV vaccines. These data provide baseline knowledge for future HPV vaccine development.