The purpose of this study was to determine whether thymic transplantation in addition to highly active antiretroviral therapy (HAART) will restore T cell function in HIV infection. Eight treatment-naive HIV-infected patients with CD4+ T cell counts of 200-500/mm3 were randomized into thymic transplantation and control arms. All patients received HAART (zidovudine, lamivudine, and ritonavir) for 6 weeks prior to transplantation. Thymic transplantation was done without immunosuppression, using postnatal HLA-unmatched cultured allogeneic thymus tissue. Patients were immunized every 6 months with the neoantigen keyhole limpet hemocyanin (KLH) and the recall antigen tetanus toxoid (TT). T cell phenotype and function and T cell receptor rearrangement excision circles (TRECs) were assessed. Thymic allografts were biopsied at 2 months. Six HIV-infected patients completed the study. Four patients received cultured allogeneic postnatal thymic grafts, two others were controls. CD4+ T cell counts increased and T cell-proliferative responses to Candida antigen and TT normalized in all patients. Proliferative responses to KLH developed in three of four transplant recipients and one of two controls. Patients responding to KLH after secondary immunization had greater TREC increases compared with the patients who did not respond. All thymic allografts were rejected within 2 months. In summary, four of six patients developed T cell-proliferative responses to the neoantigen KLH over the first 2 years of HAART. The transplanted thymus tissue, however, was rejected. There was no clear difference in restoration of T cell function in the transplant recipients compared with the controls. Increases in TRECs after initiation of HAART may correlate with improved immune function.