The policy landscape around substance use has changed dramatically in the past decade, which may have affected the number and characteristics of treatment episodes for substance use disorder (SUD). In this study, we examine changes in the volume of SUD treatment referrals from the legal system and compare changes in the composition of substances used by referral source. We used publicly available discharge data on specialty SUD treatment episodes in the U.S. from 2015-2019 and included episodes involving adults that are discharged from specialty SUD treatment facilities during the study. We calculated descriptive statistics of specialty SUD treatment discharges in each year and aggregated across all years by referral source and substance(s) reported upon admission. To test differences by year and referral source, we conducted z-tests of proportions. The proportion of referrals to specialty SUD treatment from the legal system declined between 2015 and 2019 (p < 0.001). However, referrals from probation/parole and diversionary programs grew over time (p < 0.001) in number and proportion over time. Legal referrals were most often associated with alcohol or cannabis use, though referrals for these substances declined from 2015-2019. This research lays the groundwork for future investigations to evaluate the effect of important policy changes on referral sources to specialty SUD treatment and the quality and outcomes associated with referrals to treatment from the legal system.