HIV-1 infection of the thymus contributes to the defective regeneration and loss of CD4+ T cells in HIV-1-infected individuals. Here, CD4 is linked to HIV-1 infection.