BACKGROUND. Persistence of HIV in sanctuary sites despite antiretroviral therapy (ART) presents a barrier to HIV remission and may affect neurocognitive function. We assessed HIV persistence in cerebrospinal fluid (CSF) and associations with inflammation and neurocognitive performance during long-term ART. METHODS. Participants enrolled in the AIDS Clinical Trials Group (ACTG) HIV Reservoirs Cohort Study (A5321) underwent concurrent lumbar puncture, phlebotomy, and neurocognitive assessment. Cell-associated HIV DNA and HIV RNA (CA-DNA, CA-RNA) were measured by quantitative PCR (qPCR). in peripheral blood mononuclear cells (PBMCs) and in cell pellets from CSF. In CSF supernatant and blood plasma, cell-free HIV RNA was quantified by qPCR with single copy sensitivity, and inflammatory biomarkers were measured by enzyme immunoassay. RESULTS. Sixty-nine participants (97% male, median age 50 years, CD4 696 cells/mm 3 , plasma HIV RNA <100 copies/mL) were assessed after a median 8.6 years of ART. In CSF, cell-free RNA was detected in 4%, CA-RNA in 9%, and CA-DNA in 48% of participants (median level 2.1 copies/10 3 cells). Detection of cell-free CSF HIV RNA was associated with higher plasma HIV RNA (P = 0.007). CSF inflammatory biomarkers did not correlate with HIV persistence measures. Detection of CSF CA-DNA HIV was associated with worse neurocognitive outcomes including global deficit score (P = 0.005), even after adjusting for age and nadir CD4 count. CONCLUSION. HIV-infected cells persist in CSF in almost half of individuals on long-term ART, and their detection is associated with poorer neurocognitive performance.