This study provides multiple tests of the mechanisms by which Just Care for Families disrupts the effects of lifetime social risk factors of health (SRFOH) on ultimate outcomes of preventing escalation of opioid and/or methamphetamine use and suicide (ideation, intention, attempts). Just Care for Families 's effect on these outcomes is hypothesized to occur through two mechanisms of action: (1) improvement in malleable SRFOH (direct targets of intervention) and (2) improvement in substance use and mental health problems (intermediate prevention outcomes). Analyses will examine whether the effects vary as a function of non-malleable external, structural SRFOH, such as community poverty and healthcare service availability. Additionally, system dynamics will be used to examine patterns of influence between SRFOH and Just Care for Families intervention targets, case outcomes, and associated costs. This study is supported by and included in the Helping to End Addiction Long-term Initiative (https://heal.nih.gov/).