This study will last 20 weeks. Participants will be randomly assigned to receive one of three dosing conditions: 1) standard fixed dose, 2) dose-by-weight, and 3) dose effect. The dose effect condition will include a dose of ORLAAM dependent on opiate use and withdrawal symptoms associated with opiate use; doses may be adjusted throughout the study. All participants will receive cognitive behavioral therapy throughout the study.