To study the differences immune function in normal cervix, cervical intraepithelial neoplasia (CIN) and cervical cancer tissue, and study the relationship between human papillomavirus (HPV) infection and cervical local immune function.This study determined the form, quantity, distribution, and intensity of CD4+Th cells, S-100+ dendritic cells (DCs) and CD57+NK cells in the normal cervical tissue, CIN cervical tissue, and cervical cancer by histopathological and image analyses.The immune function was differences in the progress of cancer genesis. The numbers of the CD4+ Th cells, S-100+ DCs, and CD57+NK cells increased with the progress of the disease in CIN, but when cancer occurred, immune cells decreased in local cervical tissue.From lesion precancerous to infiltrating carcinoma, the form, quantity, and intensity of expression of immune cells changed, which may indicate that the cervical local immune function has changed. Furthermore, high-risk HPV infections are more active in local immune function.