Introduction

Early prevention of stroke—a clinical condition characterized by neurological deficits arising from disrupted cerebral blood flow [1],—is crucial, given its status as the second leading cause of death and the third leading cause of disability in adults globally [2]. Stroke causes are diverse, encompassing hypertension, diabetes, obesity, advanced age, smoking, and dyslipidemia. However, these traditional risk factors do not account for all stroke occurrences [3,4,5,6,7]. Recent research increasingly highlights the impact of sleep disturbances on stroke development [8,9,10,11].

Sleep, a vital physiological activity, is crucial for maintaining physical and mental health. Numerous studies have explored the correlation between sleep duration and stroke risk, suggesting non-linear [12], J-shaped [13], or U-shaped relationships [14]. Collectively, our study’s findings suggest that both excessive and insufficient sleep increase stroke risk [12,13,14,15].

In addition to sleep duration, sleep variability is an important indicator of sleep health [16]. Sleep variability refers to the regularity of sleep/wake patterns [17]. Excessive sleep variability can disrupt internal circadian rhythms, adversely affecting metabolism [18]. Research indicates that sleep variability is linked to elevated risks of obesity, dyslipidemia, hyperglycemia, hypertension, and metabolic syndrome [19].

However, the association between sleep duration variability and stroke remains underexplored [20]. This study aims to examine the link between total sleep duration variability and new stroke incidents, including sex-specific differences, in a middle-aged and elderly Chinese cohort (China Health and Retirement Longitudinal Study[CHARLS]).

Methods

Study population

CHARLS, a prospective, nationally representative, and population-based study, focuses on the economic, social, and health status of adults aged 45 and above. Commenced in 2011 with 17,596 randomly selected participants, the study has examined data on general health status, lifestyle habits, and demographic characteristics at two-year intervals. To date, four waves of data are available. The protocol received approval from the Ethical Review Committee of Peking University (approval numbers: IRB00001052-11015 for the main household survey and IRB00001052-11014 for biomarker collection). All participants signed the informed consent and repository consent that permitted their data to be shared after a detailed presentation of the risks and benefits related to study participation.

For this study, we excluded individuals with incomplete responses in the first three rounds of the sleep questionnaire (Supplementary material). Additionally, we excluded subjects who reported a stroke episode in the 2011, 2013, and 2015 surveys, and those with missing information in the 2018 stroke questionnaire (Supplementary material). We also excluded individuals missing complete information from the 2011 baseline. Ultimately, we analyzed a sample of 3,485 participants to investigate the association between total sleep duration variability and new stroke incidence. Further details about the enrollment process are provided in Fig. 1.

Fig. 1
figure 1

Flowchart of the study population

Assessment of total sleep duration variability

The total sleep duration over 24 h for each participant was calculated by adding the nocturnal sleep duration and daytime napping together [21]. Nocturnal sleep duration was obtained through the question: “In the previous month, how many hours of actual sleep did you get each night?” Meanwhile, daytime napping was assessed with: “In the previous month, how long did you nap for after lunch?“. For each participant, the standard deviation of total sleep duration was calculated using the total sleep time data from 2011, 2013, and 2015, representing the variability in total sleep duration.

Assessment of stroke

Stroke was the primary outcome of this study. Stroke incidence was assessed through self-reporting with the question: “Has a physician previously informed you that you have had a stroke?” An affirmative response was deemed indicative of a stroke occurrence. The primary outcome of interest was the occurrence of the first stroke event following the 2015 survey.

Assessment of covariates

The selection of covariates was guided by previous studies [11]. The selected socio-demographic characteristics included age, gender (male/female), educational attainment (primary and below/junior to secondary/undergraduate and above), marital status (married/unmarried), and residency (rural/urban). The categories “Married with spouse present” and “Married but not living with spouse” were classified as married, while “Separated”, “Divorced”, “Widowed”, and “Never married” were classified as unmarried. Lifestyle behaviors included smoking status (never/ever), alcohol consumption status (never/ever), and physical activity level (light/moderate/vigorous). Smoking status was categorized as “Never smoked” and “Ever smoked”, and alcohol consumption as “Never drunk” and “Ever drunk”. Clinical indicators included self-reported diagnoses of hypertension, diabetes mellitus, dyslipidemia, and body mass index (BMI). Nocturnal sleep duration and daytime napping at baseline were also considered to control for covariates.

Statistical analyses

Continuous variables were presented as the mean (SD) and compared using t-tests, while categorical variables were presented as counts and proportions and compared using Chi-square tests. Multivariable logistic regression analysis was used to examine the longitudinal correlation between total sleep duration variability and the incidence of new strokes. The multicollinearity of covariates (age, gender, educational attainment, marital status, residence, physical activity, smoking status, drinking status, hypertension, diabetes, BMI, dyslipidemia, nocturnal sleep duration, and daytime napping) was checked using the Variance Inflation Factor (VIF). A potential non-linear association between total sleep duration variability and stroke onset was examined using restricted cubic spline regression. In addition, subgroup and interaction analyses were performed. Statistical analyses were performed with R software, version 4.2.2 (http://www.R-project.org/). A two-sided P-value of < 0.05 was considered statistically significant.

Results

Baseline characteristics of study participants

During a 3-year follow-up period, 183 (5.25%) of 3485 participants without prior stroke history in 2015 developed a stroke. Statistically significant differences in age, marital status, and history of dyslipidemia, hypertension, and diabetes mellitus were observed, as depicted in Table 1. Compared with participants without a stroke, those with a stroke were more likely to be older (60.1 vs. 57.1), unmarried (14.8% vs. 9.0%), have diabetes (12.0% vs. 4.8%), have hypertension (44.3% vs. 21.1%), or have dyslipidemia (16.9% vs. 8.5%).

Table 1 Baseline characteristics of participants by stroke occurrence

Compared to women, men were more likely to be older, married, highly educated, and have a history of smoking or drinking, with longer daytime napping and nocturnal sleep durations, as depicted in Table 2. However, they were less likely to have diabetes, hypertension, or dyslipidemia.

Table 2 Baseline characteristics of the study population by gender

Total sleep duration variability & new stroke

Crude and adjusted logistic regression models were performed, yielding comparable results. After controlling for covariates (as listed in Table 3), a higher variability in total sleep duration was associated with an increased stroke risk. In the restricted cubic spline regression models, a linear correlation between total sleep duration variability and the risk of incident stroke was demonstrated in Fig. 2 (p = 0.413). Specifically, subjects with greater variability in total sleep duration exhibited a higher risk of stroke.

Females showed no significant association between total sleep duration variability and stroke risk (Table 4). However, in males, a significant association was noted, with increased total sleep duration variability linked to a higher risk of new stroke (OR = 1.43, 95% CI: 1.12–1.83).

Subgroup analyses indicated a stronger association between increased total sleep duration variability and stroke incidence in individuals who were older (age ≥ 60 years), male, were married, slept for 6–9 h per day, napped for more than 60 min per day, had dyslipidemia, and had a history of smoking or alcohol consumption (see Fig. 3). This association was particularly pronounced in males who were older (age ≥ 60 years), did not engage in daytime napping, had no history of hypertension or diabetes, and had a history of smoking or alcohol consumption (refer to Fig. 4). Nevertheless, no similar association was found in women (see Fig. 5).

Furthermore, an interaction was observed between total sleep duration variability and gender. Men demonstrated higher susceptibility to stroke with increased total sleep duration variability compared to women (as shown in Fig. 6).

Table 3 Logistic regression analysis for the association between total sleep duration variability and stroke
Fig. 2
figure 2

Restricted cubic spline diagram illustrating the association between total sleep duration variability and incidence of new stroke, adjusted for gender, age, education, marital status, residence, smoking and drinking status, BMI, physical activity level, and history of hypertension, dyslipidemia, diabetes, nocturnal sleep duration, and napping duration at baseline. (Tsleep_sd: Total Sleep Duration Variability)

Table 4 Adjusted odds ratio in association between total sleep duration variability & new stroke by subgroup
Fig. 3
figure 3

Subgroup analysis of total sleep duration variability and stroke, including interaction analysis of covariates and total sleep duration variability in both sexes

Fig. 4
figure 4

Subgroup analysis of total sleep duration variability and stroke in males

Fig. 5
figure 5

Subgroup analysis of total sleep duration variability and stroke in females

Fig. 6
figure 6

Interaction of total sleep duration variability with gender (Tsleep_sd: Total Sleep Duration Variability)

Sensitivity analysis

Similar results were obtained from sensitivity analyses, which excluded individuals who had used sedative-hypnotics during the initial three waves, as shown in Table 5. The association between sleep duration variability (assessed by the coefficient of variation of total sleep duration or the standard deviation of nocturnal sleep duration) and the risk of stroke in men persisted, as shown in Table 6.

Table 5 Sensitivity analyses 1 of the association between total sleep duration variability and stroke (after excluding individuals who had used sedative-hypnotics during the initial three waves)
Table 6 Sensitivity analyses 2 of the association between total sleep duration variability and stroke

Discussion

In this prospective cohort study, we found that among middle-aged and elderly individuals, increasing variability in total sleep duration over 4 years was significantly associated with an increased risk of new stroke. Additionally, a linear, positive correlation between total sleep duration variability and stroke risk was observed. This correlation was especially relevant in individuals over 60 years of age, males, those with a BMI > 28, married individuals, and those with a history of smoking or alcohol use.

More research has focused on the correlation between sleep duration at a single point in time and stroke risk, but research on the impact of prolonged changes in sleep duration on stroke risk is limited [15, 22, 23]. Findings from the Kailuan study, a prospective cohort study in a Chinese adult population, suggested that both stable low and increasing low sleep duration trajectories might be associated with a higher risk of subsequent first cardiovascular events, including atrial fibrillation, myocardial infarction, and stroke [15]. In the Tongji Dongfeng cohort study, individuals who consistently slept for ≥ 9 h per night or increased their sleep duration from 7 to 9 h to ≥ 9 h had a higher risk of stroke compared to those who consistently slept for 7–9 h per night. A previous study of a British population revealed that individuals who consistently slept for extended periods (> 8 h) or had a significant increase in sleep duration (from less than 6 h to > 8 h) were at least twice as likely to experience stroke compared to those who consistently slept for 6–8 h [23]. Previous research focused on the qualitative categorization of long-term variations in sleep duration, assessing the relationship between variously classified long-term sleep patterns and stroke risk. However, these studies did not establish a dose-response relationship between quantitatively measured changes in sleep duration and stroke risk. Therefore, our study employed the calculation of intra-individual standard deviation (SD) from three measurements of total sleep time over four years to provide a quantitative assessment of the long-term changes in total sleep duration for each participant.

To the best of our knowledge, this study is the first to investigate the association between sleep duration variability and stroke incidence. Previous research has primarily focused on the relationship between sleep variability and cardiovascular disease, along with its associated risk factors [24]. Findings indicate a correlation between total sleep duration variability and BMII [24], obesity/overweight [25], glycated hemoglobin26, hypertension [17, 26], cardiovascular disease [27], and metabolic syndrome [28]. Regarding our findings that increased total sleep duration variability might elevate stroke incidence, we hypothesize the following contributing mechanisms. First, inconsistent sleep patterns increase the likelihood of risk factors associated with cardiovascular disease [18], such as dyslipidemia, high blood pressure, and elevated blood glucose levels, potentially leading to stroke onset [29, 30]. Second, irregular sleep patterns may affect melatonin production. Melatonin plays a crucial role as an antioxidant and neuroprotectant within the body [31]. Experimental studies have demonstrated melatonin’s role in preventing the onset and progression of stroke [32, 33]. Third, sleep rhythm disorders may be linked to specific genetic abnormalities. Several circadian genes, such as clock, per2, and bmal1, regulate a broad spectrum of cardiovascular rhythms and processes, including blood pressure, endothelial function, and thrombosis [34,35,36,37]. There is a significant correlation between circadian genes and enzymes that regulate reactive oxygen species (ROS) [38]. Experimental studies indicated that the deficiency of the Per2 gene heightened susceptibility to ROS [39], and the downregulation of the Bmal1 gene disrupted redox defenses, leading to increased oxidative damage [40]. Fourth, irregular sleep disrupts the autonomic nervous system’s rhythm, thus affecting cardiovascular function [41, 42]. The autonomic nervous system is responsible for regulating the body’s stress response to a wide range of stressors, including acute and chronic risk factors for stroke, mitigating the effects of these stressors and restoring homeostasis [43, 44]. However, impaired function of the autonomic nervous system can disrupt the stress response and contribute to the onset of stroke [43]. Finally, irregular sleep patterns represent a mismatch between daily lifestyle activities, such as eating and exercising, and the body’s natural circadian rhythm. This can result in metabolic changes that are linked to obesity, ultimately increasing the occurrence of stroke [45,46,47].

In this study, a significant association between total sleep time variability and stroke was not observed in women. Previous studies have shown that men have a higher lifetime risk of ischemic stroke than women within most age strata [48]. Most of the women enrolled in the study were in either the perimenopausal or postmenopausal stage, characterized by low levels of estrogen. Studies indicate that estrogen hinders stroke progression through its anti-atherosclerotic effects on the vascular system and its modulation of adipogenesis. Additionally, estrogen reduces stroke damage by causing coronary artery vasodilation and providing neuroprotection to brain and glial cells during ischemia [49]. Thus, the lack of estrogen might play a significant role in the occurrence of stroke in women, and the relative importance of total sleep duration variability might be diminished.

This study is significant due to its longitudinal evaluation of changes in sleep duration over a 4-year period, its analysis of the quantitative and qualitative links between total sleep duration variability and stroke incidence, and its status as a prospective cohort study in a middle-aged and elderly population in China, offering more rational and credible findings from a broader societal sample. Furthermore, the study accounted for possible confounding factors and carried out thorough subgroup analyses, interaction analyses, and sensitivity analyses. However, it is important to acknowledge that this study has certain limitations. Firstly, participants’ self-reported information was used to evaluate sleep rather than an objective measure, possibly introducing error. a more objective and.

accurate measurement of sleep duration should be polysomnography (PSG) [50]. Secondly, participants’ self-reported their stroke diagnosis, based on the doctor’s judgment, which could be prone to bias. Thirdly, the study database did not evaluate details on other aspects of sleep, such as snoring, sleep apnea, and sleep quality. we could not obtain relevant data to assess sleep quality in CHARLS, which can be supplemented by follow-up studies. Finally, it should be noted that the findings of this study are relevant only to the Chinese population aged 45 or above and cannot be generalized to other populations.

Conclusion

In conclusion, this study reveals a dose-response relationship between the variability of total sleep duration and future stroke risk in the middle-aged and elderly Chinese population. This relationship is independent of age, nocturnal sleep duration, napping habits, area of residence, and a history of hypertension, diabetes mellitus, dyslipidemia, Body Mass Index (BMI), smoking status, alcohol consumption, and marital status. Stabilizing and minimizing fluctuations in sleep duration could play a role in preventing future stroke events. Particularly, it is crucial for men to focus on maintaining stable sleep patterns.