CD4 and depressive disorder: This data article presents the raw data of a parallel two-arm randomized controlled trial investigating the preliminary effects of CBI on depression, anxiety, medication adherence, quality of life, and CD4 lymphocyte counts for PLWH in China.