 The purpose of this randomized clinical trial is to compare methadone with buprenorphine for the treatment of chronic pain among patients who have developed a physical dependence on prescription opiate analgesics that is associated with psychosocial dysfunction i.e., addiction. 