CD4 T-lymphocytopenia and HIV replication were independent risk factors for CKD and ESKD in our study participants, suggesting that HIVAN may have accounted for a substantial number of CKD/ESKD cases. Here, CD4 is linked to HIV-associated nephropathy.