The means by which insomnia influences risk of suicide ideation are unknown.
Consequences of poor sleep like cognitive functioning may explain the link.
Socio-cognitive factors (fatigue, problem solving) partially mediated risk.
Depressive symptoms moderated relationships in our model, increasing suicide risk.
Results have implications for sleep-related intervention and prevention efforts.