Pregnant people and infants are at high risk of severe COVID-19 outcomes. Understanding changes in attitudes toward COVID-19 vaccines among pregnant and recently pregnant people is important for public health messaging. To assess attitudinal trends regarding COVID-19 vaccines by (1) vaccination status and (2) race, ethnicity, and language among samples of pregnant and recently pregnant Vaccine Safety Datalink (VSD) members from 2021 to 2023. This cross-sectional surveye study included pregnant or recently pregnant members of the VSD, a collaboration of 13 health care systems and the US Centers for Disease Control and Prevention. Unvaccinated, non-Hispanic Black, and Spanish-speaking members were oversampled. Wave 1 took place from October 2021 to February 2022, and wave 2 took place from November 2022 to February 2023. Data were analyzed from May 2022 to September 2023. Self-reported or electronic health record (EHR)-derived race, ethnicity, and preferred language. Self-reported vaccination status and attitudes toward monovalent (wave 1) or bivalent Omicron booster (wave 2) COVID-19 vaccines. Sample- and response-weighted analyses assessed attitudes by vaccination status and 3 race, ethnicity, and language groupings of interest. There were 1227 respondents; all identified as female, the mean (SD) age was 31.7 (5.6) years, 356 (29.0%) identified as Black race, 555 (45.2%) identified as Hispanic ethnicity, and 445 (36.3%) preferred the Spanish language. Response rates were 43.5% for wave 1 (652 of 1500 individuals sampled) and 39.5% for wave 2 (575 of 1456 individuals sampled). Respondents were more likely than nonrespondents to be White, non-Hispanic, and vaccinated per EHR. Overall, 76.8% (95% CI, 71.5%-82.2%) reported 1 or more COVID-19 vaccinations; Spanish-speaking Hispanic respondents had the highest weighted proportion of respondents with 1 or more vaccination. Weighted estimates of somewhat or strongly agreeing that COVID-19 vaccines are safe decreased from wave 1 to 2 for respondents who reported 1 or more vaccinations (76% vs 50%; χ21 = 7.8; P < .001), non-Hispanic White respondents (72% vs 43%; χ21 = 5.4; P = .02), and Spanish-speaking Hispanic respondents (76% vs 53%; χ21 = 22.8; P = .002). Decreasing confidence in COVID-19 vaccine safety in a large, diverse pregnant and recently pregnant insured population is a public health concern.