PurposeThis study aims to investigate the relationship between sleep factors (sleep duration time [SDT] and obstructive sleep apnea [OSA]) and human papillomavirus (HPV)/high-risk HPV(HR-HPV) infection, utilizing data from the National Health and Nutrition Examination Survey (NHANES).MethodsWe conducted a cross-sectional analysis using NHANES data, focusing on SDT and OSA’s association with HPV/HR-HPV infection. The primary statistical methods included weighted multivariate linear regression and logistic regression to assess the association between SDT, OSA, and HPV/HR-HPV infection. The study employed restricted cubic splines (RCS) for evaluating potential non-linear relationships between SDT and HPV/HR-HPV infection. Subgroup analyses were conducted. Interaction terms were used to examine the heterogeneity in associations across different subgroups.ResultsThe study identified a U-shaped relationship between SDT and HPV infection. Specifically, 7 hours of sleep was associated with the lowest risk of HPV infection. In comparison, SDT less than 7 hours resulted in a 26.3% higher risk of HPV infection (Odds Ratio [OR] = 1.26, 95% Confidence Interval [CI]: 1.029, 1.549), and more than 9 hours of sleep showed a 57.4% increased risk (OR = 1.574, 95% CI: 1.116, 2.220). The relationship between SDT and HR-HPV infection was significant in the first two models, but not in the fully adjusted model. No significant interaction was found between sleep duration and other covariates. There was no association between OSA and HPV/HR-HPV infection.ConclusionThe study underscores the complex relationship between sleep duration and HPV infection risk, suggesting both very short and very long sleep durations may increase HPV infection likelihood. The findings highlight the need for further research to explore the biological mechanisms underpinning this association and to consider broader population groups and more precise sleep assessment methods in future studies.</div