This study aimed to determine whether there is a difference in pain scores and opioid consumption after elective surgery in patients maintained on methadone or buprenorphine for opioid use disorder (OUD). Additionally, we investigated the impact of continuing or discontinuing methadone or buprenorphine on post-operative pain outcomes. A single-center retrospective cohort study. Tertiary care medical center. Adults aged 18 years or older with OUD maintained on buprenorphine or methadone who underwent elective surgery between January 1, 2017, and January 1, 2021. Patients were identified through electronic medical records, and demographic and clinical data were collected. The primary outcome was opioid consumption at 24 hours post-operatively, measured in milligram morphine equivalents. The secondary outcome was opioid consumption and pain scores up to 72 hours post-operatively, assessed using a numeric rating scale. This study included 366 patients (64 percent on buprenorphine and 36 percent on methadone). Opioid utilization significantly increased when buprenorphine was not administered post-operatively. Both groups exhibited comparable total opioid consumption during the post-operative period. In the buprenorphine cohort, pain scores differed significantly based on the receipt of medications for OUD post-operatively. This study reinforces existing evidence supporting the continuation of medications for opioid use disorder, specifically buprenorphine and methadone, during the perioperative period. Dissemination of guideline recommendations is essential to ensure optimal post-operative pain management for this patient population.