Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

Why this paper is included

Supporting source evidence:

Vitamin D deficiency | 1,212 (10.3) | 3,512 (8.7) | 0.054 | 1,199 (10.2) | 1,153 (9.8) | 0.013

Source: Results table. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Cohort study.

Cohort study

Examines exposures and outcomes over time within a defined group.

Meta-analysis unclear · Blinding unclear / not reported · Human research reported

How this paper was classified

Automatic source-based classification; awaiting editorial verification. This is not a quality score.

U-shaped pattern in the association between serum magnesium levels and long-term dementia risk after traumatic brain injury: a retrospective cohort study

Source: Article title.

The study population included patients aged ≥50 years with a documented history of intracranial injury (ICD-10-CM code: S06) between January 1, 2010, and December 31, 2023.

Source: Methods.

View supporting evidence in the original paper

What the study types mean
Systematic review
Uses explicit methods to identify, assess and summarise research on a defined question.
Scoping review
Maps the extent and characteristics of research on a topic.
Narrative review
Discusses existing research; systematic-review methods have not been established by this classification.
Review / evidence synthesis
Reviews existing research; the exact review methods need further assessment.
Randomised controlled trial
Assigns participants or groups to comparison interventions by chance.
Non-randomised intervention study
Examines an intervention without random allocation.
Cohort study
Examines exposures and outcomes over time within a defined group.
Case-control study
Compares people with an outcome against people without it, examining exposures.
Cross-sectional study
Examines a population at a particular point in time.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Case report
Describes an individual case.
Case series
Describes a group of individual cases.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Laboratory study
Investigates biological processes in a laboratory setting.
Qualitative study
Examines experiences or meanings using qualitative methods.
Genetic instrumental-variable study
Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
Study protocol
Describes planned methods and is not evidence that the planned study has reported results.
Multiple reported designs
More than one design is explicitly reported; examine the supporting methods.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.

Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.

Full studies

U-shaped pattern in the association between serum magnesium levels and long-term dementia risk after traumatic brain injury: a retrospective cohort study

Cohort study · Frontiers in Nutrition · 2026

Original publication title

U-shaped pattern in the association between serum magnesium levels and long-term dementia risk after traumatic brain injury: a retrospective cohort study

Kuo-Chuan Hung; Hsiu-Lan Weng; Yi-Chen Lai; I-Wen Chen

Copyright © 2026 Hung, Weng, Lai and Chen.

Original publication · Publisher record · CC BY 4.0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

At a glance

Study background

What background does the paper provide?

Traumatic brain injury (TBI) is a major cause of long-term neurological disability and has been consistently associated with an increased risk of subsequent dementia (1–4). However, the biological and clinical factors that determine which TBI survivors progress to dementia remain incompletely understood (4–6). The mechanisms linking TBI to later neurodegeneration are multifactorial and include chronic neuroinflammation, progressive axonal injury, vascular dysfunction, oxidative stress, and calcium-mediated excitotoxicity (7–12), which may persist long after the initial injuries.

Given the growing number of older adults surviving TBI, the identification of clinically measurable factors associated with post-traumatic dementia risk is of increasing importance.

Magnesium is essential for neuronal and vascular homeostasis, contributing to neurotransmission, NMDA receptor regulation, neuroinflammatory modulation, and endothelial barrier and vascular function (13–16). It modulates N-methyl-D-aspartate receptor activity, calcium influx, synaptic function, oxidative stress, and inflammatory signaling (14, 17, 18). These pathways are also central to secondary injury and neurodegenerative processes after TBI (19, 20), suggesting that magnesium dysregulation may be particularly relevant in patients with a prior brain injury.

In general adult populations, abnormal serum magnesium levels have been associated with cognitive decline and dementia (21–26), and emerging evidence suggests that this relationship may be non-linear, with both low and high magnesium levels potentially reflecting adverse biological states (23, 25).

However, existing evidence has largely been derived from general population cohorts (21, 23–25), and longitudinal data specifically addressing patients with TBI are limited. This represents an important knowledge gap because patients with prior TBI may have distinct cognitive trajectories and may be vulnerable to magnesium dysregulation owing to posttraumatic physiological changes, comorbid illnesses, medication exposure, hospitalization-related factors, and alcohol-related disorders. Whether magnesium abnormalities are independently associated with incident dementia in this high-risk population remains to be elucidated.

Therefore, we conducted a propensity score–matched retrospective cohort study using the TriNetX Global Collaborative Network to examine the association between low serum magnesium status and the 10-year risk of incident dementia among adults with a history of TBI. High magnesium status was also evaluated in a parallel analysis to explore whether abnormal magnesium levels were associated with the risk of dementia in both directions.

Source: Introduction Source: Introduction Source: Introduction

Study methods

What methods does the paper describe?

2.1

Data source and ethical statement

This retrospective propensity score–matched cohort study used de-identified electronic health record data from the TriNetX Global Collaborative Network, a federated research platform comprising 173 healthcare organizations. The TriNetX platform has been increasingly used in real-world observational research across multiple clinical fields (27–30). Because the TriNetX database provides only aggregated, de-identified data, the requirement for informed consent was waived. The study protocol was approved by the Institutional Review Board of Chi Mei Medical Center, Tainan, Taiwan. All study procedures were conducted in accordance with the ethical principles of the Declaration of Helsinki and the relevant institutional guidelines.

This study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guideline for cohort studies.

2.2

Exposure definition

The study population included patients aged ≥50 years with a documented history of intracranial injury (ICD-10-CM code: S06) between January 1, 2010, and December 31, 2023. To minimize the influence of acute posttraumatic physiological changes, TBI diagnosis was required to have occurred at least 3 months before the index date. Patients were categorized according to their serum magnesium status based on repeated measurements. The magnesium deficiency cohort included patients with repeatedly low serum magnesium levels, defined as two qualifying measurements <1.7 mg/dL within 1 year.

The reference cohort included patients with repeatedly normal serum magnesium levels, defined as two qualifying measurements between 1.70 and 2.20 mg/dL within 1 year. The index date was defined as the date of the second qualifying magnesium measurement, thereby ensuring that the magnesium status was established before the start of follow-up. This repeated-measurement criterion was selected to reduce exposure misclassification from isolated or transient electrolyte abnormalities. The 1-year window was intended to balance the identification of a sustained magnesium pattern with preservation of cohort size and clinical applicability.

Therefore, magnesium status in this study should be interpreted as repeatedly documented low, normal, or high serum magnesium within a clinically relevant assessment period, rather than as a direct measure of total-body magnesium stores.

2.3

Exclusion criteria

Patients with pre-existing dementia-related diagnoses before the index date were excluded to establish an incident dementia cohort. These included vascular dementia (F01), dementia in other diseases classified elsewhere (F02), unspecified dementia (F03), and other degenerative nervous system diseases (G30–G32). Patients were also excluded if they had conditions that could substantially confound magnesium status, dementia risk, or outcome ascertainment, including end-stage renal disease (N18.6), chronic kidney disease stage 4 or 5 (N18.4, N18.5), dependence on renal dialysis (Z99.2), bipolar disorder (F31), schizophrenia spectrum or other non-mood psychotic disorders (F20–F29), Parkinson's disease (G20), and prior bariatric surgery (Z98.84; CPT: 1007385).

Patients with cerebral infarction (I63) or non-traumatic intracerebral hemorrhage (I61) within 1 year before the index date were excluded to minimize confounding factors from non-traumatic cerebrovascular causes of cognitive decline. To reduce the risk of reverse causation, a 1-year landmark period was applied, and patients diagnosed with dementia or other degenerative diseases of the nervous system within 1 year of the index date were excluded.

2.4

Data collection and propensity score matching

To minimize confounding between the magnesium deficiency and reference cohorts, 1:1 propensity score matching was performed using a greedy nearest-neighbor algorithm with a caliper width of 0.1 pooled standard deviations. This caliper-based nearest-neighbor matching approach has been widely used in observational propensity score analyses to reduce inappropriate matches and improve covariate balance, and the same 0.1 pooled standard-deviation caliper has been applied in multiple TriNetX-based cohort studies (31–36). The propensity score model included variables considered clinically relevant to both magnesium status and dementia risk, with emphasis on demographic characteristics, vascular and metabolic comorbidities, neuropsychiatric conditions, TBI subtypes and severity-related diagnoses, medication exposure, and laboratory indicators reflecting renal function, systemic inflammation, nutritional status, glycemic control, anemia, and body composition.

Medication covariates included drug classes that may influence magnesium homeostasis, neurological status, or cognitive outcomes. Laboratory covariates were incorporated to account for the baseline physiological reserve and potential nutritional or metabolic vulnerability. The full list of variables used for matching is presented in Supplementary Table 1. Covariate balance after matching was evaluated using standardized mean differences, with a standardized mean differences (SMDs) < 0.10 considered indicative of adequate balance.

2.5

Primary and secondary outcomes

The primary outcome was newly diagnosed dementia (ICD-10-CM codes: F01, F02, F03, or G30), evaluated over a 10-year follow-up period after the 1-year landmark. Secondary outcomes included dementia subtypes [i.e., Alzheimer's disease (G30), vascular dementia (F01), and other dementia types (F02, F03)], mild cognitive impairment (G31.84), and all-cause mortality, assessed over the same period. Patients were followed up until the outcome of interest, death, last recorded clinical encounter, or the end of the 10-year follow-up window, whichever occurred first. All primary and secondary outcomes were assessed at 5 years to characterize the temporal pattern of associations between low magnesium status and incident cognitive outcomes.

Additional prespecified outcomes were used to support the interpretation. Serum calcium < 8.5 mg/dL was included as a positive control outcome because of the established physiological relationship between magnesium and calcium homeostasis. Acute appendicitis (K35) was selected as a negative control outcome because no biologically plausible association with magnesium status was expected. Healthcare utilization during follow-up was evaluated by assessing hospital visits to identify potential surveillance bias. The persistence of low magnesium status was examined by comparing subsequent low magnesium events between cohorts during follow-up.

2.6

Sensitivity analyses, subgroup analyses, and multivariable regression

Three prespecified sensitivity analyses were performed to test the robustness of the findings. To address potential competing mortality, Model I excluded patients who died during the follow-up period. To reduce the possibility of outcome under-ascertainment, Model II included only patients with more than one healthcare encounter during the follow-up. To assess whether the association persisted in a population with a higher baseline dementia risk, Model III was restricted to patients older than 65 years.

Prespecified subgroup analyses were performed according to sex and TBI severity of TBI. TBI severity was operationalized using ICD-10-CM diagnostic patterns. Mild TBI was identified using concussion codes (S06.0), whereas moderate-to-severe TBI was defined using structural intracranial injury codes, including traumatic subdural hemorrhage (S06.5), traumatic subarachnoid hemorrhage (S06.6), epidural hemorrhage (S06.4), and other non-concussion intracranial injuries within the S06 code family. Propensity score matching and outcome analyses were repeated separately within each subgroup, and interaction terms were used to test heterogeneity.

To further evaluate the independent association between low magnesium status and incident dementia, a multivariable Cox proportional hazards regression model was constructed incorporating clinically relevant covariates, including age at index, sex, essential hypertension, diabetes mellitus, nicotine dependence, mood disorders, alcohol-related disorders, cerebrovascular diseases, liver diseases, overweight and obesity, disorders of the thyroid gland, chronic kidney disease, malnutrition, and TBI subtypes (traumatic subdural hemorrhage and traumatic subarachnoid hemorrhage).

2.7

Assessment of high magnesium status

To evaluate a potential U-shaped relationship between serum magnesium levels and dementia risk, a separate analysis was conducted comparing patients with repeatedly high magnesium status (>2.20 mg/dL, defined by two qualifying measurements within 1 year) with the same reference cohort of patients with normal magnesium levels (1.70–2.20 mg/dL). The same study design, exclusion criteria, propensity score matching strategy, and analytical framework applied in the primary analysis were replicated for this comparison. Primary and secondary outcomes, positive and negative control outcomes, and healthcare utilization were assessed over a 10-year follow-up period.

A multivariable Cox regression model incorporating the same set of covariates was also used to evaluate the independent association between high magnesium status and incident dementia.

2.8

Statistical analysis

Time-to-event outcomes were analyzed using cause-specific Cox proportional hazards models and reported as hazard ratios (HRs) with 95% confidence intervals (CIs). This modeling strategy was selected because the objective was to examine the etiological association between magnesium status and subsequent dementia, rather than estimating the absolute cumulative incidence while accounting for competing mortality. The proportional hazards assumption was evaluated using the Schoenfeld residuals. Dementia-free survival was illustrated using Kaplan–Meier curves and compared between groups using log-rank tests.

For the primary outcome, E-values were calculated to estimate the minimum magnitude of association that an unmeasured confounder would need to have with both low magnesium status and dementia to fully account for the observed association between them. Statistical significance for the primary outcome was defined using a two-sided α-level of 0.05. Secondary outcomes, control outcomes, sensitivity analyses, and subgroup analyses were interpreted as exploratory; therefore, no adjustments for multiple comparisons were performed. All analyses were conducted using the available data without imputation for missing values.

Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods

Patient selection and baseline characteristics

Results: Patient selection and baseline characteristics

A total of 11,805 patients with low serum magnesium and 40,457 patients with normal magnesium levels were initially identified after applying the eligibility criteria. Before matching, several baseline characteristics differed substantially between the two cohorts, particularly the prevalence of hypertension, diabetes mellitus, alcohol-related disorders, liver diseases, malnutrition, and multiple medication classes, with several covariates showing SMDs above 0.10. After 1:1 propensity score matching, 11,716 patients were retained in each cohort, and all measured covariates achieved adequate balance with absolute standardized mean differences (SMDs) < 0.10 (Table 1).

Table 1

Baseline characteristics of patients with low magnesium status and matched controls before and after propensity score matching.

VariablesBefore matchingAfter matching
Low Mg group (n = 11,805)Control group (n = 40,457)SMDLow Mg group n = 11,716)Control group (n = 11,716)SMD
Patient characteristics
Age at index (years)63.1 ± 12.463.3 ± 13.10.02063.1 ± 12.463.0 ± 12.70.010
BMI ≥30 (kg/m2)3,723 (31.5)1,1955 (29.6)0.0433,691 (31.5)3,577 (30.5)0.021
Female5,161 (43.7)17,754 (43.9)0.0035,137 (43.8)5,165 (44.1)0.005
White7,986 (67.6)27,846 (68.8)0.0257,937 (67.7)7,955 (67.9)0.003
Black or African American1,763 (14.9)5,252 (13.0)0.0561,738 (14.8)1,718 (14.7)0.005
Asian398 (3.4)1,718 (4.2)0.046398 (3.4)383 (3.3)0.007
Comorbidities and healthcare utilization
Factors influencing health status and contact with health services8,796 (74.5)27,026 (66.8)0.1708,716 (74.4)8,634 (73.7)0.016
Essential (primary) hypertension7,145 (60.5)20,272 (50.1)0.2117,071 (60.4)7,091 (60.5)0.003
Diabetes mellitus3,826 (32.4)8,724 (21.6)0.2463,771 (32.2)3,805 (32.5)0.006
Nicotine dependence3,150 (26.7)7,598 (18.8)0.1893,095 (26.4)3,055 (26.1)0.008
Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders3,089 (26.2)8,432 (20.8)0.1263,045 (26.0)2,969 (25.3)0.015
Mood disorders3,061 (25.9)8,010 (19.8)0.1463,020 (25.8)2,992 (25.5)0.005
Ischemic heart diseases3029 (25.7)8,170 (20.2)0.1302,983 (25.5)2,942 (25.1)0.008
Alcohol related disorders3,047 (25.8)5,485 (13.6)0.3122,975 (25.4)2,986 (25.5)0.002
Cerebrovascular diseases2,628 (22.3)6,561 (16.2)0.1542,579 (22.0)2,574 (22.0)0.001
Diseases of liver2,452 (20.8)4,360 (10.8)0.2772,388 (20.4)2,298 (19.6)0.019
Sleep disorders2,331 (19.7)6,668 (16.5)0.0852,303 (19.7)2,252 (19.2)0.011
Overweight and obesity2,120 (18.0)5,860 (14.5)0.0942,092 (17.9)2,093 (17.9)0.000
Disorders of thyroid gland1,978 (16.8)5902 (14.6)0.0601956 (16.7)1857 (15.9)0.023
COPD1,929 (16.3)4,463 (11.0)0.1551,896 (16.2)1,883 (16.1)0.003
Heart failure1,750 (14.8)4,149 (10.3)0.1381,716 (14.6)1,712 (14.6)0.001
Atrial fibrillation and flutter1,709 (14.5)4,658 (11.5)0.0881,690 (14.4)1,660 (14.2)0.007
Chronic kidney disease (CKD)1,330 (11.3)2,974 (7.4)0.1351,303 (11.1)1,325 (11.3)0.006
Vitamin D deficiency1,212 (10.3)3,512 (8.7)0.0541,199 (10.2)1,153 (9.8)0.013
Malnutrition1,188 (10.1)1,738 (4.3)0.2251,137 (9.7)1,104 (9.4)0.010
Epilepsy and recurrent seizures1,053 (8.9)2,514 (6.2)0.1021,028 (8.8)995 (8.5)0.010
COVID-19428 (3.6)982 (2.4)0.070420 (3.6)413 (3.5)0.003
Systemic connective tissue disorders276 (2.3)863 (2.1)0.014275 (2.3)293 (2.5)0.010
Type of TBI
Concussion2,183 (18.5)7,214 (17.8)0.0172,166 (18.5)2,160 (18.4)0.001
Traumatic SDH1,816 (15.4)4,921 (12.2)0.0941,796 (15.3)1,790 (15.3)0.001
Traumatic SAH1,011 (8.6)2,673 (6.6)0.0741,000 (8.5)957 (8.2)0.013
Epidural hemorrhage249 (2.1)697 (1.7)0.028246 (2.1)262 (2.2)0.009
Laboratory data
Hemoglobin ≥ 12 g/dL8,853 (75.0)28,584 (70.7)0.0988,776 (74.9)8,673 (74.0)0.020
Albumin ≥ 3.5 g/dL)7,524 (63.7)21,830 (54.0)0.2007,440 (63.5)7,480 (63.8)0.007
HbA1c ≥ 9%905 (7.7)1,639 (4.1)0.154883 (7.5)906 (7.7)0.007
eGFR ≥60 mL/min/1.73 m29,114 (77.2)28,488 (70.4)0.1559,028 (77.1)8,975 (76.6)0.011
C-reactive protein≥ 10 mg/L1,846 (15.6)3,731 (9.2)0.1951,797 (15.3)1,771 (15.1)0.006
Vitamin B12 300-900 pg/mL1,890 (16.0)4,203 (10.4)0.1671,843 (15.7)1,804 (15.4)0.009
Medications
Central nervous system medications10,063 (85.2)31,419 (77.7)0.1969,974 (85.1)9,861 (84.2)0.027
Benzodiazepine6,642 (56.3)17,305 (42.8)0.2726,558 (56.0)6,496 (55.4)0.011
Diuretics4,510 (38.2)11,152 (27.6)0.2284,437 (37.9)4,474 (38.2)0.007
Anticonvulsants4,394 (37.2)11,278 (27.9)0.2004,332 (37.0)4,325 (36.9)0.001
Magnesium supplementation3,931 (33.3)8,844 (21.9)0.2583,859 (32.9)3,850 (32.9)0.002
Insulins and analogs3,415 (28.9)6,899 (17.1)0.2853,343 (28.5)3,357 (28.7)0.003
Blood glucose-lowering drugs, excluding Insulins2,285 (19.4)4,844 (12.0)0.2042,252 (19.2)2,255 (19.2)0.001
Anticholinergics1,553 (13.2)3,796 (9.4)0.1201,527 (13.0)1,476 (12.6)0.013

Data are presented as n (%) or mean ± standard deviation (SD). Covariate balance was assessed using standardized mean differences (SMDs); an absolute SMD < 0.10 indicates adequate balance. BMI, body mass index; COPD, chronic obstructive pulmonary disease; CKD, chronic kidney disease; COVID-19, coronavirus disease 2,019; eGFR, estimated glomerular filtration rate; HbA1c, hemoglobin A1c; SDH, subdural hemorrhage; SAH, subarachnoid hemorrhage; TBI, traumatic brain injury; Mg, magnesium; HR, hazard ratio; CI, confidence interval.

Source: Patient selection and baseline characteristics Source: Patient selection and baseline characteristics

Results: Outcomes

Over the 10-year follow-up window, the cumulative incidence of newly diagnosed dementia was higher in the low magnesium cohort than in the matched reference cohort (2.53% vs. 1.78%; HR 1.62, 95% CI 1.36–1.94, p < 0.001; Table 2, Figure 1). The corresponding E-value was 2.62 for the point estimate and 2.06 for the lower confidence bound. For the prespecified secondary outcomes, higher event rates were observed in the low magnesium cohort for vascular dementia (HR 1.97, p = 0.001), other types of dementia (HR 1.63, p < 0.001), cognitive dysfunction (HR 1.43, p = 0.009), and all-cause mortality (HR 1.29, p < 0.001), whereas the association with Alzheimer's disease did not reach statistical significance (HR 1.43, p = 0.075).

Table 2

Association between low magnesium status and the 10-year risk of incident dementia and secondary outcomes.

OutcomeLow Mg group (n = 11,716) Events (%)Control group (n = 11,716) Events (%)HR (95% CI)p value
Primary outcome
Overall dementia296 (2.53)208 (1.78)1.62 (1.36–1.94)< 0.001
Secondary outcomes
Alzheimer's disease55 (0.47)44 (0.38)1.43 (0.96–2.13)0.075
Vascular dementia59 (0.50)34 (0.29)1.97 (1.29–3.00)0.001
Other type of dementia266 (2.27)187 (1.60)1.63 (1.35–1.96)< 0.001
Cognitive dysfunction122 (1.04)97 (0.83)1.43 (1.09–1.86)0.009
Mortality2,396 (20.45)2,091 (17.85)1.29 (1.22–1.37)< 0.001
Positive control outcome
Serum calcium < 8.5 mg/dL6,035 (51.51)5,661 (48.32)1.30 (1.26–1.35)< 0.001
Negative control outcome
Appendicitis50 (0.43)63 (0.54)0.89 (0.61–1.28)0.519
Healthcare utilization validation
Healthcare visit9,738 (83.12)10,108 (86.28)1.02 (0.99–1.05)0.135
Exposure validation
Subsequent low magnesium6,184 (52.78)3,591 (30.65)2.55 (2.44–2.66)< 0.001

Mg, magnesium; HR, hazard ratio; CI, confidence interval.

Figure 1

Kaplan–Meier curves for dementia-free survival in patients with low magnesium status vs. normal magnesium status after propensity score matching. The outcome assessment window began after a 1-year landmark period. The shaded area represents a 95% confidence interval. Patients with low magnesium levels had significantly lower dementia-free survival than matched controls over the 10-year follow-up period (hazard ratio: 1.62, confidence interval: 1.36–1.94, log-rank p < 0.001). LM: low magnesium.

Figure image at the original source — open the original paper. This file is not included in this text import.

The positive control outcome (hypocalcemia) was more frequent in the low magnesium cohort (HR 1.30, p < 0.001), while the negative control outcome of appendicitis showed no significant between-group difference (HR 0.89, p = 0.519). Healthcare visit frequency was comparable between the cohorts (HR 1.02, p = 0.135), and subsequent low magnesium events occurred more frequently in the exposure cohort (HR 2.55, p < 0.001; Table 2). In the 5-year analysis, the association with overall dementia was of greater magnitude than that at 10 years (HR 1.94, p < 0.001), with consistent patterns for vascular dementia (HR 2.19, p = 0.004), other dementia types (HR 1.95, p < 0.001), and mortality (HR 1.28, p < 0.001); associations with Alzheimer's disease (p = 0.19) and cognitive dysfunction (p = 0.096) did not reach statistical significance at 5 years (Supplementary Table 2).

Source: Outcomes Source: Outcomes Source: Outcomes Source: Outcomes

Results: Sensitivity analyses

The findings were broadly consistent across the three prespecified sensitivity analyses (Table 3). After excluding patients who died during follow-up (Model I), the association with overall dementia persisted (HR 1.32, p = 0.006). Restricting patients with more than one healthcare encounter (Model II) yielded similar results (HR 1.37, p < 0.001), as did restricting patients older than 65 years (Model III; HR 1.62, p < 0.001). Associations with overall dementia, other types of dementia, and mortality reached statistical significance in all applicable sensitivity models, whereas associations with Alzheimer's disease, vascular dementia, and cognitive dysfunction reached statistical significance in some, but not all, models.

Table 3

Sensitivity analyses of the association between low magnesium status and the 10-year risk of incident dementia.

OutcomesModel I (n = 8,057 for each group)Model II (n = 9,434 for each group)Model III (n = 7,734 for each group)
HR (95% CI)P valueHR (95% CI)P valueHR (95% CI)P value
Overall dementia1.32 (1.08–1.61)0.0061.37 (1.15–1.63)< 0.0011.62 (1.34–1.94)< 0.001
Alzheimer's disease1.08 (0.71–1.65)0.7221.23 (0.84–1.81)0.2901.80 (1.18–2.74)0.010
Vascular dementia1.60 (0.99–2.60)0.0531.57 (1.05–2.35)0.0281.76 (1.15–2.70)0.010
Other type of dementia1.30 (1.06–1.60)0.0131.37 (1.14–1.64)0.0011.62 (1.34–1.97)< 0.001
Cognitive dysfunction1.64 (1.22–2.22)0.0011.36 (1.04–1.77)0.0251.28 (0.95–1.73)0.110
Mortality––1.27 (1.19–1.35)< 0.0011.30 (1.21–1.39)< 0.001

Model I excluded patients who died during follow-up; Model II included only patients with more than one healthcare encounter; and Model III was restricted to patients aged > 65 years. HR, hazard ratio; CI, confidence interval.

Source: Sensitivity analyses Source: Sensitivity analyses

Results: Subgroup analyses

In subgroup analyses by sex, the associations between low magnesium and overall dementia were comparable in men (HR 1.46, p = 0.004) and women (HR 1.35, p = 0.009), with no evidence of effect modification (P for interaction = 0.663; Table 4). When stratified by TBI severity, the associations with overall dementia were of similar magnitude in mild (HR 1.46, p = 0.003) and moderate-to-severe TBI (HR 1.46, p < 0.001), with no significant interaction (P for interaction = 1.000; Table 5).

No statistically significant heterogeneity was detected across the interaction tests for the remaining outcomes.

Table 4

Subgroup analysis of the association between low magnesium status and dementia risk stratified by sex.

OutcomesMaleFemaleP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.90)0.0041.35 (1.08–1.70)0.0090.663
Alzheimer's disease1.22 (0.63–2.37)0.5521.36 (0.84–2.19)0.2080.803
Vascular dementia2.53 (1.34–4.75)0.0031.17 (0.68–2.00)0.5740.145
Other type of dementia1.39 (1.07–1.82)0.0151.41 (1.11–1.80)0.0050.939
Cognitive dysfunction1.51 (1.01–2.26)0.0421.41 (0.99–2.01)0.0570.808
Mortality1.25 (1.16–1.35)< 0.0011.27 (1.17–1.39)< 0.0010.787

HR, hazard ratio; CI, confidence interval.

Table 5

Subgroup analysis of the association between low magnesium status and dementia risk stratified by TBI severity.

OutcomesMild TBIModerate to severe TBIP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.87)0.0031.46 (1.21–1.78)< 0.0011.000
Alzheimer's disease1.61 (0.92–2.82)0.0891.60 (0.98–2.60)0.0580.988
Vascular dementia1.00 (0.55–1.84)0.9881.77 (1.13–2.76)0.0110.147
Other type of dementia1.56 (1.20–2.03)0.0011.49 (1.22–1.82)< 0.0010.789
Cognitive dysfunction1.46 (1.00–2.11)0.0461.47 (1.10–1.96)0.0080.978
Mortality1.38 (1.25–1.52)< 0.0011.27 (1.19–1.35)< 0.0010.170

Mild TBI was defined as a concussion (ICD-10-CM: S06.0). Moderate-to-severe TBI was defined as intracranial injury involving structural brain lesions, including traumatic subdural hemorrhage (S06.5), traumatic subarachnoid hemorrhage (S06.6), epidural hemorrhage (S06.4), and other intracranial injuries under S06, excluding isolated concussion. HR, hazard ratio; CI, confidence interval; TBI, traumatic brain injury.

Source: Subgroup analyses Source: Subgroup analyses Source: Subgroup analyses

High magnesium status and dementia risk in patients with TBI

Results: High magnesium status and dementia risk in patients with TBI

In the parallel analysis comparing 10,675 patients with high magnesium levels against the same matched reference cohort, an association with overall dementia was also observed (HR 1.57, p < 0.001; Supplementary Table 3). Higher event rates were also noted for Alzheimer's disease (HR 1.96, p = 0.002), vascular dementia (HR 2.06, p = 0.001), other dementia types (HR 1.55, p < 0.001), cognitive dysfunction (HR 1.65, p < 0.001), and mortality (HR 1.15, p < 0.001). The positive and negative control outcomes behaved as expected, and persistence of the exposure was confirmed by subsequent high-magnesium events (HR 2.17, p < 0.001).

In the multivariable Cox regression analysis, high magnesium status remained independently associated with incident dementia (adjusted HR 1.51, p < 0.001; Supplementary Table 4).

Source: High magnesium status and dementia risk in patients with TBI

Discussion

To our knowledge, no previous large-scale study has specifically evaluated whether serum magnesium abnormalities are associated with the risk of long-term dementia in adults with TBI. In this cohort, both low and high serum magnesium levels were associated with a higher 10-year risk of incident dementia, suggesting that deviations in either direction may reflect or contribute to an unfavorable neurobiological milieu following TBI. Furthermore, the principal findings remained consistent across sensitivity analyses and subgroups defined by sex and TBI severity.

The association appeared stronger at 5 years than at 10 years, a temporal pattern that may partly reflect changes in magnesium status over an extended follow-up. These findings extend the U-shaped association between magnesium status and dementia beyond the general population to a clinically distinct TBI cohort, highlighting the potential relevance of disrupted magnesium homeostasis in shaping long-term neurodegenerative vulnerability after brain injury.

Several population-based cohort studies have examined the association between serum magnesium levels and dementia risk in the general adult population. The Rotterdam Study, which followed 9,569 participants over a median of 7.8 years, reported that both low ( ≤ 0.79 mmol/L) and high (≥0.90 mmol/L) serum magnesium levels were associated with an approximately 30% increased risk of dementia (23). The ARIC study, which included 12,040 participants with a median follow-up of 24.2 years, reported that low midlife serum magnesium levels were associated with a 24% higher risk of incident dementia (21).

The effect sizes observed in our TBI cohort were notably larger than those reported in these general populations, consistent with the possibility that pre-existing brain vulnerability may modify this association. Importantly, both the Rotterdam and ARIC studies (21, 23) relied on single baseline magnesium measurements, whereas our study required two qualifying measurements within 1 year, thereby capturing a more persistent exposure pattern and reducing the risk of misclassification. Moreover, a propensity score model was deliberately constructed to account for the clinical complexity of the TBI population.

In addition to demographic and cardiometabolic factors, matching incorporated TBI subtypes, vitamin D deficiency (37), nutritional indicators, and medication classes (38–41) relevant to cognitive outcomes.

In the primary analysis of low magnesium, the association with vascular dementia was the strongest among all subtypes (HR 1.97), followed by other dementia types (HR 1.63), whereas the association with Alzheimer's disease did not reach statistical significance (HR 1.43, p = 0.075). The prominence of vascular dementia is biologically plausible. When serum hypomagnesemia reflects reduced central nervous system magnesium availability, diminished voltage-dependent blockade of N-methyl-D-aspartate receptors may increase calcium influx and excitotoxic injury (13, 14, 42).

Intracellular magnesium depletion has also been demonstrated after experimental TBI (43). Such depletion may impair Mg–ATP-dependent energy metabolism and mitochondrial homeostasis, thereby increasing oxidative stress (11–14, 19, 44). In addition, magnesium deficiency may promote neuroinflammation and compromise endothelial and blood–brain barrier integrity (45–48). These processes may collectively contribute to cerebral small-vessel injury, neurodegeneration, and impaired synaptic plasticity after TBI. Although direct comparison with prior studies is limited, the Rotterdam Study (23) also found that the association between serum magnesium and Alzheimer's disease was directionally similar to that for overall dementia but did not reach statistical significance, broadly aligning with the weaker Alzheimer's-specific association observed in our low-magnesium analysis.

However, when the analysis was restricted to patients older than 65 years (sensitivity analysis Model III), all dementia subtypes, including Alzheimer's disease (HR 1.80, p = 0.010), showed significant associations with low magnesium, suggesting that age may be an important modifier of subtype-specific vulnerability.

Interestingly, high magnesium levels were associated with a higher risk of incident Alzheimer's disease. This divergence suggests that the two extremes of magnesium dysregulation may not confer dementia risk through symmetrical mechanisms. Low magnesium may directly amplify excitotoxic, mitochondrial, inflammatory, and vascular injury. Although population-based studies have reported an increased dementia risk at both low and high circulating magnesium concentrations (23, 25), the biological interpretation of high serum magnesium remains uncertain. High serum magnesium may reflect reduced renal excretion or exogenous magnesium exposure (49, 50), and circulating magnesium concentrations do not necessarily correspond to intracellular magnesium status (51).

Experimental elevation of brain magnesium has been shown to upregulate NR2B-containing NMDA receptor signaling, enhance synaptic plasticity, and improve learning and memory in rats (52). Therefore, the observed association with high serum magnesium should not be interpreted as evidence of direct magnesium neurotoxicity. Biomarker-confirmed dementia phenotyping is needed to determine whether high magnesium levels are linked to Alzheimer's-specific pathobiology, reflect underlying comorbidities, or represent a distinct marker of neurodegenerative vulnerability.

Low magnesium levels were associated with a similar increase in overall dementia risk after mild and moderate-to-severe TBI, with no evidence of effect modification by injury severity. This pattern contrasts with prior epidemiological evidence of a severity-dependent gradient in TBI-associated dementia risk (53, 54). The absence of such a gradient suggests that magnesium dysregulation may contribute to post-TBI cognitive vulnerability through mechanisms that are not primarily governed by the initial mechanical injury. Because no prior study has examined whether a modifiable metabolic factor differentially influences dementia risk across TBI severity strata, a direct comparison with the existing literature remains limited.

Several analytical safeguards were incorporated to support the internal validity of these findings. The positive control outcome of hypocalcemia occurred more frequently in the low magnesium cohort, consistent with the established physiological coupling between magnesium and calcium homeostasis through parathyroid hormone regulation (55), whereas the negative control outcome of acute appendicitis showed no between-group difference. Healthcare visit frequency was comparable between the cohorts, arguing against differential surveillance as an explanation for the observed associations. The stability of the exposure definition was supported by the markedly higher recurrence of low magnesium levels within the exposure cohort, indicating that these patients consistently exhibited hypomagnesemia over time.

This pattern suggests that the exposure classification reflects a sustained biological state rather than an isolated or transient laboratory variation. The E-value for the primary outcome was 2.62, indicating that an unmeasured confounder would need to be associated with both magnesium status and dementia by a risk ratio exceeding that of most known dementia risk factors to explain the observed association.

This study had several strengths. First, exposure was defined using repeated serum magnesium measurements, reducing misclassification relative to prior studies that were based on a single baseline value. Second, the 1-year landmark design strengthened temporal ordering by excluding early dementia diagnoses that may have reflected a pre-existing cognitive decline. Third, dementia was examined not only as a composite endpoint but also by subtype, allowing the identification of distinct patterns for Alzheimer's disease, vascular dementia, and other types of dementia. Finally, the parallel evaluation of low and high magnesium levels within the same study design allowed the two extremes of magnesium status to be interpreted against a common comparator, thereby strengthening the evidence for a U-shaped association with dementia risk.

Several limitations should be acknowledged. First, the observational design precludes causal inference; the observed associations may reflect residual confounding by unmeasured factors, such as dietary patterns, socioeconomic status, or genetic susceptibility. Second, serum magnesium represents less than 1% of total body magnesium and may not accurately reflect intracellular or central nervous system magnesium status (56), particularly in TBI, where blood–brain barrier integrity may be compromised. In addition, although requiring two qualifying magnesium measurements within 1 year reduced the likelihood of classifying patients on the basis of a single transient value, this criterion cannot fully establish chronic magnesium homeostasis.

The interval between measurements could vary within the 1-year window, and serum magnesium may still reflect recent nutritional, clinical, renal, or treatment-related status. Residual exposure misclassification is therefore possible. Third, TBI severity was classified using ICD-10-CM diagnostic codes rather than clinical scales, such as the Glasgow Coma Scale, which may result in misclassification of injury severity and limit the precision of subgroup analyses stratified by TBI severity. Additionally, the present study assessed only TBI severity and did not account for the number or recurrence of TBI episodes, which is a recognized independent risk factor for long-term neurodegeneration and may further modify the association between magnesium and dementia.

Fourth, dementia outcomes were ascertained using diagnostic codes rather than standardized cognitive assessments, potentially underestimating the true incidence. Fifth, although magnesium supplementation was balanced between cohorts after matching (approximately 33%), it remains possible that patients who maintained low levels despite supplementation represented a phenotype of more severe depletion, which could influence the observed associations. Finally, the TriNetX network predominantly comprises healthcare organizations in the United States, which may limit the generalizability of the findings to other populations.

Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion

Results

3.1

Patient selection and baseline characteristics

A total of 11,805 patients with low serum magnesium and 40,457 patients with normal magnesium levels were initially identified after applying the eligibility criteria. Before matching, several baseline characteristics differed substantially between the two cohorts, particularly the prevalence of hypertension, diabetes mellitus, alcohol-related disorders, liver diseases, malnutrition, and multiple medication classes, with several covariates showing SMDs above 0.10. After 1:1 propensity score matching, 11,716 patients were retained in each cohort, and all measured covariates achieved adequate balance with absolute standardized mean differences (SMDs) < 0.10 (Table 1).

Table 1

Baseline characteristics of patients with low magnesium status and matched controls before and after propensity score matching.

VariablesBefore matchingAfter matching
Low Mg group (n = 11,805)Control group (n = 40,457)SMDLow Mg group n = 11,716)Control group (n = 11,716)SMD
Patient characteristics
Age at index (years)63.1 ± 12.463.3 ± 13.10.02063.1 ± 12.463.0 ± 12.70.010
BMI ≥30 (kg/m2)3,723 (31.5)1,1955 (29.6)0.0433,691 (31.5)3,577 (30.5)0.021
Female5,161 (43.7)17,754 (43.9)0.0035,137 (43.8)5,165 (44.1)0.005
White7,986 (67.6)27,846 (68.8)0.0257,937 (67.7)7,955 (67.9)0.003
Black or African American1,763 (14.9)5,252 (13.0)0.0561,738 (14.8)1,718 (14.7)0.005
Asian398 (3.4)1,718 (4.2)0.046398 (3.4)383 (3.3)0.007
Comorbidities and healthcare utilization
Factors influencing health status and contact with health services8,796 (74.5)27,026 (66.8)0.1708,716 (74.4)8,634 (73.7)0.016
Essential (primary) hypertension7,145 (60.5)20,272 (50.1)0.2117,071 (60.4)7,091 (60.5)0.003
Diabetes mellitus3,826 (32.4)8,724 (21.6)0.2463,771 (32.2)3,805 (32.5)0.006
Nicotine dependence3,150 (26.7)7,598 (18.8)0.1893,095 (26.4)3,055 (26.1)0.008
Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders3,089 (26.2)8,432 (20.8)0.1263,045 (26.0)2,969 (25.3)0.015
Mood disorders3,061 (25.9)8,010 (19.8)0.1463,020 (25.8)2,992 (25.5)0.005
Ischemic heart diseases3029 (25.7)8,170 (20.2)0.1302,983 (25.5)2,942 (25.1)0.008
Alcohol related disorders3,047 (25.8)5,485 (13.6)0.3122,975 (25.4)2,986 (25.5)0.002
Cerebrovascular diseases2,628 (22.3)6,561 (16.2)0.1542,579 (22.0)2,574 (22.0)0.001
Diseases of liver2,452 (20.8)4,360 (10.8)0.2772,388 (20.4)2,298 (19.6)0.019
Sleep disorders2,331 (19.7)6,668 (16.5)0.0852,303 (19.7)2,252 (19.2)0.011
Overweight and obesity2,120 (18.0)5,860 (14.5)0.0942,092 (17.9)2,093 (17.9)0.000
Disorders of thyroid gland1,978 (16.8)5902 (14.6)0.0601956 (16.7)1857 (15.9)0.023
COPD1,929 (16.3)4,463 (11.0)0.1551,896 (16.2)1,883 (16.1)0.003
Heart failure1,750 (14.8)4,149 (10.3)0.1381,716 (14.6)1,712 (14.6)0.001
Atrial fibrillation and flutter1,709 (14.5)4,658 (11.5)0.0881,690 (14.4)1,660 (14.2)0.007
Chronic kidney disease (CKD)1,330 (11.3)2,974 (7.4)0.1351,303 (11.1)1,325 (11.3)0.006
Vitamin D deficiency1,212 (10.3)3,512 (8.7)0.0541,199 (10.2)1,153 (9.8)0.013
Malnutrition1,188 (10.1)1,738 (4.3)0.2251,137 (9.7)1,104 (9.4)0.010
Epilepsy and recurrent seizures1,053 (8.9)2,514 (6.2)0.1021,028 (8.8)995 (8.5)0.010
COVID-19428 (3.6)982 (2.4)0.070420 (3.6)413 (3.5)0.003
Systemic connective tissue disorders276 (2.3)863 (2.1)0.014275 (2.3)293 (2.5)0.010
Type of TBI
Concussion2,183 (18.5)7,214 (17.8)0.0172,166 (18.5)2,160 (18.4)0.001
Traumatic SDH1,816 (15.4)4,921 (12.2)0.0941,796 (15.3)1,790 (15.3)0.001
Traumatic SAH1,011 (8.6)2,673 (6.6)0.0741,000 (8.5)957 (8.2)0.013
Epidural hemorrhage249 (2.1)697 (1.7)0.028246 (2.1)262 (2.2)0.009
Laboratory data
Hemoglobin ≥ 12 g/dL8,853 (75.0)28,584 (70.7)0.0988,776 (74.9)8,673 (74.0)0.020
Albumin ≥ 3.5 g/dL)7,524 (63.7)21,830 (54.0)0.2007,440 (63.5)7,480 (63.8)0.007
HbA1c ≥ 9%905 (7.7)1,639 (4.1)0.154883 (7.5)906 (7.7)0.007
eGFR ≥60 mL/min/1.73 m29,114 (77.2)28,488 (70.4)0.1559,028 (77.1)8,975 (76.6)0.011
C-reactive protein≥ 10 mg/L1,846 (15.6)3,731 (9.2)0.1951,797 (15.3)1,771 (15.1)0.006
Vitamin B12 300-900 pg/mL1,890 (16.0)4,203 (10.4)0.1671,843 (15.7)1,804 (15.4)0.009
Medications
Central nervous system medications10,063 (85.2)31,419 (77.7)0.1969,974 (85.1)9,861 (84.2)0.027
Benzodiazepine6,642 (56.3)17,305 (42.8)0.2726,558 (56.0)6,496 (55.4)0.011
Diuretics4,510 (38.2)11,152 (27.6)0.2284,437 (37.9)4,474 (38.2)0.007
Anticonvulsants4,394 (37.2)11,278 (27.9)0.2004,332 (37.0)4,325 (36.9)0.001
Magnesium supplementation3,931 (33.3)8,844 (21.9)0.2583,859 (32.9)3,850 (32.9)0.002
Insulins and analogs3,415 (28.9)6,899 (17.1)0.2853,343 (28.5)3,357 (28.7)0.003
Blood glucose-lowering drugs, excluding Insulins2,285 (19.4)4,844 (12.0)0.2042,252 (19.2)2,255 (19.2)0.001
Anticholinergics1,553 (13.2)3,796 (9.4)0.1201,527 (13.0)1,476 (12.6)0.013

Data are presented as n (%) or mean ± standard deviation (SD). Covariate balance was assessed using standardized mean differences (SMDs); an absolute SMD < 0.10 indicates adequate balance. BMI, body mass index; COPD, chronic obstructive pulmonary disease; CKD, chronic kidney disease; COVID-19, coronavirus disease 2,019; eGFR, estimated glomerular filtration rate; HbA1c, hemoglobin A1c; SDH, subdural hemorrhage; SAH, subarachnoid hemorrhage; TBI, traumatic brain injury; Mg, magnesium; HR, hazard ratio; CI, confidence interval.

3.2

Outcomes

Over the 10-year follow-up window, the cumulative incidence of newly diagnosed dementia was higher in the low magnesium cohort than in the matched reference cohort (2.53% vs. 1.78%; HR 1.62, 95% CI 1.36–1.94, p < 0.001; Table 2, Figure 1). The corresponding E-value was 2.62 for the point estimate and 2.06 for the lower confidence bound. For the prespecified secondary outcomes, higher event rates were observed in the low magnesium cohort for vascular dementia (HR 1.97, p = 0.001), other types of dementia (HR 1.63, p < 0.001), cognitive dysfunction (HR 1.43, p = 0.009), and all-cause mortality (HR 1.29, p < 0.001), whereas the association with Alzheimer's disease did not reach statistical significance (HR 1.43, p = 0.075).

Table 2

Association between low magnesium status and the 10-year risk of incident dementia and secondary outcomes.

OutcomeLow Mg group (n = 11,716) Events (%)Control group (n = 11,716) Events (%)HR (95% CI)p value
Primary outcome
Overall dementia296 (2.53)208 (1.78)1.62 (1.36–1.94)< 0.001
Secondary outcomes
Alzheimer's disease55 (0.47)44 (0.38)1.43 (0.96–2.13)0.075
Vascular dementia59 (0.50)34 (0.29)1.97 (1.29–3.00)0.001
Other type of dementia266 (2.27)187 (1.60)1.63 (1.35–1.96)< 0.001
Cognitive dysfunction122 (1.04)97 (0.83)1.43 (1.09–1.86)0.009
Mortality2,396 (20.45)2,091 (17.85)1.29 (1.22–1.37)< 0.001
Positive control outcome
Serum calcium < 8.5 mg/dL6,035 (51.51)5,661 (48.32)1.30 (1.26–1.35)< 0.001
Negative control outcome
Appendicitis50 (0.43)63 (0.54)0.89 (0.61–1.28)0.519
Healthcare utilization validation
Healthcare visit9,738 (83.12)10,108 (86.28)1.02 (0.99–1.05)0.135
Exposure validation
Subsequent low magnesium6,184 (52.78)3,591 (30.65)2.55 (2.44–2.66)< 0.001

Mg, magnesium; HR, hazard ratio; CI, confidence interval.

Figure 1

Kaplan–Meier curves for dementia-free survival in patients with low magnesium status vs. normal magnesium status after propensity score matching. The outcome assessment window began after a 1-year landmark period. The shaded area represents a 95% confidence interval. Patients with low magnesium levels had significantly lower dementia-free survival than matched controls over the 10-year follow-up period (hazard ratio: 1.62, confidence interval: 1.36–1.94, log-rank p < 0.001). LM: low magnesium.

Figure image at the original source — open the original paper. This file is not included in this text import.

The positive control outcome (hypocalcemia) was more frequent in the low magnesium cohort (HR 1.30, p < 0.001), while the negative control outcome of appendicitis showed no significant between-group difference (HR 0.89, p = 0.519). Healthcare visit frequency was comparable between the cohorts (HR 1.02, p = 0.135), and subsequent low magnesium events occurred more frequently in the exposure cohort (HR 2.55, p < 0.001; Table 2). In the 5-year analysis, the association with overall dementia was of greater magnitude than that at 10 years (HR 1.94, p < 0.001), with consistent patterns for vascular dementia (HR 2.19, p = 0.004), other dementia types (HR 1.95, p < 0.001), and mortality (HR 1.28, p < 0.001); associations with Alzheimer's disease (p = 0.19) and cognitive dysfunction (p = 0.096) did not reach statistical significance at 5 years (Supplementary Table 2).

3.3

Sensitivity analyses

The findings were broadly consistent across the three prespecified sensitivity analyses (Table 3). After excluding patients who died during follow-up (Model I), the association with overall dementia persisted (HR 1.32, p = 0.006). Restricting patients with more than one healthcare encounter (Model II) yielded similar results (HR 1.37, p < 0.001), as did restricting patients older than 65 years (Model III; HR 1.62, p < 0.001). Associations with overall dementia, other types of dementia, and mortality reached statistical significance in all applicable sensitivity models, whereas associations with Alzheimer's disease, vascular dementia, and cognitive dysfunction reached statistical significance in some, but not all, models.

Table 3

Sensitivity analyses of the association between low magnesium status and the 10-year risk of incident dementia.

OutcomesModel I (n = 8,057 for each group)Model II (n = 9,434 for each group)Model III (n = 7,734 for each group)
HR (95% CI)P valueHR (95% CI)P valueHR (95% CI)P value
Overall dementia1.32 (1.08–1.61)0.0061.37 (1.15–1.63)< 0.0011.62 (1.34–1.94)< 0.001
Alzheimer's disease1.08 (0.71–1.65)0.7221.23 (0.84–1.81)0.2901.80 (1.18–2.74)0.010
Vascular dementia1.60 (0.99–2.60)0.0531.57 (1.05–2.35)0.0281.76 (1.15–2.70)0.010
Other type of dementia1.30 (1.06–1.60)0.0131.37 (1.14–1.64)0.0011.62 (1.34–1.97)< 0.001
Cognitive dysfunction1.64 (1.22–2.22)0.0011.36 (1.04–1.77)0.0251.28 (0.95–1.73)0.110
Mortality––1.27 (1.19–1.35)< 0.0011.30 (1.21–1.39)< 0.001

Model I excluded patients who died during follow-up; Model II included only patients with more than one healthcare encounter; and Model III was restricted to patients aged > 65 years. HR, hazard ratio; CI, confidence interval.

3.4

Subgroup analyses

In subgroup analyses by sex, the associations between low magnesium and overall dementia were comparable in men (HR 1.46, p = 0.004) and women (HR 1.35, p = 0.009), with no evidence of effect modification (P for interaction = 0.663; Table 4). When stratified by TBI severity, the associations with overall dementia were of similar magnitude in mild (HR 1.46, p = 0.003) and moderate-to-severe TBI (HR 1.46, p < 0.001), with no significant interaction (P for interaction = 1.000; Table 5).

No statistically significant heterogeneity was detected across the interaction tests for the remaining outcomes.

Table 4

Subgroup analysis of the association between low magnesium status and dementia risk stratified by sex.

OutcomesMaleFemaleP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.90)0.0041.35 (1.08–1.70)0.0090.663
Alzheimer's disease1.22 (0.63–2.37)0.5521.36 (0.84–2.19)0.2080.803
Vascular dementia2.53 (1.34–4.75)0.0031.17 (0.68–2.00)0.5740.145
Other type of dementia1.39 (1.07–1.82)0.0151.41 (1.11–1.80)0.0050.939
Cognitive dysfunction1.51 (1.01–2.26)0.0421.41 (0.99–2.01)0.0570.808
Mortality1.25 (1.16–1.35)< 0.0011.27 (1.17–1.39)< 0.0010.787

HR, hazard ratio; CI, confidence interval.

Table 5

Subgroup analysis of the association between low magnesium status and dementia risk stratified by TBI severity.

OutcomesMild TBIModerate to severe TBIP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.87)0.0031.46 (1.21–1.78)< 0.0011.000
Alzheimer's disease1.61 (0.92–2.82)0.0891.60 (0.98–2.60)0.0580.988
Vascular dementia1.00 (0.55–1.84)0.9881.77 (1.13–2.76)0.0110.147
Other type of dementia1.56 (1.20–2.03)0.0011.49 (1.22–1.82)< 0.0010.789
Cognitive dysfunction1.46 (1.00–2.11)0.0461.47 (1.10–1.96)0.0080.978
Mortality1.38 (1.25–1.52)< 0.0011.27 (1.19–1.35)< 0.0010.170

Mild TBI was defined as a concussion (ICD-10-CM: S06.0). Moderate-to-severe TBI was defined as intracranial injury involving structural brain lesions, including traumatic subdural hemorrhage (S06.5), traumatic subarachnoid hemorrhage (S06.6), epidural hemorrhage (S06.4), and other intracranial injuries under S06, excluding isolated concussion. HR, hazard ratio; CI, confidence interval; TBI, traumatic brain injury.

3.5

Adjusted hazard ratios from multivariable cox regression

In the multivariable Cox model incorporating demographic factors, comorbidities, and TBI subtypes, low magnesium status remained associated with incident dementia (adjusted HR 1.50, 95% CI 1.33–1.70, p < 0.001; Table 6). Older age, diabetes mellitus, mood disorders, alcohol-related disorders, cerebrovascular diseases, chronic kidney disease, and traumatic subdural hemorrhage were independently associated with incident dementia.

Table 6

Multivariable Cox proportional hazards regression for incident dementia (low magnesium status vs. normal magnesium status).

VariableHR (95% CI)P-value
Low Mg vs. control1.50 (1.33–1.70)< 0.001
Male0.95 (0.85–1.06)0.371
Age at index1.09 (1.08–1.09)< 0.001
Essential hypertension1.08 (0.95–1.22)0.247
Diabetes mellitus1.23 (1.08–1.39)0.001
Nicotine dependence1.06 (0.90–1.26)0.497
Mood disorders1.44 (1.26–1.64)< 0.001
Alcohol-related disorders1.31 (1.08–1.59)0.006
Cerebrovascular diseases1.28 (1.12–1.46)< 0.001
Diseases of liver1.15 (0.97–1.37)0.112
Overweight and obesity0.97 (0.83–1.14)0.712
Disorders of thyroid gland1.02 (0.90–1.17)0.729
Chronic kidney disease1.25 (1.07–1.47)0.007
Malnutrition1.12 (0.88–1.44)0.358
Traumatic subarachnoid hemorrhage1.10 (0.90–1.35)0.368
Traumatic subdural hemorrhage1.20 (1.02–1.40)0.024

HR, hazard ratio; CI, confidence interval; Mg: magnesium.

3.6

High magnesium status and dementia risk in patients with TBI

In the parallel analysis comparing 10,675 patients with high magnesium levels against the same matched reference cohort, an association with overall dementia was also observed (HR 1.57, p < 0.001; Supplementary Table 3). Higher event rates were also noted for Alzheimer's disease (HR 1.96, p = 0.002), vascular dementia (HR 2.06, p = 0.001), other dementia types (HR 1.55, p < 0.001), cognitive dysfunction (HR 1.65, p < 0.001), and mortality (HR 1.15, p < 0.001). The positive and negative control outcomes behaved as expected, and persistence of the exposure was confirmed by subsequent high-magnesium events (HR 2.17, p < 0.001).

In the multivariable Cox regression analysis, high magnesium status remained independently associated with incident dementia (adjusted HR 1.51, p < 0.001; Supplementary Table 4).

Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results

Conclusion

In this large propensity score–matched cohort of adults with prior TBI, both low and high serum magnesium levels were associated with a greater 10-year dementia risk. The associations remained consistent across sensitivity analyses, subgroup analyses, and multivariable adjustments and were supported by the expected positive and negative control outcome patterns. These findings suggest that serum magnesium levels may serve as a clinically accessible indicator of long-term cognitive risk after TBI. However, prospective studies are needed to determine whether monitoring or modifying magnesium levels impacts post-traumatic dementia trajectories.

Source: Conclusion
Authors’ abstract

Background

In the general population, abnormal serum magnesium levels are associated with an increased risk of cognitive decline and dementia. However, whether this association extends to patients with traumatic brain injury (TBI), a population with distinct neurobiological vulnerabilities, remains unknown.

Methods

Using the TriNetX Global Collaborative Network, we identified adults aged ≥50 years with a history of intracranial injury (ICD-10-CM: S06). Patients with repeatedly low serum magnesium levels (< 1.7 mg/dL, two measurements within 1 year) were compared with those with normal levels (1.70–2.20 mg/dL) using 1:1 propensity score matching. A 1-year landmark period was applied to reduce the reverse causation. The primary outcome was incident dementia over 10 years of follow-up. The secondary outcomes included dementia subtypes, cognitive dysfunction, and all-cause mortality.

To explore a potential U-shaped relationship, a parallel analysis was conducted comparing patients with repeatedly high magnesium levels (>2.20 mg/dL) with the same reference cohort. Sensitivity analyses, subgroup analyses by sex and TBI severity, and multivariable Cox regression were performed.

Results

After matching, 11,716 patients were retained in each cohort. Low magnesium levels were associated with a higher 10-year risk of incident dementia [2.53% vs. 1.78%; hazard ratio (HR) 1.62, 95% confidence interval (CI), 1.36–1.94; p < 0.001]. Among the secondary outcomes, associations were observed for vascular dementia (HR 1.97, p = 0.001), other dementia types (HR 1.63, p < 0.001), cognitive dysfunction (HR 1.43, p = 0.009), and all-cause mortality (HR 1.29, p < 0.001), whereas Alzheimer's disease did not reach significance (HR 1.43, p = 0.075).

High magnesium levels were similarly associated with an increased risk of dementia (HR 1.57, p < 0.001). The findings were consistent across sensitivity and subgroup analyses and after multivariable adjustment (adjusted HR 1.50, p < 0.001).

Conclusion

In adults with prior TBI, both low and high serum magnesium levels were associated with a greater long-term risk of dementia, suggesting a U-shaped relationship. Prospective studies are needed to determine whether monitoring or modifying magnesium status can alter the post-traumatic dementia trajectory.

Read the full paper
1

Introduction

Traumatic brain injury (TBI) is a major cause of long-term neurological disability and has been consistently associated with an increased risk of subsequent dementia (1–4). However, the biological and clinical factors that determine which TBI survivors progress to dementia remain incompletely understood (4–6). The mechanisms linking TBI to later neurodegeneration are multifactorial and include chronic neuroinflammation, progressive axonal injury, vascular dysfunction, oxidative stress, and calcium-mediated excitotoxicity (7–12), which may persist long after the initial injuries.

Given the growing number of older adults surviving TBI, the identification of clinically measurable factors associated with post-traumatic dementia risk is of increasing importance.

Magnesium is essential for neuronal and vascular homeostasis, contributing to neurotransmission, NMDA receptor regulation, neuroinflammatory modulation, and endothelial barrier and vascular function (13–16). It modulates N-methyl-D-aspartate receptor activity, calcium influx, synaptic function, oxidative stress, and inflammatory signaling (14, 17, 18). These pathways are also central to secondary injury and neurodegenerative processes after TBI (19, 20), suggesting that magnesium dysregulation may be particularly relevant in patients with a prior brain injury.

In general adult populations, abnormal serum magnesium levels have been associated with cognitive decline and dementia (21–26), and emerging evidence suggests that this relationship may be non-linear, with both low and high magnesium levels potentially reflecting adverse biological states (23, 25).

However, existing evidence has largely been derived from general population cohorts (21, 23–25), and longitudinal data specifically addressing patients with TBI are limited. This represents an important knowledge gap because patients with prior TBI may have distinct cognitive trajectories and may be vulnerable to magnesium dysregulation owing to posttraumatic physiological changes, comorbid illnesses, medication exposure, hospitalization-related factors, and alcohol-related disorders. Whether magnesium abnormalities are independently associated with incident dementia in this high-risk population remains to be elucidated.

Therefore, we conducted a propensity score–matched retrospective cohort study using the TriNetX Global Collaborative Network to examine the association between low serum magnesium status and the 10-year risk of incident dementia among adults with a history of TBI. High magnesium status was also evaluated in a parallel analysis to explore whether abnormal magnesium levels were associated with the risk of dementia in both directions.

2

Methods

2.1

Data source and ethical statement

This retrospective propensity score–matched cohort study used de-identified electronic health record data from the TriNetX Global Collaborative Network, a federated research platform comprising 173 healthcare organizations. The TriNetX platform has been increasingly used in real-world observational research across multiple clinical fields (27–30). Because the TriNetX database provides only aggregated, de-identified data, the requirement for informed consent was waived. The study protocol was approved by the Institutional Review Board of Chi Mei Medical Center, Tainan, Taiwan. All study procedures were conducted in accordance with the ethical principles of the Declaration of Helsinki and the relevant institutional guidelines.

This study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guideline for cohort studies.

2.2

Exposure definition

The study population included patients aged ≥50 years with a documented history of intracranial injury (ICD-10-CM code: S06) between January 1, 2010, and December 31, 2023. To minimize the influence of acute posttraumatic physiological changes, TBI diagnosis was required to have occurred at least 3 months before the index date. Patients were categorized according to their serum magnesium status based on repeated measurements. The magnesium deficiency cohort included patients with repeatedly low serum magnesium levels, defined as two qualifying measurements <1.7 mg/dL within 1 year.

The reference cohort included patients with repeatedly normal serum magnesium levels, defined as two qualifying measurements between 1.70 and 2.20 mg/dL within 1 year. The index date was defined as the date of the second qualifying magnesium measurement, thereby ensuring that the magnesium status was established before the start of follow-up. This repeated-measurement criterion was selected to reduce exposure misclassification from isolated or transient electrolyte abnormalities. The 1-year window was intended to balance the identification of a sustained magnesium pattern with preservation of cohort size and clinical applicability.

Therefore, magnesium status in this study should be interpreted as repeatedly documented low, normal, or high serum magnesium within a clinically relevant assessment period, rather than as a direct measure of total-body magnesium stores.

2.3

Exclusion criteria

Patients with pre-existing dementia-related diagnoses before the index date were excluded to establish an incident dementia cohort. These included vascular dementia (F01), dementia in other diseases classified elsewhere (F02), unspecified dementia (F03), and other degenerative nervous system diseases (G30–G32). Patients were also excluded if they had conditions that could substantially confound magnesium status, dementia risk, or outcome ascertainment, including end-stage renal disease (N18.6), chronic kidney disease stage 4 or 5 (N18.4, N18.5), dependence on renal dialysis (Z99.2), bipolar disorder (F31), schizophrenia spectrum or other non-mood psychotic disorders (F20–F29), Parkinson's disease (G20), and prior bariatric surgery (Z98.84; CPT: 1007385).

Patients with cerebral infarction (I63) or non-traumatic intracerebral hemorrhage (I61) within 1 year before the index date were excluded to minimize confounding factors from non-traumatic cerebrovascular causes of cognitive decline. To reduce the risk of reverse causation, a 1-year landmark period was applied, and patients diagnosed with dementia or other degenerative diseases of the nervous system within 1 year of the index date were excluded.

2.4

Data collection and propensity score matching

To minimize confounding between the magnesium deficiency and reference cohorts, 1:1 propensity score matching was performed using a greedy nearest-neighbor algorithm with a caliper width of 0.1 pooled standard deviations. This caliper-based nearest-neighbor matching approach has been widely used in observational propensity score analyses to reduce inappropriate matches and improve covariate balance, and the same 0.1 pooled standard-deviation caliper has been applied in multiple TriNetX-based cohort studies (31–36). The propensity score model included variables considered clinically relevant to both magnesium status and dementia risk, with emphasis on demographic characteristics, vascular and metabolic comorbidities, neuropsychiatric conditions, TBI subtypes and severity-related diagnoses, medication exposure, and laboratory indicators reflecting renal function, systemic inflammation, nutritional status, glycemic control, anemia, and body composition.

Medication covariates included drug classes that may influence magnesium homeostasis, neurological status, or cognitive outcomes. Laboratory covariates were incorporated to account for the baseline physiological reserve and potential nutritional or metabolic vulnerability. The full list of variables used for matching is presented in Supplementary Table 1. Covariate balance after matching was evaluated using standardized mean differences, with a standardized mean differences (SMDs) < 0.10 considered indicative of adequate balance.

2.5

Primary and secondary outcomes

The primary outcome was newly diagnosed dementia (ICD-10-CM codes: F01, F02, F03, or G30), evaluated over a 10-year follow-up period after the 1-year landmark. Secondary outcomes included dementia subtypes [i.e., Alzheimer's disease (G30), vascular dementia (F01), and other dementia types (F02, F03)], mild cognitive impairment (G31.84), and all-cause mortality, assessed over the same period. Patients were followed up until the outcome of interest, death, last recorded clinical encounter, or the end of the 10-year follow-up window, whichever occurred first. All primary and secondary outcomes were assessed at 5 years to characterize the temporal pattern of associations between low magnesium status and incident cognitive outcomes.

Additional prespecified outcomes were used to support the interpretation. Serum calcium < 8.5 mg/dL was included as a positive control outcome because of the established physiological relationship between magnesium and calcium homeostasis. Acute appendicitis (K35) was selected as a negative control outcome because no biologically plausible association with magnesium status was expected. Healthcare utilization during follow-up was evaluated by assessing hospital visits to identify potential surveillance bias. The persistence of low magnesium status was examined by comparing subsequent low magnesium events between cohorts during follow-up.

2.6

Sensitivity analyses, subgroup analyses, and multivariable regression

Three prespecified sensitivity analyses were performed to test the robustness of the findings. To address potential competing mortality, Model I excluded patients who died during the follow-up period. To reduce the possibility of outcome under-ascertainment, Model II included only patients with more than one healthcare encounter during the follow-up. To assess whether the association persisted in a population with a higher baseline dementia risk, Model III was restricted to patients older than 65 years.

Prespecified subgroup analyses were performed according to sex and TBI severity of TBI. TBI severity was operationalized using ICD-10-CM diagnostic patterns. Mild TBI was identified using concussion codes (S06.0), whereas moderate-to-severe TBI was defined using structural intracranial injury codes, including traumatic subdural hemorrhage (S06.5), traumatic subarachnoid hemorrhage (S06.6), epidural hemorrhage (S06.4), and other non-concussion intracranial injuries within the S06 code family. Propensity score matching and outcome analyses were repeated separately within each subgroup, and interaction terms were used to test heterogeneity.

To further evaluate the independent association between low magnesium status and incident dementia, a multivariable Cox proportional hazards regression model was constructed incorporating clinically relevant covariates, including age at index, sex, essential hypertension, diabetes mellitus, nicotine dependence, mood disorders, alcohol-related disorders, cerebrovascular diseases, liver diseases, overweight and obesity, disorders of the thyroid gland, chronic kidney disease, malnutrition, and TBI subtypes (traumatic subdural hemorrhage and traumatic subarachnoid hemorrhage).

2.7

Assessment of high magnesium status

To evaluate a potential U-shaped relationship between serum magnesium levels and dementia risk, a separate analysis was conducted comparing patients with repeatedly high magnesium status (>2.20 mg/dL, defined by two qualifying measurements within 1 year) with the same reference cohort of patients with normal magnesium levels (1.70–2.20 mg/dL). The same study design, exclusion criteria, propensity score matching strategy, and analytical framework applied in the primary analysis were replicated for this comparison. Primary and secondary outcomes, positive and negative control outcomes, and healthcare utilization were assessed over a 10-year follow-up period.

A multivariable Cox regression model incorporating the same set of covariates was also used to evaluate the independent association between high magnesium status and incident dementia.

2.8

Statistical analysis

Time-to-event outcomes were analyzed using cause-specific Cox proportional hazards models and reported as hazard ratios (HRs) with 95% confidence intervals (CIs). This modeling strategy was selected because the objective was to examine the etiological association between magnesium status and subsequent dementia, rather than estimating the absolute cumulative incidence while accounting for competing mortality. The proportional hazards assumption was evaluated using the Schoenfeld residuals. Dementia-free survival was illustrated using Kaplan–Meier curves and compared between groups using log-rank tests.

For the primary outcome, E-values were calculated to estimate the minimum magnitude of association that an unmeasured confounder would need to have with both low magnesium status and dementia to fully account for the observed association between them. Statistical significance for the primary outcome was defined using a two-sided α-level of 0.05. Secondary outcomes, control outcomes, sensitivity analyses, and subgroup analyses were interpreted as exploratory; therefore, no adjustments for multiple comparisons were performed. All analyses were conducted using the available data without imputation for missing values.

3

Results

3.1

Patient selection and baseline characteristics

A total of 11,805 patients with low serum magnesium and 40,457 patients with normal magnesium levels were initially identified after applying the eligibility criteria. Before matching, several baseline characteristics differed substantially between the two cohorts, particularly the prevalence of hypertension, diabetes mellitus, alcohol-related disorders, liver diseases, malnutrition, and multiple medication classes, with several covariates showing SMDs above 0.10. After 1:1 propensity score matching, 11,716 patients were retained in each cohort, and all measured covariates achieved adequate balance with absolute standardized mean differences (SMDs) < 0.10 (Table 1).

Table 1

Baseline characteristics of patients with low magnesium status and matched controls before and after propensity score matching.

VariablesBefore matchingAfter matching
Low Mg group (n = 11,805)Control group (n = 40,457)SMDLow Mg group n = 11,716)Control group (n = 11,716)SMD
Patient characteristics
Age at index (years)63.1 ± 12.463.3 ± 13.10.02063.1 ± 12.463.0 ± 12.70.010
BMI ≥30 (kg/m2)3,723 (31.5)1,1955 (29.6)0.0433,691 (31.5)3,577 (30.5)0.021
Female5,161 (43.7)17,754 (43.9)0.0035,137 (43.8)5,165 (44.1)0.005
White7,986 (67.6)27,846 (68.8)0.0257,937 (67.7)7,955 (67.9)0.003
Black or African American1,763 (14.9)5,252 (13.0)0.0561,738 (14.8)1,718 (14.7)0.005
Asian398 (3.4)1,718 (4.2)0.046398 (3.4)383 (3.3)0.007
Comorbidities and healthcare utilization
Factors influencing health status and contact with health services8,796 (74.5)27,026 (66.8)0.1708,716 (74.4)8,634 (73.7)0.016
Essential (primary) hypertension7,145 (60.5)20,272 (50.1)0.2117,071 (60.4)7,091 (60.5)0.003
Diabetes mellitus3,826 (32.4)8,724 (21.6)0.2463,771 (32.2)3,805 (32.5)0.006
Nicotine dependence3,150 (26.7)7,598 (18.8)0.1893,095 (26.4)3,055 (26.1)0.008
Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders3,089 (26.2)8,432 (20.8)0.1263,045 (26.0)2,969 (25.3)0.015
Mood disorders3,061 (25.9)8,010 (19.8)0.1463,020 (25.8)2,992 (25.5)0.005
Ischemic heart diseases3029 (25.7)8,170 (20.2)0.1302,983 (25.5)2,942 (25.1)0.008
Alcohol related disorders3,047 (25.8)5,485 (13.6)0.3122,975 (25.4)2,986 (25.5)0.002
Cerebrovascular diseases2,628 (22.3)6,561 (16.2)0.1542,579 (22.0)2,574 (22.0)0.001
Diseases of liver2,452 (20.8)4,360 (10.8)0.2772,388 (20.4)2,298 (19.6)0.019
Sleep disorders2,331 (19.7)6,668 (16.5)0.0852,303 (19.7)2,252 (19.2)0.011
Overweight and obesity2,120 (18.0)5,860 (14.5)0.0942,092 (17.9)2,093 (17.9)0.000
Disorders of thyroid gland1,978 (16.8)5902 (14.6)0.0601956 (16.7)1857 (15.9)0.023
COPD1,929 (16.3)4,463 (11.0)0.1551,896 (16.2)1,883 (16.1)0.003
Heart failure1,750 (14.8)4,149 (10.3)0.1381,716 (14.6)1,712 (14.6)0.001
Atrial fibrillation and flutter1,709 (14.5)4,658 (11.5)0.0881,690 (14.4)1,660 (14.2)0.007
Chronic kidney disease (CKD)1,330 (11.3)2,974 (7.4)0.1351,303 (11.1)1,325 (11.3)0.006
Vitamin D deficiency1,212 (10.3)3,512 (8.7)0.0541,199 (10.2)1,153 (9.8)0.013
Malnutrition1,188 (10.1)1,738 (4.3)0.2251,137 (9.7)1,104 (9.4)0.010
Epilepsy and recurrent seizures1,053 (8.9)2,514 (6.2)0.1021,028 (8.8)995 (8.5)0.010
COVID-19428 (3.6)982 (2.4)0.070420 (3.6)413 (3.5)0.003
Systemic connective tissue disorders276 (2.3)863 (2.1)0.014275 (2.3)293 (2.5)0.010
Type of TBI
Concussion2,183 (18.5)7,214 (17.8)0.0172,166 (18.5)2,160 (18.4)0.001
Traumatic SDH1,816 (15.4)4,921 (12.2)0.0941,796 (15.3)1,790 (15.3)0.001
Traumatic SAH1,011 (8.6)2,673 (6.6)0.0741,000 (8.5)957 (8.2)0.013
Epidural hemorrhage249 (2.1)697 (1.7)0.028246 (2.1)262 (2.2)0.009
Laboratory data
Hemoglobin ≥ 12 g/dL8,853 (75.0)28,584 (70.7)0.0988,776 (74.9)8,673 (74.0)0.020
Albumin ≥ 3.5 g/dL)7,524 (63.7)21,830 (54.0)0.2007,440 (63.5)7,480 (63.8)0.007
HbA1c ≥ 9%905 (7.7)1,639 (4.1)0.154883 (7.5)906 (7.7)0.007
eGFR ≥60 mL/min/1.73 m29,114 (77.2)28,488 (70.4)0.1559,028 (77.1)8,975 (76.6)0.011
C-reactive protein≥ 10 mg/L1,846 (15.6)3,731 (9.2)0.1951,797 (15.3)1,771 (15.1)0.006
Vitamin B12 300-900 pg/mL1,890 (16.0)4,203 (10.4)0.1671,843 (15.7)1,804 (15.4)0.009
Medications
Central nervous system medications10,063 (85.2)31,419 (77.7)0.1969,974 (85.1)9,861 (84.2)0.027
Benzodiazepine6,642 (56.3)17,305 (42.8)0.2726,558 (56.0)6,496 (55.4)0.011
Diuretics4,510 (38.2)11,152 (27.6)0.2284,437 (37.9)4,474 (38.2)0.007
Anticonvulsants4,394 (37.2)11,278 (27.9)0.2004,332 (37.0)4,325 (36.9)0.001
Magnesium supplementation3,931 (33.3)8,844 (21.9)0.2583,859 (32.9)3,850 (32.9)0.002
Insulins and analogs3,415 (28.9)6,899 (17.1)0.2853,343 (28.5)3,357 (28.7)0.003
Blood glucose-lowering drugs, excluding Insulins2,285 (19.4)4,844 (12.0)0.2042,252 (19.2)2,255 (19.2)0.001
Anticholinergics1,553 (13.2)3,796 (9.4)0.1201,527 (13.0)1,476 (12.6)0.013

Data are presented as n (%) or mean ± standard deviation (SD). Covariate balance was assessed using standardized mean differences (SMDs); an absolute SMD < 0.10 indicates adequate balance. BMI, body mass index; COPD, chronic obstructive pulmonary disease; CKD, chronic kidney disease; COVID-19, coronavirus disease 2,019; eGFR, estimated glomerular filtration rate; HbA1c, hemoglobin A1c; SDH, subdural hemorrhage; SAH, subarachnoid hemorrhage; TBI, traumatic brain injury; Mg, magnesium; HR, hazard ratio; CI, confidence interval.

3.2

Outcomes

Over the 10-year follow-up window, the cumulative incidence of newly diagnosed dementia was higher in the low magnesium cohort than in the matched reference cohort (2.53% vs. 1.78%; HR 1.62, 95% CI 1.36–1.94, p < 0.001; Table 2, Figure 1). The corresponding E-value was 2.62 for the point estimate and 2.06 for the lower confidence bound. For the prespecified secondary outcomes, higher event rates were observed in the low magnesium cohort for vascular dementia (HR 1.97, p = 0.001), other types of dementia (HR 1.63, p < 0.001), cognitive dysfunction (HR 1.43, p = 0.009), and all-cause mortality (HR 1.29, p < 0.001), whereas the association with Alzheimer's disease did not reach statistical significance (HR 1.43, p = 0.075).

Table 2

Association between low magnesium status and the 10-year risk of incident dementia and secondary outcomes.

OutcomeLow Mg group (n = 11,716) Events (%)Control group (n = 11,716) Events (%)HR (95% CI)p value
Primary outcome
Overall dementia296 (2.53)208 (1.78)1.62 (1.36–1.94)< 0.001
Secondary outcomes
Alzheimer's disease55 (0.47)44 (0.38)1.43 (0.96–2.13)0.075
Vascular dementia59 (0.50)34 (0.29)1.97 (1.29–3.00)0.001
Other type of dementia266 (2.27)187 (1.60)1.63 (1.35–1.96)< 0.001
Cognitive dysfunction122 (1.04)97 (0.83)1.43 (1.09–1.86)0.009
Mortality2,396 (20.45)2,091 (17.85)1.29 (1.22–1.37)< 0.001
Positive control outcome
Serum calcium < 8.5 mg/dL6,035 (51.51)5,661 (48.32)1.30 (1.26–1.35)< 0.001
Negative control outcome
Appendicitis50 (0.43)63 (0.54)0.89 (0.61–1.28)0.519
Healthcare utilization validation
Healthcare visit9,738 (83.12)10,108 (86.28)1.02 (0.99–1.05)0.135
Exposure validation
Subsequent low magnesium6,184 (52.78)3,591 (30.65)2.55 (2.44–2.66)< 0.001

Mg, magnesium; HR, hazard ratio; CI, confidence interval.

Figure 1

Kaplan–Meier curves for dementia-free survival in patients with low magnesium status vs. normal magnesium status after propensity score matching. The outcome assessment window began after a 1-year landmark period. The shaded area represents a 95% confidence interval. Patients with low magnesium levels had significantly lower dementia-free survival than matched controls over the 10-year follow-up period (hazard ratio: 1.62, confidence interval: 1.36–1.94, log-rank p < 0.001). LM: low magnesium.

Figure image at the original source — open the original paper. This file is not included in this text import.

The positive control outcome (hypocalcemia) was more frequent in the low magnesium cohort (HR 1.30, p < 0.001), while the negative control outcome of appendicitis showed no significant between-group difference (HR 0.89, p = 0.519). Healthcare visit frequency was comparable between the cohorts (HR 1.02, p = 0.135), and subsequent low magnesium events occurred more frequently in the exposure cohort (HR 2.55, p < 0.001; Table 2). In the 5-year analysis, the association with overall dementia was of greater magnitude than that at 10 years (HR 1.94, p < 0.001), with consistent patterns for vascular dementia (HR 2.19, p = 0.004), other dementia types (HR 1.95, p < 0.001), and mortality (HR 1.28, p < 0.001); associations with Alzheimer's disease (p = 0.19) and cognitive dysfunction (p = 0.096) did not reach statistical significance at 5 years (Supplementary Table 2).

3.3

Sensitivity analyses

The findings were broadly consistent across the three prespecified sensitivity analyses (Table 3). After excluding patients who died during follow-up (Model I), the association with overall dementia persisted (HR 1.32, p = 0.006). Restricting patients with more than one healthcare encounter (Model II) yielded similar results (HR 1.37, p < 0.001), as did restricting patients older than 65 years (Model III; HR 1.62, p < 0.001). Associations with overall dementia, other types of dementia, and mortality reached statistical significance in all applicable sensitivity models, whereas associations with Alzheimer's disease, vascular dementia, and cognitive dysfunction reached statistical significance in some, but not all, models.

Table 3

Sensitivity analyses of the association between low magnesium status and the 10-year risk of incident dementia.

OutcomesModel I (n = 8,057 for each group)Model II (n = 9,434 for each group)Model III (n = 7,734 for each group)
HR (95% CI)P valueHR (95% CI)P valueHR (95% CI)P value
Overall dementia1.32 (1.08–1.61)0.0061.37 (1.15–1.63)< 0.0011.62 (1.34–1.94)< 0.001
Alzheimer's disease1.08 (0.71–1.65)0.7221.23 (0.84–1.81)0.2901.80 (1.18–2.74)0.010
Vascular dementia1.60 (0.99–2.60)0.0531.57 (1.05–2.35)0.0281.76 (1.15–2.70)0.010
Other type of dementia1.30 (1.06–1.60)0.0131.37 (1.14–1.64)0.0011.62 (1.34–1.97)< 0.001
Cognitive dysfunction1.64 (1.22–2.22)0.0011.36 (1.04–1.77)0.0251.28 (0.95–1.73)0.110
Mortality––1.27 (1.19–1.35)< 0.0011.30 (1.21–1.39)< 0.001

Model I excluded patients who died during follow-up; Model II included only patients with more than one healthcare encounter; and Model III was restricted to patients aged > 65 years. HR, hazard ratio; CI, confidence interval.

3.4

Subgroup analyses

In subgroup analyses by sex, the associations between low magnesium and overall dementia were comparable in men (HR 1.46, p = 0.004) and women (HR 1.35, p = 0.009), with no evidence of effect modification (P for interaction = 0.663; Table 4). When stratified by TBI severity, the associations with overall dementia were of similar magnitude in mild (HR 1.46, p = 0.003) and moderate-to-severe TBI (HR 1.46, p < 0.001), with no significant interaction (P for interaction = 1.000; Table 5).

No statistically significant heterogeneity was detected across the interaction tests for the remaining outcomes.

Table 4

Subgroup analysis of the association between low magnesium status and dementia risk stratified by sex.

OutcomesMaleFemaleP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.90)0.0041.35 (1.08–1.70)0.0090.663
Alzheimer's disease1.22 (0.63–2.37)0.5521.36 (0.84–2.19)0.2080.803
Vascular dementia2.53 (1.34–4.75)0.0031.17 (0.68–2.00)0.5740.145
Other type of dementia1.39 (1.07–1.82)0.0151.41 (1.11–1.80)0.0050.939
Cognitive dysfunction1.51 (1.01–2.26)0.0421.41 (0.99–2.01)0.0570.808
Mortality1.25 (1.16–1.35)< 0.0011.27 (1.17–1.39)< 0.0010.787

HR, hazard ratio; CI, confidence interval.

Table 5

Subgroup analysis of the association between low magnesium status and dementia risk stratified by TBI severity.

OutcomesMild TBIModerate to severe TBIP for interaction
HR (95% CI)P valueHR (95% CI)P value
Overall dementia1.46 (1.13–1.87)0.0031.46 (1.21–1.78)< 0.0011.000
Alzheimer's disease1.61 (0.92–2.82)0.0891.60 (0.98–2.60)0.0580.988
Vascular dementia1.00 (0.55–1.84)0.9881.77 (1.13–2.76)0.0110.147
Other type of dementia1.56 (1.20–2.03)0.0011.49 (1.22–1.82)< 0.0010.789
Cognitive dysfunction1.46 (1.00–2.11)0.0461.47 (1.10–1.96)0.0080.978
Mortality1.38 (1.25–1.52)< 0.0011.27 (1.19–1.35)< 0.0010.170

Mild TBI was defined as a concussion (ICD-10-CM: S06.0). Moderate-to-severe TBI was defined as intracranial injury involving structural brain lesions, including traumatic subdural hemorrhage (S06.5), traumatic subarachnoid hemorrhage (S06.6), epidural hemorrhage (S06.4), and other intracranial injuries under S06, excluding isolated concussion. HR, hazard ratio; CI, confidence interval; TBI, traumatic brain injury.

3.5

Adjusted hazard ratios from multivariable cox regression

In the multivariable Cox model incorporating demographic factors, comorbidities, and TBI subtypes, low magnesium status remained associated with incident dementia (adjusted HR 1.50, 95% CI 1.33–1.70, p < 0.001; Table 6). Older age, diabetes mellitus, mood disorders, alcohol-related disorders, cerebrovascular diseases, chronic kidney disease, and traumatic subdural hemorrhage were independently associated with incident dementia.

Table 6

Multivariable Cox proportional hazards regression for incident dementia (low magnesium status vs. normal magnesium status).

VariableHR (95% CI)P-value
Low Mg vs. control1.50 (1.33–1.70)< 0.001
Male0.95 (0.85–1.06)0.371
Age at index1.09 (1.08–1.09)< 0.001
Essential hypertension1.08 (0.95–1.22)0.247
Diabetes mellitus1.23 (1.08–1.39)0.001
Nicotine dependence1.06 (0.90–1.26)0.497
Mood disorders1.44 (1.26–1.64)< 0.001
Alcohol-related disorders1.31 (1.08–1.59)0.006
Cerebrovascular diseases1.28 (1.12–1.46)< 0.001
Diseases of liver1.15 (0.97–1.37)0.112
Overweight and obesity0.97 (0.83–1.14)0.712
Disorders of thyroid gland1.02 (0.90–1.17)0.729
Chronic kidney disease1.25 (1.07–1.47)0.007
Malnutrition1.12 (0.88–1.44)0.358
Traumatic subarachnoid hemorrhage1.10 (0.90–1.35)0.368
Traumatic subdural hemorrhage1.20 (1.02–1.40)0.024

HR, hazard ratio; CI, confidence interval; Mg: magnesium.

3.6

High magnesium status and dementia risk in patients with TBI

In the parallel analysis comparing 10,675 patients with high magnesium levels against the same matched reference cohort, an association with overall dementia was also observed (HR 1.57, p < 0.001; Supplementary Table 3). Higher event rates were also noted for Alzheimer's disease (HR 1.96, p = 0.002), vascular dementia (HR 2.06, p = 0.001), other dementia types (HR 1.55, p < 0.001), cognitive dysfunction (HR 1.65, p < 0.001), and mortality (HR 1.15, p < 0.001). The positive and negative control outcomes behaved as expected, and persistence of the exposure was confirmed by subsequent high-magnesium events (HR 2.17, p < 0.001).

In the multivariable Cox regression analysis, high magnesium status remained independently associated with incident dementia (adjusted HR 1.51, p < 0.001; Supplementary Table 4).

4

Discussion

To our knowledge, no previous large-scale study has specifically evaluated whether serum magnesium abnormalities are associated with the risk of long-term dementia in adults with TBI. In this cohort, both low and high serum magnesium levels were associated with a higher 10-year risk of incident dementia, suggesting that deviations in either direction may reflect or contribute to an unfavorable neurobiological milieu following TBI. Furthermore, the principal findings remained consistent across sensitivity analyses and subgroups defined by sex and TBI severity.

The association appeared stronger at 5 years than at 10 years, a temporal pattern that may partly reflect changes in magnesium status over an extended follow-up. These findings extend the U-shaped association between magnesium status and dementia beyond the general population to a clinically distinct TBI cohort, highlighting the potential relevance of disrupted magnesium homeostasis in shaping long-term neurodegenerative vulnerability after brain injury.

Several population-based cohort studies have examined the association between serum magnesium levels and dementia risk in the general adult population. The Rotterdam Study, which followed 9,569 participants over a median of 7.8 years, reported that both low ( ≤ 0.79 mmol/L) and high (≥0.90 mmol/L) serum magnesium levels were associated with an approximately 30% increased risk of dementia (23). The ARIC study, which included 12,040 participants with a median follow-up of 24.2 years, reported that low midlife serum magnesium levels were associated with a 24% higher risk of incident dementia (21).

The effect sizes observed in our TBI cohort were notably larger than those reported in these general populations, consistent with the possibility that pre-existing brain vulnerability may modify this association. Importantly, both the Rotterdam and ARIC studies (21, 23) relied on single baseline magnesium measurements, whereas our study required two qualifying measurements within 1 year, thereby capturing a more persistent exposure pattern and reducing the risk of misclassification. Moreover, a propensity score model was deliberately constructed to account for the clinical complexity of the TBI population.

In addition to demographic and cardiometabolic factors, matching incorporated TBI subtypes, vitamin D deficiency (37), nutritional indicators, and medication classes (38–41) relevant to cognitive outcomes.

In the primary analysis of low magnesium, the association with vascular dementia was the strongest among all subtypes (HR 1.97), followed by other dementia types (HR 1.63), whereas the association with Alzheimer's disease did not reach statistical significance (HR 1.43, p = 0.075). The prominence of vascular dementia is biologically plausible. When serum hypomagnesemia reflects reduced central nervous system magnesium availability, diminished voltage-dependent blockade of N-methyl-D-aspartate receptors may increase calcium influx and excitotoxic injury (13, 14, 42).

Intracellular magnesium depletion has also been demonstrated after experimental TBI (43). Such depletion may impair Mg–ATP-dependent energy metabolism and mitochondrial homeostasis, thereby increasing oxidative stress (11–14, 19, 44). In addition, magnesium deficiency may promote neuroinflammation and compromise endothelial and blood–brain barrier integrity (45–48). These processes may collectively contribute to cerebral small-vessel injury, neurodegeneration, and impaired synaptic plasticity after TBI. Although direct comparison with prior studies is limited, the Rotterdam Study (23) also found that the association between serum magnesium and Alzheimer's disease was directionally similar to that for overall dementia but did not reach statistical significance, broadly aligning with the weaker Alzheimer's-specific association observed in our low-magnesium analysis.

However, when the analysis was restricted to patients older than 65 years (sensitivity analysis Model III), all dementia subtypes, including Alzheimer's disease (HR 1.80, p = 0.010), showed significant associations with low magnesium, suggesting that age may be an important modifier of subtype-specific vulnerability.

Interestingly, high magnesium levels were associated with a higher risk of incident Alzheimer's disease. This divergence suggests that the two extremes of magnesium dysregulation may not confer dementia risk through symmetrical mechanisms. Low magnesium may directly amplify excitotoxic, mitochondrial, inflammatory, and vascular injury. Although population-based studies have reported an increased dementia risk at both low and high circulating magnesium concentrations (23, 25), the biological interpretation of high serum magnesium remains uncertain. High serum magnesium may reflect reduced renal excretion or exogenous magnesium exposure (49, 50), and circulating magnesium concentrations do not necessarily correspond to intracellular magnesium status (51).

Experimental elevation of brain magnesium has been shown to upregulate NR2B-containing NMDA receptor signaling, enhance synaptic plasticity, and improve learning and memory in rats (52). Therefore, the observed association with high serum magnesium should not be interpreted as evidence of direct magnesium neurotoxicity. Biomarker-confirmed dementia phenotyping is needed to determine whether high magnesium levels are linked to Alzheimer's-specific pathobiology, reflect underlying comorbidities, or represent a distinct marker of neurodegenerative vulnerability.

Low magnesium levels were associated with a similar increase in overall dementia risk after mild and moderate-to-severe TBI, with no evidence of effect modification by injury severity. This pattern contrasts with prior epidemiological evidence of a severity-dependent gradient in TBI-associated dementia risk (53, 54). The absence of such a gradient suggests that magnesium dysregulation may contribute to post-TBI cognitive vulnerability through mechanisms that are not primarily governed by the initial mechanical injury. Because no prior study has examined whether a modifiable metabolic factor differentially influences dementia risk across TBI severity strata, a direct comparison with the existing literature remains limited.

Several analytical safeguards were incorporated to support the internal validity of these findings. The positive control outcome of hypocalcemia occurred more frequently in the low magnesium cohort, consistent with the established physiological coupling between magnesium and calcium homeostasis through parathyroid hormone regulation (55), whereas the negative control outcome of acute appendicitis showed no between-group difference. Healthcare visit frequency was comparable between the cohorts, arguing against differential surveillance as an explanation for the observed associations. The stability of the exposure definition was supported by the markedly higher recurrence of low magnesium levels within the exposure cohort, indicating that these patients consistently exhibited hypomagnesemia over time.

This pattern suggests that the exposure classification reflects a sustained biological state rather than an isolated or transient laboratory variation. The E-value for the primary outcome was 2.62, indicating that an unmeasured confounder would need to be associated with both magnesium status and dementia by a risk ratio exceeding that of most known dementia risk factors to explain the observed association.

This study had several strengths. First, exposure was defined using repeated serum magnesium measurements, reducing misclassification relative to prior studies that were based on a single baseline value. Second, the 1-year landmark design strengthened temporal ordering by excluding early dementia diagnoses that may have reflected a pre-existing cognitive decline. Third, dementia was examined not only as a composite endpoint but also by subtype, allowing the identification of distinct patterns for Alzheimer's disease, vascular dementia, and other types of dementia. Finally, the parallel evaluation of low and high magnesium levels within the same study design allowed the two extremes of magnesium status to be interpreted against a common comparator, thereby strengthening the evidence for a U-shaped association with dementia risk.

Several limitations should be acknowledged. First, the observational design precludes causal inference; the observed associations may reflect residual confounding by unmeasured factors, such as dietary patterns, socioeconomic status, or genetic susceptibility. Second, serum magnesium represents less than 1% of total body magnesium and may not accurately reflect intracellular or central nervous system magnesium status (56), particularly in TBI, where blood–brain barrier integrity may be compromised. In addition, although requiring two qualifying magnesium measurements within 1 year reduced the likelihood of classifying patients on the basis of a single transient value, this criterion cannot fully establish chronic magnesium homeostasis.

The interval between measurements could vary within the 1-year window, and serum magnesium may still reflect recent nutritional, clinical, renal, or treatment-related status. Residual exposure misclassification is therefore possible. Third, TBI severity was classified using ICD-10-CM diagnostic codes rather than clinical scales, such as the Glasgow Coma Scale, which may result in misclassification of injury severity and limit the precision of subgroup analyses stratified by TBI severity. Additionally, the present study assessed only TBI severity and did not account for the number or recurrence of TBI episodes, which is a recognized independent risk factor for long-term neurodegeneration and may further modify the association between magnesium and dementia.

Fourth, dementia outcomes were ascertained using diagnostic codes rather than standardized cognitive assessments, potentially underestimating the true incidence. Fifth, although magnesium supplementation was balanced between cohorts after matching (approximately 33%), it remains possible that patients who maintained low levels despite supplementation represented a phenotype of more severe depletion, which could influence the observed associations. Finally, the TriNetX network predominantly comprises healthcare organizations in the United States, which may limit the generalizability of the findings to other populations.

5

Conclusion

In this large propensity score–matched cohort of adults with prior TBI, both low and high serum magnesium levels were associated with a greater 10-year dementia risk. The associations remained consistent across sensitivity analyses, subgroup analyses, and multivariable adjustments and were supported by the expected positive and negative control outcome patterns. These findings suggest that serum magnesium levels may serve as a clinically accessible indicator of long-term cognitive risk after TBI. However, prospective studies are needed to determine whether monitoring or modifying magnesium levels impacts post-traumatic dementia trajectories.

Edited by: Neluwa-Liyanage Indika, University of Sri Jayewardenepura, Sri Lanka

Reviewed by: Iván Pérez-Neri, National Institute of Rehabilitation Luis Guillermo Ibarra Ibarra, Mexico

Zhonghao Li, Beijing University of Chinese Medicine, China

Data availability statement

The datasets presented in this article are not readily available because the data were obtained from the TriNetX Global Collaborative Network under institutional license and are not publicly available. Restrictions apply because the dataset is proprietary and consists of de-identified electronic health record data from participating healthcare organizations. The authors cannot share or export individual-level data; access may be requested directly from TriNetX under an appropriate data-use agreement. Requests to access the datasets should be directed to https://live.trinetx.com.

Ethics statement

The studies involving humans were approved by Institutional Review Board of Chi Mei Medical Center. The studies were conducted in accordance with the local legislation and institutional requirements. The ethics committee/institutional review board waived the requirement of written informed consent for participation from the participants or the participants' legal guardians/next of kin because this study used de-identified, aggregated electronic health record data from the TriNetX Global Collaborative Network. No direct patient contact occurred, and no identifiable personal information was accessed.

The study posed minimal risk to participants, and the use of anonymized data precluded any impact on patient privacy or clinical care. Accordingly, the requirement for informed consent was waived by the Institutional Review Board in accordance with applicable ethical guidelines and regulations.

Author contributions

K-CH: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing. H-LW: Investigation, Methodology, Validation, Writing – original draft, Writing – review & editing. Y-CL: Data curation, Formal analysis, Investigation, Visualization, Writing – original draft, Writing – review & editing. I-WC: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Writing – original draft, Writing – review & editing.

Conflict of interest

The author(s) declared that this work 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 author(s) declared that Generative AI was used in the creation of this manuscript. An AI-based language model (ChatGPT, OpenAI) was used for language editing. The author(s) have reviewed and approved all content and take full responsibility for the 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.2026.1870929/full#supplementary-material

Supplement file at the original source — open the original paper. This file is not included in this text import.

References

1. Graham A Livingston G Purnell L Huntley J . Mild traumatic brain injuries and future risk of developing alzheimer's disease: systematic review and meta-analysis . J Alzheimers Dis. (2022 ) 87 :969 –79 . doi: 10.3233/JAD-220069 35491789
2. Gu D Ou S Liu G . Traumatic brain injury and risk of dementia and alzheimer's disease: a systematic review and meta-analysis . Neuroepidemiology. (2022 ) 56 :4 –16 . doi: 10.1159/000520966 34818648
3. LoBue C Munro C Schaffert J Didehbani N Hart J Batjer H . Traumatic brain injury and risk of long-term brain changes, accumulation of pathological markers, and developing dementia: a review . J Alzheimers Dis. (2019 ) 70 :629 –54 . doi: 10.3233/JAD-190028 31282414
4. Mavroudis I Kazis D Petridis FE Balmus IM Papaliagkas V Ciobica A . The association between traumatic brain injury and the risk of cognitive decline: an umbrella systematic review and meta-analysis . Brain Sci . (2024 ) 14 . doi: 10.3390/brainsci14121188 39766387 PMC11674444
5. Al-Rubaie A . Traumatic brain injury and dementia: mechanisms, risk stratification, and clinical management . J Clin Neurol. (2025 ) 21 :265 –76 . doi: 10.3988/jcn.2025.0079 40635532 PMC12303682
6. Dams-O'Connor K Bellgowan PSF Corriveau R Pugh MJ Smith DH Schneider JA . Alzheimer's disease-related dementias summit 2019: national research priorities for the investigation of traumatic brain injury as a risk factor for alzheimer's disease and related dementias . J Neurotrauma. (2021 ) 38:3186-94. doi: 10.1089/neu.2021.0216 34714152 PMC8820282
7. Zhou Y Chen Q Wang Y Wu H Xu W Pan Y . Persistent neurovascular unit dysfunction: pathophysiological substrate and trigger for late-onset neurodegeneration after traumatic brain injury . Front Neurosci. (2020 ) 14 :581 . doi: 10.3389/fnins.2020.00581 32581697 PMC7296179
8. Zheng RZ Lee KY Qi ZX Wang Z Xu ZY Wu XH . Neuroinflammation following traumatic brain injury: take it seriously or not . Front Immunol. (2022 ) 13 :855701 . doi: 10.3389/fimmu.2022.855701 35392083 PMC8981520
9. Boulton M Al-Rubaie A . Neuroinflammation and neurodegeneration following traumatic brain injuries . Anat Sci Int. (2025 ) 100 :3 –14 . doi: 10.1007/s12565-024-00778-2 38739360 PMC11725545
10. Ayerra L Shumilov K Ni A Aymerich MS Friess SH Celorrio M . Chronic traumatic brain injury induces neurodegeneration, neuroinflammation, and cognitive deficits in a T cell-dependent manner . Brain Res. (2025 ) 1850 :149446 . doi: 10.1016/j.brainres.2025.149446 39800094
11. Kumar Sahel D Kaira M Raj K Sharma S Singh S . Mitochondrial dysfunctioning and neuroinflammation: recent highlights on the possible mechanisms involved in Traumatic Brain Injury . Neurosci Lett. (2019 ) 710 :134347 . doi: 10.1016/j.neulet.2019.134347 31229625
12. Khatri N Thakur M Pareek V Kumar S Sharma S Datusalia AK . Oxidative stress: major threat in traumatic brain injury . CNS Neurol Disord Drug Targets. (2018 ) 17 :689 –95 . doi: 10.2174/1871527317666180627120501 29952272
13. Maier JAM Locatelli L Fedele G Cazzaniga A Mazur A . Magnesium and the brain: a focus on neuroinflammation and neurodegeneration . Int J Mol Sci . (2022 ) 24 . doi: 10.3390/ijms24010223 36613667 PMC9820677
14. Patel V Akimbekov NS Grant WB Dean C Fang X Razzaque MS . Neuroprotective effects of magnesium: implications for neuroinflammation and cognitive decline . Front Endocrinol. (2024 ) 15 :1406455 . doi: 10.3389/fendo.2024.1406455 39387051 PMC11461281
15. Zhu D You J Zhao N Xu H . Magnesium regulates endothelial barrier functions through TRPM7, MagT1, and S1P1 . Adv Sci. (2019 ) 6 :1901166 . doi: 10.1002/advs.201901166 31559137 PMC6755513
16. Marques B Klein M da Cunha MR de Souza Mattos S de Paula Nogueira L de Paula T . Effects of oral magnesium supplementation on vascular function: a systematic review and meta-analysis of randomized controlled trials . High Blood Press Cardiovasc Prev. (2020 ) 27 :19 –28 . doi: 10.1007/s40292-019-00355-z 31845310
17. Shahi A Aslani S Ataollahi M Mahmoudi M . The role of magnesium in different inflammatory diseases . Inflammopharmacology. (2019 ) 27 :649 –61 . doi: 10.1007/s10787-019-00603-7 31172335
18. Cazzola R Della Porta M Piuri G Maier JA . Magnesium: a defense line to mitigate inflammation and oxidative stress in adipose tissue . Antioxidants. (2024 ) 13 :893 . doi: 10.3390/antiox13080893 39199139 PMC11351329
19. Fesharaki-Zadeh A . Oxidative stress in traumatic brain injury . Int J Mol Sci. (2022 ) 23 :13000 . doi: 10.3390/ijms232113000 36361792 PMC9657447
20. Theus MH . Neuroinflammation and acquired traumatic CNS injury: a mini review . Front Neurol. (2024 ) 15 :1334847 . doi: 10.3389/fneur.2024.1334847 38450073 PMC10915049
21. Alam AB Lutsey PL Gottesman RF Tin A Alonso A . Low serum magnesium is associated with incident dementia in the ARIC-NCS cohort . Nutrients . (2020 ) 12 :3074 . doi: 10.3390/nu12103074 33050118 PMC7600951
22. Ben Zaken S Radomysky Z Koren G . Association between serum magnesium levels and alzheimer's disease or mixed dementia patients: a population-based retrospective controlled study . J Alzheimers Dis Rep. (2020 ) 4 :399 –404 . doi: 10.3233/ADR-200220 33163901 PMC7592834
23. Kieboom BCT Licher S Wolters FJ Ikram MK Hoorn EJ Zietse R . Serum magnesium is associated with the risk of dementia . Neurology. (2017 ) 89 :1716 –22 . doi: 10.1212/WNL.0000000000004517 28931641
24. Chen C Xun P Unverzagt F McClure LA Irvin MR Judd S . Serum magnesium concentration and incident cognitive impairment: the reasons for geographic and racial differences in stroke study . Eur J Nutr. (2021 ) 60 :1511 –20 . doi: 10.1007/s00394-020-02353-7 32737612 PMC7854858
25. Thomassen JQ Tolstrup JS Nordestgaard BG Tybjærg-Hansen A Frikke-Schmidt R . Plasma concentrations of magnesium and risk of dementia: a general population study of 102 648 individuals . Clin Chem. (2021 ) 67 :899 –911 . doi: 10.1093/clinchem/hvab041 33846733
26. Tu X Qiu H Lin S He W Huang G Zhang X . Low levels of serum magnesium are associated with poststroke cognitive impairment in ischemic stroke patients . Neuropsychiatr Dis Treat. (2018 ) 14 :2947 –54 . doi: 10.2147/NDT.S181948 30464479 PMC6220430
27. Chen IW Chang LC Chang YJ Lai YC Hung KC . Association between iron deficiency anemia and the risk of new-onset tuberculosis infection: a matched cohort analysis . Front Nutr. (2026 ) 13 :1727992 . doi: 10.3389/fnut.2026.1727992 41641159 PMC12866892
28. Chen IW Weng HL Liao SW Lai YC Wang KF Wu JY . Prognostic role of baseline hemoglobin level for long-term mortality in newly diagnosed rheumatoid arthritis: a cohort study . Front Nutr. (2025 ) 12 :1707271 . doi: 10.3389/fnut.2025.1707271 41377557 PMC12685636
29. Huang SH Weng HL Hung KC Ho CN Tsai WW Lai YC . Association of zinc deficiency and risk of new-onset dementia: a retrospective cohort study . Front Nutr. (2025 ) 12 :1666887 . doi: 10.3389/fnut.2025.1666887 41262731 PMC12624281
30. Chang YJ Weng HL Hung KC Ho CN Lai YC Wu JY . Vitamin D deficiency and risk of heart failure in patients with obstructive sleep apnea: a cohort analysis . Front Nutr. (2026 ) 13 :1755607 . doi: 10.3389/fnut.2026.1755607 41798844 PMC12960163
31. Wu JY Lee KW Huang SC Chang HY Lin YM . Comparative cardiovascular outcomes of renin-angiotensin system inhibitors in patients receiving maintenance hemodialysis: a large real-world cohort study . Front Pharmacol. (2026 ) 17 :1833065 . doi: 10.3389/fphar.2026.1833065 42375604 PMC13312885
32. Cheng WJ Kao CL Hung IY . Association of vitamin D deficiency with incident depression in patients with hearing impairment: an observational retrospective cohort study . Front Nutr. (2026 ) 13 :1856953 . doi: 10.3389/fnut.2026.1856953 42358300 PMC13290609
33. Kornelius E Lo SC Huang CN Wang YH Yang YS . Anxiety disorders in patients with thyroid nodules vs. thyroid cancer: a retrospective cohort study . Front Endocrinol. (2025 ) 16 :1539442 . doi: 10.3389/fendo.2025.1539442 40235655 PMC11996671
34. Hertel M Jaoulak H Heiland M Nahles S Preissner R Preissner S . Real-world data analysis of the risk of Fournier's gangrene in patients using sodium-glucose cotransporter 2 inhibitors (SGLT2i) . Front Pharmacol. (2025 ) 16 :1643866 . doi: 10.3389/fphar.2025.1643866 41451372 PMC12728056
35. Yang CC Tsai YW Wang SH Wu JY Liu TH Hsu WH . The effectiveness of oral anti-SARS-CoV-2 agents in non-hospitalized COVID-19 patients with nonalcoholic fatty liver disease: a retrospective study . Front Pharmacol. (2024 ) 15 :1321155 . doi: 10.3389/fphar.2024.1321155 38425651 PMC10902026
36. Wang Y Cai H Li C Jiang Z Wang L Song J . Optimal caliper width for propensity score matching of three treatment groups: a Monte Carlo study . PLoS ONE. (2013 ) 8 :e81045 . doi: 10.1371/journal.pone.0081045 24349029 PMC3859481
37. Cheng YC Lu CL Wang J Tsai ML Lu KC . Increased risk of incident dementia associated with vitamin D deficiency in glaucoma patients: a TriNetX cohort study . Front Nutr. (2026 ) 13 :1760959 . doi: 10.3389/fnut.2026.1760959 41743061 PMC12929110
38. Zheng YB Shi L Zhu XM Bao YP Bai LJ Li JQ . Anticholinergic drugs and the risk of dementia: a systematic review and meta-analysis . Neurosci Biobehav Rev. (2021 ) 127 :296 –306 . doi: 10.1016/j.neubiorev.2021.04.031 33933505
39. Islam MM Iqbal U Walther B Atique S Dubey NK Nguyen PA . Benzodiazepine use and risk of dementia in the elderly population: a systematic review and meta-analysis . Neuroepidemiology. (2016 ) 47 :181 –91 . doi: 10.1159/000454881 28013304
40. Tully PJ Hanon O Cosh S Tzourio C . Diuretic antihypertensive drugs and incident dementia risk: a systematic review, meta-analysis and meta-regression of prospective studies . J Hypertens. (2016 ) 34 :1027 –35 . doi: 10.1097/HJH.0000000000000868 26886565
41. Li Z Lin C Cai X Lv F Yang W Ji L . Anti-diabetic agents and the risks of dementia in patients with type 2 diabetes: a systematic review and network meta-analysis of observational studies and randomized controlled trials . Alzheimers Res Ther. (2024 ) 16 :272 . doi: 10.1186/s13195-024-01645-y 39716328 PMC11668108
42. Nowak L Bregestovski P Ascher P Herbet A Prochiantz A . Magnesium gates glutamate-activated channels in mouse central neurones . Nature. (1984 ) 307 :462 –5 . doi: 10.1038/307462a0 6320006
43. Heath DL Vink R . Traumatic brain axonal injury produces sustained decline in intracellular free magnesium concentration . Brain Res. (1996 ) 738 :150 –3 . doi: 10.1016/0006-8993(96)00957-2 8949939
44. Cernak I Savic VJ Kotur J Prokic V Veljovic M Grbovic D . Characterization of plasma magnesium concentration and oxidative stress following graded traumatic brain injury in humans . J Neurotrauma. (2000 ) 17 :53 –68 . doi: 10.1089/neu.2000.17.53 10674758
45. Wolf FI Trapani V Simonacci M Ferré S Maier JA . Magnesium deficiency and endothelial dysfunction: is oxidative stress involved? Magnes Res. (2008 ) 21 :58 –64 . 18557135
46. Xue W You J Su Y Wang Q . The effect of magnesium deficiency on neurological disorders: a narrative review article . Iran J Public Health. (2019 ) 48 :379 –87 . doi: 10.18502/ijph.v48i3.880 31223564 PMC6570791
47. Arancibia-Hernández YL Hernández-Cruz EY Pedraza-Chaverri J . Magnesium (Mg(2+)) deficiency, not well-recognized non-infectious pandemic: origin and consequence of chronic inflammatory and oxidative stress-associated diseases . Cell Physiol Biochem. (2023 ) 57 :1 –23 . doi: 10.33594/000000603 36722148
48. Tsuji R Inoue H Uehara M Kida S . Dietary magnesium deficiency induces the expression of neuroinflammation-related genes in mouse brain . Neuropsychopharmacol Rep. (2021 ) 41 :230 –6 . doi: 10.1002/npr2.12167 33675126 PMC8340841
49. Horibata K Tanoue A Ito M Takemura Y . Relationship between renal function and serum magnesium concentration in elderly outpatients treated with magnesium oxide . Geriatr Gerontol Int. (2016 ) 16 :600 –5 . doi: 10.1111/ggi.12530 26081346
50. Wakai E Ikemura K Sugimoto H Iwamoto T Okuda M . Risk factors for the development of hypermagnesemia in patients prescribed magnesium oxide: a retrospective cohort study . J Pharm Health Care Sci. (2019 ) 5 :4 . doi: 10.1186/s40780-019-0133-7 30805197 PMC6373027
51. Huijgen HJ Soesan M Sanders R Mairuhu WM Kesecioglu J Sanders GT . Magnesium levels in critically ill patients. What should we measure? Am J Clin Pathol. (2000 ) 114 :688 –95 . doi: 10.1309/JR9Y-PPTX-AJTC-QDRD 11068541
52. Slutsky I Abumaria N Wu LJ Huang C Zhang L Li B . Enhancement of learning and memory by elevating brain magnesium . Neuron. (2010 ) 65 :165 –77 . doi: 10.1016/j.neuron.2009.12.026 20152124
53. Nordström A Nordström P . Traumatic brain injury and the risk of dementia diagnosis: a nationwide cohort study . PLoS Med. (2018 ) 15 :e1002496 . doi: 10.1371/journal.pmed.1002496 29381704 PMC5790223
54. Gardner RC Burke JF Nettiksimmons J Kaup A Barnes DE Yaffe K . Dementia risk after traumatic brain injury vs nonbrain trauma: the role of age and severity . JAMA Neurol. (2014 ) 71 :1490 –7 . doi: 10.1001/jamaneurol.2014.2668 25347255 PMC4318558
55. Hoorn EJ Zietse R . Disorders of calcium and magnesium balance: a physiology-based approach . Pediatr Nephrol. (2013 ) 28 :1195 –206 . doi: 10.1007/s00467-012-2350-2 23142866
56. Ahmed F Mohammed A . Magnesium: The forgotten electrolyte-a review on hypomagnesemia . Med Sci. (2019 ) 7 :56 . doi: 10.3390/medsci7040056 30987399 PMC6524065
Publication and source details

Original title: U-shaped pattern in the association between serum magnesium levels and long-term dementia risk after traumatic brain injury: a retrospective cohort study

Kuo-Chuan Hung; Hsiu-Lan Weng; Yi-Chen Lai; I-Wen Chen

Frontiers in Nutrition · 2026

* Correspondence: I-Wen Chen, cheniwena60912@gmail.comCopyright © 2026 Hung, Weng, Lai and Chen.2026Hung, Weng, Lai and Chenhttps://creativecommons.org/licenses/by/4.0/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.The author(s) declared that financial support was not received for this work and/or its publication.

Repository JATS snapshot; version as supplied

Source retrieved: 2026-11-10T21:57:33.469823+00:00

DOI: 10.3389/fnut.2026.1870929 · PMC13495782