Introduction

Maintaining good cognitive health in older age is crucial for ensuring autonomy and is a key component of active ageing policies1. It is thus important to understand which aspects of individuals’ lives are linked to their cognitive health as they age.

The environment in which people live is linked to cognitive functioning in older age with more dense and accessible urban environments being associated with better cognitive functioning2,3,4. The use of more detailed typologies assessing the degree of to which a place of residence is urban or rural in the US, UK, and Ireland has shown that cognitive impairment is more likely to occur in older adults residing in areas far away from major urban areas but also in people living in suburban areas outside of the most densely populated urban regions5,6,7. Moreover, people living in extremely rural environments were more likely to develop cognitive impairment even compared to residents of semi-rural regions5,8. Therefore, these findings suggest a clear residential gradient in cognitive functioning as even living in less dense urban areas, compared to highly dense ones, in old age is associated with a greater risk of cognitive impairment.

However, the relationship between cognitive functioning and urban environments is not always consistent and often depends on how individual socioeconomic status is accounted for9. Studies have shown that when accounting for the level of education, urban–rural differences in cognitive functioning in older age almost completely disappear especially in younger cohorts8,10.

An additional issue raised in the literature is whether the relationship between cognitive functioning in older age and individuals’ residential environment holds when accounting for area of residence in earlier stages of life. While this aspect is comparatively under-investigated, there is evidence from Europe, China, and the United States that people who grew up in rural environments had an overall lower level of cognitive functioning in older age compared to those who grew up in more urban areas regardless of where they lived in old age11,12,13,14. Yet, these studies only measured early-life or childhood residence at a single point in time corresponding to a specific age (often 14 or 16) rather than across the entire early-life period. This approach provides only a static view of what is a dynamic process and, most importantly, overlooks individuals’ place of residence in the earliest stages of life. Consequently, the link between individuals’ residential trajectories across their whole lives and cognitive functioning in older age, needs to be examined in more depth.

To fill this knowledge gap, this paper investigates the link between individuals’ area of residence in early, mid, and later life, and cognitive functioning in later life using the longitudinal, cross-national Survey of Health, Ageing and Retirement in Europe (SHARE). It goes beyond many approaches investigating the association between early-life rural living and cognitive functioning in older adults by analysing entire trajectories of residence using sequence and cluster analysis rather than focusing on a specific point in time. Using trajectories not only provides a more encompassing view of urban–rural differences, but also takes into account between-individual differences that may have accumulated over people’s entire lives. Moreover, our approach of disaggregating early-life trajectories from those in midlife and during follow-up lets us evaluate the link between area of residence in different life phases and cognitive functioning in later life.

We also assess whether the relationship between region of residence in different life phases and cognitive functioning is attenuated by cognitive reserve. The cognitive reserve concept posits that individual cognitive engagement, often measured by markers such as job skill or level of education15 throughout life promotes better cognitive health in older age and has the potential to compensate for neurological problems. There is evidence showing that markers of cognitive reserve are associated with overall differences in cognitive functioning in later life16,17. Furthermore, evidence also shows that markers of cognitive reserve attenuate differences in cognitive functioning related to rural vs. urban residence in later life8,18. Nevertheless, this relationship has not been investigated systematically in relation to places of residence across the life course. The first aim of this study is to investigate how urban vs. rural residence in different stages of the life course (early, mid, and later life) is associated with cognitive functioning in older age. The second is to assess whether differences in cognitive functioning related to residential trajectories are attenuated when accounting for markers of cognitive reserve.

Results

Due to the large sample size, we used a cut-off of 0.01 for p values.

Immediate recall

The results from Model 1 for immediate recall (Table 1) showed that respondents living in rural areas, large or small towns, or suburban areas had worse recall scores during follow-up compared to individuals living in big cities even after adjusting for sex, age, health, depression, health behaviours, and country of residence.

Table 1 Mixed-effects model estimates for immediate recall.

Once early- and midlife residential trajectories were included in Model 2, we found that the relative difference between respondents residing in big cities during follow-up and the other residential categories, except large town, became non-significant. The coefficients for residential trajectories in early life showed that individuals who primarily resided in suburbs, small towns, or rural areas remembered 0.09 to 0.180 fewer words from a 10-word list compared to individuals who primarily resided in big cities. For midlife trajectories, we found that only individuals who resided in large towns or rural areas prior to follow-up performed significantly worse compared to those who resided in big cities.

After including the cognitive-reserve indicators (education, and job skill level) in Model 3, we no longer found any statistically significant difference between the different places of residence during follow-up and the different midlife residential trajectories. For early-life residential trajectories, we no longer saw a significant disadvantage for respondents who grew up in suburbs or large towns relative to those who grew up in big cities. However, the negative association between early-life residence in small towns or rural areas remained but was attenuated (0.064 and 0.123 fewer words recalled respectively). For education, we found that respondents with less than an ISCED-3 level of education had lower scores and those with an ISCED-5 or ISCED-6 level of education had higher scores. For job skill level, respondents with highly skilled jobs performed better while respondents who never did paid work had lower scores compared to respondents with low-skill jobs.

Delayed recall

The results from Model 1 for delayed recall (Table 2) were consistent with those of immediate recall. We again found that individuals who resided outside of big cities during follow-up performed worse on the task.

Table 2 Mixed-effects model estimates for delayed recall.

Once early-life and midlife residential trajectories were included (Model 2), we found that only individuals residing in rural areas during follow-up no longer performed significantly worse compared to those residing in big cities unlike for immediate recall. For early-life residence, in line with the results for immediate recall, we found that respondents who grew up in rural areas or small towns performed significantly worse (0.359 and 0.172 fewer words recalled). For midlife residence, we found that respondents living in rural areas or large towns had lower scores compared to those who lived in a big city.

The inclusion of the cognitive reserve markers in Model 3 further attenuated the association between area of residence during follow-up and delayed recall. Individuals residing in small towns and rural areas no longer performed significantly worse than individuals living in big cities. Additionally, there was no longer any significant difference between areas of residence in midlife. However, for early-life residence, individuals who resided in rural areas or small towns still performed significantly worse than respondents who lived in big cities (0.184 and 0.085 fewer words recalled).

As for the indicators of cognitive reserve, the results followed the same pattern as for immediate recall. Respondents with less than an ISCED-3 level of education had lower scores and those with an ISCED-5 or ISCED-6 level of education had higher scores. For job skill level, respondents who had a high-skill job performed better while respondents who never did paid work had lower scores compared to those with low-skill jobs.

Verbal fluency

The results from Model 1 for verbal fluency (Table 3) were similar to those for immediate and delayed recall. During follow-up, respondents who did not reside in a big city had lower scores on the verbal fluency test with individuals residing in small towns and rural areas performing the worst.

Table 3 Mixed-effects model estimates for verbal fluency.

The inclusion of early- and midlife residence in Model 2 attenuated this relationship as there was no longer any statistically significant difference between the different places of residence during follow-up. For early-life trajectories we found similar results to those for recall with respondents who resided in rural areas and small towns having lower scores (1.008 and 0.491 fewer words listed) compared to individuals who resided in a big city. For midlife residence, respondents who lived in large and small towns, or rural areas performed worse compared to those who resided in big cities. However, those who resided in suburbs did not perform worse relative to those who resided in big cities.

Once the cognitive reserve indicators were included in Model 3, for residence during follow-up we found that respondents who lived in a rural area performed better compared to those who resided in big cities and there was no significant difference for the other categories. For early-life residence, only respondents who lived in rural areas, compared to a big city, had significantly lower scores (0.406 fewer animals listed) compared to those who lived in a big city. For midlife residential trajectories, there was no longer any significant difference between the different categories.

For the cognitive reserve indicators, the results were similar to those for immediate and delayed recall. Having a high-skill jobs was associated with higher scores and never having had paid employment was associated with lower scores. For education, the results were also in line with those for the other outcomes, with ISCED levels 0 through 2 being associated with lower scores and ISCED levels 4 through 6 being associated with better scores relative to ISCED level 3.

Discussion

Our results contribute to explaining the mixed findings reported in the literature concerning the association between the area of residence and cognitive health in older age. Without taking into account early- and midlife residential trajectories or markers of cognitive reserve, we observed that individuals living outside of highly urban areas performed worse on the immediate recall, delayed recall, and verbal fluency tasks. This result is in line with studies that only consider respondents’ area of residence during follow-up. The more detailed typology utilised in SHARE also allowed us to evaluate whether there was a gradient in cognitive performance in relation to how rural an individual’s place of residence was. For all outcomes, the results for Model 1 showed a clear gradient with respondents having progressively lower scores the less urban their place of residence was. This is in line with results previously found in the literature5,6,7,8.

Nevertheless, the inclusion of early- and midlife residential trajectories in our models made differences between respondents residing in big cities and other areas during follow-up completely non-significant. This result suggests that the urban–rural differences observed in older age can potentially be attributed to some form of cumulative disadvantage related to having grown up in a rural environment. It is consistent with previous work that posits that early-life urban or rural living may better explain differences in older age than contemporaneous urban or rural living11,12.

We also found that early-life area of residence remained associated with cognitive functioning in later life even when accounting for education and job skill level (the two markers of cognitive reserve). This was not the case for midlife residence. Overall, our findings are in line with previous research showing that cognitive reserve attenuates differences in cognitive functioning in older adults linked to urban vs. rural residence in old age8,10,18.

Consequently, our results suggest that the environment in which individuals lived in early life, but less so in later life stages, plays an important role in their development which in turn can have a long-lasting influence on cognitive functioning in later stages of the life course. This notable result brings support to the critical period hypothesis19 and shows the importance of early-life conditions for cognitive health in older age.

One possible explanation for why living rural environments in early life carries a disadvantage in terms of cognitive functioning in later life is that less dense rural environments provide fewer opportunities for cognitive stimulation than more dense urban ones. A more stimulating cognitive environment can be extremely important in childhood as it can lead to better cognitive development through exposure to more multisensory contexts earlier in life2,20. Building on this line of thought, the area of residence in early life can also determine the opportunities individuals have to accumulate cognitive reserve, especially among older cohorts such as those in our study, by conditioning access to higher quality education in earlier life stages which is more often available in highly urban areas21,22.

As for why mid- and later-life residence were not associated with cognitive functioning when accounting for cognitive reserve, a possible explanation is that individuals who chose to pursue higher education or who were employed in highly skilled jobs gravitated, or were “socially channelled”, towards more urban areas after their early life course stages. In other words, it is likely that later-life urban–rural residential differences could be conflated with educational and occupational differences.

A further contribution of the study is the investigation of how markers of cognitive reserve influence the relationship between cognitive functioning and urban–rural differences in early, mid, and later life simultaneously. Our findings show that education and job skill level completely explain differences in cognitive functioning between urban and rural residence in mid and later life for immediate recall and verbal fluency. They also reduce differences in cognitive functioning associated with residential trajectories in early life, with the reduction being strongest for individuals who lived in rural areas. Education and occupation provide cognitive stimulation later on in life8,15, which can potentially serve to counteract the disadvantages related to less cognitive stimulation and lower quality education associated with living in rural areas early on in life. Thus, the disadvantage of rural living in early life can still be reduced through cognitive stimulation in later stages of the life course.

Despite strengths such as a large cross-national sample, the use of longitudinal data, and the analysis of residential trajectories across the entire life course rather than at specific ages, there are nevertheless limitations. The first is related to how the area of residence is determined. In SHARE, the area of residence is a subjective rather than objective measure, and it is assessed retrospectively for life course trajectories. This means that the classification of place of residence is not necessarily established using the same criteria in all countries. However, this is also the case for typologies based on objective indicators which also vary across countries and studies23. Nevertheless, the question is harmonized across all countries and waves, and the impact of recall bias in SHARE for retrospective data is low24. In addition, the area of residence during follow-up was evaluated by the interviewer rather than the respondents, the categories (big city, suburbs, large town, small town, and rural area) are consistent across all waves, and they are the same for both the retrospective assessments and interviewer evaluations.

The second limitation is that the current study is observational and therefore cannot establish any causal relationship between place of residence and cognitive functioning in older age. Nevertheless, the criterion of temporal precedence is met in the case of early- and midlife residential trajectories as they refer to life phases that occurred before the cognitive functioning evaluations done during the survey.

Taken together, our results show that cognitive functioning in later life is associated with individuals’ place of residence during their early life course but not during the middle or later stages. The association between early-life rural residence and cognitive functioning also remains significant when controlling for markers of cognitive reserve. Thus, our results suggest that there is a disadvantage associated with growing up in rural areas, which has a long-lasting impact on cognitive functioning that can only be partially attenuated by cognitive reserve accumulated through education or work. To promote better cognitive ageing outcomes in later life, public health policies should encourage individuals from rural areas to pursue higher education in earlier life stages as this can reduce the disadvantage of growing up in rural areas for cognitive health in later life and lead to better ageing outcomes.

There are also opportunities for future research. One direction that looks promising is to further leverage the multi-country nature of SHARE to explore how the relationship between place of residence over the life course and cognitive functioning varies. It is likely that differences in social institutions, policies, geography, and other country-specific characteristics can affect how disadvantageous rural residence in different life stages can be for cognitive functioning in later life. Therefore, certain countries may be better at limiting the long-term disadvantage we observed for early-life rural residence than others. This could serve to illustrate potential changes that could be made to improve cognitive functioning in old age for individuals who spend the early parts of their lives in rural regions.

Methods

Participants and sample

We used data from the Survey of Health, Ageing and Retirement in Europe (SHARE). SHARE is a biennial panel survey of individuals aged 50 years and older and their partners, in Europe and Israel25. The first wave of data collection occurred in 2004–2005, with latest available interviews dating from 2019–2021 (wave eight). In the third and seventh waves, SHARE collected retrospective life course data using a life-history calendar as part of the SHARELIFE module25.

The sample used for this study included individuals aged between 50 and 90 (mean 69.7, SD 8.7) living in 19 European countries (Austria, Belgium, Czech Republic, Denmark, Estonia, France, Germany, Greece, Hungary, Ireland, Italy, Luxembourg, the Netherlands, Poland, Portugal, Slovenia, Spain, Sweden, and Switzerland) and Israel. We selected these countries because they all conducted the life-history calendar module at least once.

Individuals who were not classified as retired during the retrospective survey waves were also excluded. Dropping further observations with missing information on any item used in the analysis (complete case analysis) resulted in a final sample of 38,165 respondents.

The SHARE was approved by the Ethics Council of the Max Planck Society and the relevant research ethics committees in the participating countries which confirmed that the study was conducted in accordance with the Declaration of Helsinki and all relevant legal and ethical regulations. All participants in the SHARE provided written informed consent.

Outcomes

We analysed three indicators of cognitive functioning: immediate recall, delayed recall, and verbal fluency. For immediate recall, the interviewer read out a list of 10 words and respondents had one minute to list as many words as they could recall immediately after hearing them. For delayed recall, respondents had to list the same words as for the immediate recall task in the same amount of time after having completed additional cognitive functioning evaluations. For verbal fluency, respondents were given 1 min to name as many animals as possible. Descriptive statistics for these variables and additional information on how the tests were conducted in the SHARE are available in the Supplementary Appendix. The full cognitive functioning module was conducted in all waves except waves three (no cognitive functioning evaluations) and seven (no verbal fluency test).

Independent variables

Area of residence over the life course was measured using three variables derived from subjective evaluations of the area a place of residence was located. The first was the area of residence during follow-up which was evaluated by interviewers at each wave for each household. The area of residence was assigned one of five categories by the interviewer: a big city, the suburbs or outskirts of a big city, a large town, a small town, or a rural area.

For early-life and midlife residence we used retrospective data on respondents’ places of residence since birth. Each respondent was asked once, in either wave three or wave seven, to list all their places of residence. For each place of residence, the interviewer asked the respondent how they would describe the area of residence using one of five categories: a big city, the suburbs or outskirts of a big city, a large town, a small town, or a rural area.

Using this information, we constructed sequences using the TraMineR package26 charting individuals’ areas of residence from birth until age 20 for early-life and then from age 21 until they joined SHARE for midlife. Respondents with incomplete information or gaps in their trajectories until study entry were excluded. We then used a spell-length optimised version of optimal matching (OM) with constant substitution costs27, in combination with hierarchical clustering using Ward’s method to create a typology of early-life and midlife residential trajectories. After testing clustering solutions using between 3 and 10 clusters, measures of cluster quality indicated that a five-cluster solution was best for both early-life and midlife trajectories (see the Supplementary Appendix for more detail). For both early-life and midlife we found a first cluster where respondents predominantly lived in big cities, a second where they predominantly lived in the suburbs, a third where they predominantly lived in large towns, a fourth where they mainly lived in small towns, and a final cluster where respondents principally lived in rural areas. Figure 1 shows the sequence density plots for the clusters for early-life and midlife residential trajectories.

Figure 1
figure 1

Sequence density plots for the five clusters of early-life residential trajectories (a) and midlife residential trajectories (b). For each cluster, the bars represent the proportion of respondents living in one of the five residential areas at a specific age.

We assessed cognitive reserve with two frequently used markers: education and the skill level of the respondents’ main job. Education was measured using the 1997 version of the International Standard Classification of Education (ISCED). We treated it as a categorical variable ranging from 0, no completed education, to 6, second-stage tertiary education. We used respondents’ highest reported level of education across all waves. Respondents were asked this question once and only reported any additional qualifications during follow-up. Over 99% of our sample reported no changes.

Job skill level was categorised in accordance with the four categories of skill level in the International Standard Classification of Occupations (ISCO) using the single-digit ISCO code of respondents’ main job over the life course. For respondents who were retired, but for whom data was missing, we used the ISCO code for the job they worked at the longest. From this we created a three-category variable distinguishing between high-skill occupations (skill levels 3 and 4 which are grouped together by the ISCO), low-skill occupations (skill levels 1 and 2)28, and respondents who never had any paid employment.

Covariates

Our control variables included respondents’ age, sex, country fixed effects, and the individual means of self-rated health (SRH) and EURO-D depression scores across waves, two health status covariates known to be associated with cognitive function29,30. We centred age at 70 (the sample median) and divided it by 10 to prevent scaling issues and ensure convergence during estimation. We also included binary variables indicating whether respondents ever smoked and whether they consumed alcoholic beverages at least three to four times a week in the months before any survey interview, as these behavioural variables are known to influence cognitive function31. Descriptive statistics for the independent variables and covariates are shown in Table 4.

Table 4 Descriptive statistics for covariates.

Main statistical analysis

We estimated mixed-effects models using the lme432 package with a random individual-specific intercept and a random slope for age for each cognitive functioning indicator. For each outcome, three models were estimated. The first included all control variables, country dummies, and residence during follow-up. The second model added early-life and midlife residential trajectories. The third model further included the two indicators of cognitive reserve (education and job skill level).