The COVID-19 pandemic highlights vaccination's critical role in reducing morbidity and mortality, depending on public attitude. This study aims to identify the estimates of COVID-19 vaccine acceptance in pregnant and lactating women, as well as associated potential factors. A cross-sectional study was conducted between August and September 2021, through an online survey and with a paper survey distributed in gynecology and pediatric clinics. Pregnant and breastfeeding women aged 18 years and above were recruited. The attitude scale was created specifically for evaluating attitudes towards the COVID-19 vaccine. In total, 207 women participated, with 132 breastfeeding, 74 pregnant and 1 experiencing both conditions. Of these, one hundred and twenty women (58%) considered themselves at risk for COVID-19 infection. In addition, 51.7% (n = 107) of women expressed the intent to receive the vaccine once available. A multivariable linear regression was conducted taking the COVID-19 vaccination attitude scale as a dependent variable. The results revealed an R-squared value of 0.558, indicating that approximately 55.8% of the variance in the attitude scale was accounted for by the included predictors. The results showed that preventive measures (ß=2.25, 95% Confidence Interval (CI) [1.02; 3.48], p < 0.001), preference for vaccines made in Europe and America (ß=1.23; 95% CI [0.69-1.77], p < 0.001), protect yourself for getting sick (ß=4.22, 95% Confidence Interval (CI) [2.83; 5.61], p < 0.001) and belief in the importance of vaccination for themselves and their baby (ß=3.49; 95% CI [2.01; 4.98], p < 0.001) were associated with a positive attitude towards vaccination. Conversely, experiencing a previous bad reaction to a vaccine (ß= -1.35; 95% CI [0.85-1.85], p < 0.001) and concerns regarding COVID-19 vaccine safety (ß= -4.09; 95% CI [-5.98; -2.21], p < 0.001) were associated with a negative attitude towards vaccination. Our findings reveal that COVID-19 vaccine acceptability among pregnant and breastfeeding women, amidst the pandemic was insufficient to meet community immunity. The identified reasons for vaccine reluctance, notably concerns about safety for both personal health and the health of their pregnancy or newborns, along with insufficient information about the vaccine, underscore the pressing need to address these factors to improve immunization rates.