Introduction: Caring for the dying can generate anxiety and emotional distress, particularly in nursing students, and perceived competence could play a crucial role in enabling nurses to perform their duties with greater confidence. Unfortunately, few studies describe the relationship between students' nursing attitudes and perceived self-efficacy in palliative care (PC). To overcome this gap, this survey aimed to assess the attitudes towards dying patients and the perceived competence of nursing students in palliative care at different universities in the south of Italy. Methods: A cross-sectional study was conducted from September 2022 to March 2023 involving nursing students from the three major Sicilian universities (Italy). The study included a survey investigating socio-demographic characteristics, palliative care training, knowledge about pain management, and previous experience with dying. Moreover, the Professional Competence of the Core Curriculum in Palliative Care Nursing (CCPCN) questionnaire and the Frommelt Attitudes Toward Care of the Dying-B Italian version (FATCOD-B-I) assessed competencies and emotional attitudes. Results: A total of 1913 nursing students were recruited, of which 71.3% were females, and 53.9% were in the age range of 18 to 21 years. In the multivariable analysis, practical PC training was a substantial factor in enhancing competencies (Adj-OR 2.78 [95% CI = 2.12-3.65]). Male students had higher competence odds (Adj-OR 1.38 [95% CI = 1.14-1.66]), and perceived knowledge strongly correlated with self-assessed competence. Advancement in academic years also positively influenced competence self-assessment (Adj-OR 1.98 [95% CI = 1.75-2.24]). Regarding emotional attitudes, a per-quartile increase in competence score was found to improve the attitude score (Adj-OR 1.24 [95% CI = 1.13-1.35]). Conclusions: Nursing students gain valuable experience during clinical experience. PC training and perceived knowledge of PC significantly increase nurses' competencies, and the latter seem to be strongly associated with attitudes. Thus, introducing palliative care education into nurses' core curricula could be a way to reduce anxiety and emotional distress in young students.