These results suggested that the AAV-SaCas9/sgRNA system can be used to mediate efficient editing of CXCR4 in primary CD4+ T cells and confer resistance to HIV-1 infection, while not affecting cell growth and viability. This evidence concerns the gene CXCR4 and HIV-1 infection.