At Thomas Street Health Center (TSHC), one of the largest outpatient HIV clinics in the country, we developed a structured, theory-based, Patient Mentor Program to improve retention in HIV primary care. Many patients with HIV infection hospitalized at Ben Taub General Hospital (BTGH) do not successfully return to TSHC after discharge from the hospital. The purpose of this study is to test the efficacy of a patient mentor intervention in a 5-year randomized, controlled trial in more than 430 socio-economically and racially diverse HIV-infected patients hospitalized at BTGH. We hypothesize that the intervention will meaningfully increase retention in HIV primary care after discharge compared to an attention control.