Specific foods and nutrients help prevent the progression from persistent high-risk human papillomavirus (hrHPV) infection to cervical cancer (CC). We aimed to focus on dietary patterns which may be associated with hrHPV status and risk of high-grade cervical intraepithelial neoplasia (CIN2+). Overall, 539 eligible women, including 127 CIN2+, were enrolled in a cross-sectional study, and tested for hrHPV infection. Food intakes were estimated using a food frequency questionnaire. Logistic regression models were applied. Using the Mediterranean Diet Score, we demonstrated that, among 252 women with normal cervical epithelium, medium adherence to Mediterranean diet decreased odds of hrHPV infection when compared to low adherence (adjOR=0.40, 95%CI=0.22-0.73). Using principle component analysis, we also identified two dietary patterns which explained 14.31% of variance. Women in the 3rd and 4th quartiles of the “western pattern” had higher odds of hrHPV infection when compared with 1st quartile (adjOR=1.77, 95%CI=1.04-3.54 and adjOR=1.97, 95%CI=1.14-4.18, respectively). Adjusting for hrHPV status and age, women in the 3rd quartile of the “prudent pattern” had lower odds of CIN2+ when compared with 1st quartile (OR=0.50, 95%CI=0.26-0.98). Our study is the first to demonstrate the association of dietary patterns with hrHPV infection and CC, discouraging unhealthy habits in favour of Mediterranean-like diet.