Rapid opioid reduction or discontinuation was associated with higher hazard of self-harm, suicide attempt, and suicide death [HR: 2.77 (95% CI: 1.45-5.27)]. This association was stronger among patients with mental health conditions and those residing in underserved neighborhoods.