A randomized trial was conducted at drug diversion educational programs with a sample of 343 adult drug offenders who volunteered for the study. The trial tested three different interventions on HIV testing and condom use, with a 3 month follow-up. The study translated consistent basic research showing strong effects of memory practice on memory for new material. One of the conditions involved extensive memory practice of action plans involving HIV testing and condom use. Other conditions varied two active control interventions. Results showed that the memory practice condition led to a substantially larger odds of HIV testing than did the two control conditions. Condom use was also significantly more frequent in the memory practice condition than in one of the control conditions but was not significantly different from the second control condition.