- 1School of Health Preservation and Rehabilitation, Chengdu University of Traditional Chinese Medicine, Chengdu, China
- 2Acupuncture Rehabilitation Center, Hospital of Chengdu University of Traditional Chinese Medicine, Chengdu, China
- 3School of Basic Medical Sciences, Chengdu University of Traditional Chinese Medicine, Chengdu, China
- 4Department of Pediatrics, The Third Affiliated Hospital of Zunyi Medical University, The First People's Hospital of Zunyi, Zunyi, China
Background: Sodium intake is undoubtedly essential for normal bodily function, but it is an important public health concern when intake exceeds dietary requirements. With salt intake exceeding recommended levels in almost all countries, high salt intake has become an important global health topic. This study aimed to be the first to combine epidemiological big data with animal behavioral experiments to systematically investigate the association between dietary sodium intake and cognitive function.
Methods: Based on NHANES data from 2011 to 2014, the association between dietary sodium intake and cognitive impairment was assessed using multivariate linear regression and five types of machine learning, including random forest and XGBoost, in 2367 participants aged 60–80 years. Cognitive function was further assessed by a 6-month high-salt dietary intervention in a C57BL/6 mouse model combined with behavioral tests such as the Morris water maze and Open Field Test (OFT).
Results: The results of the study revealed that the average daily sodium intake of the 2,367 middle-aged and older adults included reached 4,502 mg, with 91% exceeding the recommended standard. Dietary sodium intake was positively correlated with cognitive function scores (p < 0.001). The random forest model had the best predictive efficacy (AUC = 0.918), which was significantly better than that of the SVM and neural networks. Animal behavioral experiments revealed that high-salt dietary exposure significantly impaired neurobehavioral function in a dose-dependent manner, leading to spatial memory deficits and anxious behavior in mice.
Conclusion: There was a threshold-dependent association between dietary sodium intake and cognitive function, and the dose–response trend was consistent between human observational studies and animal studies. This study provides translational medical evidence for the public health strategy of “salt reduction for dementia prevention.
1 Introduction
Cognitive dysfunction, a clinical syndrome characterized by the progressive impairment of core cognitive domains such as memory, attention, and executive function, has become an important public health challenge in aging societies worldwide as a precursor stage of dementia (1, 2). Patients with cognitive impairment experience difficulties in basic tasks of daily living, leading to reduced quality of life and increased mortality, with a substantial economic and social burden (3). According to the latest data released by the WHO, the number of people with dementia is expected to exceed 150 million worldwide by 2050, and 30% of cases could be prevented through intervenable risk factors (4). In this context, the critical role of modifiable environmental factors, particularly dietary patterns, in modulating cognitive function should be explored (5).
Sodium is a nutrient that is essential for the maintenance of human health and physiology, and sodium ions are involved in central nervous system regulation through physiological processes such as the maintenance of cellular osmotic pressure and nerve conduction (6). However, excessive sodium intake, which is prevalent in modern diets, may produce neurotoxic effects (7). Animal experiments have confirmed that high-sodium diets may impair cognitive functions such as spatial memory by inducing cerebrovascular endothelial dysfunction, blood–brain barrier disruption, and neuroinflammatory responses, accelerating Aβ protein deposition and tau protein hyperphosphorylation (8–10). However, population studies present conflicting findings. In an analysis limited to high-quality studies, three-quarters reported that higher sodium intake was associated with impaired cognitive function (11–14). These inconsistent findings may be due to variations in study populations, small sample sizes, or other confounding factors. Because of these confounding factors, it is difficult for observational studies to determine the independent effect of salt intake on dementia risk.
The National Health and Nutrition Examination Survey (NHANES) is a research program designed to assess the health and nutritional status of adults and children in the United States. The survey combines interviews and physical examinations, focuses on a wide range of health and nutrition indicators, and provides data on a broad range of topics, including socioeconomics, diet, health status, demographics, and laboratory testing. This study investigated the relationship between dietary sodium intake and cognitive dysfunction using data from the NHANES from 2011 to 2014. The study assessed dietary sodium intake via a standardized 24-h dietary recall method combined with validated cognitive assessment tools such as the Digit Symbol Substitution Test (DSST) and the Coalition of Alzheimer’s Disease Registries (CERAD WL). It also included data on multidimensional covariates, such as demographic characteristics, and multivariate logistic regression analyses were performed to explore these associations, with adjustments for key covariates. Subgroup analyses were conducted to ensure robustness across populations. Previous NHANES-based studies have used linear regression analyses, which may overlook the complex nonlinear relationships between nutrient–health outcomes and interactions between variables. In addition, this study innovatively integrated machine learning models to explore more complex patterns and quantify the relative contribution of sodium intake in predictive models of cognitive disorders, thereby further understanding the potential metabolic contribution of these diseases. The results of this study will further shed light on the scientific implications of high-salt diet-induced cognitive impairment, rationalize salt intake in terms of its importance, and have important implications for the development of strategies to support cognitive health and prevent cognitive decline in older adults.
2 Materials and methods
2.1 Sample populations in the NHANES
The data used in this study were obtained from the 2011–2014 National Health and Nutrition Examination Survey (NHANES) dataset, available at https://www.cdc.gov/nchs/nhanes/. The National Health Survey (NHANES) is conducted by the Centers for Disease Control and Prevention (CDC) and the National Center for Health Statistics (NCHS). It was designed to analyze the health and nutritional status of a nationally representative, noninstitutionalized sample of U.S. citizens. Participants aged 60–80 years with available information on dietary sodium intake and who had undergone a complete cognitive function test were recruited for this study. After excluding subjects with missing information on covariates, a final cohort of 2,367 individuals was included in this study. The statistical methods used in this study were cross-sectional and followed the STROBE guidelines. Table 1 summarizes the basic characteristics of the participants in the dietary sodium intake quartiles. A specific flowchart is shown in Figure 1. The NCHS Research Ethics Review Board approved the investigation protocol, and all participants provided written informed consent.
2.2 Variables
2.2.1 Dietary sodium intake
Dietary sodium was assessed by conducting either a 24-h dietary recall interview at a mobile examination center or by telephone. For the 2011–2014 surveys, two 24-h dietary recall interviews were conducted: the first in person at a mobile exam center and the second by telephone 3–10 days later. For both cycles, dietary sodium averages calculated from the two interviews were used in the analyses. The 24-h recall data were collected via the U.S. Department of Agriculture’s Dietary Data Collection Instrument, which uses the Dietary Research Food and Nutritional Database to convert a typical portion of food into grams of total nutrient intake. The dietary sodium data from the seven NHANES were post-adjusted for the amount of salt used when preparing food at home based on answers to the following question: ‘How often is regular or seasoned salt added when cooking or preparing food at home?’ Is it never, rarely, occasionally, or very often?” If “rarely” or “never,” we removed all optional salt; if “occasionally,” we removed half of the optional salt (15). The dietary sodium density was calculated as total sodium (mg) divided by total dietary energy (kcal).
To address recall bias and reporting errors in NHANES 24-h dietary recalls, the survey implemented the validated Automated Multiple-Pass Method (AMPM) for both in-person and telephone interviews. This protocol ensured proportional coverage across all days of the week and seasons to minimize random variation. Biomarker verification, including doubly labeled water measurements and 24-h urinary excretion analyses, was employed to validate intake data. Statistical models incorporating external datasets corrected systematic underestimation. Additionally, rigorous interviewer training, computerized data collection tools, and multiple non-consecutive recall days with measurement error adjustment substantially enhanced the accuracy of population-level dietary estimates (16).
2.2.2 Cognitive dysfunction
The cognitive function assessment consists of three different tests. First, the digit symbol substitution test (DSST) assesses sustained attention, psychomotor speed, and working memory. The participants were required to correctly match a series of symbols with the corresponding numbers within 2 min. According to the DSST scale, participants receive a score based on the number of symbols correctly matched, with a maximum score of 133, with higher scores indicating better cognitive functioning (17). Second, the Alzheimer’s Disease Registry Consortium (CERAD WL) assesses an individual’s ability to learn new language material. The participants were required to recall a set of 10 unrelated words over three learning attempts, and a delayed recall test was administered approximately 10 min later. A total score of 40 reflects learning and memory skills (18). Finally, the animal fluency test assesses language category fluency and executive function. The participants were asked to list the names of as many animals as possible in 1 min to assess semantic memory and processing speed (19).
2.2.3 Covariate information
All participants provided information via questionnaires about age, sex, race (categorized as Mexican American, other Hispanic, non-Hispanic white, non-Hispanic black, or other races), marital status (categorized as unmarried, married, or celibate), education (categorized as less than high school, high school, or above), smoking status (categorized as a smoker, ex-smoker, or never-smoker), hypertension, and body mass index (BMI), which were calculated as weight (kg)/height (m2).
2.3 Machine learning
To further elucidate the relationship between dietary sodium intake and cognitive impairment, we introduced machine learning to verify this association. The primary process was carried out using the sklearn, PyTorch, and NumPy libraries in Python. Four different machine learning models were used in this study: XGBoost (extreme gradient boosting), random forest, LightGBM (light gradient boosting), SVM (support vector machine), and a fully connected deep neural network. To evaluate the results of these three classification models, we compare the area under the curve (AUC), accuracy, and F1 score. By default, the best model is selected based on the highest AUC.
2.4 Animal experiments
2.4.1 Laboratory animals
Eighteen healthy C57BL/6 male mice, aged 3 months and weighing 22 ± 5 g, were born at the same time and bred in the same batch under the same conditions. This project was conducted at the Animal Experiment Center of Chengdu University of Traditional Chinese Medicine. The room temperature was controlled at 18–22 °C, the relative humidity was maintained at 60–70%, and the light exposure period was 12 h:12 h (light:dark).
2.4.2 Animal model establishment and grouping
After 1 week of adaptive feeding, 18 healthy C57BL/6 rats (males, 6–8 weeks old) were weighed, numbered, and grouped. Six were selected as a normal control group (ND) using the random number method. They were given a normal diet and free drinking water for 6 months. Six were in the high-salt diet group 1 (HSD1), who were given a normal diet for 3 months, followed by a high-salt diet (8% NaCl) for 3 months, and Ad libitum drinking water. Six were in a high-salt diet group 2 (HSD2); they were given a high-salt diet (8% NaCl) for 6 months and drank free water.
The high-salt formulation contained (w/w): 18% moisture, 50% crude protein, 9% crude fat, 4% crude fiber, 6% ash, 3% calcium, 2% total phosphorus, and 8% NaCl.
2.4.3 Behavioral experiments
2.4.3.1 Morris water maze experiment
The Morris water maze test was used to test the learning and memory ability of the mice after 6 months of a high-salt diet.
A circular pool with a diameter of 1.2 m and a depth of 0.4 m was fabricated in the water maze apparatus. The temperature inside the pool was maintained at 25 ± 1 °C throughout the study period. The pool was divided into four equal quadrants (I, II, III, and IV), and in quadrant I, a hidden circular platform with a diameter of 8 cm was located 1 cm below the surface of the water. A video camera was mounted above the center of the labyrinth to record the movements of the mice (n = 6/group). These mice were trained for 1 min three times per day for four consecutive days. During each session, the mice were placed in water and allowed to swim freely for 60 s. If a mouse succeeded in finding and climbing up to the hidden platform, it was given a 30-s rest period and then removed from the pool. If a mouse did not find the platform within the designated time, it was gently guided to it and remained there for 30 s. On day 5, a spatial memory detection experiment was conducted. In this experiment, the platform was removed, and the mouse was placed in the quadrant opposite quadrant I. The mouse was given 60 s to swim. The mice were given 60 s to swim, and the number of times they crossed the platform within 60 s, the duration and distance of the swimming in the quadrant where the platform was located, and the average swimming speed were analyzed to assess their spatial memory ability. All the data were recorded via a MORRIS water maze video tracking system (Taimeng, Chengdu, Model: WMT-100S).
2.4.3.2 Absent field experiment
The open field test (OFT) is a classical behavioral test that assesses the anxiety level of experimental animals. The test measures the ability of a mouse to move independently in an open environment and the time spent in the center of the open field. The mouse OFT device is 30 cm high, 50 cm long, and broad at the bottom, with a white inner wall. It is artificially divided into 16 compartments, with four compartments in the inner area and 12 compartments in the outer. The experimental site was quiet to avoid sound stimulation of the mice, which affected the accuracy of the experimental results. The mice were placed at the center of the bottom of the box while the camera and timing were performed. The camera’s field of view covered the entire open field area and recorded the mice’s voluntary movement and the number of times they traveled between the squares. The camera was stopped after a specific period of observation, which lasted 5 min, and the inside and bottom of the box were wiped with 75% alcohol to prevent the residual feces and odor of the animal from affecting the results of the next test animal. The procedure was repeated after the mice were replaced until all the mice had completed the test.
2.5 Statistical analysis
We used Python 3.10 as the data analysis tool, adhering to the NHANES analysis guidelines. Parameters such as sample weights, stratification, and primary sampling units were applied to the complex survey design to ensure that the data accurately reflected the U.S. noninstitutionalized population. For continuous variables, the overall characteristics of the studies are expressed as the means (SE) or percentages. To detect potential associations between dietary sodium intake and cognitive dysfunction, we used weighted linear regression analyses with calculated β values and 95% confidence intervals (CIs). Next, we sequentially modeled the three included covariates with additional adjustments. Multiple linear regression was used to analyze the cognitive function assessment scores. Three different models were fitted: Model 1, without covariates, was adjusted; Model 2 included sex, age, race, and marital status. Model 3 was adjusted for education, BMI, hypertension, and variables from Model 2.
The mice were randomized via the RANDBETWEEN function in Microsoft Excel to generate random numbers for the allocation of the mice. All experimental data in this study are expressed as the mean ± standard deviation (SD). Data analysis was performed via SPSS 25.0 and GraphPad Prism 9.5 statistical software. Before statistical analysis, the data in each group were first tested for normality (Shapiro–Wilk test) and chi-square test (Levene test). One-way ANOVA was used for data that were normally distributed and passed the test for homogeneity of variance (e.g., Levene’s test). If the ANOVA results were statistically significant, multiple comparisons were further performed using the Least Significant Difference (LSD) method. Statistical significance was set at *p < 0.05, **p < 0.01, and ***p < 0.001.
3 Results
3.1 General characteristics of NHANES
The age range of the participants in the study was 60–80 years, with a total of 2,367, of which 1,182 were males and 1,243 were females. Table 1 summarizes the basic characteristics of the study population. The mean daily dietary sodium intake of all participants was 4,502 mg, which was higher in 91% of the participants (94% of females and 88% of males) than the general recommendation of 2,300 mg/day. The dietary sodium intake quartiles were significantly different (p < 0.05) for the variables of age, sex, race, marital status, education, smoking, hypertension, and cognitive function test scores. However, no statistically significant differences were observed for BMI (p > 0.05).
3.2 Relationship between dietary sodium intake and cognitive dysfunction
Weighted linear regression analysis was used to explore the association between dietary sodium intake and cognitive dysfunction. Table 2 shows the significance (p-value) of the associations of different cognitive function tests with dietary sodium intake under different statistical models. The DSST showed a highly significant association in all the models (p < 0.001), suggesting that the potential effect of sodium intake on processing speed is stable and may be free from confounding factors. The significance of the animal fluency test remained. However, it decreased slightly with model adjustment (p rose from <0.001 to 0.005), suggesting that the association between sodium intake and verbal fluency may exist independently.
However, the results of CERAD WL indicated that immediate recall (total word recall) was significant in the unadjusted and partially adjusted models but lost significance after full adjustment (p = 0.233); delayed recall was only transiently significant in the partially adjusted model (p = 0.041) and was not significant in the other models. These findings suggest that the association between sodium intake and memory function may be partially mediated by confounding variables such as education, BMI, and chronic disease rather than a direct effect. Taken together, the effects of dietary sodium intake on information processing speed are strongly robust, whereas the effects on memory function can be mediated by factors such as education level and chronic disease, and the reason for this heterogeneity suggests that sodium ions may act on specific cognitive domains through different physiological pathways.
In this study, we excluded samples outside the most extreme 2.5% ~ 97.5% quantile, performed a sensitivity analysis (20), and found that the direction and significance of the main covariates were highly consistent with those of the main model, indicating that the results were not sensitive to extreme sodium intake values and that the conclusions were robust. The results are presented in Supplementary Table 1.
3.3 Machine learning results
We deployed various machine learning models, including XGBoost (Extreme Gradient Boosting), Random Forest, LightGBM (Light Gradient Boosting Machine), SVM (Support Vector Machine), and Fully Connected Deep Neural Network. The patient’s degree of cognitive dysfunction was dichotomized and predicted based on the patient’s DSST score. Based on the performance comparison of the machine learning models in Table 3, the random forest has an AUC of 0.92, which is the best among the five machine learning algorithms, followed by XGBoost and LightGBM, with AUCs of 0.89 and 0.85, respectively; these scores are better than those of the SVM and the neural network. The higher AUC values indicate that random forest has a stronger integrative ability in distinguishing between positive and negative class samples, possibly because of its robustness to high-dimensional data and its ability to capture feature interactions automatically. In contrast, the SVM has the weakest performance in terms of both metrics, which may be related to its lack of adaptability to high-dimensional data or its high tuning complexity. Neural networks perform moderately well, implying that, although they have some potential in the current task, they may be limited by data size or structural characteristics. The ROC curves in Figure 1 show the same results.
Figure 2 shows that sodium, BMI, and age are the key variables affecting the model predictions in the random forest analysis, and are significantly more important than other features like sex, marital status, or hypertension. These results suggest that health-related factors in the prediction task, such as sodium level, BMI, and age, may have greater explanatory power for cognitive dysfunction. From the perspective of model selection, the excellent performance of the random forest model highlights its robustness in dealing with complex feature relationships and nonlinear data, particularly with an AUC value of more than 0.9, which suggests that it can differentiate between positive and negative class samples effectively. In the future, we can further analyze the contribution of its key features (see Figure 2) to the prediction or attempt model fusion to improve the performance. For SVMs and neural networks, it is necessary to optimize hyperparameters or introduce feature engineering in combination with specific data characteristics to improve their generalizability (see Figure 3).
3.4 Effects of HSD exposure on spatial memory in mice
The MWM test can reflect the spatial learning memory ability of mice, and the experiment was conducted in two stages: an orientation navigation experiment and a spatial exploration experiment.
3.4.1 Directional navigation
Figure 4 depicts the movement trajectories of the mice in the orientation sailing experiment during the 6-day orientation sailing experiment. The results revealed that there was a difference in the total distance traveled by the HSD 1 group compared with the NCD group (p < 0.05), and there was a significant difference in the HSD 2 group compared with the NCD group (p < 0.01) (Figure 5A). No difference (p < 0.01) was observed in the latency of the mice in the HSD 1 group compared with that of the mice in the NCD group. However, there was a significant difference (p < 0.01) in the latency of the HSD 2 group compared with that of the HSD group in the navigation localization experiment (Figure 5B). In addition, there was a significant difference (p < 0.01) in the dwell time in the target quadrant in the navigation experiment in both the HSD1/2 groups of mice and the NCD group of mice (Figure 5C).

Figure 4. Representative inset showing trajectories in the mouse localization navigation experiment.

Figure 5. Effects of HSD exposure on spatially oriented navigation experiments in mice. (A) Compared with the NSD group, the HSD group was more effective in the whole trial in the total distance traveled during the test; (B) latency; (C) Dwell time in the target quadrant.
3.4.2 Space exploration experiments
The results of the spatial exploration experiment revealed no difference in the total distance traveled between the HSD 1 group and the NCD group, whereas a difference was observed between the HSD 2 group and the NCD group (p < 0.05) (Figure 6A). There was no difference in the latency of the HSD 1 group compared with the NCD group, and there was a significant difference in the latency of the HSD 2 group (p < 0.01) (Figure 6B). There was no difference in the target quadrant dwell time in the space exploration experiment for the HSD 1 group compared with the NCD group, and there was a highly significant difference in the target quadrant dwell time for the HSD 2 group compared with the NCD group (p < 0.0001) (Figure 6C). In addition, there was a difference in the number of escape platform entries in the space exploration experiment for the HSD1 group (p < 0.05) and a significant difference in the number of escape platform entries in the space exploration experiment for the HSD2 group (p < 0.001) compared with the NCD group (Figure 6D).

Figure 6. Effects of HSD exposure on spatial exploration in mice. (A) Total distance traveled by the HSD group throughout the trial compared with the NSD group; (B) latency; (C) dwell time in the target quadrant; (D) number of escape platform entries.
3.5 Effects of HSD exposure on anxiety levels in mice
In the open-field experiment, the total distance the mice traveled in the open field and the time they spent in the center reflected the ability of the mice to move independently and their anxiety level in the unfamiliar environment. The results revealed that there was no significant difference in the total distance traveled in the open field in the HSD 1 group compared with that in the NCD group, and the total distance traveled in the open field in the HSD 2 group was significantly lower (p < 0.01) (Figure 7A). The time spent in the center of the open field was lower (p < 0.01) in the HSD 2 group than in the NCD group (Figure 7B). In addition, the number of times that the HSD2 group crossed the center of the open field decreased (p < 0.05) compared with that of the NCD group (Figure 7C). This finding indicated a greater level of anxiety in the HSD group than in the NCD group.

Figure 7. Effects of HSD exposure on mouse absenteeism. (A) Total distance traveled by the HSD group throughout the test period compared with the NSD group; (B) time of movement in the central region; (C) number of traversals in the central region.
4 Discussion
Cognitive dysfunction refers to a mental disorder in which an individual’s cognitive function is impaired, resulting in significant effects on daily life, social interaction, and work ability. It manifests in various forms, including memory loss, slow thinking, lack of concentration, and loss of judgment, which seriously affect the quality of life and social participation of elderly individuals. With the intensification of aging, the prevalence of mild cognitive impairment (MCI) in China is increasing annually (21). Surveys have shown that China has the world’s largest population of dementia patients (22) and that MCI can progress to different degrees in elderly individuals (23, 24). Some studies predict that the number of people with dementia in China will reach 23.3 million by 2030 and that the total cost of dementia is expected to reach US$114.2 billion by 2030 (25), placing a heavy economic and social burden on the public health system.
A high-salt diet (HSD) refers to an eating pattern characterized by sodium intake that exceeds physiological needs. According to the World Health Organization, the daily intake of sodium chloride per person should not exceed 5 g, and a value exceeding this value is defined as a high-salt diet. High-salt diets are among the most significant contributors to chronic noncommunicable diseases, accounting for more than half of diet-related deaths (26). Owing to the popularity of processed foods and fast food, the dietary intake of salt in developed and developing countries is generally high, with an average daily intake of 10–15 gNaC1 (27), which far exceeds the WHO recommended intake. Excessive salt intake can interfere with the tricarboxylic acid cycle (28), lead to insulin resistance (29), induce oxidative stress (30), etc., so high-salt diets have also been confirmed to be associated with diseases such as hypertension, cardiovascular disease, metabolic syndrome, kidney stones, osteoporosis, and cancer (13). The traditional view is that the harmful effects of high-salt diets on the brain are attributed mainly to high blood pressure, but a series of recent studies have clearly pointed out that high-salt diets are independent risk factors for cognitive impairment. A systematic analysis of 15 items related to high-salt diets and cognitive impairment revealed that high-salt diets were associated with impaired cognitive function and not with hypertension; a low-sodium diet was associated with improved cognitive performance at 6 months (31). Another epidemiological study revealed that a high-salt diet was associated with stroke, dementia, and white matter damage and was not associated with hypertension (32). Although there has been some concern about the health effects of high-salt diets, the specific effects and mechanisms of high-salt diets on brain cognition have rarely been explored, and the number of relevant studies is scarce and insufficient. With the increasing aging of the global population, the incidence of cognitive decline and related diseases, such as neurodegenerative diseases, such as Alzheimer’s disease, is increasing. In the dual context of China’s high-salt diet and the intensification of population aging, exploring the impact of a high-salt diet on brain cognitive function is highly important for the prevention and management of cognitive decline in elderly individuals. Therefore, this study uses the NHANES database to investigate the effect of salt intake on cognitive dysfunction and intends to confirm that a high-salt diet affects cognitive dysfunction.
This study included 2,367 middle-aged and older adults aged 60–80 years, and 91% of the participants had a daily sodium intake significantly higher than the recommended value of 2,300 mg/day. The distribution of sodium intake varied significantly across sociodemographic characteristics such as sex, race, education, and marital status, but BMI did not significantly differ. This suggests that the problem of high sodium intake is prevalent and closely related to the socioeconomic and cultural background of the population. However, body weight status may not be the primary driver of differences in sodium intake. Dietary sodium intake was found to be significantly and positively correlated with DSST scores and animal performance on the fluency test by weighted linear regression analysis, suggesting that high-sodium diets may specifically impair information processing speed and executive function through mechanisms such as affecting the efficiency of nerve conduction or inducing neuroinflammation. Notably, the correlation of the CERAD test was attenuated after fully adjusting the model, suggesting that it may be indirectly mediated through vascular factors. Machine learning analyses further validated these findings, with a random forest model identifying sodium intake as one of the three key predictors of cognitive impairment after age and BMI.
In the binary classification task of predicting cognitive dysfunction, this study compares the performance of five machine learning models, among which the random forest model (AUC = 0.92, accuracy = 0.83, F1 score = 0.83) performs the best, and its high robustness is attributed to the automatic capture of high-dimensional data feature interactions and the ability to resist overfitting. XGBoost and LightGBM are the second best, which reflects that the gradient XGBoost and LightGBM are the following most robust algorithms, reflecting the potential of gradient boosting algorithms in nonlinear relationship modeling, whereas the SVM and fully connected neural networks are relatively weak, which may be limited by high-dimensional data adaptability or an unoptimized network architecture. The feature importance analysis of random forests further revealed that sodium intake, BMI, and age were the core variables predicting cognitive impairment and were significantly more important than other features, such as sex and marital status. The results suggest that the random forest model can be used as an efficient clinical screening tool for early risk stratification in combination with easily accessible sodium intake and metabolism metrics. Moreover, the prominent role of sodium intake suggests its importance as an independent risk factor, which provides data support for subsequent mechanistic studies.
Animal behavioral experiments revealed that high-salt dietary exposure significantly impaired neurobehavioral function in mice in a dose-dependent manner. In the orientation navigation experiment, the total distance traveled by the HSD2 group significantly increased, the latency period increased, and the residence time in the target quadrant decreased; however, only the total distance traveled differed in the HSD1 group, suggesting that the spatial learning efficiency was weakened by high sodium intake. The spatial exploration experiment further revealed that the number of escape platform entries and the target quadrant residence time in the HSD2 group were extremely significantly lower than those in the NSD group, whereas only the number of escape distances was reduced in the HSD1 group, suggesting that the impairment of memory retention by high sodium intake was aggravated with increasing doses. In the open field experiment, the total distance moved, center dwell time, and number of traversals were significantly decreased in the HSD2 group, suggesting increased anxiety behavior and limited autonomy. The number of escapes was also decreased in the HSD1 group. The spatial memory deficits and anxiety behaviors together pointed to impaired hippocampal and prefrontal functions, suggesting that high salt may trigger multidimensional neurological dysfunction through oxidative stress, neuroinflammation, or blood–brain barrier disruption. Thus, animal experiments confirmed that a high-sodium diet directly impaired spatial memory and induced anxiety in a dose-dependent manner, providing key experimental evidence for sodium-cognition causality in population studies.
Based on the association between a high-salt diet and cognitive dysfunction and dose-dependent impairment revealed in this study, future studies should focus on deeply exploring the molecular mechanism of direct nerve damage caused by high salt intake and establish a cross-species dose–effect model to determine the key intervention window. Moreover, we will develop an accurate prediction tool that integrates sodium intake data and validates the long-term benefits of salt reduction strategies in delaying cognitive decline in a large population, ultimately driving the clinical translation of targeted interventions and public health policies. Finally, understanding how to effectively prevent and control cognitive dysfunction caused by high salt intake through drug intervention is an important area of research (33–35).
5 Conclusion
This study suggested that a high-salt diet is an important indicator of induced cognitive dysfunction in older adults. NHANES-based analyses highlighted a significant association between dietary sodium intake and cognitive function, emphasizing its potential role in identifying high-risk individuals. In addition, machine learning models demonstrated strong predictive performance, suggesting potential clinical applications for assessing depression risk. Experimental animal behavioral studies have also validated the causal mechanisms of these associations. Thus, the present study supports, through multidimensional evidence, that high sodium intake directly impairs cognitive function and emphasizes its importance as a target for public health intervention.
Data availability statement
The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding authors.
Ethics statement
Ethical approval and consent were not required as this study was based on publicly available deidentified data (https://wwwn.cdc.gov/nchs/nhanes/search/default.aspx). The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study. These protocols received approval from the Institutional Ethics Committee of the Chengdu University of Traditional Chinese Medicine (Protocol number 2018–21). The study was conducted in accordance with the local legislation and institutional requirements. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.
Author contributions
SW: Conceptualization, Investigation, Methodology, Validation, Writing – original draft. KD: Writing – review & editing. HZ: Writing – review & editing. YW: Writing – review & editing. PG: Writing – review & editing. HJ: Writing – review & editing. LQ: Writing – review & editing.
Funding
The author(s) declare that financial support was received for the research and/or publication of this article. This work was supported by the National Natural Science Foundation of China (82205240), Special Project for Young Talents of Chengdu University of Traditional Chinese Medicine (QJRC2024032), and Guizhou Administration of Traditional Chinese Medicine (QZYY-2023-030).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The authors declare that no Gen AI was used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnut.2025.1626651/full#supplementary-material
References
1. Burke, D, Hickie, I, Breakspear, M, and Götz, J. Possibilities for the prevention and treatment of cognitive impairment and dementia[J]. Br J Psychiatry. (2007) 190:371–372. doi: 10.1192/bjp.bp.106.033407
2. Association, Z. Alzheimer’s disease facts and figures [J]. Alzheimer’s & Dementia. (2013) 9:208–245. doi: 10.1016/j.jalz.2013.02.003
3. Naheed, A, Hakim, M, Islam, MS, Islam, MB, Tang, EYH, Prodhan, AA, et al. Prevalence of dementia among older age people and variation across different sociodemographic characteristics: a cross-sectional study in Bangladesh. Lancet Reg Health Southeast Asia. (2023) 17:100257. doi: 10.1016/j.lansea.2023.100257
4. Bai, W, Chen, P, Cai, H, Zhang, Q, Su, Z, Cheung, T, et al. Worldwide prevalence of mild cognitive impairment among community dwellers aged 50 years and older: a meta-analysis and systematic review of epidemiology studies. Age Ageing. (2022) 51:afac173. doi: 10.1093/ageing/afac173
5. Kubota, H, Kunisawa, K, Wulaer, B, Hasegawa, M, Kurahashi, H, Sakata, T, et al. High salt induces cognitive impairment via the interaction of the angiotensin II-AT(1) and prostaglandin E2-EP(1) systems. Br J Pharmacol. (2023) 180:2393–411. doi: 10.1111/bph.16093
6. Kirischuk, S, Parpura, V, and Verkhratsky, A. Sodium dynamics: another key to astroglial excitability? Trends Neurosci. (2012) 35:497–506. doi: 10.1016/j.tins.2012.04.003
7. Chen, M, Xu, X, Liu, Y, Yao, Y, Zhang, P, Liu, J, et al. Association of eating habits with health perception and diseases among Chinese physicians: a cross-sectional study. Front Nutr. (2023) 10:1226672. doi: 10.3389/fnut.2023.1226672
8. Kendig, MD, and Morris, MJ. Reviewing the effects of dietary salt on cognition: mechanisms and future directions. Asia Pac J Clin Nutr. (2019) 28:6–14. doi: 10.6133/apjcn.201903_28(1).0002
9. Chen, HC, Cao, JX, Zhang, YS, Ma, YZ, Zhang, L, Su, XM, et al. High salt diet exacerbates cognitive deficits and neurovascular abnormalities in APP/PS1 mice and induces AD-like changes in wild-type mice. J Nutr Biochem. (2024) 125:109570. doi: 10.1016/j.jnutbio.2024.109570
10. Bailey, EL, McBride, MW, McClure, JD, Beattie, W, Graham, D, Dominiczak, AF, et al. Effects of dietary salt on gene and protein expression in brain tissue of a model of sporadic small vessel disease. Clin Sci (Lond). (2018) 132:1315–28. doi: 10.1042/CS20171572
11. Blumenthal, JA, Smith, PJ, Mabe, S, Hinderliter, A, Lin, PH, Liao, L, et al. Lifestyle and neurocognition in older adults with cognitive impairments: a randomized trial. Neurology. (2019) 92:e212–23. doi: 10.1212/WNL.0000000000006784
12. Haring, B, Wu, C, Coker, LH, Seth, A, Snetselaar, L, Manson, JAE, et al. Hypertension, dietary sodium, and cognitive decline: results from the Women's Health Initiative memory study. Am J Hypertens. (2016) 29:202–16. doi: 10.1093/ajh/hpv081
13. Mohan, D, Yap, KH, Reidpath, D, Soh, YC, McGrattan, A, Stephan, BCM, et al. Link between dietary sodium intake, cognitive function, and dementia risk in middle-aged and older adults: a systematic review. J Alzheimer's Dis. (2020) 76:1347–73. doi: 10.3233/JAD-191339
14. Shi, K, Yu, Y, Li, Z, Hou, M, and Li, X. Causal relationship between dietary salt intake and dementia risk: Mendelian randomization study. Genes Nutr. (2024) 19:6. doi: 10.1186/s12263-024-00741-w
15. Sebastian, R. Discontinuation of data processing step: salt adjustment on designated foods likely to be home prepared [J]. [2025-08-28].
16. Ahluwalia, N, Dwyer, J, Terry, A, Moshfegh, A, and Johnson, C. Update on NHANES dietary data: focus on collection, release, analytical considerations, and uses to inform public policy. Adv Nutr. (2016) 7:121–34. doi: 10.3945/an.115.009258
17. Loprinzi, PD, Crush, E, and Joyner, C. Cardiovascular disease biomarkers on cognitive function in older adults: joint effects of cardiovascular disease biomarkers and cognitive function on mortality risk. Prev Med. (2017) 94:27–30. doi: 10.1016/j.ypmed.2016.11.011
18. Fillenbaum, GG, and Mohs, R. CERAD (consortium to establish a registry for Alzheimer's disease) neuropsychology assessment battery: 35 years and counting. J Alzheimer's Dis. (2023) 93:1–27. doi: 10.3233/JAD-230026
19. Clark, LJ, Gatz, M, Zheng, L, Chen, YL, McCleary, C, and Mack, WJ. Longitudinal verbal fluency in normal aging, preclinical, and prevalent Alzheimer's disease. Am J Alzheimers Dis Other Dement. (2009) 24:461–8. doi: 10.1177/1533317509345154
20. Hernández-Díaz, S, Bateman, BT, Palmsten, K, Schneeweiss, S, and Huybrechts, KF. Using nationally representative survey data for external adjustment of unmeasured confounders: an example using the NHANES data. Pharmacoepidemiol Drug Saf. (2020) 29:1151–8. doi: 10.1002/pds.4946
21. Zhang, N, Chai, S, and Wang, J. Assessing and projecting the global impacts of Alzheimer's disease. Front Public Health. (2024) 12:1453489. doi: 10.3389/fpubh.2024.1453489
22. Jia, L, Du, Y, Chu, L, Zhang, Z, Li, F, Lyu, D, et al. Prevalence, risk factors, and management of dementia and mild cognitive impairment in adults aged 60 years or older in China: a cross-sectional study. Lancet Public Health. (2020) 5:e661–71. doi: 10.1016/S2468-2667(20)30185-7
23. Brodaty, H, Connors, MH, Ames, D, and Woodward, Mon behalf of the PRIME study group. Progression from mild cognitive impairment to dementia: a 3-year longitudinal study. Aust N Z J Psychiatry. (2014) 48:1137–42. doi: 10.1177/0004867414536237
24. Vos, SJ, Vos, SJB, Verhey, F, Frölich, L, Kornhuber, J, Wiltfang, J, et al. Prevalence and prognosis of Alzheimer's disease at the mild cognitive impairment stage. Brain. (2015) 138:1327–38. doi: 10.1093/brain/awv029
25. Xu, J, Wang, J, Wimo, A, Fratiglioni, L, and Qiu, C. The economic burden of dementia in China, 1990-2030: implications for health policy. Bull World Health Organ. (2017) 95:18–26. doi: 10.2471/BLT.15.167726
26. Hunter, RW, Dhaun, N, and Bailey, MA. The impact of excessive salt intake on human health. Nat Rev Nephrol. (2022) 18:321–35. doi: 10.1038/s41581-021-00533-0
27. Yuan, M, Wang, Y, Wen, J, Jing, F, Zou, Q, Pu, Y, et al. Dietary salt disrupts tricarboxylic acid cycle and induces tau hyperphosphorylation and synapse dysfunction during aging. Aging Dis. (2022) 13:1532–45. doi: 10.14336/AD.2022.0220
28. Pearson, JT, Thambyah, HP, Waddingham, MT, Inagaki, T, Sukumaran, V, Ngo, JP, et al. Β-Blockade prevents coronary macro- and microvascular dysfunction induced by a high salt diet and insulin resistance in the Goto-Kakizaki rat. Clin Sci (Lond). (2021) 135:327–46. doi: 10.1042/CS20201441
29. Yang, P, Deng, F, Yuan, M, Chen, M, Zeng, L, Ouyang, Y, et al. Metabolomics reveals the defense mechanism of histidine supplementation on high-salt exposure-induced hepatic oxidative stress. Life Sci. (2023) 314:121355. doi: 10.1016/j.lfs.2022.121355
30. Jobin, K, Stumpf, NE, Schwab, S, Eichler, M, Neubert, P, Rauh, M, et al. A high-salt diet compromises antibacterial neutrophil responses through hormonal perturbation. Sci Transl Med. (2020) 12:12 (536). doi: 10.1126/scitranslmed.aay3850
31. Makin, SDJ, Mubki, GF, Doubal, FN, Shuler, K, Staals, J, Dennis, MS, et al. Small vessel disease and dietary salt intake: cross-sectional study and systematic review. J Stroke Cerebrovasc Dis. (2017) 26:3020–8. doi: 10.1016/j.jstrokecerebrovasdis.2017.08.004
32. Pekkurnaz, G, and Wang, X. Mitochondrial heterogeneity and homeostasis through the lens of a neuron. Nat Metab. (2022) 4:802–12. doi: 10.1038/s42255-022-00594-w
33. Wu, X, Liu, L, Zheng, Q, Hao, H, Ye, H, Li, P, et al. Protocatechuic aldehyde protects cardiomycoytes against ischemic injury via regulation of nuclear pyruvate kinase M2. Acta Pharm Sin B. (2021) 11:3553–66. doi: 10.1016/j.apsb.2021.03.021
34. Wu, X, Liu, L, Zheng, Q, Ye, H, Yang, H, Hao, H, et al. Dihydrotanshinone I preconditions myocardium against ischemic injury via PKM2 glutathionylation sensitive to ROS. Acta Pharm Sin B. (2023) 13:113–27. doi: 10.1016/j.apsb.2022.07.006
Keywords: sodium intake, cognitive function, NHANES, machine learning, animal behavior
Citation: Wang S, Deng K, Zhao H, Wang Y, Guo P, Jin H and Qi L (2025) Analysis of the association between dietary sodium intake and cognitive function: a NHANES-based machine learning study and animal experimental validation. Front. Nutr. 12:1626651. doi: 10.3389/fnut.2025.1626651
Edited by:
Athanase D. Protogerou, National and Kapodistrian University of Athens, GreeceReviewed by:
Xunxun Wu, Huaqiao University, ChinaTri Siswati, Health Polytechnic Ministry of Health, Indonesia
Copyright © 2025 Wang, Deng, Zhao, Wang, Guo, Jin and Qi. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Hongjiao Jin, bTE4Njg1MjIyODgwXzFAMTYzLmNvbQ==; Luming Qi, bG1xaV90Y21AMTI2LmNvbQ==
†These authors share first authorship