BackgroundThe shortage of midwives is a concern for healthcare systems as it compromises the quality maternity care. Various studies argue that a favorable work environment increases nurses’ job satisfaction and intention to continue working at their current workplace. AimTo analyze the work environment and its relationship with women’s clinical safety culture and midwives’ intention to stay in their current job and the midwifery profession. MethodsA cross-sectional, correlational study was performed on N = 218 midwives working in Spain. Standardized instruments were used, including The Practice Environment Scale of the Nursing Work Index (PES-NWI) and the Hospital Survey on Patient Safety Culture (HSOPSC). Descriptive and bivariable statistics were used. The study followed the STROBE guidelines. ResultsThe work environment in the labor wards was mixed, according to the PES-NWI classification. The mean total score of the PES-NWI significantly and positively correlated with the mean total score of the HSOPSC (rs = 0.498, p < 0.001), indicating that as the quality of midwives’ work environment increased, women’s clinical safety increased. Significant correlations were observed between the midwives’ intent to stay in the hospital where they work and features of women’s safety culture. ConclusionThe results of this study showed significant relationships between the work environment, women’s safety culture, and midwives’ intentions to leave their job/profession. Creating a favorable working environment could be a potentially effective strategy that encourages improvement in the women’s safety culture in healthcare organizations and greater intention of midwives to stay at their current job.