Government and healthcare entities are seeking solutions to optimize safe opioid prescribing practices. Electronic prescribing of controlled substance (EPCS) state mandates are becoming common, but lack thorough evaluation. Evaluate whether EPCS state mandates affect opioid prescribing patterns for acute pain treatment. This retrospective study was designed to assess prescribing patterns via percent change for quantity, day supply, and prevalence of prescribing method utilized for opioid prescriptions three months pre- and post-EPCS mandate. Prescription data are extracted from two regional divisions of a large community-based pharmacy chain between April 1, 2021 to October 1, 2021. Relationships of patient geographical locations and prescribing methods were assessed. Likewise, the relationship of opioids prescribed between insurance types were evaluated. Data was evaluated utilizing Chi-Square and Mann-Whitney U tests, with an a-priori alpha of 0.05. There was an increase pre- to post-state mandate of quantity and day supply (0.8% and 1.3% [p = 0.02; <0.001], respectively). There were significant decreases in total daily dose and daily morphine milligram equivalent (2.0% and 1.9% [p = <001; 0.254], respectively). A 16.3% increase was seen in electronic prescribing pre- to post-state mandate for prevalence of electronic prescribing versus other prescribing methods. There is a correlation between EPCS and prescribing patterns for acute pain treatment with opioids. The use of electronic prescribing increased post-state mandate. By promoting the use of electronic prescribing, the benefit of awareness and caution of opioid use draws attention to prescribers.