The aim of this study is to develop effective interventions for HIV-infected prisoners who are released to the community. The intervention that we will study will be directly observed therapy (DAART/DOT) and we will compare this to the current standard of care that involves self-administered therapy (SAT). All subjects will get transitional case management and all subjects with a prior history of opiate dependence will be offered opiate substitution therapy (buprenorphine or methadone).