| Background Patients with multiple chronic conditions have a high prevalence of sleep disorders, which significantly impact their physical and mental health as well as the management of their chronic conditions. Although sleep quality is closely associated with psychological functioning, evidence regarding the dynamic trajectories of sleep quality and its influencing factors in patients with comorbid chronic diseases remains insufficient. Objective To investigate the trajectories of sleep quality in patients with comorbid chronic diseases from hospitalization through 6 months post-discharge and to analyze the influencing factors, thereby providing a reference for the early identification of high-risk populations and the development of personalized sleep intervention strategies. Methods A random sample of 201 inpatients with comorbid chronic diseases, primarily cardiovascular and metabolic conditions, was selected from Fuyang Third People’s Hospital between January 2023 and September 2024. Assessments were conducted during hospitalization (baseline) using a demographic questionnaire, Sleep Dysfunction Rating Scale (SDRS), Ruminative Thoughts Scale (RRS), and Hospital Anxiety and Depression Scale (HADS). Sleep quality was evaluated using the SDRS at 1, 3, and 6 months post-discharge. A latent class growth model was employed to identify latent categories of sleep quality trajectories; multivariate logistic regression was used to analyze the factors influencing sleep quality. Results The latent class growth model identified three distinct sleep quality trajectories based on data collected at four time points: T0 (baseline), T1 (1 month post-discharge), T2 (3 months post-discharge), and T3 (6 months post-discharge). Among the participants, 72 (35.82%) were classified into the high sleep disturbance group, 73 cases (36.32%) in the moderate sleep disturbance-progression group, and 56 cases (27.86%) in the low sleep disturbance group. Multivariate logistic regression analysis revealed that, compared with the low sleep disturbance group, a household monthly per capita income of <3,000 yuan (β = 13.131, P < 0.05) and 3,000–5,000 yuan (β = 5.913, P < 0.05), age 45–65 years (β = 9.536, P < 0.05), having 3 comorbidities (β = 7.792, P < 0.05) or 3 or more (β = 6.626, P < 0.05), higher RRS scores (β = 0.334, P < 0.05), and higher HADS scores (β = 1.628, P < 0.05) were more likely to be classified into the high sleep disturbance group; age 45–65 years (β = 2.777, P < 0.05), having three comorbidities (β = 3.802, P < 0.05) or three or more (β = 2.463, P < 0.05), higher rumination scores (β = 0.111, P < 0.05), and higher anxiety scores (β = 0.35, P < 0.05) were more likely to be classified into the moderate sleep disturbance–progression group. Conclusion The trajectories of sleep quality changes in patients with chronic disease comorbidity exhibit population heterogeneity. Age, monthly per capita household income, number of comorbidities, rumination, and levels of anxiety and depression are the primary factors influencing the sleep quality trajectories of patients with chronic disease comorbidity. |