ObjectiveThis study aimed to investigate the factors influencing nurses’ ability to respond to public health emergencies and understand the relationship between nurses’ ability to respond to emergencies and workplace resilience. MethodsA cross-sectional study of 361 nurses from military hospitals was conducted from January 18 to September 6, 2022, using an online survey. The Infectious Diseases Emergency Response Capacity (IDERC) questionnaire and the Workplace Resilience Scale (WRS) were utilized, and sociodemographic information was also collected. Data were analyzed using descriptive statistics and frequency analysis. Differences between groups were identified by one-way analysis of variance, and linear regression was used to analyze the main factors influencing the infectious emergency response capacity. ResultsThe average infectious emergency response capacity score on the IDERC questionnaire and workplace resilience, measured by WRS, were 4.01 (SD = 0.76) and 3.85 (SD = 0.71), respectively, on a scale of 1–5, indicating high performance. Factors such as degree of education, nurses’ service years and experience in epidemic prevention participation were found to be the main influencing factors of the score of IDERC. The level of workplace resilience showed a positive correlation with the capacity to respond to infectious disease, the score of WRS and the service year accounted for 63.6% of the variance in emergency response capabilities. ConclusionThe results indicate an urgent need to strengthen the training of nurses with lower degree of education, shorter service years, no prior work, or no experience of epidemic prevention participation, and hospitals should also prioritize improving nurses’ workplace resilience through targeted interventions, enhancing their abilities in infectious disease prevention, preparation, first aid, and subsequent critical patient care.