The opioid receptor family originated from two duplication events of a single ancestral opioid receptor early in vertebrate evolution.
The endogenous opioid system is thought to be important in mediating complex social behaviors involved in the formation of stable, emotionally committed relationships.