Introduction

In just 26 years, from 1990 to 2016, the global number of people with dementia increased by a factor of 1.17 due to aging and population growth1. There are currently about 57.4 million individuals worldwide with dementia2, leading to economic losses of $1,313.4 billion3. Dementia has emerged as a significant barrier to healthy aging in contemporary society. As an irreversible neurodegenerative condition, dementia still lacks an effective treatment. Thus, preventing dementia through managing risk factors and creating practical interventions continues to be a significant public health challenge.

Cardiometabolic diseases (CMDs), including type 2 diabetes mellitus (T2DM), stroke, and coronary heart disease (CHD)4, are well-documented independent risk factors for cognitive impairment and dementia5, each of which is associated with a 2-fold increased risk of dementia6,7,8. One-third of older adults globally have at least two comorbidities of CMDs9. It is known that CMDs can act in synergy to increase the risk of adverse health outcomes10. CMDs multimorbidity speeds up cognitive decline and raises the chance of transitioning to dementia in individuals without dementia9. Previous studies have shown that the risk of cognitive impairment and dementia in the population can be reduced by preventing or delaying the onset and development of CMDs such as T2DM11, stroke12, and CHD13. In addition, the prevalence of CMDs is increasing rapidly4, and there exists a dose-dependent correlation between CMDs and the occurrence and development of dementia9. Therefore, a new direction of research with high health benefits to reduce the risk of dementia is to explore measures to delay or prevent the onset and development of CMDs.

Pharmacological treatments for dementia are currently limited in value, making a shift to primary prevention measures a top priority. Previous studies have shown that exposure to ambient air pollutants14,15, along with unhealthy habits such as smoking16,17, alcohol abuse17,18, and low physical activity17,19, are the same risk factors for developing both dementia and CMDs. Evidence shows that primary prevention measures such as reducing exposure to ambient air pollution and adopting a healthy lifestyle can reduce the risk of dementia14,20 and CMDs in the general population21,22. However, it remains unclear whether this primary prevention could be extended to CMDs patients to delay disease progression, reduce disease burden, and reduce the risk of complications such as dementia. In addition, ambient air pollutants enter the brain through the bloodstream, destroying the blood-brain barrier, activating microglia, and releasing many pro-inflammatory mediators, triggering a neuroimmune response23. This leads to the aggravation of inflammatory responses and oxidative stress in the body24, promotes the development of metabolic dysfunction diseases, and increases the risk of cardiovascular metabolic diseases, such as stroke23, thus further increasing the risk of dementia25,26. Maintaining a healthy lifestyle can help reduce inflammation, inhibit oxidative stress27, and also help prevent cognitive impairment caused by CMDs28. However, it is unclear whether the risk of cognitive impairment and dementia caused by ambient air pollution can be further reduced in people with cardiometabolic disease by adopting a healthy lifestyle. Previous studies have not determined whether and to what extent exposure to ambient air pollution increases the risk of cardiometabolic disease-related dementia, and whether and to what extent this risk can be offset by a broad combination of healthy lifestyle factors. Understanding these characteristics can help develop future dementia prevention interventions for at-risk populations.

To our knowledge, few studies have explored the link between ambient air pollution and the risk of developing dementia in cardiometabolic disease patients, and the potential impact of a healthy lifestyle. To fill these gaps, the present study investigated the influence of ambient air pollution and a healthy lifestyle on the risk of dementia development in patients with cardiometabolic diseases and the potential impact of a healthy lifestyle in a large prospective cohort study. The results were compared with those of the population without CMDs to provide theoretical support for the improvement of clinical symptoms in patients with cardiometabolic disease and the possible delay or prevention of the onset of cognitive impairment and dementia in the population.

Results

Baseline characteristics of the participants

Table 1 depicts the participant characteristics. Out of 438,681 participants, 75,056 (17.11%) had CMDs. Among them, 15.12% had one CMDs, 1.90% had two CMDs, and 0.09% had three CMDs. Individuals with one, two, or three CMDs were compared to those without CMDs. The former group was older, had more males and retirees, lower education levels, poorer economic status, lower normal BMI rates, fewer carriers of the APOE ε4 gene, more dyslipidemia and hypertriglyceridemia, and higher usage of lipid-lowering drugs and aspirin. Furthermore, this group has a high proportion of patients with moderate and severe serum 25(OH)D deficiency and hypertension, and a relatively low proportion of patients with depression. Significant statistical differences in exposure to ambient air pollutants and healthy lifestyle scores were found between people with and without CMDs, with a higher proportion of people with CMDs being exposed to medium and high levels of ambient air pollutants compared to those without CMDs. Healthy lifestyle scores of 0–1, 2–3, and 4 were higher in individuals with CMDs compared to those without CMDs, whereas the proportion of scores of 5–7 was lower in those with CMDs.

Table 1 Characteristics of participants with or without Cardiometabolic diseases.
Full size table

The risk of developing mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia in patients with CMDs was 1.951, 1.554, 1.216, and 2.032 times higher than in those without CMDs, respectively [mild cognitive impairment: HR = 1.951, 95% CI: 1.404, 2.710; all-cause dementia: HR = 1.554, 95% CI: 1.473, 1.640; Alzheimer’s disease: HR = 1.216, 95% CI: 1.204, 1.228; vascular dementia: HR = 2.032, 95% CI: 1.799, 2.296]. The risk of developing mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia in the population seems to increase with the increase in the number of CMDs. Patients with all three types of CMDs have the highest risk of total dementia, Alzheimer’s disease, and vascular dementia (Table 2). Furthermore, the rates of mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia per 1,000 person-years were 0.038 (95% CI: 0.03, 0.04), 0.943 (95% CI: 0.92, 0.97), 0.455 (95% CI: 0.44, 0.47) and 0.155 (95% CI: 0.14, 0.17), respectively, for those without CMDs. The prevalence rates of mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia per 1000 person-years in the CMDs population were 0.064 (95% CI: 0.05, 0.08), 2.593 (95% CI: 2.50, 2.69) and 1.010 (95% CI: 0.95, 1.010), respectively (Table 3).

Table 2 Cardiometabolic disease status and risk of cognitive impairment and different subtypes of dementia in the population: hazard ratios with 95% CI.
Full size table
Table 3 Cardiometabolic Disease Status and Prevalence of Cognitive Impairment and Various Dementia Subtypes in Populations: per 1000 person-year.
Full size table

Effect of ambient air pollution on mild cognitive impairment and dementia risk in individuals with cardiometabolic diseases

When analyzed in combination with CMDs status and ambient air pollution factors, patients with non-CMDs and those with CMDs showed consistent associations with a higher risk of mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia if they maintained high levels of ambient air pollution exposure (Fig. 1). The risk of mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia is 2.562 times, 1.686 times, 1.267 times, and 2.006 times higher, respectively, in patients with CMDs and high exposure to ambient air pollution than in patients without CMDs and low exposure to ambient air pollution (Table 4). Among them, high levels of exposure to PM2.5, PM2.5−10, PM10, NO2, and NOX may elevate the risk of different dementia subtypes in patients with CMDs (Tables S7). The incidence rates of mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia per 1000 person-years in individuals with CMDs exposed to high levels of ambient air pollution were 0.087 (95% CI: 0.06, 0.12), 2.699 (95% CI: 2.54, 2.86), 1.050 (95% CI: 0.95, 1.15), and 0.743 (95% CI: 0.66, 0.83), respectively (Tables S8).

Fig. 1
figure 1

Association between exposure to ambient air pollution and risk of developing mild cognitive impairment and several dementia subtypes in patients with cardiometabolic disease. Abbreviations: CMDs, Cardiometabolic disease; HR, hazard ratios; CI, Confidence Intervals;In the model, we controlled for basic sociodemographic factors [age, sex, race, educational level, occupational status, TDI, BMI] and health-related concerns [APOE genotype; history of hypertension; history of depression; dyslipidemia; hypertriglyceridemia; aspirin use; lipid-lowering medication use; serum 25(OH)D levels].

Full size image
Table 4 Correlation between CMDs status and ambient air pollution combined variables and cognitive impairment and different subtypes of dementia.
Full size table

In the stratified study using the presence of CMDs, high levels of ambient air pollution increased the risk of all-cause dementia and Alzheimer’s disease in the non-CMDs population by 12.0% and 25.3%, respectively [all-cause dementia: HR = 1.120, 95% CI:1.030,1.218; Alzheimer’s disease: HR = 1.253, 95% CI:1.123,1.398] (Table 5). Compared with the lowest quartile of PM2.5 exposure, the risk of all-cause dementia and Alzheimer’s disease in non-CMDs individuals exposed to the highest quartile of PM2.5 is 1.137 and 1.242 times higher, respectively (Tables S9). High ambient air pollution exposure increased the risk of developing vascular dementia in patients with CMDs by 1.086 times compared to low exposure (Table 5). In addition, ambient air pollution was not found to be associated with the risk of developing mild cognitive impairment (P > 0.05) (Table 5 and Tables S9).

Table 5 The influence of ambient air pollution on cognitive impairment and dementia risk of CMDs population and non-CMDs population, stratified by CMDs status.
Full size table

Effect of healthy lifestyle score on mild cognitive impairment and dementia risk in individuals with cardiometabolic diseases

When analyzed in combination with CMDs status and healthy lifestyle score factors, if patients with non-CMDs and those with CMDs maintained high healthy lifestyle scores, their risk of all-cause dementia, Alzheimer’s disease, and vascular dementia is lower (Fig. 2). The risk of mild cognitive impairment and different dementia types decreased as healthy lifestyle scores increased in individuals with or without CMDs. Those with scores of 5 to 7 and no CMDs had the lowest risk for mild cognitive impairment, all-cause dementia, and vascular dementia. The risk of developing mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia was 2.973-fold, 1.516-fold, 1.169-fold, and 1.940-fold higher, respectively, among those with CMDs and a healthy lifestyle score of 0 to 1 than among those without CMDs and a healthy lifestyle score of 5 to 7 (Table 6). The incidence rates per 1000 person-years for mild cognitive impairment, all-cause dementia, Alzheimer’s disease, and vascular dementia in patients with CMDs in the Healthy Lifestyle Score 0–1 subgroup were 0.095 (95% CI: 0.02, 0.39), 2.951 (95% CI: 2.28, 3.82), 0.912 (95% CI: 0.57, 1.45), and 0.814 (95% CI: 0.49, 1.33), respectively (Table S10).

Fig. 2
figure 2

Association between healthy lifestyle score and risk of developing cognitive impairment and several dementia subtypes in patients with cardiometabolic disease. Abbreviations: CMDs, Cardiometabolic disease; HR, hazard ratios; CI, Confidence Intervals;In the model, we controlled for basic sociodemographic factors [age, sex, race, educational level, occupational status, TDI, BMI] and health-related concerns [APOE genotype; history of hypertension; history of depression; dyslipidemia; hypertriglyceridemia; aspirin use; lipid-lowering medication use; serum 25(OH)D levels].

Full size image
Table 6 Correlation between CMDs status and healthy lifestyle combined variables and cognitive impairment and different subtypes of dementia.
Full size table

In studies using CMDs presence or absence as a stratifying factor, a significant statistical association was discovered between a healthy lifestyle and the risk of incident all-cause dementia and vascular dementia in individuals with CMDs. The risk of developing all-cause dementia and vascular dementia was 1.314 and 1.354 times higher, respectively, in patients with CMDs scoring 0 to 1 on the Healthy Lifestyle Score than that in those with CMDs scoring 5 to 7 (Table 7). In addition, except for the healthy diet model, there were significant statistical associations between the remaining six healthy lifestyles and the risk of developing mild cognitive impairment or different subtypes of dementia. In terms of the magnitude of the effect of a healthy lifestyle on the risk of developing mild cognitive impairment and dementia, adopting a healthy lifestyle may have the greatest impact on reducing the risk of mild cognitive impairment (Table S11).

Effect modification of ambient air pollution on mild cognitive impairment and dementia risk by lifestyle score in individuals with cardiometabolic diseases

Table 7 The influence of healthy lifestyle score on cognitive impairment and dementia risk of CMDs population and non-CMDs population stratified by CMDs status.
Full size table

In CMDs patients with high levels of exposure to ambient air pollution, the risk of all-cause dementia may also decrease as the healthy lifestyle subgroup score increases [0 to 1 score subgroup: HR = 3.049, 95% CI: 1.559, 5.965; 2 to 3 score subgroup: HR = 1.805, 95% CI: 1.534, 2.124; 4 score subgroup: HR = 1.525, 95% CI: 1.286, 1.808; 5 to 7 score subgroup: HR = 1.623, 95% CI: 1.383, 1.906] (Table 8). Similar results were noted for the environmental contaminants PM2.5, and NOX (Table S12). CMDs patients exposed to moderate air pollution have the highest risk of vascular dementia in the subgroups with healthy lifestyle scores of 2–3, 4, and 5–7. Ambient air pollutants had a more statistically significant adverse effect on the risk of vascular dementia in patients with CMDs than in the non-CMDs population. In addition, in the healthy lifestyle score 0 to 1 subgroup, no associations were found between patients with CMDs exposed to high levels of ambient air pollution and the risk of developing mild cognitive impairment, Alzheimer’s disease, and vascular dementia (Table 8).

Table 8 Effect modification of CMDs status and ambient air pollution combined variables on cognitive impairment and dementia risk by healthy lifestyle in individuals.
Full size table

When analyzing the modulatory effect of a healthy lifestyle on the impact of ambient air pollution on mild cognitive impairment and different subtypes of dementia risk in the population without CMDs and CMDs, it was found that exposure to ambient air pollution may have had a greater effect on the risk of Alzheimer’s disease in non-CMDs patients in the 5 to 7 point subgroup compared to the 2 to 3 point subgroup of healthy lifestyle scores [2 to 3 score subgroup: HR = 1.267, 95% CI: 1.025, 1.566; 5 to 7 score subgroup: HR = 1.328, 95% CI: 1.123, 1.572] (Table 9). In addition, in the healthy lifestyle score 0 to 1 subgroup, a significant statistical association was found between PM2.5 and NOX exposure and the risk of all-cause dementia in CMDs patients. In the healthy lifestyle score 2 to 3 subgroup, a significant statistical association was found between PM10 exposure and the risk of all-cause dementia and Alzheimer’s disease in CMDs patients (Table S13).

Table 9 Effect modification of ambient air pollution on cognitive impairment and dementia risk by healthy lifestyle in individuals when CMDs status is used as a stratification factor.
Full size table

At the same time, an interaction was found in this study between the scores for a healthy lifestyle and the exposure to ambient air pollution. Using low-level exposure to ambient air pollution and a healthy lifestyle score of 5 to 7 as the control group, we found that exposure to medium-level ambient air pollution and a healthy lifestyle score of 0 to 1 in non-CMDs population may have the greatest risk of mild cognitive impairment and all-cause dementia. In contrast, exposure to high levels of ambient air pollution and a healthy lifestyle score of 0 to 1 in the CMDs population may have the greatest risk of all-cause dementia and vascular dementia. These included a possible reduction in the risk of all-cause dementia and vascular dementia in patients with CMDs with increasing healthy lifestyle scores at constant levels of exposure to ambient air pollution (Table 10). Sensitivity analyses yielded similar results, further ensuring the reliability of the study (Table S14 to S25).

Table 10 Effects of ambient air pollution and healthy lifestyle score interactions on the risk of developing cognitive impairment and different dementia subtypes in patients with CMDs.
Full size table

Discussion

This study found that patients with CMDs may have a higher risk of developing mild cognitive impairment and dementia than those without CMDs. The risk of developing mild cognitive impairment and dementia in the population seems to increase with the increase in the number of CMDs. There appears to be a statistically significant association between high levels of ambient air pollution, unhealthy lifestyles, and a higher risk of developing mild cognitive impairment and dementia in the CMDs population. For example, people with CMDs are 1.086 times more likely to develop vascular dementia if they are exposed to the highest quartile of ambient air pollution than if they are exposed to the lowest quartile. The risk of developing mild cognitive impairment and different dementia types may be decreased as healthy lifestyle scores increase in individuals with or without CMDs. People with CMDs were 1.314 and 1.354 times more likely to develop all-cause dementia and vascular dementia, respectively, if they had a healthy lifestyle score of 5 to 7 than if they had a score of 0 to 1. A healthy lifestyle may have an effect modifier role in the association between ambient air pollution and the risk of mild cognitive impairment and the development of various dementia subtypes in patients with CMDs. As the healthy lifestyle score rose, the risk of developing all-cause dementia may be reduced in CMDs patients with high levels of ambient air pollution exposure. Therefore, maybe people with CMDs can lessen the impact of ambient air pollution on their risk of developing mild cognitive impairment and dementia by improving their lifestyle. Sensitivity analyses yielded similar results, further ensuring the reliability of the study.

This study found that the risk of developing mild cognitive impairment and dementia in the population seems to increase with the increase in the number of CMDs. Among people with three kinds of CMDs, all-cause dementia, Alzheimer’s disease, and vascular dementia seem to have the highest risk of developing. The results suggest that there may be an additive effect in the relationship between CMDs and the risk of developing cognitive impairment and dementia, which is consistent with previous studies29. Furthermore, having two or more CMDs will interact with each other, which may increase the risk of adverse health consequences10. Multimorbidity of CMDs accelerates cognitive decline and increases the risk of conversion to dementia in people without dementia9. Therefore, our study highlights the importance of delaying or halting the development of cardiovascular disease in people with diabetes. This may lead to greater health benefits in preventing the development of diabetic complications such as dementia, and vice versa.

As far as we know, previous studies on the influence of air pollution on cognitive dysfunction and the risk of dementia mainly focused on normal people30. There is a lack of corresponding research on the susceptible population CMDs population. Our research addresses this gap. Our study found that high exposure to ambient air pollution may increase the risk of developing mild cognitive impairment and dementia in patients with CMDs. This may be because ambient air pollution leads to inflammatory responses and oxidative stress, which trigger the onset and development of disease24. Ambient air pollutants can travel through the bloodstream to the brain, causing systemic inflammation23. During this process, the blood-brain barrier is compromised, microglial cells are activated23, the body releases a variety of pro-inflammatory mediators, and neural-immune interactions are triggered, leading to oxidative stress and further exacerbating the inflammatory response24. This can therefore lead to metabolic dysfunction diseases such as hyperlipidemia and atherosclerosis31, increasing the risk of cardiovascular metabolic diseases such as stroke23, which in turn increases the population’s risk of developing neurodegenerative diseases such as dementia25,26. Thus, neuroinflammation and oxidative stress may be key factors in the relationship between ambient air pollution and CMDs and dementia.

This study found that the risk of developing mild cognitive impairment and dementia may be decreased as healthy lifestyle scores increase in people with or without CMDs. Previous studies have shown that adopting a healthy lifestyle can delay the onset of dementia in people with CMDs by up to 3.50 years32. So, adherence to a healthy lifestyle may counteract the increased risk of dementia due to cardiometabolic multimorbidity, which is consistent with previous studies33. This may be for the following reasons. First, unhealthy lifestyles, including sedentary lifestyles, excessive alcohol consumption, and smoking, lead to vascular damage and inflammatory responses in the body, which accelerate the development of cognitive impairment and dementia in the context of cardiometabolic disease34. In contrast, adherence to a healthy lifestyle reduces the risk of cardiovascular disease35 and dementia33 through mechanisms such as reducing inflammatory responses, inhibiting oxidative stress, increasing cerebral blood flow, and reducing amyloid aggregation and neuroinflammatory plaques27. Secondly, a healthy lifestyle can postpone the onset of dementia by replenishing levels of neurotrophic factors and cytokines levels through regulating the mechanisms that trigger neuronal damage and neurodegenerative pathologies36. Thirdly, adopting a healthy lifestyle may reduce the risk of cognitive decline and delaying the onset of dementia37 by increasing the efficiency of neural networks, thereby increasing cognitive reserve, further increasing resistance to the effects of neuropathology, and increasing resilience to the effects of neuropathology38. Moreover, adopting a healthy lifestyle assists individuals with CMDs in modifying their health attitudes, engaging actively in their treatment, managing blood glucose and blood pressure, monitoring for complications, minimizing exposure to cardiovascular and cerebrovascular risk factors, and decreasing the risk of cognitive impairment and dementia39.Studies have shown that healthy diets reduce dementia risk by reducing inflammation and oxidative stress40. However, this study did not find a significant statistical association between healthy dietary patterns and the risk of developing mild cognitive impairment and dementia in people with CMDs. This could be for the following reasons. Firstly, a previous UK Biobank study indicated a negative link between cognitive function and fruit/vegetable intake and a positive one with meat consumption41. In contrast, our analysis focused on high vegetable/fruit and low meat consumption patterns, potentially affecting the relationship between cognitive function decline and dementia. Next, a U-shaped relationship exists between food intake and the risk of developing dementia42. This study evaluates dietary patterns by looking at the highest or lowest intake of different foods and classifies some high-risk groups for dementia as having healthy dietary patterns. Thirdly, other important dietary factors that are strongly associated with the risk of developing dementia, such as nuts43, legumes44, and olive oil45, were not included in the assessment of healthy eating patterns, which affected the assessment of the association between a healthy diet and the risk of developing dementia.

This study found that a healthy lifestyle may reduce the effects of ambient air pollution on the risk of developing dementia in people with CMDs. This is because ambient air pollution triggers an inflammatory response and oxidative stress in the body, which contribute to the development of disease24. Maintaining a healthy lifestyle can help reduce inflammation, inhibit oxidative stress, increase cerebral blood flow, and reduce amyloid aggregation27, thereby reducing the risk of cardiovascular disease35 and dementia33. For example, adequate sleep not only boosts antioxidant mechanisms by eliminating reactive oxygen species from the body but also helps regulate the inflammatory response to ambient air pollution exposure by enhancing immune defenses46. In addition, the adverse effects of ambient air pollution on cognitive function can be offset by a healthy diet rich in foods and nutrients that promote antioxidant and anti-inflammatory activity47. At an individual level, it may be difficult to control the level of ambient air pollution, but lifestyle changes may reduce its adverse effects on health. Therefore, the earlier a healthy lifestyle is adhered to in order to prevent or delay the onset of dementia, the greater health benefits are likely to be.

To our knowledge, few studies have simultaneously investigated the association of ambient air pollution and lifestyle with the risk of mild cognitive impairment and dementia in patients with CMDs. The novelties of this study may include the following. Firstly, this is the first study to use data from a large prospective cohort study to examine the effects of ambient air pollution on the risk of mild cognitive impairment and dementia development in patients with CMDs. Secondly, the present study may further demonstrate the additive effect of different cardiometabolic diseases in causing the risk of developing mild cognitive impairment and dementia. Thirdly, the research suggested that maintaining a healthy lifestyle may reduce the negative effects of ambient air pollution on the risk of developing dementia in people with CMDs. At an individual level, it may be difficult to control the level of ambient air pollution, but lifestyle changes may reduce its adverse effects on health. Therefore, maybe to prevent or delay the onset of dementia in old age, adherence to a healthy lifestyle early in life may have greater health benefits. In addition, the large sample size, long-term follow-up, and rigorously defined variables contribute to the credibility and accuracy of this research.

However, this study has limitations. Firstly, we did not take into account the variation in pollution levels over time, focusing instead on the average ambient air pollution concentration in 2010. However, previous research suggests that ambient air pollution levels remained fairly constant throughout the UK Biobank follow-up period48. Secondly, the baseline data, which rely on self-reported lifestyle factors, may have undergone unknown changes during follow-up, so there is a degree of information bias within the overall lifestyle data. Additionally, we might subjectively view smoking status as a lifestyle indicator without considering the individual’s health based on their daily cigarette consumption. Finally, even after adjusting for many potential confounders, residual confounding from unmeasured or unknown variables could still affect our analyses.

Methods

Study design and population

The UK Biobank is a comprehensive biomedical database containing detailed genetic and health information on around 500,000 participants (aged 39–74) recruited between April 2006 and December 2010 from 22 assessment centres in England, Wales and Scotland49. In addition, the UK Biobank follows the ethical principles of the Declaration of Helsinki and has been approved by the Northwest Multicenter Research Ethics Committee, allowing researchers to work within the approved scope without further ethical review.

Baseline data from 502,370 participants in the UK Biobank, collected between 2006 and 2010, were used primarily for this study. Due to a lack of baseline data, four individuals were excluded from the initial analysis. Second, 5357 participants with type 1 diabetes at baseline, 201 participants with mild cognitive impairment at baseline, and 226 participants with dementia at baseline were excluded. In addition, we also excluded 40,852 participants without information on ambient air pollution and 17,049 participants without information on lifestyle. There were 438,681 subjects in the final cohort, and these subjects were followed for an average of 15.12 years until the study ended on 1 April 2024 (See Figure S1).

Assessment of cardiometabolic diseases

CMDs encompass T2DM, stroke, and CHD. We used UK Biobank medical history, hospital records, and self-reported information to identify participants with baseline T2DM, stroke, and CHD. Refer to Table S1 for details.

Assessment of ambient air pollution and lifestyle factors

The UK Biobank database estimates annual mean values of PM2.5, PM10, PM2.5−10, NO2, and NOX using land use regression (LUR) modeling50,51. In this study, we used the ambient air pollution data collected in 2010 to evaluate the exposure level of individual baseline ambient air pollution. Atmospheric pollutants were categorized into consecutive interquartile ranges (IQRs) and quartiles based on their distributions. Air pollutants were then analyzed using Latent Category Analysis (LCA) to create a latent variable representing the overall level of exposure to ambient air pollution. The new latent variable represents high, moderate, and low levels of ambient air pollution exposure (See Table S2 to 3 and Figure S2 for details.).

Healthy lifestyle scores were assessed using seven lifestyle items from a structured baseline questionnaire: diet, smoking, alcohol, physical activity, social relationships, sedentary behavior, and sleep patterns. In addition, according to the Pearson correlation coefficient test found no significant collinearity among the seven lifestyles. Meeting the optimal intake of at least four of the seven food groups is considered a healthy eating pattern, according to the US Dietary Guidelines for Cardiovascular Health41. Never smoking is seen as a healthy lifestyle. Moderate drinking, defined as 0–28 g/day for men and 0–14 g/day for women52, effectively reduces the risk of dementia18. Healthy physical activity is measured by regular moderate and vigorous physical activity each week53. Healthy social relationships were measured according to the Social Connectedness Index Score, in which active and moderately active participants were considered to have healthy social relationships54. Sedentary behavior was measured based on activities such as driving, using a computer, and watching TV, with less than four hours being considered healthy sedentary behavior55. Sleep patterns were assessed according to five principles, including appropriate sleep duration and sleep habits, and healthy sleep patterns were defined as meeting at least four of these principles56. Give each lifestyle 1 point if it is considered healthy and 0 points if it is not. The Healthy Lifestyle Score ranges from 0 to 7, with higher scores indicating that individuals are living a healthier lifestyle. In order to avoid extremes in rare cases, the lifestyle scores are divided into four groups (0 to 1, 2 to 3, 4 and 5 to 7). See Table S4 for the definition of lifestyle.

Assessment of outcome

Diagnoses of mild cognitive impairment and dementia were made using health-related outcomes defined by the UK Biobank preprocessing algorithm57, based on primary care, hospital admission, and death registration data during follow-up. Data on health outcomes were published in 2018, with data dynamically updated until the end of this study in April 2024. Subsequently, the International Classification of Diseases (ICD) 9th and 10th editions were utilized for categorizing mild cognitive impairment and dementia. The dependent variables included mild cognitive impairment and dementia, with dementia encompassing all-cause dementia, Alzheimer’s disease, and vascular dementia. Patients with all-cause dementia are those with all types of dementia, including Alzheimer’s disease, vascular dementia, frontotemporal dementia and some undetermined types of dementia. Using routinely collected medical records, the UK Biobank showed high positive predictive value, sensitivity, and specificity for detecting dementia events58. For more information on coding mild cognitive impairment and dementia, refer to Table S5 in the supplementary materials.

Assessment of covariates

Confounders of potential socio-demographic, economic, and health problems were identified through questionnaires in the baseline survey. Confounders included age, sex (male and female), race (white, Asian, black, and other), education level (college or university degree, A level/AS levels or equivalent, O level/GCSEs or equivalent, Professional Qualifications, and None of the above), occupation (employed, unemployed and retired), Townsend Deprivation Index (TDI) (low, medium and high), body mass index (BMI) (< 18. 5, 18.5–24.9, 25-29.9 and ≥ 30 kg/m2), APOE genotype, history of hypertension, history of depression, dyslipidemia, hypertriglyceridemia, aspirin use status, lipid-lowering drug use status and serum 25(OH)D status (severely deficient, moderately deficient and deficient and above). Socioeconomic status was evaluated with the TDI, where a higher TDI indicates increased poverty levels59. Genotyping utilized the APOE single nucleotide polymorphisms rs7412 and rs429358 to detect carriers of the APOE ε4 allele60. Medical records, self-reports, biological samples, and death records were used to extract other covariate information. Please refer to Table S6 in the annex for the sources of some covariant components and their evaluation criteria.

Statistical analyses

Characteristics of patients with CMDs were expressed as means and standard deviations (SD) for continuous variables and percentages for categorical variables. LCA was employed to examine patterns of multiple ambient air pollutants, with six latent profile models performed. Several criteria were used to test the goodness of fit for the selection of latent classes, including Aikaike’s Information Criterion (AIC), Bayesian Information Criterion (BIC), Adjusted Bayesian Information Criterion (aBIC), Entropy, Lo-Mendell-Rubin Likelihood Ratio Test (LMRT) and Bootstrapping Likelihood Ratio Test61. Models with smaller AICs, BICs and aBICs were regarded as having a better fit62. Person-years at risk were calculated for each participant from the date of recruitment until the occurrence of dementia, death, loss to follow-up, or the cut-off date (1 April 2024), whichever came first. The proportional risk assumption was validated by Schoenfeld residuals. This study aimed to investigate the association between exposure to ambient air pollution and adherence to a healthy lifestyle and the risk of mild cognitive impairment and dementia in patients with CMDs. Firstly, to investigate the relationship between ambient air pollution exposure and the risk of mild cognitive impairment and dementia in CMDs patients. Secondly, to examine the link between adherence to a healthy lifestyle and the risk of mild cognitive impairment and dementia in CMDs patients. Thirdly, the effect of adherence to a healthy lifestyle on the association between exposure to ambient air pollution and the risk of mild cognitive impairment and dementia in patients with CMDs was examined. In addition, we also studied the correlation between the interaction between ambient air pollution exposure and a healthy lifestyle and the risk of mild cognitive impairment and dementia in CMDs patients. The entire analysis was primarily performed using the Cox proportional risk regression model, and the corresponding hazard ratios (HRs) and 95% confidence intervals (CIs) were calculated. In the model, we controlled for basic sociodemographic factors [age, sex, race, educational level, occupational status, TDI, BMI] and health-related concerns [APOE genotype; history of hypertension; history of depression; dyslipidemia; hypertriglyceridemia; aspirin use; lipid-lowering medication use; serum 25(OH)D levels].

To assess the robustness of our results, we have carried out three sensitivity analyses. First, to minimize reverse causality, we excluded participants who had developed dementia within two years. Second, insulin resistance is an independent risk factor for cardiometabolic disease and the development of dementia, and we further adjusted for indicator variables representing insulin resistance. Third, to account for the effect of missing data on the results, we excluded missing parts of confounding variables.

All statistical analyses were performed using Stata software version 17 and R version 4.0.2, and statistical significance (two-sided) was defined as a P value < 0.05.

Conclusions

The risk of developing mild cognitive impairment and dementia in the population seems to increase with the increase in the number of CMDs. In the CMDs population, high levels of ambient air pollution exposure and unhealthy lifestyles seem to increase the risk of mild cognitive impairment and dementia. Adopting a healthy lifestyle may have an effect modifier role in the association between ambient air pollution and the risk of mild cognitive impairment and the development of dementia in patients with CMDs. Therefore, it seems that we can reduce the negative impact of ambient air pollution on mild cognitive impairment and dementia risk of the CMDs population by making lifestyle healthier.

The datasets analyzed in this study are available from the corresponding author upon reasonable request.