Here, using single-cell RNA-seq and functional studies in human primary CD4+ T cell models, we show that HIV infection with reporter constructs and laboratory and patient-derived strains triggers transcriptomic remodelling, activating the p53 pathway and a quiescence programme mediated by Krüppel-like factor 2 (KLF2), a key quiescence regulator. This evidence concerns the gene CD4 and HIV infectious disease.