CYP2D6 and major depressive disorder: This secondary analysis of A Depression and Opioid Pragmatic Trial in Pharmacogenetics (ADOPT PGx) evaluated associations between CYP2D6 phenotype and postoperative pain and opioid consumption among patients taking hydrocodone or oxycodone.<h4>Methods</h4>This analysis included participants from the ADOPT PGx Acute Pain Trial (NCT05966129).