Published online Dec 19, 2026. doi: 10.5498/wjp.124586
Revised: July 11, 2026
Accepted: July 27, 2026
Published online: December 19, 2026
Processing time: 157 Days and 19.9 Hours
Suicidal thoughts and attempts are an increasing public health concern; however, the impact of vitamin D on suicidal behavior is not well understood.
To examine the association between serum 25-hydroxyvitamin D3 [25(OH)D3] levels and suicidal ideation in a nationally representative United States sample and to investigate the potential reverse relationship between suicide attempts and vitamin D deficiency through two-sample Mendelian randomization (MR).
We analyzed data from 5089 adults from the National Health and Nutrition Examination Survey 2021-2023. Suicidal ideation was defined by the Patient Health Questionnaire-9 item 9 (score ≥ 1). Serum 25(OH)D levels were quantified using liquid chromatography-tandem mass spectrometry. Candidate variables were chosen via LASSO logistic regression, and the relationships of total 25(OH)D and 25(OH)D3 with suicidal ideation were assessed using the generalized additive model. Weighted logistic regression with stepwise adjustment was used to test the vitamin D-suicidal ideation association. Additionally, mediation analysis was utilized to explore the pathway from age through vitamin D to suicidal ideation. For two-sample MR, 18 single nucleotide polymorphisms for ever attempted suicide were drawn from the United Kingdom Biobank (n = 4933) with vitamin D deficiency from FinnGen as the outcome.
An independent association was found between lower serum 25(OH)D3 levels and suicidal ideation [odds ratio = 0.86, 95% confidence interval (CI): 0.76-0.98, P = 0.025]. Cross-sectional mediation analysis indicated that 25(OH)D3 statistically mediated 35.8% of the age-suicidal ideation association (average causal mediation effect coefficient = -0.00105, 95%CI: -0.00157 to -0.00053, P < 0.001). MR indicated suggestive yet insufficiently powered evidence (inverse-variance weighted, OR = 1.09, 95%CI: 1.00-1.18, P = 0.043; 53% statistical power).
Reduced levels of serum 25(OH)D3 are associated with a higher risk of suicidal thoughts, partly influencing the connection between age and suicidal ideation. MR analysis suggests a potential link between suicide attempts and an increased risk of vitamin D deficiency.
Core Tip: This study utilized a dual-method approach, integrating a cross-sectional analysis of data from the National Health and Nutrition Examination Survey 2021-2023 (n = 5089) with bidirectional two-sample Mendelian randomization, to examine the association between vitamin D levels and suicidal behavior. Cross-sectional analysis indicated that lower serum 25-hydroxyvitamin D3 concentrations were independently correlated with an increased likelihood of suicidal ideation (odds ratio = 0.86, 95% confidence interval: 0.76-0.98). Notably, Mendelian randomization analysis suggested that genetically predicted suicide attempts may contribute to decreased vitamin D levels rather than the converse. These findings offer novel insights into the intricate relationship between vitamin D status and suicidal behavior, underscoring the importance of ado