Abstract
BACKGROUND: Young and middle-aged adults are vulnerable to poor sleep quality. eHealth literacy, defined as the ability to effectively access and use digital health information, has been linked to improved health behaviors and may promote better sleep outcomes. However, its relationship with sleep quality remains unclear, especially across age groups. Age-related disparities in eHealth literacy may contribute to a digital health divide in sleep outcomes. OBJECTIVE: This study aimed to examine the relationship between eHealth literacy and sleep quality among adults aged 18 to 59 years in Shanghai, China, as well as explore age-stratified effects. METHODS: A cross-sectional study was conducted between October and December 2022 in 3 districts of Shanghai, with 7 community health service centers randomly selected. Participants were recruited through convenience sampling to complete an online survey. eHealth literacy was assessed using the eHealth Literacy Scale, and sleep quality was measured using the Pittsburgh Sleep Quality Index. Covariates included sociodemographic characteristics, health status, and health behaviors. Logistic regression models were applied to examine the relationship between eHealth literacy and sleep quality, with stratified analyses conducted by age (emerging adults [18-29 years], established adults [30-45 years], and middle-aged adults [46-59 years]). RESULTS: A total of 1810 participants completed the survey. The prevalence of poor sleep quality was 37.9% (686/1810). Participants with eHealth literacy scores in the 25th to 75th percentile range (odds ratio [OR] 1.594, 95% CI 1.216-2.089, P<.001) and below the 25th percentile (OR 1.584, 95% CI 1.149-2.182, P=.005) had a significantly higher likelihood of reporting poor sleep quality compared to those with scores above the 75th percentile. Age-stratified analysis indicated that this association was significant only among emerging adults (OR 2.491, 95% CI 1.133-5.479, P=.02 for scores between the 25th and 75th percentiles; OR 2.975, 95% CI 1.230-7.195, P=.02 for scores below the 25th percentile) and established adults (OR 1.439, 95% CI 1.001-2.067, P=.049 for scores between the 25th and 75th percentiles). CONCLUSIONS: This study found that eHealth literacy was associated with sleep quality among younger participants but not middle-aged ones, highlighting the digital divide in sleep health. These findings suggest that enhancing eHealth literacy may serve as an effective strategy for improving sleep outcomes. However, to ensure equitable health outcomes, interventions should be tailored to address the age-specific needs and varying levels of digital access across different groups.