In addition to complying with strict academic standards, nursing students must acquire relevant knowledge and skills, and learn how to carry themselves in different and often stressful professional settings. These obligations could severely affect their mental health. The purpose of this study was to examine the mental health status of undergraduate nursing students and related factors. A total of 1368 nursing students from different universities in Spain and Chile were included in this study, which took place over the 2018-2019 academic year. We assessed their levels of stress related to specific learning methodologies and determined their mental health status using the General Health Questionnaire (GHQ-28). The results revealed that the more advanced the course was, the lower the total GHQ-28 score. The stress generated by different types of training activities had a significant effect on the total GHQ-28 score. These results suggest that nursing education could act as a protective factor against mental health disorders. Although a heavy academic workload could lead to higher levels of stress, overall, it seems that mental health is better in more advanced courses than in initial academic years