Pain management in pregnant and postpartum people with an opioid-use disorder (OUD) requires a balance between risks associated with opioid tolerance, including withdrawal or return to opioid use, considerations around social needs of the maternal-infant dyad, and the provision of adequate pain relief for the birth episode that is often characterized as the worst pain a person will experience in their lifetime. This multidisciplinary consensus statement between the Society for Obstetric Anesthesia and Perinatology (SOAP), Society for Maternal-Fetal Medicine (SMFM), and American Society of Regional Anesthesia and Pain Medicine (ASRA) provides a framework for pain management in obstetric patients with OUD. The purpose of this consensus statement is to provide practical and evidence-based recommendations and is targeted to health care providers in obstetrics and anesthesiology. The statement is focused on prenatal optimization of pain management, labor analgesia, and postvaginal delivery pain management, and postcesarean delivery pain management. Topics include a discussion of nonpharmacologic and pharmacologic options for pain management, medication management for OUD (eg, buprenorphine, methadone), considerations regarding urine drug testing, and other social aspects of care for maternal-infant dyads, as well as a review of current practices. The authors provide evidence-based recommendations to optimize pain management while reducing risks and complications associated with OUD in the peripartum period. Ultimately, this multidisciplinary consensus statement provides practical and concise clinical guidance to optimize pain management for people with OUD in the context of pregnancy to improve maternal and perinatal outcomes.