2. To determine whether maintaining methadone treatment during short-term incarceration is more effective in reducing HIV risk behaviors (both injecting and sexual) than methadone detoxification upon community re-entry.