Criminal-legal (CL) referrals to addiction treatment have historically had low utilization of medications for opioid use disorder (MOUD). While state differences have been reported, an in-depth longitudinal analysis of state-by-state differences is lacking. The Substance Abuse and Mental Health Services Administration Treatment Episode Dataset-Admissions 2000-2020 provided data for individuals entering their initial treatment with an opioid as their primary substance. Outcome was planned use of MOUD, assessing odds ratio (OR) of CL referrals relative to non-CL referrals cumulatively over the 21-year period and as incremental change (change in relative disparity) using effect sizes, stratified by each state. 2,187,447 cases met the criteria. Planned MOUD occurred in 37.7% of non-CL clients versus 6.5% of CL clients (OR = 0.11, 95% confidence interval = 0.11-0.12). For all clients, planned MOUD increased from 2000 (33.9%) to 2020 (44.8%). This increase was blunted within CL clients, increasing from 2000 (6.4%) to 2020 (13.3%). Rhode Island saw the greatest improvements in equity. While rates of planned MOUD increased over the 21 years, a significant disparity persisted among CL clients in most states. As opioid use disorders and opioid-related overdoses are more prevalent among those involved with the CL system, improving this has high impact. Provides the most comprehensive analysis of state-by-state inequities in MOUD access for CL relative to non-CL referrals over a 21-year period through use of a national data set. Positive outliers are used as case examples for others to follow in pursuit of more equitable care.