The purpose of this study is to compare the effects of buprenorphine or methadone maintenance on cocaine taking and on the physiological and subjective effects of cocaine, including cocaine craving, in opiate-dependent cocaine users.