This analgesic binds to one of the subclasses of opioid receptors called mu receptors. At very high doses it blocks the effects of heroin but may increase craving for cocaine. Low doses may be an effective treatment for both heroin and cocaine craving. It is also being tested in combination with naltrexone for heroin addiction.