Cervical cancer is a serious public health problem and is associated with high cancer-related mortality in females worldwide. The expression of IL17A can increase the migration and invasiveness of cervical cancer cells by activating the NF-κB signal pathway. Single-nucleotide polymorphisms (SNPs) can alter gene function and protein expression. We examined the association between two IL17A SNPs (rs2275913 and rs3748067) and the risk of cervical cancer. We also investigated the interaction between IL17A -174G/C and -572C/G mutations and environmental factors. Our 1:2 matched case-control study included 185 cervical cancer patients and 370 healthy controls. The IL17A rs2275913 and rs3748067 SNPs were genotyped by polymerase chain reaction-restriction fragment length polymorphism. Using logistic regression analysis, we found that individuals harboring the TT genotype of IL17A rs3748067 had an increased risk of cervical cancer compared with those carrying the CC genotype, and the adjusted OR (95%CI) was 6.29 (2.30-19.81). Moreover, individuals carrying the T allele of IL17A rs3748067 were more susceptible to cervical cancer than those with the C allele, and the adjusted OR (95%CI) was 2.31 (1.53-3.50). No significant interaction was observed between the IL17A rs2275913 polymorphism and cervical cancer risk. In conclusion, our study suggests that the IL17A rs3748067 polymorphism is independently associated with the risk of cervical cancer, and has a relationship with human papillomavirus infection with regard to the risk of cervical cancer.