Objective: To determine the prevalence and factors associated with the intention to vaccinate (ITV) against COVID-19 in Peru. Material and methods: Analytical cross-sectional study using the survey conducted by the University of Maryland, USA, on Facebook. The dependent variables were ITV. Crude and adjusted prevalence ratios (PR) were calculated, with their 95% confidence intervals (95% CI) using generalized linear models of the Poisson family, to evaluate the association of sociodemographic variables, compliance with community mitigation strategies, symptoms of COVID-19, mental health and acceptance of vaccination before the recommendation (AVR) by various actors and health authorities, with the ITV. Results: Data from 17,162 adults were analyzed. The overall prevalence of ITV was 74.9%. A lower prevalence of IDV was associated with the female sex, living in a town or rural area and the AVR of politicians, PR=0.95 (95%CI:0.94-0.96), PR=0.95 (95%CI:0.91-0.99), PR=0.90 (95%CI:0.86-0.93) and PR=0.89 (95%CI:0.87-0.91); respectively. Conversely, having COVID-19 symptoms, economic insecurity, fear of a family member getting sick from COVID-19, depressive symptoms, and the AVR of family and friends, healthcare workers, world health organization and government officials partnered with higher prevalence of ITV, PR=1.05 (95%CI:1.03-1.08), PR=1.03 (95%CI:1.01-1.06), PR=1.48 (95%CI:1.35-1.63), PR = 1.03 (95%CI:1.01-1.06), PR=1.10 (95%CI: 1.08-1.12), PR = 1.29 (95%CI: 1.26-1.32), PR=1.34 (95%CI: 1.29-1.40) and PR=1.18 (95%CI: 1.15-1.21); respectively. Conclusion: Three-quarters of the respondents manifest ITV. There are potentially modifiable factors that could improve vaccine acceptance.