We develop a protocol for assessing the impact of an intervention aimed at improving sleep quality among university nursing students. The study is designed as a pilot randomized controlled trial to be applied during the 2022-23 academic year and is registered at Clinical Trials Gov website (NCT05273086). A total of 60 nursing students will be recruited from a Spanish university. They will be divided into two groups: (30) intervention group and (30) control group. The intervention group will attend two cognitive–behavioural therapy sleep programme sessions focused on knowledge of anatomical structures involved in sleep, chronotype, synchronization, and good sleeping habits. Subjective and objective sleep quality will be assessed before and after the intervention for both groups. In addition to sleep quality, socio-demographic parameters, physical activity, lifestyle habits, and anthropometric measures will be considered prior to intervention. Finally, a satisfaction questionnaire will be applied for posterior analysis. This study is an innovative, relevant intervention that aims to improve sleep quality among university nursing students. Both the approach and the use of objective and subjective validated outcome measurements are key features of this study.