Introduction

Almost 50 million individuals worldwide are affected by dementia, one of the leading causes of death and disability adjusted life years, imposing a massive burden on patients, their caregivers, and health and social care [1, 2]. Given that the effective pharmaceutical treatments for all-cause dementia remain elusive, developing non-pharmacological strategies (i.e., lifestyle approaches) to prevent the onset of dementia is of high priority [3].

Notably, physical activity, referred to any bodily movement produced by skeletal muscles that requires energy expenditure [4], is a promising strategy for dementia prevention and disease modification [5]. A number of studies [6,7,8,9,10,11] indicated that physical activity is associated with a reduction in dementia risk. However, some studies [12, 13] have reported that physical activity might not reduce dementia risk, suggesting that physically active people have a lower risk of dementia, which can be attributed to reverse causation. Furthermore, the amount and intensity of physical activity required to prevent dementia have yet to be fully determined because a large amount of studies have relied on self-reported data [6,7,8, 12, 13] that are prone to recall biases and overestimation of total volume of physical activity (TPA) [14].

Sedentary behaviour, referred to any waking behaviour characterised by an energy expenditure of 1.5 METs or lower whilst sitting, reclining or lying [15], is well established on deleterious associations with health outcomes such as a higher risk of type 2 diabetes, cardiovascular disease (CVD) and all-cause mortality [16]. Accumulating evidence has indicated mixed associations between sedentary behaviours and cognitive function [17,18,19]. Furthermore, research into the association between sedentary behaviour and dementia risk is limited [20] and has limitations in measurement. A prospective cohort study of 431,924 UK Biobank participants [21] observed that long sedentary time is associated with higher risk of dementia. A case–control study reported that institutionalised patients with dementia spent 19.0% more time sedentary per day compared with healthy older adults [22]. The former study collected sedentary time information by using a self-reported questionnaire that only inquired about time spent watching TV and using a computer and thus cannot measure sedentary behaviour related to occupation or transportation. Furthermore, the study only targeted the specific domains of activity (watching TV and using a computer), which account for only a portion of the day. The latter study assessed sedentary behaviour by using accelerator-measured data but did not exclude the time spent on sleep, and thus its findings may be misinterpreted. Our study measured sedentary time according to the combination of accelerator-measured and self-report data, facilitated the detection and quantification of brief interruptions in sedentary behaviour and differentiation between sleep and sedation, and had a wide time scope (about a week). However, the longitudinal association of sedentary behaviour with dementia still warrants further investigation.

As regular physical activity and reduced sedentary time provide significant health benefits, current Physical Activity and Sedentary Behaviour Guidelines recommend 150–300 min of moderate intensity exercise per week, as well as limiting prolonged sedentary time [15]. However, few adults meet the physical activity recommendations, and the prevalence of sedentariness has increased over the past two decades [23, 24]. Insufficient physical activity with increased sedentary time has been shown to contribute to adverse health outcomes [25]. Nevertheless, we remain far from a complete understanding of the interrelationships between physical activity and sedentary time and their role in preserving cognitive function and reducing dementia risk. Therefore, we maximised the UK Biobank cohort and sought to investigate the independent and joint associations of accelerometer-measured TPA and sedentary time with the risk of incident dementia and its subtypes. We further investigated whether the associations of physical activity and sedentary time with dementia are affected by APOE 4-carrying status given the reported interactions between the effects of physical activity and the APOE 4, a well-known genetic risk factor for dementia and AD on dementia risk [26,27,28,29].

Methods

Study population

This research was conducted using the UK Biobank Resource. From 2006 to 2010, the UK Biobank recruited over 500,000 participants aged 37–73 years, with extensive phenotypic and genotypic data collected about each participant, as well as longitudinal follow-up for health outcomes [30]. All participants provided written informed consent.

Amongst 103,670 participants whose physical activity was measured with an accelerometer during May 2013 and December 2015 [31], those with failed accelerometer calibration, > 1% clipped values, implausibly high activity values or insufficient wear time were excluded (n = 7,009) (see Additional file 1). Furthermore, we excluded participants with missing information on self-reported sleep duration (n = 288), whose sleep duration exceeded the time spent on 30 milli-g per day (n = 1), or who had missing information concerning covariates (n = 5,998). Additionally, we excluded participants who had been lost to follow-up (n = 4) or diagnosed with dementia before the end of their accelerometer wear (n = 50), resulting in 90,320 participants for the final analysis (Fig. 1). Reporting of analyses and results followed the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) reporting guideline (see Additional file 2).

Fig. 1
figure 1

Flowchart of participant selection

Exposure assessment

Axivity AX3 wrist-worn triaxial accelerometer was used to measure TPA, with participants requested to wear the monitor continuously for 7 days on their dominant wrist [32]. TPA, a validated surrogate for global physical activity [33], was measured as the average vector magnitude in milli-gravity (milli-g) units over 7 days. Within the population distribution, we dichotomised PA by median: low TPA (< 27.0 milli-gravity [mill-g] units) and high TPA (≥ 27 mg). For ease of interpretation, we described the medians in terms of the number of minutes accumulated at an intensity equivalent to or greater than walking ‘at a brisk pace, for exercise’ (4.3 MET) [12]. This number can be predicted from the time accumulated at an acceleration above 250 milli-g [13]. The 250 mg cutoff was obtained from data from a laboratory-based calibration study [34]. Thereafter, the median (interquartile range) value of the lower median was 5.8 (4.3–10.1) minutes/day of walking at a brisk pace. Similarly, the higher median was 17.3 (13.0–25.9) minutes/day of brisk walking. Therefore, we categorised TPA in terms of low physical activity (6 min/day of brisk walking) and high physical activity (17 min/day of brisk walking) (see Additional file 3).

Self-reported sleep duration was derived from the touchscreen questionnaire at baseline. Participants were asked, ‘About how many hours of sleep do you get in every 24 h? (Please include naps)’. Participants who reported sleeping more than 12 h or less than 3 h each day were asked to confirm their answers. In addition, the answers ‘more than 23 h’ and ‘less than 1 h per day’ were rejected. To calculate the total amount of time spent in sedentary activity per day, the total amount of sleep time was subtracted from the fraction of time spent in 30 milli-g-and-under multiplied by 24. Sedentary time (h/day) were divided into binary according to median at 10.7 h/day. Thereafter, participants were categorised into four groups on the basis of combinations of binary TPA and sedentary time, with high TPA and low sedentary time as the combined reference subgroup.

Outcome assessment

Outcomes were incident dementia and its two major component end points: Alzheimer’s disease (AD) and vascular dementia (VD), which were derived from UK Biobank’s algorithmically defined outcomes containing data obtained from baseline assessment data collection, along with linked data from hospital admissions and death registries. Detailed information about the linkage procedures can be found at elsewhere [35, 36]. The algorithms used to combine data from different sources to identify dementia have been described previously on the UK Biobank website [37]. Our outcomes were defined based on the International Classification of Diseases, 10th revision (ICD-10) and 9th revision (ICD-9) (see Additional file 4).

Covariates

Several potential confounding factors were selected based on their known or plausible effects on physical activity and cognition [38,39,40]: age at baseline; sex (male and female); ethnicity (white and non-white); body mass index (BMI, underweight [< 18.5 kg/m2], normal weight [18.5–25 kg/m2], overweight [25–30 kg/m2] and obese [≥ 30 kg/m2]); smoking status (never, past or current); alcohol intake frequency (never, less than 3 times/week and \(\ge\) 3 times/week); Townsend deprivation index (quintiles, with the top quintile representing most deprived); education level (high [college/university degree or above], intermediate [Advanced/Advanced Subsidiary levels, Ordinary levels, General Certificate of Secondary Education, Certificate of Secondary Education, National Vocational Qualification or Higher National Diploma, or equivalent, and other professional qualifications] and low [none of the above]). Genetic variables were calculated from apolipoprotein E (APOE) ε4 carrier status, which was determined by single nucleotide polymorphism (SNP) data for rs429358 and rs7412. Further information regarding the genotyping process can be found elsewhere (http://www.ukbiobank.ac.uk/scientists-3/genetic-data). APOE ε4 carrier status was categorised as carrying two numbers of APOE ε4 allele (genotyped ε4/ε4), 1 allele (genotyped ε2/ε4 and ε3/ε4) and none (genotyped as ε2/ε2, ε2/ε3, ε3/ε3). Health conditions included prevalence of self-reported CVD (including heart attack, angina, or stroke), hypertension, diabetes, cancer and depression assessed using the Patient Health Questionnaire (PHQ-2), with a depression score of greater than three being used to define it [41].

Statistical analysis

Baseline characteristics by incident dementia status were compared using the \(t\) test or Mann–Whitney U test for continuous variables and chi-squared tests for categorical variables.

Restricted cubic splines were used to explore the dose–effect relationship between continuous TPA and sedentary time and incident dementia risk, with five knots at its quantiles. Cox proportional hazards models were used to assess the associations between TPA and sedentary time and new onset of dementia. A priori sample size calculations for correlated data confirmed adequate power (> 80%) for the adjusted hazard ratios (aHRs) of all-cause dementia less than or equal to 0.98 (TPA) and less than or equal to 0.93 (sedentary time) [42]. The duration of follow-up was calculated as a timescale between the final date of accelerometer wear and the first event of dementia, death, loss of follow-up or censoring date (30 September 2021). On the basis of Schoenfeld residuals, the proportional hazards assumptions of the Cox model were not violated. The following models were used: model 1 was adjusted for age at baseline, sex, ethnicity, education and Townsend deprivation index; model 2 was additionally adjusted for smoking status, alcohol intake frequency, BMI, history of CVD, hypertension, diabetes, cancer and depression. The results are reported as hazard ratios (HRs) and their 95% confidence intervals (95% CIs) and incidence rate at the end of follow-up of 8 years. The adjusted Kaplan–Meier (KM) survival curve was estimated using inverse probability weighting to balance participants’ characteristics amongst the four combination groups of TPA and sedentary time [43].

The relative excess risk due to interaction (RERI) was calculated to evaluate interactions between TPA and sedentary time on an additive scale, where a RERI equals 0 implies no additive interaction and > 0 indicates a positive interaction [44]. In the present study, RERI was calculated as (\({HR}_{low TPA+low SED}-{HR}_{high TPA+high SED}-{HR}_{low TPA+high SED}\))\(+1\). The CI for RERI was estimated for statistical inferences by using the standard delta method [45]. Multiplicative interactions were also tested by adding a cross-product term between TPA and sedentary time in the multivariable Cox models.

Subgroup analyses were also conducted for high TPA and low sedentary time compared with low TPA and high sedentary time based on age (< 60 versus ≥ 60 years), gender (male versus female), BMI (\(<\) 30 kg/m2 versus ≥ 30 kg/m2), smoking status (yes/no), baseline depression (yes/no), CVD history (yes/no) and APOE ε4 carrier status (none, one, or two). Several sensitivity analyses were also performed to assess the robustness of our study results. Firstly, to minimise reverse causality bias (i.e. undiagnosed, subclinical diseases leading to lower physical activity and dementia), we excluded participants who developed dementia within 2 years from the final date of accelerometer wear (n = 50). Secondly, we adjusted for APOE ε4 to exclude the confounding effect of the gene. Thirdly, the impact of missing values was assessed using multiple imputations based on 30 replications with a chained equation method in the Stata MI procedure. Additional file 5 provides detailed information on the missing variables. Fourth, we selected 9.5 h per day as the cutoff for sedentary time according to a recent meta-analysis that used device-based assessments [46]. Data were analysed using STATA 17.0 (StataCorp. 2019, College Station, TX, USA), and statistical testing was conducted at a two-tailed alpha level of 0.05.

Results

Subject characteristics

The baseline characteristics of the included participants are presented in Table 1. Characteristics of the excluded individuals are provided in Additional File 6.

Table 1 Baseline characteristics of the participants by incidence of dementia in 2006–2010

Of the 90,320 participants, the mean (SD) age was 56.2 (7.8) years, and 39,689 (44%) were males. During a median follow-up of 6.9 person years, 501 participants (0.55%) developed dementia (199 cases of AD and 94 cases of VD). Participants with dementia were more likely to be older; male; previous or current smokers; APOE ε4 carriers; with a lower education level and alcohol intake frequency; and had a higher prevalence of CVD, hypertension and diabetes.

Nonlinear association

In multivariate-adjusted models (Fig. 2), the restricted cubic splines showed that the associations of TPA and sedentary time with dementia and its subtypes were nonlinear (Ps for nonlinear < 0.001). Furthermore, a reverse relationship between TPA and risk of all-cause dementia (P < 0.001) was observed up to doses of around 38 milli-g and then a flat to increasing trend as the volume rose to 100 milli-g. Similar patterns to those reported for all-cause dementia were observed for AD and VD. As for sedentary time, the U‑shaped associations for all-cause dementia and AD were observed with a nadir at approximately 9.5 and 9.4 h/day, respectively.

Fig. 2
figure 2

Restricted cubic splines for dose–response associations between TPA and sedentary time with incident dementia. a TPA and all-cause dementia; b TPA and Alzheimer’s disease; c TPA and vascular dementia; Sedentary time and all-cause dementia; e Sedentary time and Alzheimer’s disease; f Sedentary time and vascular dementia. The 95% CIs of the adjusted hazard ratios are represented by the shaded area. Multivariable models were adjusted for age at baseline, sex, ethnicity, education and Townsend deprivation index, smoking status, alcohol intake frequency, body mass index, baseline cardiovascular disease, hypertension, diabetes, cancer and depression

Effect of TPA and sedentary time on dementia

In the unadjusted Cox model Table 2, higher TPA was significantly associated with lower risk of incident all-cause dementia, AD and VD. These associations were slightly attenuated in magnitude but remained significant after multivariable adjustment. For each 10 milli-g increase in TPA, the HRs of all-cause dementia, AD and VD were 0.63 (95% CI: 0.55–0.71), 0.74 (0.60–0.90) and 0.69 (0.51–0.93), respectively. For the sedentary time analyses, there was only a positive association with all-cause dementia (HR: 1.22; 95% CI: 1.02–1.47). The HR per 0.5 h increase in sedentary time was 1.03 (95% CI: 1.01–1.06) for the incidence of all-cause dementia.

Table 2 Association of TPA and sedentary time with incident dementia and its subtypes

Joint effect of TPA and sedentary time on dementia

The adjusted cumulative risks of all-cause dementia stratified by TPA and sedentary time categories are shown in Fig. 3, which revealed a log-rank P < 0.001. Table 2 shows the joint associations of TPA and sedentary time with incident dementia risk. Compared with those with high TPA and low sedentary time, participants with low TPA and high sedentary time had significantly higher risk of all-cause dementia and AD, with multivariate-adjusted HRs of 1.65 (95% CI: 1.31–2.09, P < 0.05) and 1.51 (95% CI: 1.06–2.17, P < 0.05), respectively. The detrimental HR of high sedentary time was more evident amongst participants with low TPA, though no clear interactions were observed between TPA and sedentary time on either additive (all P values for RERI were > 0.05) or multiplicative scales (P for interaction > 0.05; Table 3).

Fig. 3
figure 3

Adjusted risk of incident dementia according to TPA (milli-g) and sedentary time (h/day) profile. Cox proportional hazards models were adjusted for age at baseline, sex, ethnicity, education and Townsend deprivation index, smoking status, alcohol intake frequency, body mass index (BMI), history of cardiovascular disease (CVD), hypertension, diabetes, cancer and depression. Abbreviations: TPA, total volume of physical activity; milli-g

Table 3 Additive and multiplicative interaction effects between TPA and sedentary time on the dementia incidence

Additional analyses

The association of high-TPA and low sedentary time with the risk of all-cause dementia and VD was pronounced in individuals aged below 60 years (P values for interaction were 0.023 and 0.047, respectively, see Figs. 4 and 5). Regarding the subgroup analyses of the HRs of AD, we found significantly modified effects for BMI (P for interaction = 0.034, see Fig. 6). The results were unchanged after performing several sensitivity analyses (Additional files 7, 8, 9 and 10).

Fig. 4
figure 4

Stratified analysis for the association between TPA and sedentary time with all-cause dementia risk. Subgroup analyses were conducted for high TPA and low sedentary time compared with low TPA and high sedentary time. Models were adjusted for age at baseline, sex, ethnicity, education, Townsend deprivation index, smoking status, alcohol intake frequency, body mass index, history of cardiovascular disease, hypertension, diabetes, cancer and depression. Abbreviations: TPA, total volume of physical activity, milli-g; BMI, body mass index; CVD, cardiovascular disease

Fig. 5
figure 5

Stratified analysis for the association between TPA and sedentary time with vascular dementia risk. Subgroup analyses were conducted for high TPA and low sedentary time compared with low TPA and high sedentary time. Models were adjusted for age at baseline, sex, ethnicity, education, Townsend deprivation index, smoking status, alcohol intake frequency, body mass index, history of cardiovascular disease, hypertension, diabetes, cancer and depression. Abbreviations: TPA, total volume of physical activity, milli-g; BMI, body mass index; CVD, cardiovascular disease

Fig. 6
figure 6

Stratified analysis for the association between TPA and sedentary time with Alzheimer’s disease risk. Subgroup analyses were conducted for high TPA and low sedentary time compared with low TPA and high sedentary time. Models were adjusted for age at baseline, sex, ethnicity, education, Townsend deprivation index, smoking status, alcohol intake frequency, body mass index, history of cardiovascular disease, hypertension, diabetes, cancer and depression. Abbreviations: TPA, total volume of physical activity, milli-g; BMI, body mass index; CVD, cardiovascular disease

Discussion

Using a large prospective cohort study, we found that TPA was associated with lower risk of all-cause dementia and AD but not with VD; sedentary time was associated with higher risk of all-cause dementia but not its subtypes. More importantly, the risks of all-cause dementia further increased amongst participants with both low TPA and high sedentary time, although no additive or multiplicative interactions were observed. Our findings remained robust after performing several sensitivity and stratified analyses.

Comparison with other studies

Physical activity and dementia risk have been investigated in several epidemiological studies. According to a previous longitudinal study in middle-aged women, physical activity was found to be associated with a low risk of all-cause dementia over 44 years but not for AD or VD [7]. However, over a mean follow-up of 26.6 years, the Whitehall II cohort study found no association between TPA and dementia [13]. Reasons for such discrepancies could be a variety of factors, such as follow-up time, demographic background, adjustment for confounders and assessment of physical activity. In these prospective studies, TPA was measured by a self-reported questionnaire, which may prevent capturing leisure or non-leisure physical activity across multiple domains, leading to recall bias [47]. The findings in our study contribute to evidence linking accelerometer-measured TPA with decreased risk of incident all-cause dementia, Alzheimer’s disease and vascular dementia. However, there remained issues with their understanding of the domain, context and purposes of physical activity. Therefore, self-reported and device-based methods should be combined to provide a complete picture. The findings for detrimental effects of sedentary time on dementia and cognition have been inconsistent. Our findings supported that sedentary time was related to high risk of all-cause dementia, in accordance with a previous meta-analysis [48] that included 18 cohort studies involving 250,063 participants. Nevertheless, a coordinated analysis across five cohort studies [17] suggested that sedentary time was not related to global cognition in elder adults. Its inconsistency could be partly explained by its insufficient sample size (n = 10,450), different follow-up times, different demographics and the way dementia and sedentary time are measured and defined. In the current study, the large sample size (n = 90,320) afforded considerable statistical power. In addition, the likelihood of reverse causality was minimised by adjusting for a wide range of covariates.

Our study found that the combination of lower TPA and higher sedentary time indicated an increased risk of incident all-cause dementia and AD. However, our study found no interaction between TPA and sedentary time that was associated with all-cause dementia and its subtypes. As confirmed by Raichlen and colleagues’ previous study [49], leisure sedentary time is associated with all-cause dementia risk regardless of physical activity level, with some attenuation at high levels of physical activity. This suggested two distinct behavioural pathways that can alter dementia risk. Huang and colleagues [21] also reported that high leisure-time physical activity is associated with low dementia risk even amongst high sedentary time groups. Nevertheless, the potential interaction between TPA and sedentary time on the subsequent risk of dementia was not considered in both of them. Given the importance of interaction assessment for identifying biological mechanisms (e.g. synergism or antagonism between two exposures) and improving preventive interventions [44], our study added new evidence about joint associations by exploring the interaction on both additive and multiplicative scales.

Furthermore, our study observed that the association between the combination of high TPA and low sedentary time and the risk of all-cause dementia and VD was more pronounced in people < 60 years, whereas the association with AD was stronger in obese participants (BMI > 30 kg/m2). This finding can be partly explained by the global surveillance of physical activity [50] that younger adults (18–24 years) are more physically active than older adults (≥ 75 years), which may contribute to more beneficial gains. In addition, the ageing brain is vulnerable to a variety of cognition-impairing neuropathologies (e.g. cerebrovascular conditions) [51], which may contribute to a high risk of dementia in the elderly. Implementing early interventions focused on improving physical activity and reducing sedentary time for cognitive decline at midlife is a strategy with a high chance of success. Additionally, our findings regarding AD and physical activity in midlife were consistent with those of two previous studies [7, 52]. These studies found no significant association between physical activity in midlife and subsequent development of AD. Regarding the BMI-specific difference observed in AD, we speculated that physical activity may mitigate the negative impact of obesity on AD by modifying the association between obesity and reduced cerebral blood flow [53]. Physical activity may contribute to weight loss, which is associated with a high risk of later-life dementia amongst middle-aged and older adults [54].

Potential mechanism

Several mechanisms whereby physical activity may be related to dementia have been proposed [55, 56]. Firstly, physical activity has proven to be beneficial for traditional cardiovascular risk factors (e.g. reduced vascular flow and diabetes) involved in dementia pathogenesis. Secondly, physical activity also promotes neurogenesis via increases in exercise-induced metabolic factors (e.g. ketone bodies and lactate) and muscle-derived myokines (cathepsin-B and irisin), which in turn stimulate the production of neurotrophins such as brain-derived neurotrophic factor. Finally, physical activity exerts anti-inflammatory effects and improves the brain redox status, thereby ameliorating amyloid-β deposition. However, sedentary time and cognitive health are less well understood biologically. Sedentary time contributes to CVD by increasing systemic inflammation; reducing blood flow and shear stress; and increasing blood pressure, postprandial glucose, insulin and triacylglycerol [57]. Thus, the increasing evidence for the association between cardiovascular health and dementia [58] may be a pathway between sedentary time and incident dementia. Further studies are warranted to elucidate the biological mechanisms of sedentary time and dementia.

In our study, sedentary time level appeared to modify the magnitude of the associations between TPA and incident dementia. This finding could be interpreted as a reinforcement that the importance of physical activity increases as people become more sedentary. Given the role of brain insulin resistance in the development and progress of AD, cognitive function and memory [59], we speculated that the deleterious consequences of prolonged sedentary time can be mitigated with short bouts of physical activity [60]. Considering the absence of interaction effects between TPA and sedentary time, sedentary time likely influences the risk of dementia incidence in part through distinct mechanisms that act independent of physical activity. The beneficial effects from physical activity might overweigh the limited risks of sedentary time. In support of our findings, studies reported that the effects of increasing physical activity on CVD and diabetes mellitus can be mediated centrally through the brain, and the metabolic and vascular consequences of inadequate physical activity appear to be mediated primarily through peripheral tissues and cells, including muscle, adipose tissue, and endothelial and inflammatory cells [60]. However, whether these biological mechanisms are related to dementia has not yet been demonstrated. Regarding the little evidence for the interaction effect on neurodegeneration diseases, further studies on the pathophysiological changes are highly warranted.

Strengths and limitations of this study

Amongst the strengths of this study were its large sample size of UK Biobank participants, device-based physical activity, prospective design, comprehensive outcome (including dementia and its subtypes) and collection of various potential confounders (such as APOE ε4 carrier status). Nevertheless, our study also had some limitations. First, 13,350 participants were excluded from the present study, who were more likely to be current smokers, obese and had lower education level than those enrolled in the study. Thus, the incidence of dementia in our current study may be underestimated. Second, device-based methods are limited in the horizontal locomotion and unable to distinguish between types of physical activity and sedentary behaviour. Future research combining accelerometer-measured and self-reported methods is needed to verify our findings. Future research combining accelemeter-measured and self-reported methods is needed to verify our findings. Third, this study could not establish a causal relationship given the observational study design. However, our findings remained largely unchanged after excluding participants who developed dementia within 2 years, which made our results more convincing. Fourth, using TPA as a proxy for global physical activity can be a limitation that incapable explain the benefit of physical activity intensity to cognitive function, which was acknowledged. Fifth, a median value of 10.7 h per day for sedentary time in the present study was greater than the cutoff value employed in other studies to differentiate between high and low sedentary time. Thus, the generalizability of our findings is limited. Further studies are warranted using diverse populations with sedentary time and distinct sedentary behaviors measured. Finally, the UK Biobank participants is ethnically and racially homogeneous, leading to limitations for generalizability, though researchers have argued that results from this cohort could be externally valid for linking exposures with health outcomes [61].

Conclusion

In conclusion, we found that higher physical activity and lower sedentary time were independently associated with lower risk of all-cause dementia, and the risks were augmented when they were present together. Moreover, no interaction effects between TPA and sedentary time on dementia were observed, indicating that physical activity may be considered a potentially protective factor irrespective of sedentary time against dementia. The findings also illustrated the significance of increasing participation in physical activity, and controlling sedentary time should be prioritised throughout one’s lifetime to prevent dementia incidence.