Much of the HIV/AIDS epidemic is driven by transmission from or to persons addicted to opiates. Many of these individuals pass through a correctional setting each year, creating an opportunity for linkage to substance abuse treatment. The purpose of this study was to evaluate the effectiveness of initiating opiate replacement therapy prior to release from incarceration on reducing HIV risk behaviors and drug relapse. In addition, this study evaluated the effectiveness of short-term payment versus non-payment of community opiate replacement therapy immediately following release from incarceration.