To analyze the impact of using music therapy to improve the sleep quality and mental health of nurses who suffer from circadian rhythm sleep disorders. Our retrospective analysis included 360 nurses with circadian rhythm sleep disorders from 20 different departments who worked in Wuhan Third Hospital for more than 1 year from May 2022 to May 2023. A total of 180 nurses with circadian rhythm sleep disorders were classified as the control group (received melatonin receptor agonist Melatonin Receptor Type 2 [MT2]). The other 180 cases were classified into the observation group (received melatonin receptor agonist MT2 + music therapy). After six courses of treatment, the clinical efficacy, Self-Assessment Anxiety Scale (SAS) score, Self-rating Depression Scale (SDS), and Pittsburgh Sleep Quality Index Scale (PSQI) score of the two groups of nurses were compared. Before treatment, no statistically significant differences in baseline treatment and SAS, SDS, and PSQI scores were found between the two groups. After treatment, the total effective rate of treatment in the observation group was 85.56%, which was significantly higher than the 50.56% in the control group (P < 0.001). After treatment, the SAS, SDS and PSQI scores of the observation group were lower than those of the control group (P < 0.05). The SAS, SDS and PSQI scores of both groups were lower after treatment than they were before treatment (P < 0.05). Implementing music therapy for nurses with circadian rhythm sleep disorders caused by shifts can improve sleep quality and reduce negative emotions. It is a clinical strategy with clinical application value and a certain promotion value.