Tissue-derived memory CD4+ T cells expressing CD127 restrict productive infection by HIV-1. Here, CD4 is linked to infection.