Overall, this study provides evidence of complete restoration of structural and functional deficits in a model of HAND, reveals a novel fundamental role of CXCL12 in the mature brain, and identifies the molecular pathway responsible for CXCL12-mediated restoration of dendritic spines and cognitive performance. This evidence concerns the gene CXCL12 and HIV-associated neurocognitive disorder.