Controlling receptor functional selectivity profiles for opioid receptors is a promising approach for discovering safer analgesics; however, the structural determinants conferring functional selectivity are not well understood. Here, we used crystal structures of opioid receptors, including the recently solved active state kappa opioid complex wit