Background

Dementia is a cognitive disorder that significantly interferes with independent daily activities, usually caused by neurodegenerative or cerebrovascular pathologies, and common dementia subtypes include Alzheimer’s disease (AD), dementia with Lewy bodies, vascular dementia (VD), and others [1, 2]. It was estimated that the number of all-cause dementia would reach 65 million by 2030 and 113 million by 2050 worldwide [3]. For decades, unfortunately, trials aiming to treat dementia have mostly ended with failure [4]. In the absence of effective therapeutic agents, the risk factors controlling is crucial for the primary and secondary preventions of dementia [5]. Various genetic and environmental risk factors have been found that would contribute to the development of dementia, such as apolipoprotein E ε4-carriers [6], obesity [7], diabetes [8], and unhealthy lifestyles (e.g., smoking, alcohol consumption, and lack of physical activity) [9,10,11].

Shift work, where an individual’s normal hours of work are, in part, outside the period of the normal day working and disrupting the circadian rhythm, has become increasingly common with socioeconomic development [12]. Shift work is usually accompanied by long-hour nature, low income, a bad working environment, and increased subjective strains [13, 14], and may result in a series of health problems. Prior studies have found that shift work was associated with a 23% increased risk of myocardial infarction [15], a ~ 20% increased risk of breast cancer [16, 17], a 9–40% increased risk of type 2 diabetes [18, 19], and a 5% increased risk of ischemic stroke [15], some of which could contribute to the development of dementia. Moreover, recent studies reported that acute sleep deprivation would lead to increased brain β-amyloid (Aβ) burden and blood levels of t-tau [20, 21], from which it could be inferred that long-term shift work might lead to sleep disturbances thereby leaving those workers with a higher incidence of dementia. Taking these negative impacts into consideration, shift work may be an important risk factor for dementia.

However, there was no homogeneous evidence about the association between shift work and incident dementia [22]. The Danish Nurse Cohort Study by Jørgensen et al., involving more than 8000 nurses from 1993 to 2018, showed that persistent night shift work may increase the risk of dementia [23]. Whereas, another cohort study by Nabe-Nielsen et al., involving 4766 male employees in Denmark from 1970 to 2014, found no significant association between shift work or long working hours and the risk of dementia [24]. Most previous studies had recruited gender- or occupation-specific participants, and evidence from a more general population would be needed to investigate the relationship between shift work and incident dementia. In addition, genetic predisposition to dementia may interact with environmental factors and alter the association between shift work and dementia, and competing events that have never been considered in previous studies (e.g., death), might lead to underestimating or overestimating the impact of shift work on dementia.

Accordingly, we conducted a community-based cohort study in UK Biobank to address whether shift work would increase the risk of all-cause dementia or dementia subtypes in a general population.

Methods

Data source and participants

For this community-based cohort study, data were extracted from the public UK Biobank Resource [25]. The UK Biobank is a prospective cohort study with over 500,000 community-dwelling participants across the UK aged 37–73 years when recruited between 2006 and 2010 [26].

Participants who indicated they were in paid employment or self-employed at baseline were included in our study. We excluded those who (1) reported previous cognitive impairment or dementia, (2) lack of information about shift work or night shift work status, and (3) have no genetic data.

Shift work definition

The definition of shift work in UK Biobank was “a schedule falling outside of 9 am to 5 pm; by definition, such schedules involved afternoon, evening, or night shifts or rotating through these shifts,” while night shift work was defined as “a work schedule that involves working through the normal sleeping hours, for instance, working through the hours from 12 to 6 am.”

The UK Biobank first asked participants employed at baseline to report whether their current main job involved shift schedule; if so, participants were further asked if night shifts were involved. For both questions, response options were never/rarely, sometimes, usually, or always. We derived individual current shift work status according to responses to the two questions, and categorized them as “non-shift workers” or “shift workers,” with “non-shift workers” defined as working between hours 9 am to 5 pm; among shift workers, participants were categorized as “night shift workers” or “shift but non-night shift workers”, with “non-night shift workers” defined working between hours 5 pm to 12 am; among night shift workers, participants were further categorized as “some night shift workers” or “usual/permanent night shift workers.”

Outcomes

The primary outcome was all-cause dementia in a time-to-event analysis, and the secondary outcomes included AD, VD, and other types of dementia. The electronic health records (EHRs), a data linkage to hospital inpatient admissions and death registries, include primary or secondary events in England, Scotland, and Wales. A previous comparison between EHRs and expert clinical adjudicators in the UK Biobank showed that the overall positive predictive value for dementia diagnosis is 82.5% [27], suggesting that the EHRs were effective to assess the association between risk factors and dementia. We used the algorithms provided by UK Biobank to identify dementia cases, which were generated based on EHRs, using ICD-9 and ICD-10 codes (Additional file 1: Table S1). In the time-to-event analysis, the date of incident dementia during follow-up was set as the earliest date of dementia codes recorded regardless of the source used. At the time of analysis, as hospital admission data were available until 30 June 2021, we, therefore, censored the disease-specific outcome analysis at this date or the date of the first disease incidence or death, whichever occurred first. Mortality data were available for participants until 31 May 2021.

Polygenetic risk score for dementia

We developed a polygenetic risk score (PRS) for quantifying the genetic predisposition to dementia using single-nucleotide polymorphisms (SNPs) associated with dementia based on previous genome-wide association studies that did not include UK Biobank participants [28]. Information on the 23 selected SNPs is listed in Additional file 1: Table S2. Individual SNPs were coded as 0, 1, and 2 according to the number of risk alleles. The PRS was formulated as the sum of the number of risk alleles at each locus multiplied by the respective regression coefficient, divided by the number of SNPs, using PRSice-2 [29, 30]. The PRS was then divided into quartiles and categorized as low (quartiles 1 to 2), intermediate (quartile 3), and high (quartile 4) genetic predisposition to dementia (Additional file 1: Table S3).

Covariates

Possible confounding variables include: age; sex; ethnicity (white/not white); education, categorized as higher (college/university degree or other professional qualification), upper secondary (second/final stage of secondary education), lower secondary (first stage of secondary education), vocational (work-related practical qualifications), or other; socioeconomic status, categories derived from Townsend deprivation index quartiles 1 (low), 2 to 3 (intermediate), and 4 (high); diabetes mellitus (DM); hypertension (HTN); stroke; coronary heart disease (CHD); cholesterol-lowering medication; antihypertensives; aspirin; body mass index (BMI); systolic blood pressure (SBP); total cholesterol (TC); triglycerides (TG); high-density lipoprotein (HDL); low-density lipoprotein (LDL); glycated hemoglobin (HbA1c); smoking status (current or no current smoking); alcohol consumption; healthy diet, based on consumption of at least 4 of 7 commonly eaten food groups following recommendations on dietary priorities [31]; regular physical activity, defined as meeting the 2017 UK Physical activity guidelines of 150 min of moderate activity per week or 75 min of vigorous activity; years of work; sleep duration, categorized as ≤ 6, 7–8, and ≥ 9 h/day; chronotype preference (definitely a “morning” person, more a “morning” than “evening” person, more an “evening” than a “morning” person, and definitely an “evening” person).

Statistical analysis

For baseline characteristics, continuous variables conforming to normal distribution were described by their means and standard deviations, while those not conforming to normal distribution were described by medians and interquartile ranges. Categorical variables were described by counting numbers and calculating percentages. Univariate comparisons between groups were performed using Student’s t, Mann–Whitney, or χ2 tests according to the type and distribution of variables.

In the primary analysis, time-to-event analysis for all-cause dementia was performed using the Cox proportional hazard regression model, and we constructed several models that included different covariates to estimate hazard ratios (HR) and their 95% confidence intervals (95% CI). Model 1 was adjusted for age at baseline and sex. Model 2 was adjusted for terms in model 1, ethnicity, education, and socioeconomic status. Model 2 was chosen as the primary model.

We used a fixed sequence procedure for multiple comparisons, which would not inflate the type I error. We sequentially compared differences in the incidence of dementia between shift workers and non-shift workers, night shift workers and shift but non-night shift workers, and some/usual night shift workers and permanent night shift workers. In the subgroup analysis, which was set out to explore whether the impact of shift work on dementia varied in the subgroups defined according to age at baseline (≤ 60, > 60 years), ethnicity, sex, socioeconomic status, sleep duration, and genetic predisposition to dementia by PRS, the P value for interaction was calculated by the tests of exposure-by-covariate interaction in the Cox models. The secondary outcomes of dementia subtypes were analyzed using the same Cox models of the primary analysis.

We conducted several sensitivity analyses. First, we further adjusted some covariate. Model 3 was further adjusted for terms in model 2, DM, HTN, stroke, CHD, cholesterol-lowering medication, antihypertensives, aspirin, BMI, SBP, TC, TG, HDL, LDL, HbA1c, smoking status, alcohol consumption, healthy diet, and regular physical activity. Model 4 was adjusted for terms in model 3, genetic predisposition to dementia by PRS category. Model 5 was adjusted for terms in model 4, years of work. Model 6 was adjusted for terms in model 5, sleep duration. Model 7 was adjusted for terms in model 6, chronotype preference. Second, we analyzed the impact of shift work on dementia using Fine-Gray methods accounting for death as a competing risk, to assess the robustness of our findings [32]. Third, we also excluded subjects with follow-up time < 1 year or incident dementia < 1 year from baseline to perform the analysis. Forth, we perform the same analysis in the dataset containing 278,270 participants using multiple imputations by chained equations with 5 imputations to impute missing values.

All P values were reported as two-sided tests with significance defined as P < 0.05. Statistical analyses were performed in the R software (Version 4.0.3, R Core Team, https://www.r-project.org).

Results

Baseline characteristics

Figure 1 has illustrated the participants’ selection. Of 170,722 eligible participants, 27,450 (16.1%) had reported shift work status and 143,272 (83.9%) had not (non-shift workers). Baseline characteristics of eligible participants were displayed in Tables 1 and 2. Participants who had reported shift work status (vs. non-shift workers) were younger, more likely to be men, had a lower education level and higher Townsend deprivation index, and had a higher prevalence of DM and HTN. Shift workers also tended to take more cholesterol-lowering medication, antihypertensives, and aspirin, and to be not current smokers, had lower alcohol consumption, less healthy diet, but more physically active and had a shorter sleep duration. (Table 1).

Fig. 1
figure 1

Flowchart of participants throughout the study

Table 1 Baseline characteristics of the study participants according to shift work status
Table 2 Baseline characteristics of shift workers according to night shifts work status

Shift work or night shift work and dementia

The incidence of the primary and secondary outcomes was shown in Additional file 1: Table S4. We observed 716 dementia cases during a median follow-up period of 12.4 years, of whom 134 (18.7%) and 582 (81.3%) were in the shift workers group and the non-shift workers group, respectively. Shift workers had a higher incidence of all-cause dementia compared with non-shift workers (unadjusted-HR, 1.21; 95% CI, 1.00 to 1.46; P = 0.04; Fig. 2). After adjusting for confounders, the risk of all-cause dementia among shift workers remained significantly higher than non-shift workers (adjusted-HR, 1.30; 95% CI, 1.08 to 1.58; P = 0.006; Table 3). Among shift workers, we did not observe a significant association between night shift work and the risk of dementia after multivariable adjustment in the Cox model (adjusted-HR, 1.04; 95% CI, 0.73 to 1.47; P = 0.83; Table 3), and the sensitivity analysis yielded similar results (Additional file 1: Table S5-8).

Fig. 2
figure 2

Kaplan–Meier survival analyses for all-cause dementia between non-shift workers and shift workers (A), shift but non-night shift workers and night shift workers (B)

Table 3 Hazard ratios for primary outcome associated with current work schedule

For the secondary outcomes of dementia subtypes, we found no significance of the association between shift work and the risks of AD (adjusted-HR, 1.23; 95% CI, 0.90 to 1.69; P = 0.20) and VD (adjusted-HR, 1.46; 95% CI, 0.94 to 2.27; P = 0.09) (Table 4).

Table 4 Hazard ratios for secondary outcome associated with current work schedule

Subgroup and sensitivity analyses

As shown in Fig. 3, the impact of shift work on dementia did not differ among participants who were in the low-, intermediate-, or high-PRS subgroups (P for interaction = 0.77). Similarly, no significant interaction was observed in the subgroups of age at baseline, ethnicity, sex, socioeconomic status, and sleep duration.

Fig. 3
figure 3

Association of shift work and the risk of all-cause dementia stratified by potential risk factors. Abbreviations: HR, hazard ratio; CI, confidence interval. Results were adjusted for age at baseline, sex, ethnicity, education, and socioeconomic status. Horizontal lines indicate the ranges of 95% CIs and the vertical dash lines indicate the hazard ratio of 1.0

In order to assess the robustness of our findings, we conducted several sensitivity analyses, including the models further adjusted for genetic predisposition to dementia by PRS, years of work, sleep duration, and chronotype category, the Fine-Gray methods under consideration of the competing risk of death, the models excluding subjects with follow-up time < 1 year or incident dementia < 1 year from baseline and the models of the imputed dataset. The results showed no substantial change of the impact of shift work on dementia (Additional file 1: Table S5-8).

Discussion

In this community-based cohort study in UK Biobank, involving 170,722 participants without cognitive impairment or dementia at baseline, we found that shift workers at baseline had a 30% increased risk of all-cause dementia as compared with non-shift workers during a median follow-up period of 12.4 years; however, among shift workers, there was no significant association between night shift work and the risk of dementia. In addition, to the best of our knowledge, it was the first study to examine the interaction between shift work and genetic predisposition to dementia, and we found that the risk of dementia associated with shift work did not significantly differ among participants in different genetic risk strata of dementia.

Although some health problems that are caused by shift work may contribute to the development of dementia, such as metabolic disorders and ischemic stroke, the mechanism that how shift work causes cognitive impairment still remains unclear. We inferred that sleep disturbance and disrupted circadian might be the main causes of cognitive impairment among shift workers [33]. Systematic reviews had shown an increased risk for shift workers to develop chronic sleep disturbance [34, 35], and the prevalence of shift work sleep disorder has been estimated to be 10–23% in shift workers [36]. Extracellular levels of metabolites, including amyloid β, increase in the brain during wakefulness and are reduced during sleep, and sleep disturbances could therefore result in a reduced clearance of these metabolites [37], which contributes to the pathogenesis of AD. And cognitive performance deteriorates with sleep disturbance [38, 39].

Most regulatory hormones show strong diurnal rhythms, e.g., cortisol and melatonin, and disturbed sleep is often related to a mild temporary increase in the major neuroendocrine stress systems [40]. Experimental studies showed that disturbed sleep, altered light exposure typical for shift workers, could lead to an acute circadian disruption and so influence the normal secretion of these regulatory hormones [41]. Studies of patients with AD have found that these patients had a higher prevalence of melatonin secretion rhythm disorders [42, 43]. Animal experiments showed that melatonin can inhibit expressions of amyloid-β protein in the hippocampal area of model rats with senile dementia [44]. Activation of the type 1 melatonin receptor modulated anti-amyloidogenic and anti-inflammatory roles in AD mice brain and improved the cognitive deficits [45]. Shift work was also associated with abnormalities in brain structure that had been observed in dementia pathophysiology, giving a hint of the underlying brain mechanisms of shift work on dementia risk [46]. In addition, shift work has been linked to lower socioeconomic status, which is consistent with our results that participants who had reported shift work status (vs. non-shift workers) had higher Townsend deprivation indexes (i.e., lower socioeconomic status), and may lead to disruption of social rhythms, that is a conflict between work and family demands. Thus, shift workers may suffer from higher psychosocial work stress [33].

A systemic review by Leso et al. in 2021 found several literatures investigating the association between shift work and dementia, but failed to draw definitive conclusions on this topic, because of the limited number of available studies, a different definition of work schedules, and the possible co-exposure to other occupational risk factors [22]. The Danish Nurse Cohort Study by Jørgensen et al., involving more than 8000 nurses from 1993 to 2018, showed that persistent night shift work may increase the risk of dementia [23]. Whereas, another cohort study by Nabe-Nielsen et al., involving 4766 male employees in Denmark from 1970 to 2014, found no significant association between shift work or long working hours and the risk of dementia [24]. Previous studies have shown mixed results [47,48,49].

Since most previous studies had only recruited gender- or occupation-specific participants, our study, from a more general population in the UK biobank, provided strong evidence that shift work at baseline is associated with an increased risk of dementia, and extensive sensitivity analyses assessing the robustness of our findings have all yielded similar results. It should be emphasized that participants from the UK Biobank were not nationally representative due to the low response rate (~ 5.5%) and the fact that the participants who were in employment at baseline and included in our analysis tended to be healthier than those who had retired earlier, which might lead to potential healthy volunteer selection bias. However, given that the UK Biobank has a tremendous sample size and a median follow-up time of over 10 years, it still has the capacity to detect and identify risk factors [50], and our findings also remain of important public health implications in terms of the need for effective public measures to reduce the risk of dementia in order to improve the quality of life and health of shift workers, such as increasing the minimum hourly wage and reducing the frequency or duration of shift work.

Another important finding was that different genetic predispositions to dementia did not significantly alter the association between shift work and dementia, from which it could be inferred that shift workers may benefit from reducing the duration or frequency of shift work regardless of the genetic predisposition to dementia if the associations were causal. Furthermore, the subgroup analysis indicated that the impact of shift work on dementia was more pronounced in those aged 60 years and older. Considering that the age of onset of dementia is usually above 80 years [51] while the mean age at baseline of participants in our study was only 52 years and the median follow-up was 12.4 years, the association between shift work and dementia could have been underestimated. Further studies, enrolling more elderly volunteers, would be needed in the future to verify our findings.

Contrary to our expectations, among shift workers, this study did not find a statistical difference in the risk of dementia between night shift workers and non-night shift workers. This result appeared to be contrary to the idea that night shift work may lead to more severe circadian disturbances and sleep impairment, resulting in an increased risk of dementia. In fact, in our study, the proportion of participants with a sleep duration less than 6 h was higher in night shift workers compared with non-night shift workers and our results (Additional file 1: Table S9) showed that sleep duration less than 6 h was associated with an increased risk of dementia, in line with previous studies [52]. Possibly due to the small number of events in subgroups, we did not have sufficient statistical power to detect a difference. Hence, further studies with larger sample sizes of shift workers would be warranted to address whether there would be a difference in the risk of dementia between night shift workers and non-night shift workers.

Overall, our study provides novel evidence based on a general population that shift work at baseline may lead to an increased risk of dementia regardless of genetic predisposition to dementia and suggests that the occupational management of reducing the duration or frequency of shift work may be crucial for long-term shift workers.

Strengths and limitations

Our study has several major strengths. Firstly, the large sample size and the wealth of information on lifestyle, and other covariates of UK Biobank participants, enabled this study of comprehensive sensitivity analyses and subgroup analyses. Secondly, to our best knowledge, it was the first study to examine the interaction between shift work and genetic predisposition to dementia. There were also several limitations in our study. Firstly, the study was a retrospective analysis of data from the UK Biobank, thus confounders that were included in the multivariable Cox model were based on available variables in the database and there might be some unknown or unmeasured biases confounding the association between shift work and dementia. Besides, some covariates had too much missing data, resulting in a loss of sample size. Secondly, although we believe that the UK Biobank has sufficient capacity to identify risk factors, its low response rate and healthy volunteer bias may still contribute to an underestimation of the impact of shift work on dementia, which needs to be further assessed in future studies. Thirdly, dementia might be misdiagnosed or underdiagnosed, and participants with cognitive impairment usually are more likely to be lost to follow-up, hence some dementia cases might not be captured by EHRs. Furthermore, the work schedule information was assessed only at the baseline. Participants’ work status might change over time during the follow-up while people tend to stop doing shift or night shift work at an older age, which might bias our results toward the null hypothesis, resulting in an underestimation of the effect size [53]. Future prospective studies measuring the longitudinal change of employment status would be needed to assess the association of lifetime exposure to shift work with the risk of dementia. Finally, participants recruited by UK Biobank were mostly white British, which may limit the extrapolation of our findings to other ethnicities, such as Asians and Africans.

Conclusions

Shift workers at baseline was associated with a higher incidence of all-cause dementia compared with non-shift workers. Among shift workers, there was no significant association between night shift work and the risk of dementia. The increased incidence of dementia in shift workers did not differ between participants in different genetic risk strata for dementia. Our findings have public health implications for the primary prevention of dementia, but future prospective studies are still warranted to determine whether reducing the frequency or duration of shift work would contribute to lowering the risk of incident dementia and to clarify the underlying mechanisms.