For patients with cervicitis complicated by HPV infection, the IFN-indexes in the body are significantly decreased, IL-4 and TNF-αare significantly increased, and with the degree of HPV infection, IFN-γ, IL-4, and TNF-α have high diagnostic performance with HPV infection, and there is a significant correlation between the three, which can be used in cervicitis complicated with HPV infection. This evidence concerns the gene TNF and cervicitis.