This study aimed to examine the impact of online social support on sleep quality and the potential roles of psychological resilience and digital literacy in this relationship. A cross-sectional survey was conducted with 606 university freshmen from a college in Hengyang City, Hunan Province, China, using cluster random sampling. Data were collected using the Online Social Support Questionnaire, Pittsburgh Sleep Quality Index (PSQI; note that higher PSQI scores indicate poorer sleep quality), Connor–Davidson Resilience Scale, and Domestic College Student Digital Literacy Assessment Scale. Statistical analysis was conducted using SPSS 27.0, with mediation effects tested via the PROCESS macro. The analytical results demonstrated that online social support showed a significant negative predictive effect on the sleep quality of university freshmen (β = −0.11, p < 0.01); psychological resilience exhibited a suppression effect (i.e., opposing direct and indirect effects) between online social support and sleep quality; and digital literacy moderated the first half of the mediation pathway (β = 0.18, p < 0.001). Collectively, this study shows that online social support directly harms sleep quality but indirectly benefits it by enhancing psychological resilience. Digital literacy serves as a key moderator that amplifies this beneficial indirect effect. These findings provide significant theoretical and practical insights for developing campus health promotion initiatives.
Meng et al. (Fri,) studied this question.