The four year SPIRIT Trial, or Suicide Prevention Intervention for at-Risk Individuals in Transition, will recruit 800 pretrial jail detainees at risk for suicide. Each participant will be randomly assigned to today's standard care or to Safety Planning Intervention (SPI) method and then followed for one year after release. Outcomes include suicide events, suicide attempts and ideation, psychiatric symptoms, functioning, treatment utilization, problem-solving, belongingness, and cost-effectiveness.