BackgroundSevere mental illness (SMI), comprising schizophrenia, bipolar disorder and major depression, is associated with higher myocardial infarction (MI) mortality but lower coronary revascularisation rates. Previous studies have largely focused on schizophrenia, with limited information on bipolar disorder and major depression, long-term mortality or the effects of either sociodemographic factors or year of MI. We investigated the associations between SMI and MI prognosis and how these differed by age at MI, sex and year of MI.MethodsWe conducted a national retrospective cohort study, including adults with a hospitalised MI in Scotland between 1991 and 2014. We ascertained previous history of schizophrenia, bipolar disorder and major depression from psychiatric and general hospital admission records. We used logistic regression to obtain odds ratios adjusted for sociodemographic factors for 30-day, 1-year and 5-year mortality, comparing people with each SMI to a comparison group without a prior hospital record for any mental health condition. We used Cox regression to analyse coronary revascularisation within 30 days, risk of further MI and further vascular events (MI or stroke). We investigated associations for interaction with age at MI, sex and year of MI.ResultsAmong 235,310 people with MI, 923 (0.4%) had schizophrenia, 642 (0.3%) had bipolar disorder and 6239 (2.7%) had major depression. SMI was associated with higher 30-day, 1-year and 5-year mortality and risk of further MI and stroke. Thirty-day mortality was higher for schizophrenia (OR 1.95, 95% CI 1.64–2.30), bipolar disorder (OR 1.53, 95% CI 1.26–1.86) and major depression (OR 1.31, 95% CI 1.23–1.40). Odds ratios for 1-year and 5-year mortality were larger for all three conditions. Revascularisation rates were lower in schizophrenia (HR 0.57, 95% CI 0.48–0.67), bipolar disorder (HR 0.69, 95% CI 0.56–0.85) and major depression (HR 0.78, 95% CI 0.73–0.83). Mortality and revascularisation disparities persisted from 1991 to 2014, with absolute mortality disparities more apparent for MIs that occurred around 70 years of age, the overall mean age of MI. Women with major depression had a greater reduction in revascularisation than men with major depression.ConclusionsThere are sustained SMI disparities in MI intervention and prognosis. There is an urgent need to understand and tackle the reasons for these disparities.