Primary care encounters are common among patients at risk for suicide. To evaluate the effectiveness of implementing population-based suicide care (SC) in primary care for suicide attempt prevention. Secondary analysis of a stepped-wedge, cluster randomized implementation trial. (ClinicalTrials.gov: NCT02675777). 19 primary care practices within a large health care system in Washington State, randomly assigned launch dates. Adult patients (aged ≥18 years) with primary care visits from January 2015 to July 2018. Practice facilitators, electronic medical record (EMR) clinical decision support, and performance monitoring supported implementation of depression screening, suicide risk assessment, and safety planning. Clinical practice and patient measures relied on EMR and insurance claims data to compare usual care (UC) and SC periods. Primary outcomes included documented safety planning after population-based screening and suicide risk assessment and suicide attempts or deaths (with self-harm intent) within 90 days of a visit. Mixed-effects logistic models regressed binary outcome indicators on UC versus SC, adjusted for randomization stratification and calendar time, accounting for repeated outcomes from the same site. Monthly outcome rates (percentage per 10 000 patients) were estimated by applying marginal standardization. During UC, 255 789 patients made 953 402 primary care visits and 228 255 patients made 615 511 visits during the SC period. The rate of safety planning was higher in the SC group than in the UC group (38.3 vs. 32.8 per 10 000 patients; rate difference, 5.5 [95% CI, 2.3 to 8.7]). Suicide attempts within 90 days were lower in the SC group than in the UC group (4.5 vs. 6.0 per 10 000 patients; rate difference, -1.5 [CI, -2.6 to -0.4]). Suicide care was implemented in combination with care for depression and substance use. Implementation of population-based SC concurrent with a substance use program resulted in a 25% reduction in the suicide attempt rate in the 90 days after primary care visits. National Institute of Mental Health.