Research presented at SLEEP 2017 found a correlation between insomnia and suicidal ideation, reports Healio. 

To obtain more data, researchers conducted an archival analysis of 2,617 members of the army that had been evaluated for suicidality and insomnia. Suicidal ideation over the last 30 days was assessed according to thoughts of death, thoughts of suicide, suicidal plan, suicidal intent and suicidal communication. Depression was assessed by whether the participant met criteria for a depressive episode during the past 30 days. Insomnia was defined as difficulties initiating and/or maintaining sleep within the last 30 days. The researchers conducted a stepwise logistic regression model to ascertain the connection between insomnia and the dimensional measures of suicidality.

Vargas and colleagues found that when controlling for depression, insomnia emerged as a significant predictor for suicidal communication (OR = 2.59; P< .01), thoughts of death (OR = 2.36; P < .001), suicidal plan (OR = 1.88; P< .01) and thoughts of suicide (OR = 1.66; P < .01). Only suicidal intent was not found to be significantly associated with insomnia.