Researchers surveyed 426 adults living with HIV who attended outpatient clinics at two hospitals in Nanning between January and September 2024. Participants reported their sleep quality, depressive symptoms, anxiety symptoms and health-related quality of life using established questionnaires.

After accounting for demographic and clinical factors, higher sleep-quality scores were associated with better quality of life. In mediation analyses, depression accounted for an estimated 80.57% of the overall association and anxiety for 32.96%. The association was stronger among participants with rural household registration, but that subgroup finding was exploratory.