Objective: to explore self-perception competence among Spanish nurses dealing with patient death and its relationship with work environment, evidence-based practice, and occupational stress. Method: a cross-sectional web-based survey collected information from a convenience sample of 534 nurses from professional Spanish Colleges who answered four validated questionnaires: Coping with Death Scale, Practice Environment Scale of the Nursing Work Index, Perception of Evidence-Based Practice (EBP) and Nursing Stress Scale. Results: a total of 79% of the participants were women, the average age was 40 years old, 38% had a postgraduate degree and 77% worked in public health settings. Many nurses evaluated their work environment as unfavorable (66%), reported high occupational stress (83.5±14.9), and had high scores on knowledge/skills in EBP (47.9±11.3). However, 61.2% of them perceived an optimal coping (>157 score). The multivariate logistic model indicated positive associations with work environment and EBP characteristics (OR: 1.30, p=0.054; OR: 1.04, p=0.007; OR: 1.13, p<0.001, respectively) but negative associations with occupational stress and short work experience (OR: 0.98, p=0.0043; OR: 0.74, p<0.002, respectively). These factors explained 23.1% of the coping variance (p<0.001). Conclusion: although most nurses perceived optimal coping, the situation could be enhanced by modifying several contextual factors. The identification of these factors would improve the quality of end-of-life care by facilitating nursing management.