Suicidal ideation in treatment-resistant depression is linked with less deep sleep. The same group had increased nocturnal wakefulness and decreased sleep efficiency. Effect sizes were greater for those with bipolar than major depressive disorder. Sleep architecture may be a key putative biomarker in suicide prevention.