Objective: To understand the status of human papillomavirus (HPV) infection among young women without a history of vaccination in Shanghai, and analyze the related factors of HPV infection in this population. Methods: A total of 2 660 women aged 18-24 years old who had made an appointment for HPV vaccine at 36 community health service centers in Shanghai from July 2022 to February 2023 were selected as the study subjects. Basic information (including demographic characteristics, previous disease history, female menstrual and reproductive history, sexual life history, etc.) was collected by a self-filling electronic questionnaire. Cervical secretions were detected by HPV nucleic acid typing. The multivariate logistic regression model was used to analyze the factors related to high-risk HPV (HR-HPV) infection in the target population. Results: The age of the subjects was (23±1) years old, and the infection rate of HPV was 14.51% (386 cases), among which the infection rates of HR-HPV and low-risk HPV were 13.53% (360 cases) and 1.84% (49 cases), respectively. The main subtypes of HR-HPV infection were HPV52, 16, 58, 39 and 66. The multivariate logistic regression model analysis showed that compared with the control group, the OR (95%CI) values for HR-HPV infection in the group of married, earned less than 2 000 yuan/month, drank alcohol occasionally, gynecological disease history, had two or more sexual partners in the past year, and did not know whether the partners had other sexual partners were 0.41 (0.25-0.66), 0.39 (0.21-0.70), 1.45 (1.13-1.86), 1.29 (1.00-1.66), 2.18-5.18 (1.02-16.05), and 1.82 (1.31-2.54), respectively. Conclusion: The infection rate of HPV among women aged 18-24 years old in Shanghai remains at a high level. The main subtypes of HR-HPV infection are HPV52, 16, 58, 39 and 66. The marital status, economic income level, drinking status, gynecological disease history and sexual life history are related to HR-HPV infection.