Introduction

Sunlight is closely associated with human health. Sunlight plays a crucial role in maintaining overall health by participating in multiple processes such as skin synthesis of vitamin D1,2 and regulating the circadian rhythm3,4. However, inappropriate exposure to ultraviolet (UV) radiation from sunlight can result in both acute and chronic health consequences, including skin cancer5, sunburn (erythema)6, immunosuppression7, DNA damage8, and more. The UV radiation has the potential to suppress cell-mediated immune function, leading to inflammatory responses7, while the inflammatory response is recognized as one of the risk factors for dementia9. Additionally, worsening air pollution has contributed to the thinning of the ozone layer, reducing its capacity to absorb UV radiation, which may result in increased UV exposure for individuals10. Besides, it has been shown that individuals with lighter skin tones are more susceptible to the effects of UV radiation11.

The brain can also be affected by sunlight. Brain function relies on the delivery of oxygen and nutrients through blood circulation and depends on the brain’s ability to maintain thermal balance. When exposed to sunlight, more blood flows away from the brain to regulate brain temperature, resulting in a reduced blood flow to the brain, which may lead to brain damage12,13. Besides, temperature is a key factor supporting the development of non-neuronal cells, leading to enlargement of the brain14. Studies have shown that brain hypothermia has a neuroprotective effect, and high temperature may increase brain temperature by altering several factors such as cerebral blood flow and blood temperature, thereby affecting brain function15. It has been reported that even the changes in brain temperature was less than 1 °C, it still can lead to functional changes in various regions of the nervous system, affecting nerve conduction velocity and synaptic transmission16. Experimental studies also have found that direct exposure of the head and neck to sunlight radiation can result in a core temperature increase of 1 °C, and may impair motor-cognitive functions17. Moreover, the nitric oxide (NO), acting as a endogenous vasodilator, can improve blood flow and lower blood pressure, thereby prompting brain health. It has been indicated that exposure to UV radiation in sunlight may lead to the release of NO from the skin into the bloodstream18. However, the association of sunlight with brain structure remains incompletely understood now.

Nevertheless, there remains a gap in the directive investigation of the associations between natural sunlight exposure and brain structure. Research indicates that changes in brain morphology, such as white matter integrity, may precede and potentially lead to declines in cognitive function19, and individual differences in cognitive function are partially explained by variations in brain structure20. White matter hyperintensity, as one of the brain structural markers, is associated with pathologies of Alzheimer's disease21,22. Therefore, brain structural markers, such as the volumes of total brain, white matter, gray matter, and white matter hyperintensities, can serve as good representative indicators for brain function.

In this study, we aimed to explore the relationships between sunlight exposure and brain structural markers using the data from the UK Biobank cohort. Furthermore, since season, sex, and age differences in the association between sunlight exposure and brain function (such as cognition)2, we further conducted stratified analyses based on these factors. In addition, considering that hypertension23,24, stroke25,26, and diabetes27,28 are closely associated with brain structure as well as cognitive impairment, we also tried to analyze the relationships between sunlight exposure and brain structure in these diseases groups, respectively.

Results

A total of 27,474 participants (mean age 55.01 ± 7.57 years) who completed brain scan were included in baseline characterization analysis. (Table 1) Compared to the group with shorter sunlight exposure time (< = 1.5 h), the group with longer time tended to be older, more likely to consist of males, engage in high level of physical activities, and have appropriate sleep duration.

Table 1 The characteristics of participants grouped by sunlight exposure time at baseline.

Main analysis

The results of associations between sunlight exposure time and brain structural markers were presented in Table 2. Comparing to Tertile 1, prolong natural sunlight exposure time (Tertile 3) was negatively associated with the volumes of total brain (β: − 0.051, P < 0.001), white matter (β: − 0.031, P = 0.023), gray matter (β: − 0.067, P < 0.001), and positively associated with white matter hyperintensities (β: 0.059, P < 0.001). Longer sunlight exposure time was negatively associated with smaller subcortical volumes of thalamus (β: − 0.060, P < 0.001), caudate (β: − 0.040, P = 0.012), putamen (β: − 0.031, P = 0.032), hippocampus (β: − 0.046, P = 0.003), and accumbens (β: − 0.041, P = 0.006). Similarly, prolonged sunlight exposure was associated with reduced gray matter volumes in the putamen (β: − 0.060, P < 0.001), hippocampus (β: − 0.043, P = 0.004), and amygdala (β: − 0.073, P < 0.001).

Table 2 Association between sunlight exposure time and brain structural markers.

Stratified analysis

The male brain structure appears to be more susceptible to the effects of sunlight exposure compared to females. (Supplementary Table S3) Among males, we found that prolong sunlight exposure was negatively associated with total brain volume, gray matter volume, subcortical volumes of the thalamus and caudate, gray matter volumes of the putamen, hippocampus, and amygdala. It was also associated with an increase in the volume of white matter hyperintensity. In females, it was only associated with total brain volume, gray matter volume, subcortical volumes of the thalamus and hippocampus.

While comparing to the group aged 60 years and above, the group under 60 years showed a broader range of correlations between sunlight exposure and brain structural markers. (Supplementary Table S4) With longer sunlight exposure time, participants under 60 years exhibited shrinkage in volumes of total brain, white matter, gray matter, and increase in volume of white matter hyperintensities. However, only a correlation with gray matter volume was found in the population aged 60 years and above.

In the group of hypertension, prolong sunlight exposure time was negatively associated with total brain volume, gray matter volume, white matter volume, subcortical volumes in thalamus and hippocampus, and the gray matter volumes in putamen, hippocampus and amygdala. However, no significant associations were observed in the stroke and diabetes individuals. (Supplementary Table S5).

Restricted cubic spline

The restricted cubic spline illustrated a nonlinear relationship between sunlight exposure duration and brain structural markers. Within 2 h of sunlight exposure, total brain volume, white matter volume, and gray matter volume increased as sunlight exposure time increasing. However, when daily sunlight exposure approximately exceeded 2 h, we observed a decrease in total brain volume, gray matter volume, white matter volume and volumes of certain subcortical regions with prolonged sunlight exposure duration (Fig. 1 and Supplementary Fig. S1) . When stratified by season, as sunlight exposure duration increasing, the total brain volume, white matter volume, and gray matter volume decreased more pronounced in the summer compared to winter (Fig. 2 and Supplementary Fig. S2). Regardless of the season, sunlight exposure time was associated with an increase in white matter hyperintensity volume.

Figure 1
figure 1

The restricted cubic splines of natural sunlight exposure with brain structure markers.

Figure 2
figure 2

The restricted cubic splines of natural sunlight exposure with brain structure markers stratified by season. (a) Natural sunlight exposure in summer. (b) Natural sunlight exposure in winter.

Sensitivity analysis

The sensitivity analyses results showed that our findings were robust. After excluding participants who developed dementia within the first 5 years and the first 10 years of follow-up, the results were still consistent with the main results. (Supplementary Tables S6 and S7) Similar results were also found between prolonged natural sunlight exposure and brain structural markers when baseline individuals with hypertension, diabetes, or stroke were further removed. (Supplementary Table S8) Results in the white population were also consistent with those of the primary analysis. (Supplementary Table S9) Prolong sunlight exposure time was associated with cognitive function tests. (Supplementary Table S10) In terms of cognitive function, as the duration of sunlight exposure increased, performance in visual declarative memory, working memory, verbal and numerical reasoning, processing speed, executive function, vocabulary, and non-verbal reasoning declined.

Discussion

We observed that prolonged exposure to natural sunlight may be associated with adverse brain structure. This association varied in different age, sex, and season, and stronger negative correlations were found in males, those under 60 years old, and during the summer. Additionally, prolonged exposure to sunlight was correlated with cognitive decline. The restricted cubic spline results showed a non-linear association between sunlight exposure time and brain structural markers, with adverse changes after sunlight exposure time exceeding approximately 2 h.

Now the mechanisms by which prolong sunlight induces damage to brain structure are not fully understood. It may be as follows: (1) Sunlight increases brain temperature by affecting cerebral blood flow and blood temperature, and broad-spectrum light may also penetrate the skin and heat tissues, also increasing brain temperature12,13,17. Elevated brain temperature can alter resting potentials, action potentials, nerve conduction velocity, and synaptic transmission, leading to changes in brain function16,29. (2)The increase in brain temperature also affects the integrity of the blood–brain barrier, mitochondrial function, and decreases tolerance to potential insults to the brain16. (3) The UV radiation in natural sunlight can damage immune cells in the body, triggering inflammatory responses that can lead to damage7,9. (4) UV radiation in sunlight may induce systemic oxidative stress, which can affect the brain through mechanisms such as inflammation, cell apoptosis, and neuronal damage30,31.

We found that short-term exposure to sunlight (< 2 h) was associated with beneficial changes of brain structural markers. This may be due to the following reasons: (1) Most of the vitamin D in the body is synthesized from sunlight exposure to the skin32, and moderate sunlight exposure can maintain adequate levels of vitamin D which participates in maintaining brain function by regulating the expression of neurotrophic factors, the immune system and oxidative stress1,33; (2) Sunlight projects through atypical intrinsically photosensitive retinal ganglion cells (ipRGCs) to the suprachiasmatic nucleus (SCN) in the brain, regulating the circadian rhythm to maintain brain health34,35; (3) Exposure to sunlight can regulate the release of neurotransmitters such as dopamine and serotonin in the brain, contributing to brain health36,37,38.

The relationship between natural sunlight exposure and change in brain structure appeared to be more extensive in the summer season, in individuals younger than 60 years old, and males. This can be attributed to higher temperature and stronger UV radiation during the summer in the United Kingdom39. Additionally, during the summer, people tend to expose more skin due to warmer weather and clothing choices, leading to increased UV exposure. Younger individuals tend to engage in outdoor activities, and some of them may work outside, leading to prolonged sunlight exposure. Research has shown that among people over 20 years old, the frequency of sunburn decreases with age40,41. There are known structural and biological differences in the skin between sex42,43. Compared to females, males tend to be more sensitive to UV radiation and may experience immune-suppression reactions more frequently44,45. Conversely, the presence of estrogen in the female body may exert inhibitory effects on immune-suppression reactions46. Furthermore, males are generally less likely to use sun protection measures, resulting in greater sunlight exposure41.

The associations between sunlight exposure and brain structural marers are consistent with prospective studies in dementia populations. Ma et al. found a "J-shaped" relationship between sunlight exposure and the development of dementia, and we observed that high-dose sunlight exposure may have a damaging effect on brain structural markers2. The finding regarding the association of natural sunlight exposure with cognition align with previous comparative studies conducted on worker populations. Exposure to sunlight has been observed to decrease attention allocation and vigilance. Under both temperate and tropical climate conditions, sunlight exposure has been shown to result in cognitive impairment47. Dementia is a slowly progressive condition, and the cognition changes we focused on occur earlier than the diagnosis of dementia48,49,50,51. Besides, research indicates that the atrophy of white matter may lead to cognitive impairment such as vascular dementia and other related conditions52,53,54,55. Additionally, the atrophy of gray matter volume is also associated with the decline in cognition, such as in Alzheimer's disease54,56. Based on the association between natural sunlight and changes in brain structure, we hypothesize that brain structure may mediate the association between natural sunlight and cognition. However, further research is needed to confirm this hypothesis.

Our study has several strengths. First, this study represents the first exploration of the associations as well as the nonlinear relationship between natural sunlight exposure and brain structure in the general population. Second, we extensively adjusted for various potential confounding factors to control for influences from the environment, genetics, and other aspects. Furthermore, we conducted multi-level analyses stratified by season, age, sex, and four diseases to investigate variations among different subgroups.

However, there are still some limitations. First, sunlight exposure time relied on self-reports from participants, which may introduce recall bias and subjective assessment. Second, the observational nature of this study prevents us from establishing causality. Third, the associations between sunlight exposure and brain structure were not observed in groups with specific diseases due to the relatively small number of participants with those conditions. Fourth, the participants in this study were primarily white individuals from high-latitude regions, which may limit the generalizability of the findings to other regions and ethnicities. Fifth, given that the data on ozone and outdoor occupation status were not provided in the UK Biobank, these two potential confounding factors were not adjusted in our study. Therefore, caution is needed when interpreting and generalizing our study results.

Conclusions

In conclusion, this study reveals an association between prolonged exposure to natural sunlight and adverse changes in brain structure, providing novel insights into the potential impact of light exposure on human health. The findings highlight the need for further in-depth investigations to elucidate the specific mechanisms and physiological foundations underlying this relationship. Understanding the intricacies of how natural sunlight affects brain structure is crucial for advancing our knowledge of the broader implications for human well-being.

Methods

Data sources and study design

The UK Biobank is a population-based, large-scale prospective cohort study that recruited over 500,000 participants nationwide from March 2006 to December 2010. After signing the written informed consent forms, all participants completed baseline assessments at one of the 22 assessment centers, which were in England, Scotland, or Wales. These assessments included touchscreen questionnaires, verbal interviews, physical examinations, and the collection of biological samples. Starting in 2014, a subset of participants was invited to four assessment centers for cognitive function questionnaires, imaging scans, and more. The UK Biobank has obtained approval from the Northwest Multi-Center Research Ethics Committee (reference 06/MRE08/65). All research was performed in accordance with relevant guidelines/regulations and participants provided informed consent. The specific selection process flowchart is presented in Fig. 3.

Figure 3
figure 3

Flowchart illustrating criteria for selection of samples as well as the four analyses performed in the current study.

Natural sunlight exposure time measurements

The time spend in summer and winter was collected through touchscreen questionnaires during participants’ visits to the assessment center from 2006 to 2010. Responses of “Don't know” and “Prefer not to answer” are excluded, and “Less than 1 h” was redefined as 0 h. Participants who reported the time exceeding 16 h in summer and 8 h in winter were removed based on the effective daylight hours in the UK. The exposure variable was the annual average sunlight exposure time, which was calculated by taking the average outdoor time during both the summer and winter.

Brain structural markers measurements

The brain structural markers including the volumes of total brain, white matter, gray matter, and white matter hyperintensities had been collected since 2014. We performed Z-transformations on the brain structural markers based on the mean and standard deviation. T1-weighted data was acquired on a 3T Siemens Skyra scanner using a standard 32-channel head coil. The parameters for the magnetization-prepared rapid gradient-echo imaging sequence were set as follows: resolution: 1 × 1 × 1 mm, feld-of-view (FOV): 208 × 256 × 256 matrix, duration: 5 min. Subcortical structures were segmented using FIRST (version 5.0), an integrated registration and segmentation tool within FMRIB. Cortical tissue-type segmentation was completed using FAST, FMRIB’s automated segmentation tool. The white matter hyperintensities were calculated based on T1 and T2 FLAIR. The UK Biobank team processed and quality-controlled the estimates of white matter volume, providing them as image-derived phenotypes to approved researchers.

Covariates

Based on prior studies on sunlight and cognitive function, the following factors were identified as potential confounding variables: age, sex (male or female), Townsend Deprivation Index (TDI), years of education(10-years, 13-years, 15-years, 19-years, or 20-years)57, employment status (yes or no), physical activity(low, moderate, high), body mass index (BMI), smoking status (never, previous, or current), alcohol drinker status (never, previous, or current), skin color (very fair, fair, light olive, dark olive, brown, black), use of sun/UV protection (never/rarely, sometimes, most of the time, always, do not go out in sunshine), history of fractures in the past 5 years (yes or no), vitamin D supplementation (yes or no), sleep duration (7–8 h or not), history of hypertension (yes or no), history of stroke (yes or no), and history of diabetes (yes or no). The physical activity was accessed by using the International Physical Activity Questionnaire (IPAQ) and grouped based on derived MET (metabolic equivalent) scores following the guidelines of the IPAQ.

In addition, we further adjusted for PM2.558 and polygenic risk score for Alzheimer’s disease (AD-PRS) to control environmental pollution factor and genetic factor. The assessment centers were adjusted to control the impact of the brain scanning device. The detailed definitions of hypertension, stroke, coronary heart disease, and diabetes can be found in Supplementary Table S1.

Statistical analyses

Normally distributed variables were presented as mean (standard deviation), non-normally distributed variables as median (interquartile range), and categorical variables as numbers (percentages).

Participants were stratified into three groups based on the tertiles of sunlight exposure time (Tertile 1: ≤ 1.5 h, Tertile 2:1.5–3 h Tertile 3: > 3 h), with the group having the lowest sunlight exposure time (Tertile 1) considered as the reference group. General linear regression analysis was employed to compare the differences in brain structural markers among different sunlight exposure time groups. In stratified analysis, the subjects were divided into subgroups based on sex, age (< 60, ≥ 60), and disease history (hypertension, stroke, and diabetes). Within each subgroup, we analyzed the relationships between sunlight exposure time and brain structural markers. Additionally, we treated sunlight exposure time as a continuous variable and employed the “plotRCS” package for restricted cubic splines to examine the dose–response relationship between sunlight exposure time and brain structural markers. Given variations in daylight duration between seasons, we also separately examined the dose–response relationships in summer and winter.

In sensitivity analyses, we separately excluded participants who developed dementia in the first 5 years of follow-up and 10 years of follow-up, to control for potential reverse causality. Participants with a history of hypertension, diabetes, or stroke at baseline were excluded, and then repeating the primary analysis in a relatively healthy population. In addition, we conducted sensitivity analyses in white populations. The relationships between sunlight exposure time and different cognitive domains were also analyzed. (Supplementary Table S2)59.

The statistical analyses were conducted in R version 4.2.3, and statistical significance was set at the P-value < 0.05 for two-tailed tests.

Preprints

This manuscript has been submitted as preprint at MedRxiv: https://doi.org/10.1101/2023.10.12.23296944.