Background

Globally, the aging population is quickly growing, particularly in China. With the accelerated population aging, more attention must be paid to the health issues of older adults [25, 26]. Previous research has suggested that social support is adversely related to psychological distress [27, 28]. When individuals experience psychological distress, social support can be considered to be a co** strategy [29]. As a result, older individuals with sleep problems or functional impairments may have lower levels of psychological distress if they have enough social support. However, little research has been conducted to investigate whether social support moderates the connections between sleep quality and psychological distress in older individuals.

As a result, the current study will use a moderated mediation analysis to explore the link between sleep quality, ADL, perceived social support, and psychological distress. Given the severity of the mental issue, the current study began with the following hypotheses: 1) The association between poor sleep quality and psychological distress may be mediated by functional limitations. 2) The mediation effect of ADL would be moderated by physical activity. That is, older individuals who engage in more physical activity would be shielded from the detrimental effects of poor sleep quality by improving their function level. 3) Perceived social support would attenuate the direct and indirect effect of sleep quality on psychological distress. The proposed moderated mediation model in this present study is depicted in Fig. 1.

Fig. 1
figure 1

Hypothesized model

Materials and methods

Participants and ethics statement

A cross-sectional questionnaire study was carried out in Shanxi Province, Central China, which consists of 11 cities. In order to obtain a representative sample of older adults, we utilized a multi-stage stratified cluster sampling approach to choose individuals aged 60 and above in 11 cities, which was explained in detail elsewhere [44, 45]. Following the principal component analysis, 16 eigenvalues larger than 1 were recovered. The first component described the general variance of all research variables, which was caused by common technique biases and relationships between research variables. The first component that explained the variation was 21.354%, which was much lower than the crucial value of 40% [45]. As a result, we determined that the current study has no significant common method biases.

Results

Socio-demographic characteristics

Of the 3250 participants, 1515 (46.62%) were male and 1735 (53.38%) were female. The majority of the older people were 60–69 years old (54.43%), 1797 (55.29%) lived in rural areas and 1453 (44.71%) in urban areas. 76.37% of the older adults were married.

Correlation analysis

Table 1 shows the correlation matrix for the main research variables. Prominently, both PSQI score and DASS-21 score were negatively correlated with Barthel Index score (for PSQI score, r = − 0.263, P < 0.001; for DASS-21 score, r = − 0.473, P < 0.001) and physical activity level (for PSQI score, r = − 0.100, P < 0.001; for DASS-21 score, r = − 0.217, P < 0.001). The PSQI score was significantly and positively correlated with psychological distress (r = 0.444, P < 0.001), and the Barthel Index score was significantly and positively correlated with physical activity level (r = 0.364, P < 0.001) and PSSS score (r = 0.237, P < 0.001). The PSSS score was negatively correlated with the PSQI score (r = − 0.180, P < 0.01) and the DASS-21 score (r = − 0.320, P < 0.001). The PSQI score was negatively correlated with physical activity level (r = − 0.100, P < 0.001).

Table 1 Descriptive statistics and correlations among the key variables (n = 3250)

Testing the mediation model

After adjusting for factors including sex, residence, age, education level, monthly income, marital status, smoking status, drinking status, and chronic conditions, the significance of the direct, indirect, and total effects in a mediation model was determined using PROCESS (model 4). According to the findings (Table 2), poor sleep quality was positively associated to the level of psychological distress in older adults (B = 2.499, t = 25.345, P < 0.001). After adding the Barthel Index score as a mediating variable, both psychological distress (B = 1.950, t = 21.074, P < 0.001) and the Barthel Index (B = − 1.270, t = − 13.610, P < 0.001) were found to be positively and negatively associated with poor sleep quality. Moreover, the Barthel Index score was a negative predictor of psychological distress (B = − 0.433, t = − 25.542, P < 0.001). On bias-corrected percentile bootstrap analysis, the mediation effect of ADL on the relationship between sleep quality and psychological distress was significant (ab = 0.550, 95% CI 0.433, 0.671), and accounted for 22.01% of the total effect. Therefore, ADL mediated the relationship between sleep quality and psychological distress to some extent.

Table 2 Testing ADL as a mediator in the relationship between poor sleep quality and psychological distress

Testing the moderated mediation model

After adjusting for factors including sex, residence, age, education level, monthly income, marital status, smoking status, drinking status, and chronic conditions, we utilized Hayes’ PROCESS to run the moderated mediation model using model 28 as a last check. The moderated mediation analysis (Table 3) indicated that poor sleep quality was negatively associated with ADL (B = − 1.094, t = − 12.486, P < 0.001). Moreover, both poor sleep quality (B = 1.762, t = 19.332, P < 0.001) and ADL (B = − 0.397, t = − 20.086, P < 0.001) were positively and negatively related to psychological distress. Perceived social support was negatively associated with psychological distress (B = − 0.286, t = − 13.013, P < 0.001). The interaction effect of sleep quality and physical activity on ADL was significant (B = 1.015, t = 9.607, P < 0.01), which indicates that the association between sleep quality and ADL was moderated by physical activity. Whereas, the interaction effect of ADL and perceived social support on psychological distress was not significant (B = − 0.001, t = − 1.095, P = 0.274). The interaction effect of sleep quality and perceived social support on psychological distress was also significant (B = − 0.033, t = − 5.280, P < 0.001), which indicates that perceived social support reduced the association between sleep quality and psychological distress.

Table 3 Testing ADL as a mediator and physical activity and perceived social support as two moderators in the relationship between sleep quality and psychological distress

The results of the simple slope test (see Table 4 and Fig. 2) further suggest that when physical activity is low, poorer sleep quality is negatively associated with the Barthel Index score (Bsimple = − 1.862, t = − 16.128, P < 0.001). However, in older adults with high physical activity, the association between PSQI score and Barthel Index score was still significant (Bsimple = − 0.327, t = − 2.687, P = 0.007). These results indicate that the direct association between sleep quality and ADL became stronger with a decrease in physical activity. Thus, physical activity is a protective physiological component that can effectively mitigate the harmful consequences of poor sleep quality on psychological distress.

Table 4 The impact of sleep quality on ADL at different levels of physical activity
Fig. 2
figure 2

Moderation of physical activity to sleep quality and psychological distress

The results of the simple slope test (see Table 5 and Fig. 3) further suggest that when social support is perceived to be low, poorer sleep quality is positively associated with greater psychological distress (Bsimple = 2.217, t = 18.386, P < 0.001). In older adults with high perceived social support, the association between sleep quality and psychological distress was significant (Bsimple = 1.306, t = 10.040, P < 0.001). These results indicate that the direct relationship between sleep quality and psychological distress has become weaker with an increase in perceived social support. Thus, perceived social support is a protective psychological component that can substantially mitigate the negative effects of poor sleep quality on psychological distress.

Table 5 The impact of sleep quality on psychological distress at different levels of perceived social support
Fig. 3
figure 3

Moderation of perceived social support to sleep quality and psychological distress

Figure 4 illustrates the moderated mediation pathway model. The path coefficients revealed that all of the model’s relationships were significantly positive and negative. After including the mediator of Barthel Index score and moderators of physical activity and perceived social support, the direct effect of sleep quality on psychological distress was still significant. Therefore, the link between sleep quality and psychological distress was achieved partly through ADL and these associations were moderated by physical activity and perceived support.

Fig. 4
figure 4

A moderated mediation model of the association between sleep quality and psychological distress through ADL, physical activity and perceived social support. Path coefficients are shown. Note: *p < 0.05, **p < 0.01, ***p < 0.001

Discussion

In the present study, we discovered that the association between sleep quality and psychological distress was partially mediated by ADL among older individuals, indicating that poor sleep quality may have both a direct and indirect influence on psychological distress. Physical activity moderated the indirect impact, which was greater in older people with lower levels of physical activity. Furthermore, perceived social support reduced the direct and indirect effect, and the effect was greater in older individuals with lower levels of perceived social support. These findings contribute to elucidating the probable causes of psychological distress and facilitating tailored treatments for people aimed at improving the mental health of older adults.

This study revealed a significant correlation between sleep quality and psychological distress and older individuals with poor sleep quality were significantly related to severe psychological distress, which is consistent with previous research results [46]. Sleep quality had a significant influence on psychological distress. Our findings could be explained by the fact that poor sleep quality, such as difficulty falling asleep and short sleep duration, may worsen mood and increase anxiety with daytime fatigue, which can lead to an increase in psychological distress. Moreover, the relationship between poor sleep quality and depression and anxiety may be explained by an increased activation of REM sleep mechanisms [47].

Consistent with previous studies [12, 48], our mediation findings suggest that ADL had a strong mediating influence on the relationship between sleep quality and psychological distress. This study revealed that the worse older adults reported sleep quality, the greater degree of function restrictions of older adults, and hence the severity of psychological distress. One probable explanation is that poor sleep quality has a detrimental effect on both the physical and psychological elements of life. Older individuals who have ADL limitations are less likely to be able to care for and support themselves [46], leading to negative psychological experiences. Long-term negative psychological experiences, such as guilt and uselessness, seriously affected the mental health of older individuals [46]. These findings suggest that ADL may play an essential part in mediating the association between poor sleep quality and psychological distress. However, it merely mediates the relationship between poor sleep quality and psychological distress to a limited extent. This suggests that future research should explore additional mediators in order to offer a more comprehensive view of the complex link between poor sleep quality and psychological distress in older individuals. Although it is restricted to reaching a conclusion on the causative linkages based on our cross-sectional data, the current findings indicate poor sleep quality may confer a sensitivity to psychological distress by raising function restrictions levels, extending prior study findings. Furthermore, these findings have a significant practical implication: treatments for the prevention of psychological distress in older individuals would benefit from focusing more on assisting them in co** with physical impairment rather than only on relieving sleep problems.

The effect of physical activity on the relationship between sleep quality and ADL was also explored in this research. We found that physical activity moderated the association between sleep quality and ADL in Chinese older adults. Importantly, our analysis showed that not all older individuals with poor sleep quality are experiencing growing function limitations, increasing the likelihood of experiencing psychological distress. Physical activity was not only associated with ADL, but also moderated the strength of the mediating effect of ADL. Similarly, prior research has found a link between physical activity and physical functioning [23, 49]. Older individuals who engage in a lot of physical activity tend to be more protected against function decline and psychological distress. The result emphasized the need for early intervention through promotion of regular physical activity. Public health initiatives should concentrate on develo** strategies to promote long-term regular physical activity by taking mental health status and functional status into account as conditions associated with physical activity.

According to our moderated mediation analysis, perceived social support moderated the direct relationship between sleep quality and psychological distress, as well as the second half of the mediating effect of the ADL. Previous studies have found a link between perceived social support and psychological distress [50, 51]. Higher perceived social support could be used to maintain a stable psychological state. Older individuals with higher levels of perceived social support have more psychological resources and are able to call on their psychological resources more effectively to buffer the negative effects of stress or adversity on their mental health. Another study further showed that receiving emotional support promoted parents’ psychological health among all combinations of support, and receiving all the three types of financial, instrumental and emotional support together raised their subjective wellbeing most [52]. In the current study, perceived social support was found to protect against the psychological distress of older adults. Firstly, for families, children should give more care to older adults, not only financial support but also emotional care. Secondly, communities need to build as many senior community activity centers as possible to promote communication and establish new social relationships among older adults. In addition, when giving social support to older adults, we should pay attention not only to the quantity of social support given, but also to the quality of social support given. That is, pay more attention to the older adult’s own feelings and improve their ability to perceive social support to really improve the psychological health of older adults.

Limitations

The present study has several limitations in terms of interpreting results. Firstly, the cross-sectional data made making causal inferences between the identified variables and psychological distress challenging. In the future, further longitudinal studies need to be performed to investigate the causal link between sleep quality and psychological distress. Secondly, while we have accounted for certain confounders in our analysis, there may be residual confounding factors that we have not controlled for due to data availability, such as nutrition, some medications, and mild cognitive impairment.

Conclusions

In conclusion, ADL partially mediated the link between sleep quality and psychological distress in older adults. Physical activity moderated the mediation effect, and the effect was stronger in older individuals who were less engaged. Moreover, perceived social support moderated the direct effect of sleep quality on psychological distress, as well as the second half of the mediating effect of the ADL, with a bigger effect found in older individuals with lower perceived social support than in those with higher perceived social support. To enhance psychological health, behavioral and physiological interventions targeting older adults are supposed to focus on early adoption and improve physical activity, ADL, and perceived social support among older adults in China.