Introduction

Suicide is a leading cause of death with ~800,000 deaths per year worldwide1. While suicide rates vary by country, the age-adjusted suicide rate in the United States has increased 33% from 1999 to 2017 with more than 120 Americans dying by suicide every day2. With an estimated 2.1 million discharges for self-inflicted injuries from emergency departments and acute care hospitals reported in the US in 2013 alone3 and $50.8 billion in medical expenditures and lost productivity4, suicidal behavior is a major public health and economic burden5,6. Given the incalculable emotional and psychological costs, the true public health burden of suicidality is difficult to estimate6; however, these statistics highlight the importance of identifying causal risk factors for developing effective suicide reduction and prevention strategies7.

The relationship between mental health, educational attainment (EA), and cognitive performance (CP) are well documented8,9 with up to 54% of college students acknowledging suicidal ideation at some point during college10, and a recent longitudinal study showing that a history of suicide planning and attempt(s) prior to matriculation was associated with decreased college academic performance11. In addition, observational literature has shown that low EA may be a major risk factor for suicidal behavior throughout the life course12,13,14,15, which may contribute to the disparity in mortality across socioeconomic strata16. However, this relationship between EA and suicide behavior is complex and potentially confounded by CP, which is strongly associated with EA17,18 and also linked to suicidal behavior19. Like the EA–suicide behavior relationship, there is evidence suggesting a bidirectional association20,21.

However, caution is needed when inferring causality from multivariable-adjusted regression in observational data22,23,24, and observational studies are subject to reverse causation and residual confounding23,25 not only from correlated factors like CP and other socioeconomic status indices and cultural factors, but also from psychiatric symptoms and disorders, and potential behavioral mediators, also shown to affect suicidal behavior26,27. While randomized control trials (RCTs) are the “gold standard” of causal inference28, it is impossible (unethical) to construct an RCT examining the effects of either EA or CP on suicidal behavior. Therefore, it remains to be elucidated whether low EA and/or low CP are causes or consequences of suicidal behavior.

Mendelian randomization (MR) is a genetic epidemiology method that uses randomly inherited genetic variants as instrumental variables to assess possible causal relationships between environmental exposures (e.g., EA, CP), and outcomes (e.g., suicidal behavior). As genetic variants are not modifiable by confounders, MR is analogous to RCTs, except randomization occurs at meiosis29. If the genetically predicted values of the environmental exposure are associated with the outcome, then causal inference may be drawn from their association23,30, and thus MR is an important analytical strategy when RCTs are impractical or unethical23.

The pathways to suicidal behavior are complex and involve the dynamic interaction of psychological, genetic, social, and cultural factors31, and while the precise genetic basis of suicidal behavior remains largely unknown31, studies have shown that the genetic basis of suicidal behavior is polygenic, heritable and, in part, distinct from that of psychiatric disorders32,33, while recent sufficiently powered genome-wide association studies (GWASs) have identified the first conventional genome-wide significant (GWS) (P < 5 ×10−8) loci associated with suicide attempts in both the general population33 and in a psychiatric cohort32. There are also a growing number of MR studies using genetic data to investigate the relationship between suicide and modifiable risk factors, such as smoking34.

EA and CP are strongly influenced by social, cultural, environmental factors35,36; however, they are also polygenic and heritable37,38. Further, the genetic components explain a non-trivial percentage of their variance with a recent GWAS in 1.1 million participants found polygenic scores constructed to explain between 11–13% and 7–10% of the variance in EA and CP, respectively37. EA is also one of the most widely studied exposures in the MR field with evidence for the causal effects of EA on many behaviors and health outcomes, including alcohol consumption patterns and alcohol dependence (AD)39, smoking40,41, physical activity42, and cardiovascular disease43,44,45.

These conventional MR studies suggest that increasing years of education would help address health disparities, but failing to account for CP, which could be potentially driving the observed protective effect of increased EA if not accounted for in the analyses has important for implications for the formulation and evaluation of targeted prevention programs aimed at increasing EA to reduce morbidity and mortality associated with these outcomes and would be important for strategies aimed at reducing suicide. Multivariable MR (MVMR) is a recently developed method that allows for simultaneous assessment of separate but correlated exposures41,46 by incorporating genetic variants from each risk factor into the same model42. MVMR has been recently employed to disentangle the independent effect for each risk factor for a range of health outcomes: e.g., Richardson et al.47 recently used an MVMR framework to compare the causal roles of lipids and apolipoproteins with coronary heart disease found that the effects of low-density lipoprotein cholesterol (LDL-C) were attenuated in MVMR models accounting for other lipids and lipoproteins. Similarly, MVMR has been used to evaluate the total and direct effects of EA, and CP with many health and behavioral outcomes including smoking48, alcohol consumption, physical activity, and body mass index (BMI)42.

In this study, we used the largest publicly available GWASs on EA (N ≤ 766,345)37, CP (N ≤ 257,828)37, hospital-based records of either a primary or secondary diagnosis of a suicide attempt (N ≤ 50,264)49 to comprehensively examine the relationship between EA, CP, and suicide attempts. We first performed a conventional bidirectional MR analysis to identify the direction of the relationship(s). We then leveraged recently developed MVMR methods to identify whether EA or CP to identify the direct causal effect of one exposure controlling for the other (i.e., the effect of EA holding CP constant). Finally, given the strong genetic correlation of EA and CP with markers of socioeconomic status (SES)50,51, and, further, possible confounding from comorbid mental disorders (major depressive disorder (MDD), schizophrenia, and bipolar disorder (BD)), psychiatric symptoms (feeling tense, anxious, or depressed), and potential behavioral mediators (tobacco smoking and alcohol consumption) we performed additional MVMR analyses incorporating household income52, MDD, schizophrenia, BD, alcohol consumption53, past or current smoking status52, self-reported visits to a general practitioner (GP) or psychiatrist for nerves, anxiety, tension or depression (N ≤ 460,702)52 to evaluate the robustness of the main EA–suicide analysis.

Methods

Study design and data sources

Figure 1 displays the overall design of the study for the two-sample SVMR and MVMR analyses of the effect of EA and CP on the risk of a suicide attempt—adjusting for total household income (before taxes), alcohol consumption, past or current smoking status, and self-reported visits to a general practitioner or psychiatrist for nerves, anxiety, tension or depression. We used publicly available summary statistics from the Social Science Genetic Association Consortium (SSGAC), the Lundbeck Foundation Initiative for Integrative Psychiatric Research (iPSYCH), and the Medical Research Center-Integrative Epidemiology Center, UK Bristol (MRC-IEU) UK Biobank GWAS Pipeline (Supplementary Table 1; web links for downloading data provided). All studies have existing ethical permissions from their respective institutional review boards and include participant informed consent and included rigorous quality control. As all analyses herein are based on publicly available summary data, no ethical approval from an institutional review board was required.

Fig. 1: Study design schematic.
figure 1

Dashed lines indicate Mendelian randomization (MR) analyses of SVMR and MVMR exposure instruments on the outcome suicide attempt risk; MR methods/sensitivity analyses in parentheses. Gi instrument variants, EA educational attainment, CP cognitive performance, Income average household income before tax, MR Mendelian randomization, MVMR multivariable MR, SVMR single-variable MR, IVW inverse-variance weighted MR, MR-PRESSO Mendelian Randomization Pleiotropy Residual Sum, and Outlier, SNP single-nucleotide polymorphism. Instruments used were the genome-wide significant (P < 5 × 10−8) single-nucleotide polymorphisms (SNPs) extracted from each of the educational attainment (EA) and cognitive performance (CP) GWASs, as well as from each of the confounders, for the SVMR analyses, combined for the MVMR analyses, that were independent at a linkage disequilibrium (LD) r2 < 0.001, with clumping distance set at 10,000 kb, and found in each of the outcome suicide attempt risk GWASs.

Instruments

We extracted instrument SNPs for EA from the recent SSGAC GWAS meta-analysis of 70 separate GWASs from a total of 766,345 individuals of European ancestry including 442,183 from the UK Biobank prospective cohort study collected across the United Kingdom from 2006 to 201037. Using the standard heuristic significance threshold for these dimensional MR studies to make the work manageable, we included all SNPs associated at genome-wide significance (GWS) (P < 5 × 10−8) with the phenotype “educational attainment” (EA); due to educational systems differences across cohorts, EA had been constructed for the GWAS meta-analysis from an imputed years-of-education equivalent for each International Standard Classification of Education category mapped from each cohort’s survey measures. Across all cohorts (excluding the 23andMe cohort due to institutional restrictions), the sample-size weighted mean of EA is 16.8 years of schooling (standard deviation (s.d.) 4.2 years). Genetic association results are presented in s.d. units. We pruned the resultant list of GWS SNPs to exclude all SNPs with a pairwise linkage disequilibrium (LD) r2 > 0.001 (Supplementary Table 2).

We extracted SNPs for CP from the companion SSGAC GWAS meta-analysis of the Cognitive Genomics Consortium (COGENT) GWAS on general cognitive performance in 35,298 individuals, combined with the GWAS of cognitive performance in 222,543 individuals of the UK Biobank prospective cohort study, both of predominantly European ancestry (sample size N = 257,841). We included all SNPs associated with CP at GWS (P < 5 × 10−8). In the COGENT study, the phenotype was defined as the first principle component of three or more neuropsychological tests, including but not limited to tests assessing digit span, digit symbol coding, phonemic fluency, semantic fluency, trail-making, verbal memory for stories, verbal memory for words, visual memory, vocabulary and word reading (mean = 0.00, s.d. = 0.99); in the UK Biobank, the phenotype was defined as the standardized score (mean = 0.00, s.d. = 1.00) on up to four tests comprised of a 2-min verbal-numerical assessment of fluid intelligence (comprised of thirteen logic and reasoning questions): the genetic correlation between the score and general intelligence among children has been shown in prior studies to be ~0.8. SNP heritability for cognitive performance was found to be 0.209 (standard error (s.e.) = 0.007). LD score regression indicated a genetic overlap between cognitive performance and years of schooling (rG = 0.662, s.e. = 0.011). Genetic association results are presented in s.d. units. We pruned the resultant list of GWS SNPs to exclude all SNPs with a pairwise LD r2 > .001 (Supplementary Table 3).

To account for income in our MVMR analyses, we extracted SNPs from the MRC-IEU UK Biobank GWAS based on the responses of 397,751 individuals of European ancestry from the UK Biobank prospective cohort study52. We included all SNPs associated at GWS (P < 5 × 10−8) with the PHESANT-derived phenotype (UK Biobank data-field 738) from five categorically ordered responses of the study, with the first category “less than £18,000”, up the fifth category “more than £100,000”, categorizing average total household income before tax (income). We pruned the results to exclude all SNPs with a pairwise LD r2 > 0.001 (Supplementary Table 4).

To account for alcohol consumption, we extracted SNPs from the 2017 SSGAC GWAS for units of alcohol consumption based on the responses of 112,117 individuals of European ancestry from the UK Biobank prospective cohort study on average weekly alcohol consumption of a range of alcohol drink types, including red wine, white wine, champagne, spirits, beer, and cider53. We included all SNPs associated at GWS (P < 5 × 10−8) with the constructed phenotype and pruned the results to exclude all SNPs with a pairwise LD r2 > 0.001, leaving 36 independent SNPs (Supplementary Table 5). Mean consumption for respondent females was 10.0 alcohol units per week (standard deviation (s.d.) = 1.8) and for males, 20.8 units per week (s.d. = 19.0), and, overall, 15.1 units per week (s.d. = 16.6): large genetic overlap and genetic overlap between male and female consumption were found (rG = 0.90, s.e.= 0.09, P = 16 × 10−23). SNP heritability was 0.13 (standard error (s.e.) = 0.01) overall, 0.15 (s.e. = 0.01) for males, and 0.13 (s.e. = 0.01) for females. LD score regression indicated a genetic overlap between alcohol consumption and years of schooling (rG = 0.18, s.e. = 0.03).

We extracted SNPs from the MRC-IEU UK Biobank GWAS to account for ever smoker status based on the responses of 461,066 individuals of European ancestry (280,508 cases; 180,588 controls) again from the UK Biobank prospective cohort study52. We included all SNPs associated at GWS (P < 5 ×10−8) with the PHESANT-derived phenotype (UK Biobank data-field 20160), constructed from responses on current and past tobacco smoking: individuals were classified as “ever smoker” if they responded “most days” or “occasionally” to the current tobacco smoking query or if they responded “most days”, “occasionally”, or “tried once or twice” to the past tobacco smoking query. We pruned the results to exclude all SNPs with a pairwise LD r2 > 0.001 (Supplementary Table 6).

Similarly, we extracted SNPs from the MRC-IEU UK Biobank GWAS to account for nerves, tension, anxiety or depression, based alternatively upon the responses of 459,560 individuals of European ancestry (158,561 cases; 300,995 controls) to the query about ever having seen a general practitioner for nerves, tension, anxiety or depression, and upon the responses of 460,702 individuals (53,414 cases; 407,288 controls) to the query about ever having seen a psychiatrist for nerves, tension, anxiety or depression, in the UK Biobank prospective cohort study52. We included all SNPs associated at GWS (P < 5 × 10−8) with the PHESANT-derived phenotypes (UK Biobank data-field 2090 and 2100, respectively), pruned to exclude all SNPs with a pairwise LD r2 > 0.001 (Supplementary Table 7). To account for having a history of any psychotic experiences, we used summary association data from the recent Legge et al.54 GWAS in the UK Biobank (6123 cases; 121,843 controls) (Supplementary Table 1). We pruned the results to exclude all SNPs with a pairwise LD r2 > 0.001 (Supplementary Table 8).

To account for potential confounding by major psychiatric disorders, we included additional analyses using summary association data from three GWAS that did not include the iPSYCH cohort in the analysis—probable MDD (30,603 cases; 143, 916 controls)55, schizophrenia (35,476 cases; 46, 839 controls)56, and BD (7647 cases; 27,303 controls)57 (Supplementary Table 1). We pruned the association data to exclude all SNPs with a pairwise LD r2 > 0.001 (Supplementary Table 8). The samples were of white, European ancestry, except for the schizophrenia data were of predominantly white, European ancestry, but contained 1866 cases and 3414 controls of East Asian ancestry, too56.

For our MVMR analyses combining EA and CP, along with income, alcohol consumption, ever smoker status, and alternatively, ever having seen a general practitioner or psychiatrist for nerves, tension, anxiety, or depression, we included all independent SNPs (LD r2 < 0.001; 10,000 kb window), which were GWS (P < 5 × 10−8) in any the GWASs (Supplementary Table 9).

Suicide attempt outcomes

We extracted summary statistics on the associations of the instruments SNPs with suicide attempt (SA) from the recent iPSYCH GWASs in a sample constructed from a cohort of 1,472,762 singletons born in Denmark between 1981 and 2005 and residing in Denmark on their first birthday, including 57,377 participants diagnosed with one or more mental disorders according to the 10th Revision of International Classification of Diseases (i.e., schizophrenia, bipolar disorders, affective disorders, autism spectrum disorder, anorexia) and, additionally, a non-psychiatric population-based random sample of 30,000 participants drawn also from the cohort49. Sample participants were further screened by the Danish Psychiatric Central Research Register and National Registry of Patients for diagnoses of non-fatal suicide attempts; cases also included those with combinations of diagnoses with the main diagnoses recorded as a mental disorder, and a secondary diagnosis recorded as poisoning by drugs or other substances, or injuries to the hand, wrist, and forearm, well-established proxies for suicide attempt49. The control group consisted of all persons not diagnosed with one or more suicide attempts with and without diagnosed mental disorders. After quality control, and excluding children, 50,264 persons remained in the sample for the GWAS, of which 6024 (12%) recorded at least one suicide attempt, and 44,240 (88%) did not49. For the 6024 cases, 17.9% were aged 15–19 years, 37.2% 20–24 years, 35.6% 25–29 years, and 9.4% 30–34 years; 54.7% of the cases had 1 recorded suicide attempt; 22.4%, 2; 14.8%, 3–4; 6.9%, 5–9; and 2.0%, 10 or more.

The iPSYCH GWAS (model 1) used for the main anlayses did not account for comorbid mental disorders: the GWAS was conducted using logistic regression to calculate the log odds ratio of the risk of suicide attempt with the only gender, years followed, and first ten principal components of genetic ancestry included as covariates. The companion iPSYCH GWAS (model 2) accounted for comorbid mental disorders by including a series of binary covariates for diagnoses of the following: schizophrenia, bipolar disorder, affective disorder, autism spectrum disorders, anorexia, and “any other disorder”. We adopted the “Model 1” and “Model 2” notation for the purposes of this study. Cognizant of the potential for collider bias in GWAS analyses adjusting for environmental covariates since genetic variants may be, in theory, associated with both the primary outcome (here suicide attempt) and the covariates used for an adjustment (i.e., psychiatric disorders)58, we used the iPSYCH model 2 solely as a sensitivity analysis used in addition to the MVMR analyses including psychiatric symptoms, alcohol consumption, smoking, MDD, schizophrenia, and bipolar disorder.

Extraction of instruments from outcome GWASs and harmonization of effect alleles

Of the 318 possible GWS SNPs associated with EA, 270 SNPs were present in both iPSYCH models 1 and 2 suicide attempt (SA) risk GWASs, and 46 SNPs were removed during harmonization for being palindromic with intermediate allele frequency, leaving 224 SNPs for SVMR analysis. Of the 157 possible SNPs associated with CP, 127 SNPs were present in the SA GWASs, and 23 SNPs were removed during harmonization for being palindromic with intermediate allele frequency, leaving 104 SNPs for SVMR analysis. Of the 333 possible independent SNPs of the combined MVMR instrument set, 265–288 SNPs were present in the SA GWASs, depending on the combination of exposures. We calculated the F-statistics and the F-statistic 95% confidence interval (95% CI) lower bound (in parentheses) for each exposure to assess the strength of each of the instruments present in the SA GWAS, and all exceeded the threshold F-statistic of 10 recommended for MR analysis59 (EA F-statistic 59.8 (95% CI lower bound 58.1); CP 55.2 (52.9); household income: 45.3 (41.9); alcohol consumption 31.8 (28.6); ever smoker status 48.8 (45.8); ever seen a general practitioner for nerves, tension, anxiety or depression 31.0 (27.6); and ever seen a psychiatrist for nerves, tension, anxiety or depression: 26.4 (23.9) (Supplementary Table 10). We were unable to calculate conditional F-statistics to assess the strength of our multivariable instruments: SVMR statistical methods recently extended by Sanderson et al.60 to two-sample MVMR are appropriate only for non-overlapping exposure summary-level data sources; when overlapping, the requisite pairwise covariances between SNP associations are determinable only using individual-level data.

Sample independence

Participant overlap in samples used to estimate genetic associations between exposure and outcome in two-sample MR can bias results46,61, so we endeavored to minimize overlap to reduce this source of weak instrument bias. In this study, exposure and outcomes were derived from non-overlapping samples. Exposures, however, were, derived from overlapping UKBB-based samples. As regards potential biases arising from participant overlap in samples used to construct the multivariable instrument sets, we are unaware of any tests to assess weak instrument bias arising therefrom, however, unconditional single variable and conditional multivariable F-statistics assessing the strength of the instruments may be used to indicate any overall weak instrument bias. We calculated unconditional SVMR instrument F-statistics, all of which exceeded the rule-of-thumb F > 10, but, as described above, we are not able to calculate conditional MVMR instrument F-statistics.

Statistical analysis

For SVMR, applied to assess the total effects of EA and CP on the risk of suicide attempt, with and without accounting for comorbid mental disorders, and vice versa, we used inverse-variance weighted MR (MR IVW) (single-variable weighted linear regression) along with the complementary MR Egger, weighted median and weighted mode methods, to assess the evidence of the causal effects of EA and CP on the risk of suicide attempt, so as to detect the sensitivity of the results to different patterns of violations of IV assumptions: consistency of results across methods strengthens an inference of causality62. MR IVW is generally regarded as the main method: in the absence of pleiotropy and assuming the instruments are valid, MR IVW returns unbiased estimates of a causal effect are returned so long as horizontal pleiotropy is balanced62,63. MR Egger extends MR IVW by not setting the intercept to zero, thus allowing the net-horizontal pleiotropic effect across all SNPs to be unbalanced or directional (i.e., some SNPs could be acting on the outcome through a pathway other than through the exposure)63,64. MR Egger returns unbiased causal effect estimates even if the assumption of no horizontal pleiotropy is violated for all SNPs, but the estimates are less precise than MR IVW. Weighted median MR uses the median effect of all available SNPs so that only half of the SNPs need to be valid instruments (i.e., no horizontal pleiotropy, no association with confounders, and robust association with the exposure) to return an unbiased causal effect estimate. Stronger SNPs contribute more towards the causal estimate, with the contribution of each SNP weighted by the inverse variance of its association with the outcome65. Weighted mode-based MR clusters the SNPs into groups based on the similarity of causal effects and returns the causal effect estimate based on the cluster that has the largest number of SNPs: unbiased causal effects so long as the SNPs within the largest cluster are valid instruments. Weighted mode MR weights each SNP’s contribution to the clustering by the inverse variance of its outcome effect. Assuming the most common causal effect is consistent, the estimated causal effects would be unbiased even if all other instruments are invalid66.

For MVMR, performed to assess the independent direct effects of EA and CP on the risk of suicide attempt, with and without accounting for comorbid mental disorders and other potential confounders, including household income, alcohol consumption, ever smoker status, and self-reported nerves, tension, anxiety or depression, we used the extension developed by Burgess et al.63 of the IVW MR method, performing multivariable weighted linear regression (variants uncorrelated, random effect model) with the intercept term set to zero, and, additionally, the MVMR extension of the MR Egger method to correct for both measured and unmeasured pleiotropy67.

Sensitivity analyses and diagnostics

We used the iPsych model 2 (GWAS on suicide attempts accounting for psychiatric diagnoses) as a primary sensitivity analysis to the main model 1 findings. To evaluate heterogeneity in genetic instrument effects, indicating potential violations of the instrumental variable (IV) assumptions, we used MR Egger intercept test68, the Cochran Q heterogeneity test69, and the MR pleiotropy residual sum and outlier (MR-PRESSO) test70. An MR Egger regression intercept is generally interpreted as the average pleiotropic effect across all instruments: MR Egger regression thus provides a test for average pleiotropy, and further has been extended to correct for both measured and unmeasured pleiotropy in MVMR67. The Cochran Q test used to identify outliers in regression analysis generally has been applied in MR to detect average pleiotropy: pleiotropy can induce heterogeneity of individual ratio estimates70. MR-PRESSO detects pleiotropic bias in MR caused by a violation of the exclusion restriction IV assumption; extending the principal of the Cochran Q test, MR-PRESSO provides a global test to detect pleiotropic bias and identify sources of the bias (so-called outlier SNPs), and further has been extended to detect pleiotropic bias also in MVMR70. We used the MR-PRESSO global test to identify outlier SNPs; removing the outlier SNPs, we reran the MR and retested so as to determine whether removing outliers resolved the detected heterogeneity. The MVMR models accounting for psychiatric symptoms (psychotic experiences, feeling anxious and/or depressed), behaviors (alcohol consumption and smoking), and psychiatric disorders (MDD, schizophrenia, and BD) were also used as additional sensitivity analyses to evaluating the robustness of the main EA–suicide findings

Interpretation of findings

While we caution against interpreting the study findings based solely on the basis of a dichotomous P-value threshold71, we used a two-sided alpha of 0.025 (based upon testing EA and CP) to dichotomize “significant” or not.

Results

We generally looked for those estimates (1) substantially agreeing in direction and magnitude across complementary MR methods, (2) exceeding nominal significance in MR IVW, (3) not indicating bias from horizontal pleiotropy (MR-PRESSO global P > 0.01; and/or also MR Egger intercept P > 0.01), and, for SVMR, (4) indicating true causal effect directionality (Steiger directionality test P < 0.01). Complete MR results with test statistics are presented in Supplementary Tables 912. MR-PRESSO outlier corrected results are presented in Tables 1, 2 and Fig. 2.

Table 1 Single-variable and multivariable inverse-variance weighted mendelian randomization associations between educational attainment and cognitive performance on risk of suicide attempt in individuals with and without mental disorders.
Table 2 Multivariable inverse-variance weighted mendelian randomization association between educational attainment and risk of suicide attempt in individuals with and without mental disorders, adjusted for tobacco smoking behavior, alcohol consumption behaviors, and whether ever seen a general practitioner or psychiatrist for nerves, tension, anxiety or depression.
Fig. 2: Single-variable Mendelian randomization analysis for (LEFT) educational attainment and (RIGHT) cognitive performance on risk of suicide attempts (not accounting for comorbid mental disorders).
figure 2

MR Mendelian randomization, SNP single-nucleotide polymorphism.

Total effects of educational attainment and cognitive performance

Using SVMR to assess the total effects of each exposure on our two models of the risk of suicide attempt (models 1 and 2; model 2 used summary statistics from the SA GWAS accounting for comorbid mental disorders). We found genetic variants associated with increased EA, not controlling/adjusting for CP, associated with decreased risk of suicide attempt (OR per unit standard deviation increase in EA, 0.524, 95% CI, 0.412–0.666, P = 1.07 × 10−7), and genetic variants associated with increased CP, not controlling/adjusting for EA, also associated with decreased risk of suicide attempt (OR per unit standard deviation increase in standardized score, 0.714, 95% CI, 0.577–0.885, P = 0.002). Accounting for comorbid mental disorders using the SA model 2 GWAS, we found associations of greater magnitude than in model 1 but less precision for both EA (model 2 OR, 0.687, 95% CI, 0.577–0.885, P = 0.002) and CP (model 2 OR, 0.794, 95% CI, 0.636–0.990, P = 0.040) (Table 1, lines 1, 2). Conversely, we found no evidence of bidirectionality: genetic variants associated with risk of suicide attempt (with and without accounting for comorbid psychiatric disorders) were not found to be associated with EA (OR 0.996, 95% CI, 0.984–1.007, P = 0.463) or CP (OR 1.003, 95% CI 0.983–1.023, P = 0.758) (Supplementary Table 11).

Independent effects of educational attainment and cognitive performance

Using MVMR to simultaneously assess the direct/ independent effects of each of EA and CP by controlling for the other, we found increased EA still associated, after controlling/adjusting for CP, with decreased risk of suicide attempt, with a greater magnitude for the point estimate of the direct effect but within the 95% confidence interval of the total effect estimate (OR, 0.450, 95% CI, 0.314–0.644, P < 1 × 10−4). Conversely, controlling/adjusting for EA, we found CP no longer associated with the risk of suicide attempt (OR, 1.044, 95% CI, 0.764–1.426, P = 0.786). Adjusting further for income, we found increased EA still associated with decreased risk of suicide attempt: the direct effect was greater (lower OR), and no longer within the 95% confidence interval of the total effect estimate (OR, 0.342, 95% CI, 0.206–0.568, P = 1.61 × 10−4); we found CP still no longer associated directly with the risk of suicide attempt (OR, 1.182, 95% CI, 0.842–1.659, P = 0.333) (Fig. 1; Table 1, lines 3–4, compared to lines 1–2; also Supplementary Table 12).

Accounting for comorbid mental disorders using the SA model 2 GWAS, as well as controlling for income via MVMR, we found increased EA still significantly associated with decreased risk of suicide attempt, but to a lesser extent and precision than found using model 1 (model 2 OR, 0.556, 95% CI, 0.388–0.796, P < 2 × 10−3). CP, when adjusting for EA, was still no longer significant (model 2 OR, 1.143, 95% CI, 0.803–1.627, P = 0.475) (Table 1, lines 6–7 and Supplementary Table 12).

Controlling for alcohol consumption and smoking behaviors, we found the effects of genetic variants associated with increased EA to be robust to the inclusion of genetic variants for these potential confounders (OR, 0.500, 95% CI, 0.389–0.642, P = 1.42 × 10−7), albeit with residual heterogeneity (Table 2, also Supplementary Table 12). Additionally, accounting for comorbid mental disorders using the SA model 2 GWAS, as well as alcohol consumption and smoking behaviors, we found increased EA still significantly associated with decreased suicide attempt again to a lesser extent and precision than found using model 1 (model 2 OR, 0.640, 95% CI, 0.502–0.816, P < 4.02 × 10−4).

Even controlling for having seen a GP or psychiatrist for symptoms of “nerves, tension, anxiety, or depression,” in addition to alcohol consumption and smoking behaviors (as opposed to using the SA model 2 GWAS, which included incidence of comorbid severe mental disorders among the participants in the GWAS regression), we again found the effects of genetic variants associated with increased EA to be broadly consistent and robust to the inclusion of these potential confounders (OR, 0.545, 95% CI, 0.425–0.699, P = 3.33 × 10−6, controlling for ever having seen a GP for nerves, tension, anxiety or depression; OR, 0.541, 95% CI, 0.421–0.696, P = 2.84 × 10−6, controlling for ever having seen a psychiatrist, etc.) (Table 2 and Supplementary Table 12). Further, in supplemental analysis, controlling for any psychotic experiences (PE), MDD, schizophrenia, and BD, genetic variants associated with increased EA were similarly found to be broadly consistent and robust (any psychotic experiences, OR, 0.468, 95% CI, 0.376–0.583, P = 1.14 × 10−11, controlling for PE; OR, 0.746, 95% CI, 0.578–0.963, P = 0.024, P = 1.66 × 10−3, MDD; OR, 0.631, 95% CI, 0.492–0.811, schizophrenia; and OR, 0.685, 95% CI, 0.541–0.867 P = 3.18 × 10−4, BD) (Supplementary Table 12).

As regards the potential confounders, we found associations of genetic variants associated with the incidence of smoking behaviors and nerves, tension, anxiety or depression on risk of suicide attempt, when analyzed separately in SVMR (Table 2 and Supplementary Table 11). When analyzed in combination in MVMR, only the variants associated with the incidence of smoking behaviors remained significantly associated with risk of suicide attempt (OR, 5.155 per unit increase in log odds of ever smoking, 95% CI, 1.707–15.571, P = 4.00 × 10−3).

The MR-PRESSO global tests and Cochran Q tests did not indicate heterogeneity, nor did the MR Egger intercepts indicate directional pleiotropy in any of the analyses, after outliers identified by MR-PRESSO were removed as sources of potential pleiotropy (Supplementary Tables 1012).

Discussion

In the current study, we use various MR methods to assess the relationship between EA, CP, and risk of a suicide attempt. Our findings highlight an important possible public health benefit of increasing EA: reducing the risk of suicidal behavior. Using multivariable MR, accounting for both CP and income, we found an additional 4.2 years of EA reduces the risk for having attempted suicide suggesting a causal pathway between EA and suicide attempt that is independent of CP, or socioeconomic status, as measured by income. Further, this EA–suicide relationship remained in additional analyses accounting for potential behavioral and psychiatric mediators (tobacco smoking, alcohol consumption, psychotic experiences, mood and anxiety symptoms, etc.), and psychiatric disorders—MDD, schizophrenia, and BD. Given the robust association between suicide attempts and later completed suicide with a recent 25-year longitudinal study estimating ~5% of suicide attempters72, these findings highlight an important modifiable factor to mitigate the mortality and morbidity due to suicidal behavior.

Notably, the inverse relationship between CP and risk of suicide attempt found in our SVMR analysis no longer remained after accounting for EA: the relationship appears to be mediated through EA. Conversely, we found in a bidirectional analysis that the genetic liability for suicide attempts affected neither the EA nor CP outcomes, suggesting that previous conventional analyses identifying such effects were due to confounding or reverse causation. Consistent estimates of the effect of EA across complementary MR methods used to assess sensitivity to of these estimates to changes in the underlying IV assumptions strengthens our inference of causality.

This study contributes to the increasing number of MVMR studies reporting an effect of EA on health outcomes after accounting for CP42,45,48,73, which, given the disproportionate disparity in suicide rates between individuals with a high school education or less compared to college graduates14,74, suggests a contribution to the substantial health inequalities observed associated with differences in EA75. Other study designs using innovative approaches have also found evidence for the causal effects of education on health outcomes75. For example, natural experiments, like compulsory educational reforms, that take advantage of external changes that affect EA but are unrelated to health, have shown causal effects on general health outcomes76,77, while twin design studies have found similarly strong causal effects on health outcomes78 and mortality79. While we were unable to assess directly which aspects of EA may be driving the identified relationship, we hypothesize aspects such as acquiring coping skills or being in a safe environment through periods of heightened suicide attempt risk (e.g., adolescence), may be important factors; however, future studies are required to elucidate specific mechanisms.

In the SVMR analysis, we found that CP reduces the risk for attempting suicide by almost 30%; however, after incorporating EA and income into a MVMR framework, CP was no longer associated with suicidal behavior, which supports previous observational literature finding that EA explains a substantial proportion of the association between CP and suicidal behavior80,81,82. CP and EA are genetically correlated37, and there is MR evidence supporting a bidirectional relationship between EA and CP73; however, using MVMR methods and sensitivity analyses to assess for possible pleiotropy, we were able to extricate their independent effects on the risk for having attempted suicide, which is critical when considering policies aimed at preventing suicide. Further, given that it has been shown that many individuals who die by suicide are never seen by health care professionals72, other added benefits of increased EA include using schools as ideal settings for therapeutic interventions including dialectical and cognitive-behavioral therapies83.

While MR does not elucidate the pathways between environmental exposures and outcomes48, we included in supplementary MVMR analyses potential variables that may mediate the relationship between EA and suicide attempt (i.e., economic, health-behavioral (psychiatric disorders; feeling tense, anxious, or depressed; tobacco smoking; and alcohol consumption). For example, tobacco smoking and alcohol consumption maybe some of the many possible health-behavioral pathways linking EA and suicide attempts84,85. We recently reported an MR study that found evidence EA causally impacts drinking patterns and the risk for alcohol dependence (AD) with increased EA reducing the frequency of binge drinking six or more drinks per occasion, and the risk for AD39; in this study, the effect of EA remained significant after accounting for tobacco smoking, alcohol consumption, and other associated psychiatric risk factors, suggesting prevention strategies aimed at improving EA may have a direct effect at reducing the risk for a suicide attempt. Differences in the prevalence of risk factors like alcohol consumption likely work in combination with, for example, limitations in access and differences in the ability to benefit from health care and medical information to contribute to the widening educational gradient in mortality14,86,87.

In addition, our polygenic instrument for EA may reflect both a biological mechanism (encoding characteristics that may increase EA) and social history (people from families with high EA may also have similar genetics)88 and as suicidal behavior is highly familial, and may be transmitted independently from psychiatric disorders89, it is possible an EA-associated influence on parental behavior may affect the child’s early developmental environments that may impact suicidal behavior later in life. While we were unable to evaluate the effect of familial EA on offspring suicide behavior because the summary-level data is not available, it has been shown by comparing polygenic scores for EA that maternal EA-linked genetics predict the child’s attainment better than the child’s own EA polygenic score88 suggesting it is plausible that the parental EA-genetics may also influence their child’s suicide propensity through environmental mechanisms.

Finally, while EA is—in addition to being influenced by environmental factors—polygenic37,38, the biological pathways through which the genetic variants comprising our genetic EA instrument impact EA is largely unknown37. However, the SNPs included in the instrument have been shown to be associated with several processes involved in early brain development including chromatin modification and transcription; post-translational regulations of gene expression, the formation of axons, dendrites, and synapses (which was also enriched in the CP instrument SNPs); and transmembrane transport of ions and solutes – including receptors for dopamine and serotonin37. Notably, altered synaptic plasticity, which may impact an individual’s ability to make appropriate adaptive responses to changing environmental stimuli, has been linked with suicidal behavior90, while dysregulated dopaminergic and serotonergic transmission have been associated with suicide ideation, attempts, and completions in several cohorts91, which together suggest potentially shared underlying biological mechanisms through which the genes associated with increased EA may impact suicide behavior.

Strengths and limitations

There are notable strengths of the current study, including the use of multiple MR sensitivity analyses (Egger, weighted median, and weighted mode MR) that each accommodates different assumptions about genetic pleiotropy to test the robustness of the IVW estimate92. In addition, the GWAS summary statistics of suicide attempt risk employed as our outcome are based on hospital records, which, unlike self-reported suicidal behavior, are not likely to be prone to social-desirability and recall biases93. Similarly, while 90% of those attempting suicide have at least one psychiatric disorder32, our analyses included examining the relationship between EA and suicide attempt using models accounting for DSM-IV psychiatric disorders49, and additional MVMR analyses accounting for MDD, schizophrenia, and psychotic experiences, symptoms of depression, anxiety, and other adverse behaviors (alcohol consumption and smoking) potentially involved in the EA–suicide relationship, which both act a sensitivity analyses and improves the generalizability of the main findings.

Interpreting the results of this study requires an understanding of its limitations. First, we would like to emphasize the included datasets were of white individuals of primarily European ancestry, and therefore it is important to note that these results may not generalize to other ethnic and racial populations. For example, Bridge et al.94 found strong evidence for a racial disparity in childhood suicide rates with black children two-times more likely to commit suicide than white children. It was also recently shown that EA protected non-Hispanic Whites, but not non-Hispanic Blacks against future suicide attempts and deaths95. Therefore, it will be necessary to examine the EA–suicide relationship in relationship in populations of different ethnicities. In addition, participants in the UK Biobank have been shown to be more educated, lead healthier lifestyles, and have fewer health problems than the general UK population96. Further, the nature of suicidality makes studying suicidal behavior difficult97, and while suicide attempts are strong predictors of later suicide completions—25% of those dying by suicide have a failed attempt within the year prior to completion3—we were unable to differentiate between violent and non-violent suicide attempts, which confer different risks for later completions98,99.

The underlying biological mechanisms through which the instrument SNPs impact EA and the other included variables remain largely unknown; however, some of the variants are located in genomic regions regulating brain development and expressed in the neural tissue and the central nervous system throughout development and the lifespan35. GWS (P-value < 5 × 10−8) SNPs for each included trait explains only a small proportion of its total variance, and while our final GWS EA and CP SNPs instruments explained ~1.7% and 2.2% of the variance in EA and CP, respectively (Supplementary Table 10), it may be overly simplistic to interpret these SNPs as representations of “EA genes” or “CP genes” due to the complex interaction with environmental factors35.

Further, it is well documented that differences in EA are associated with more access and utilization of health care, prevention, and treatment14,86,87, which given the strong correlation between suicide rates with indicators of health care access100 suggests a potential mechanism through which EA may affect suicidal behavior. However, EA retained a robust, potentially causal, relationship with suicide attempt notwithstanding the inclusion of genetic instruments accounting for having seen a GP or psychiatrist for symptoms of “nerves, tension, anxiety, or depression.”

While MVMR enables the simultaneous assessment of the effects of two or more exposures, other horizontal pleiotropy pathways, like personality traits, may still bias the estimates42. However, using different sensitivity analyses that have orthogonal assumptions to test for potential pleiotropy62, we found similar estimates across the methods. Next, it has been shown that genetic variants associated with EA are also linked with family background and parental EA101, suggesting that residual population stratification, assortative mating, and dynastic effects—where parental EA and CP affect the life outcomes of their offspring—could potentially explain these findings. Also, our EA instrument only evaluated the number of years of schooling at academic institutions, so resolving which aspects of education, or even how skills and values learned outside of formal academic training, impact suicide attempt risk will need to be evaluated by future studies. Similarly, CP represents an amalgamation of functions responsible for perception, thought, action, and emotion45,102, which might explain different aspects of the progression from suicidal ideation to attempts to completion80. Therefore, given the complexity of CP38 and the possible differential effects of various components of CP have on suicide risk, the verbal-numerical attainment and neuropsychological tests used to generate the CP outcome in the Lee et al. GWAS is insufficient to elucidate these differences. Therefore, future studies disentangling the role of distinct aspects of CP in suicidal behavior are necessary.

Further still, we were unable to distinguish the effects of gender as gender-specific suicide attempt GWASs are not yet available. However, gender is a well-known risk factor for suicide with females both demonstrating higher rates of non-fatal suicidal behavior (i.e., suicide ideation) and attempt suicide more frequently than males103. Conversely, males have been shown to have a higher rate of suicide completions104 and to use more violent and lethal methods105. It has been suggested that traditional gender roles may explain, in part, the observed gender differences in suicidal behavior106. For example, gender roles may reduce the likelihood of males to seek help for suicidal ideation or depression106, especially during times of economic stress where traditional gender roles may be impacted by societal expectations for males to provide for themselves and their family106. Similarly, while females are more likely to maintain social and family connections that may provide needed support during times of increased suicide risk107, the stigma associated with infertility or having children outside of marriage have been linked with increased suicidal behavior among women107. Since the summary association data used in this study included gender and age as covariates in the GWAS models, the outcome phenotype would be interpreted as risk of suicide attempt controlling for gender; however, future MR studies should investigate the EA–SA relationship when sex-specific suicide GWAS data becomes available.

Finally, the iPSYCH GWASs in the sample was constructed from a cohort of 1,472,762 singletons born in Denmark between 1981 and 2005, which resulted in an age-related breakdown of the 6024 included cases were as follows: 15–19 years (17.9%), 20–24 years (37.2%), 25–29 years (35.6%), and 30–34 years (9.4%)49. Suicidal behavior—and its predominant risk factors—is not constant over the life course108,109 and since the oldest iPSYCH participants were aged 34 years, we were unable to assess possible temporal components to our findings. In addition, we were unable to assess suicidal behavior within the ideation-to-action framework, where suicidal ideation and the progression from ideation to attempts are postulated to be distinct phenomena with unique predictors97, which makes future MR studies using GWASs that differentiate both have extended suicide behavior across the life course and differentiate between ideation and attempts necessary when the data becomes available.

Conclusion

Our analyses align with previous observational studies which suggest that EA causally diminishes the risk for suicide attempts among white individuals of European ancestry, while the negative effect of CP on the risk of suicide attempts may be mediated through the effect of CP on EA. In conjunction with the growing number of MVMR studies to identify a direct effect of EA after accounting for CP on various physical and psychiatric outcomes, our findings suggest that targeted prevention programs that increase EA may be useful to reduce the mortality due to suicide; however, future MR studies examining the EA–suicide relationship in other racial and ethnic populations are necessary.