Introduction

Chronic pain (CP) is defined by the International Association for the Study of Pain (IASP) as pain that lasts for more than 3 months (Turk et al. 2011; International Association for the Study of Pain 1986). It affects over 30% of people worldwide and is associated with secondary disabilities and comorbidities such as anxiety, depression, and suicide (Cohen et al. 2021; Vos et al. 2012; Dueñas et al. 2015; Fayaz et al. 2016). Arthritis and primary chronic pain syndromes are among the most common types of chronic pain conditions (Ossipov and Porreca 2006). The elderly population, particularly those over 65 years old, are particularly prone to CP, leading to significant suffering, including distress, social isolation, disability, and increased healthcare costs (Dahlhamer et al. 2018; Tsang et al. 2008; Patel and Guralnik 2013; Leveille et al. 2009; Pitcher and Korff 2018; Bernfort et al. 2015). Early identification and effective treatment of pain can greatly improve the quality of life for older adults, reducing the risk of falls, agitation, depression, and anxiety (Hellstrom et al. 2004; Smalbrugge et al. 2007; Frederick 2016). Therefore, the relief of pain holds great importance in both clinical practice and scientific research.

There is growing evidence indicating that the health consequences of pain are associated with the onset and progression of dementia (Whitlock et al. 2017; Belin and Gatt 2006; Wang et al. 2022; Wang and Liu 2021; Khalid et al. 2022, 2020; Innes and Sambamoorthi 2020; Whitlock et al. 2017 Aug 1b; Rouch et al. 2022; Tzeng et al. 2018; Cheng et al. 2022; Kao et al. 2021; Hurh et al. 2022; Morton et al. 2019; Hagen et al. 2014; Islamoska et al. 2020; George et al. 2020; Lee et al. 2019; Kostov et al. 2019; Chen et al. 2018; Huang et al. 2015), which is a critical issue. Neurodegenerative diseases, such as Alzheimer’s disease and related dementias, are increasingly prevalent worldwide due to the rapid aging of the global population. This poses a significant and urgent public health crisis (Abubakar et al. 2015; Feigin et al. 2017; Alzheimer’s Association 2021; Sanders and Morano 2008), leading to disability, institutionalization, and premature mortality. Dementia imposes a substantial burden on individuals, society, and the economy. By screening for dementia and implementing preventative and therapeutic interventions, utilizing pain as a risk factor, we aim to alleviate the burden of disability, reduce rates of institutionalization, and extend life expectancy. To explore the relationship between chronic pain and dementia, we conducted a systematic review and meta-analysis.

Methods and materials

This meta-analysis was reported following the Preferred Reporting Items for Systematic Reviews and Meta-analyses (PRISMA 2020) statement (Page et al. 2021).

Search strategy

A systematic search was conducted on PubMed, Embase, and Web of Science to identify studies related to chronic pain and dementia (Online Appendix 1). The following search terms were used: “Chronic pain,” “Pains, Chronic,” “Widespread or Chronic Pains,” “Intractable Pain,” “Refractory Pains,” “Pain, Refractory,” “Dementia,” “Alzheimer’s Disease,” “Alzheimer’s Type Dementia,” “ATD,” and “Alzheimer Type Dementia, Early Onset.” The literature search covered articles up until September 1, 2022. Two researchers independently screened the literature, and in cases where consensus could not be reached, a third researcher reviewed the full text and resolved any differences. There were no language restrictions or filters applied to the search. Additionally, we checked the bibliographies of relevant reviews, articles, and books for further references.

Inclusion and exclusion criteria

The studies included in the meta-analysis had to meet the following criteria: (a) being observational case–control, cohort, or cross-sectional studies; (b) focusing on chronic pain or specific subtypes of chronic pain as the primary exposure factor associated with the risk of dementia; (c) reporting effect estimates with corresponding 95% confidence intervals (CIs), or providing sufficient data to calculate crude risk ratios (HRs) for the association between chronic pain and dementia. Studies were excluded if they met any of the following criteria: (a) being published only as letters or abstracts; (b) not reporting quantitative outcome data; (c) not published in English; (d) being case reports; and (e)studies were excluded if they lacked access to the complete set of literature or if the full text was not obtainable.

Study selection and data extract

Two authors (WZZ and SZ) will independently extract data from the included studies. Before starting the review process, a pre-made Excel datasheet will be used to collect the following information: general details (title, author, country of study, year of publication), study characteristics (study design, inclusion and exclusion criteria), study population (age, sex, sample size, number of analyses, type of chronic pain, dementia subtype), exposure characteristics (type of chronic pain, duration, duration of follow-up), and outcomes (primary and secondary outcomes, time points, methods of outcome evaluation). If necessary, the authors of the original trials will be contacted for additional information and clarification of the data. Any discrepancies or disagreements will be resolved through discussion and consensus.

Statistical analysis

The data analysis for this study was conducted using Stata 17.0. Hazard ratios (HRs) and corresponding 95% confidence intervals (CIs) were used to assess the predictive effect of chronic pain on the risk of dementia. Heterogeneity between studies was assessed using Cochran’s Q-test and Higgins’ I2 statistics. If I2 and p-value for heterogeneity were greater than 0.05, fixed effects models were used to pool the results. In cases where significant heterogeneity existed, random-effects models were employed (Higgins et al. 2003). Univariate meta-regression analysis was conducted to identify potential sources of heterogeneity. Subgroup analyses were performed based on dementia subtype, chronic pain subtype, country, age (mean/median year < 65 or ≥ 65), severity, gender (male, female), follow-up time, education level (low, medium, high), and study design.

If there was insufficient validity data provided in a study for meta-analysis, a narrative approach was used to describe the relevant findings. Sensitivity analysis was conducted by excluding one study at a time to evaluate the stability of the results. Additionally, multiple studies were excluded simultaneously in sensitivity analysis to determine the robustness of the findings. Publication bias was assessed by examining funnel plot asymmetry and conducting Egger’s test and Begg’s test (significance threshold: p < 0.05). If both the p-values and funnel plots showed symmetry, it indicated no publication bias (Egger et al. 1997).

Study quality assessment

The quality of the included cohort studies was evaluated using the Newcastle–Ottawa Scale (NOS), which assesses three components: selection, comparability, and outcome. A NOS score of 7 indicates high quality, while a lower score suggests a higher risk of bias (Stang 2010). For the included cross-sectional studies, the quality assessment was conducted using the Agency for Healthcare Research and Quality (AHRQ) criteria. One author assessed the quality of individual studies, and another author independently checked the assessments. Any disagreements were resolved through consensus.

Results

Study characteristic

The included studies in this meta-analysis were conducted across eight countries: the United States (Wang et al. 2022; Wang and Liu 2021; Khalid et al. 2022, 2020; Innes and Sambamoorthi 2020; Whitlock et al. 2017; George et al. 2020), China (Tzeng et al. 2018; Cheng et al. 2022; Kao et al. 2021; Chen et al. 2018; Huang et al. 2015), France (Rouch et al. 2022), the United Kingdom (Kostov et al. 2019), Korea (Kao et al. 2021; Lee et al. 2019), Norway (Hagen et al. 2014), Canada (Morton et al. 2019), and Denmark (Islamoska et al. 2020). All of these studies were population-based and involved a total of 842,806 subjects, including 132,445 patients with chronic pain. Among the included studies, one was cross-sectional (Wang et al. 2022) and two were case–control designs (Lee et al. 2019; Chen et al. 2018), while the remaining 16 studies were cohort studies. Eighteen studies examined the risk of developing dementia after a diagnosis of chronic pain (Wang and Liu 2021; Khalid et al. 2022, 2020; Innes and Sambamoorthi 2020; Whitlock et al. 2017; Rouch et al. 2022; Tzeng et al. 2018; Cheng et al. 2022; Kao et al. 2021; Hurh et al. 2022; Morton et al. 2019; Hagen et al. 2014; Islamoska et al. 2020; George et al. 2020; Lee et al. 2019; Kostov et al. 2019; Chen et al. 2018; Huang et al. 2015), and one study explored the comorbidity of dementia in patients with chronic pain (Wang et al. 2022).

Diagnosis of chronic pain and dementia in the medical records databases relied on diagnostic codes such as the International Classification of Diseases. The gender distribution was generally balanced across the included studies, but the median/mean age varied among the studies, mostly being over 50 years, except for two studies where age information was not reported (Islamoska et al. 2020; Huang et al. 2015), and one study that included individuals aged > 20 years (Hagen et al. 2014). Fifteen cohort studies had follow-up periods ranging from 2 to 16 years, while one study did not provide follow-up duration (Wang et al. 2022; Lee et al. 2019; Chen et al. 2018). Age, gender, and comorbidities were matched and/or adjusted for in all studies. Table 1 provides detailed information for each study.

Table 1 General study characteristics of the included articles

Table 2 shows that all cohort studies are of high quality (Scores of 8 to 11 are considered high quality). Despite the absence of follow-up data, this is because the cross-sectional design does not require follow-up data (Wang et al. 2022).

Table 2 Quality assessment of included studies

Results

A total of 3311 potentially relevant papers were identified through the pre-developed search strategies. After removing 3025 duplicate records, the titles and abstracts of 3081 remaining records were screened for relevance. Following this screening process, 19 studies were included in this systematic review after a full-text reading of 230 papers. The study selection process and the reasons for exclusion after full-text reading are presented in Fig. 1.

Fig. 1
figure 1

Flow diagram of the study selection process

The association between chronic pain and risk of dementia

A total of 19 studies involving 908,849 participants were included in the overall meta-analysis, heterogeneity testing indicated substantial heterogeneity among studies (I2 = 97.5%, P < 0.001), so the random-effects model was applied. The pooled results showed a 42% increased risk of dementia in CP participants. (HR = 1.42, 95% CI 1.23–1.64, P < 0.001) (Fig. 2).

Fig. 2
figure 2

Forest plot of the relationship between CP and dementia risk

Subgroup analyses

Stratified analyses were conducted to examine the potential effects of various factors on the association between dementia and chronic pain. These factors included subtypes of dementia, subtypes of chronic pain, country of study, study design, follow-up time, age, and gender.

Subgroup analyses showed that Trigeminal Neuralgia (HR = 4.47, 95% CI 3.09–6.47, P < 0.001), Fibromyalgia (HR = 2.77, 95% CI 2.61–2.95, P < 0.001), Widespread pain (HR = 1.43, 95% CI 1.06–1.92, P < 0.001), Osteoarthritis (HR = 1.31, 95% CI 1.14–1.52, P < 0.001), Migraine (HR = 1.26, 95% CI 1.16–1.36, P < 0.001), and chronic non-cancerous pain (CNCP) (HR = 1.15, 95% CI 1.09–1.21, P < 0.001) were significantly associated with subsequent higher dementia risk. Furthermore, Wang et al., Hurh et al., Kostev et al. explored the association between CP and the risk of different dementia subtypes. All dementia subtypes were associated with an increased risk of CP, ranging from 36 to 44%.

Only Kao et al. (2021) assessed the association between the duration of follow-up on CP and subsequent dementia risk. Their results showed that the association between CP and dementia risk was comparable between long-term follow-up (> 5 years) and follow-up periods of less than 5 years. In terms of impacts of age, the risk of dementia seems to be similar for people over 65 years of age and those under 65 years of age (HR = 1.53, 95% CI 1.21–1.93, P < 0.001 vs. HR = 1.33, 95% CI 1.16–1.52, P < 0.001, respectively). The association between CP and dementia risk was similar between the female and male subgroups (HR = 1.49, 95%CI 1.23–1.79, P = 0.000 vs. HR = 1.36, 95%CI 1.10–1.69, P = 0.005, respectively). The educational level did not affect dementia risk (Table 3). Notably, In the country subgroup analysis, the pooled results from the studies in America (HR = 1.12, 95% CI 0.99–1.27, P = 0.704) and French (HR = 1.23, 95% CI 0.88–1.73, P = 0.230) showed no significant correlation between CP and dementia. In other countries, CP was consistently associated with higher risks of dementia. In subgroups of study type, the association between CP and dementia risk was similar in cohort studies and case–control studies but was only statistically significant in the former. Interestingly, there was no association in the cross-sectional studies.

Table 3 Subgroup analysis of the association between CP and the risk of dementia

Sensitivity analysis and evaluation for publication bias

A sensitivity analysis was conducted by excluding one study at a time to assess the stability of the pooled results. The analysis revealed that the effect sizes remained stable, indicating the robustness of the findings (Fig. 3). The p-values for Begg’s and Egger’s tests were 0.036 and 0.805, respectively. The funnel plots displayed slight asymmetry, suggesting a potential publication bias (Fig. 4A). However, no missing hypothesis studies were identified in the trim-and-fill method (Fig. 4B), indicating that the current pooled result is relatively robust. Furthermore, due to the high heterogeneity observed, we examined the robustness of each meta-analysis by comparing the results of the random effects model with those of the fixed effects model. The pooled results of the fixed effects model showed consistent findings across all groups, except for the American group, where the results changed from insignificant to significant (Table 4).

Fig. 3
figure 3

sensitivity analysis of the relationship between CP and dementia risk

Fig. 4
figure 4

A Publication bias assessment; B Observation hypothesis study through the trim-and-fill method

Table 4 Comparison of the results of random-effects vs. fixed-effects models

Discussion

Principal findings

Our findings indicate a positive association between chronic pain (CP) and dementia. Overall, individuals with chronic pain have a 42% increased risk of developing dementia (HR = 1.42, 95% CI 1.23–1.64, p < 0.001), suggesting that chronic pain may serve as a risk factor for dementia. Notably, this risk remains consistent regardless of age, indicating that age does not significantly influence the relative risk of developing dementia in individuals with chronic pain. Additionally, we conducted subgroup analyses to explore the effects of different factors on the association between dementia and chronic pain. These factors include subtypes of dementia, subtypes of chronic pain, age, gender, region, follow-up time, educational level, and study design.

Comparison with other reviews

A systematic review published in 2020 suggested that chronic pain and specific chronic pain conditions may be associated with an increased risk of developing dementia (Innes and Sambamoorthi 2020). However, most studies included in their review were conducted in Taiwan (China), which may have introduced a geographic bias in the results.

In contrast, our meta-analysis included studies from various countries worldwide, providing a more comprehensive and reliable estimate of the association. We not only conducted a qualitative analysis of the association between different subtypes of chronic pain and dementia, but also performed a quantitative pooling of hazard ratios to draw comprehensive conclusions. This approach minimizes bias and provides a more accurate estimation of the true risk measure. While our study’s overall findings regarding the increased risk of dementia in individuals with chronic pain were consistent with the previous review, we found a 42% increased risk of dementia in chronic pain patients compared to those without chronic pain (HR = 1.42, 95% CI 1.23–1.64, p < 0.001). It is important to note that the study samples in our meta-analysis were drawn from diverse cultural, social, and economic backgrounds. However, due to the limited number of studies available from each country or region, we were unable to fully consider the potential impactof these factors. Mendelian randomization analysis could be a valuable approach to further explore the causal relationships in future research.

Potential interpretations of the results

It is important to interpret subgroup comparisons cautiously due to the small number of studies available. In our subgroup analysis, we found that individuals with chronic pain (CP) were significantly more likely to develop dementia across multiple subtypes of chronic pain, except in one cross-sectional study. In this particular cross-sectional study, dementia was associated with a lower risk of pain. However, due to the nature of cross-sectional study design, it is difficult to determine whether dementia was caused by other factors or if it influenced the perception of pain (Wang et al. 2022).

In this particular cross-sectional study, dementia was associated with a lower risk of pain. However, due to the nature of cross-sectional study design, it is difficult to determine whether dementia was caused by other factors or if it influenced the perception of pain (Wang et al. 2022). Furthermore, a majority of the studies included in our analysis indicated that the risk of dementia increased as the age of individuals with chronic pain advanced (Wang and Liu 2021; Khalid et al. 2022, 2020; Innes and Sambamoorthi 2020; Whitlock et al. 2017; Rouch et al. 2022; Tzeng et al. 2018; Cheng et al. 2022; Kao et al. 2021; Hurh et al. 2022; Morton et al. 2019; Hagen et al. 2014; Islamoska et al. 2020; George et al. 2020; Lee et al. 2019; Kostov et al. 2019; Chen et al. 2018; Huang et al. 2015). This suggests that older age may be a contributing factor to the development of dementia in individuals with chronic pain.

It is important to note that a study conducted by Wang et al. (2022) found that older Americans with dementia are less likely to report the use of pain medications when they experience pain. This finding aligns with previous research highlighting the issue of pain undertreatment among older individuals with dementia (Boltz et al. 2021; Wang et al. 2020; Gilmore-Bykovskyi et al. 2019). Several factors contribute to this phenomenon, including the potential for forgetfulness in reporting pain, lack of recognition of symptoms by clinicians or family members, and the presence of other symptoms such as anxiety, depression, hallucinations, and paranoia, which may lead to medication non-adherence. Additionally, individuals with dementia may face barriers in receiving regular medical checkups, such as mobility issues, forgetfulness, or caregiver constraints. Caregivers themselves may also be unaware of the potential benefits of anti-inflammatory drugs in managing the conditions of these patients. Therefore, healthcare providers need to consider these barriers to appropriate care when treating patients with dementia. While the exact reasons behind this phenomenon cannot be fully determined from research data alone, there is a growing body of literature suggesting that anti-inflammatory drugs may hold promise in preventing Alzheimer’s disease (McGeer and McGeer 1990; Canadian Study of Health and Aging 1994; Breitner et al. 1994). Thus, it is crucial to monitor the occurrence of Alzheimer’s disease and implement preventive measures in individuals with chronic pain to reduce their risk of developing the disease. By remaining vigilant and applying suitable interventions, we may be able to mitigate the impact of chronic pain on cognitive health and improve the overall quality of life for those affected.

Furthermore, Cheng et al. found that depression may be one of the reasons why individuals with trigeminal neuralgia (TN) have a 4.47-fold higher risk of developing dementia compared to those without TN. This finding is consistent with previous research suggesting that the incidence of depression, anxiety, and functional impairment can increase with the severity of pain (Melek et al. 2018). Chronic depression itself is a known factor that predisposes individuals to dementia (Maˇ cianskyt˙e et al. 2011). It has been proposed that the synthesis of NMDA glutamate agonists, such as quinolinic acid and kynurenine metabolites, can lead to oxidative stress and result in a chronic inflammatory state (Leonard 2017). Therefore, it is plausible to suggest that TN may increase the risk of dementia by promoting depression. This novel insight is supported by the study conducted by Cheng et al., which provides additional scientific evidence for this possibility.

The mechanisms underlying the interaction between chronic pain (CP) and dementia are not fully understood. However, current evidence suggests that CP may contribute to an increased risk of dementia through multiple pathways. Several studies have demonstrated that brain pathology associated with dementia can be influenced by pain-related psychopathology. Chronic pain can also provoke dysfunction in the locus coeruleus (LC) and neuroinflammation in dementia patients, leading to neurodegeneration (Monroe et al. 2017, 2012; Cao et al. 2019; Cole et al. 2006, 2011). These changes have been observed in various regions of the brain, including the frontal cortex, where anomalies in the noradrenergic system are frequently observed (Hayashida and Obata 2019). Microglial activation in areas like the LC and increased central neuroinflammation in these regions have also been implicated (Salter and Stevens 2017). The LC plays a crucial role in norepinephrine (NE) synthesis and subsequent neurotransmission in the central nervous system, and dysfunction in the LC-NE signaling pathway has been associated with microglial dysfunction (Gyoneva and Traynelis 2013).

In addition, chronic pain is associated with increased levels of systemic inflammation (Coe et al. 2008; Marchand et al. 2005). Moreover, markers of systemic inflammation can vary among different ethnic and racial groups (Paalani et al. 2011). Inflammation associated with aging has also been linked to dementia and Alzheimer’s disease pathology (Schain and Kreisl 2017; Eldik et al. 2016). Therefore, understanding the underlying mechanisms that contribute to sociodemographic findings requires considering inflammatory factors and their potential impact on the association between chronic pain and dementia.

Recommendations for research and clinical practice

We found that there is a limited number of studies investigating the association between different subtypes of chronic pain in individuals with dementia, most of which were retrospective cohort studies. To improve pain management in this population, we propose that the first step is to evaluate changes in pain management interventions by monitoring pain intensity. However, distinguishing between behaviors associated with pain and those arising from the dementia process itself can be challenging, posing a significant clinical and research dilemma.

It is essential to recognize that while some pain assessment scales primarily focus on identifying the presence of pain, others, such as the Visual Analog Scale (VAS) and the Numerical Rating Scale (NRS), are specifically designed to evaluate the intensity of pain. Therefore, the choice of a pain assessment scale should align with the specific objectives of the assessment, considering both the identification and quantification of pain. Therefore, we emphasize the use of pain assessment tools that have been validated and tested for responsiveness in well-powered trials of analgesics specifically conducted in moderate to severe dementia patients for future research. Adopting such an approach will allow us to better understand the relationship between different subtypes of chronic pain and dementia, ultimately informing the development of effective pain management strategies in this population. Caregivers in community settings, residential care facilities, nursing homes, and hospitals play a crucial role in enhancing early management and treatment of pain in individuals with dementia and providing appropriate care to prevent adverse outcomes. Finally, further research investigating end-of-life care in this population is necessary to address the unique challenges posed by pain management in individuals with dementia during this stage of life.

Limitations

Although we conducted a comprehensive literature search and rigorous methodological evaluation, there are some limitations to our findings on the relationship between chronic pain and dementia. Firstly, it’s important to note that there is a wide range of subtypes of chronic pain, and limited original research exists that specifically examines the impact of each subtype on dementia. Therefore, further studies are needed to explore the association between chronic pain subtypes and dementia in more detail. Secondly, pain is subjective and highly personal, making it challenging to measure accurately. Most studies rely solely on self-reported measures of pain, which may be less specific and sensitive compared to clinical trials. This subjectivity can contribute to publication bias and heterogeneity in meta-analyses. However, it’s worth mentioning that heterogeneity is not necessarily invalidating for observational study meta-analyses (Noubiap et al. 2019). Additionally, as dementia progresses slowly and insidiously, it becomes difficult to draw definitive conclusions regarding causality. Furthermore, the studies included in our review were conducted in different countries and regions, where the research sample may be influenced by diverse cultural, social, and economic backgrounds. The limited number of studies from each country/region makes it challenging to assess how these factors may impact the results. In conclusion, while our review provides valuable insights into the relationship between frailty, chronic pain, and dementia, it is important to consider these limitations. Encouraging further research in this area, including studies that examine specific subtypes of chronic pain and consider cultural and social factors, will help obtain a more comprehensive understanding of the association between chronic pain and dementia.

Conclusions

In conclusion, there is an association between CP and dementia, with individuals with CP being at a higher risk of developing dementia regardless of gender, age, or specific dementia subtypes. Enhancing the quality of life for individuals with CP requires providing education about dementia and implementing regular dementia screening measures. Further extensive research is needed to confirm and extend the findings of this study, identify potential mediating factors, and explore the underlying mechanisms for the observed association between CP and dementia. Through more comprehensive studies, we can gain a better understanding of this relationship and develop targeted interventions to mitigate the impact of CP on dementia.