BackgroundWorkplace violence is a global public health issue and a major occupational hazard cross borders and environments. Nurses are the primary victims of workplace violence due to their frontline roles and continuous interactions.ObjectiveThe present study aimed to investigate the status of workplace violence, turnover intention, compassion fatigue, and psychological resilience among Chinese nurses, and explore the mediating role of compassion fatigue and the moderating role of psychological resilience on relationship between workplace violence and turnover intention among Chinese nurses.MethodA cross-sectional study was conducted among a convenience sample of clinical registered nurses from public hospitals in Changsha, Hunan, China. Data was collected through an online questionnaire, which included a demographic information form, the Workplace Violence Scale (WVS), the Turnover Intention Questionnaire (TIQ), the Compassion Fatigue Scale (CF-CN), and the Connor-Davidson Resilience Scale (CD-RISC). Descriptive statistics and correlation analysis were employed to examine the relationships among the main variables. A moderated mediation analysis was further conducted using the PROCESS macro for SPSS (Model 4 and Model 8) to examine the mediating role of compassion fatigue and the moderating role of psychological resilience.ResultThe present survey recruited a convenience sample of 1,141 clinical registered nurses, who reported experiencing multiple types of workplace violence during the past year. Correlation analysis revealed significant positive correlations between workplace violence and turnover intention (r = 0.466, P < 0.01) as well as compassion fatigue (r = 0.452, P < 0.01), while negative correlation between workplace violence and psychological resilience (r=-0.414, P < 0.01). Moderated mediation analysis revealed that compassion fatigue mediated, while psychological resilience moderated, the positive relationship between workplace violence and turnover intention (all P < 0.05).ConclusionThis study underscores the mediating effect of compassion fatigue and the moderating role of psychological resilience in the relationship between workplace violence and turnover intention among Chinese nurses. Future efforts should be undertaken to develop effective preventive measures and intervention strategies at individual, organizational, and national levels to mitigate workplace violence and foster supportive work environment.Clinical trial numberNot applicable.