CD4 and bacterial urinary tract infection: CD4+ count [(AOR = 0.322, 95% CI = 0.108, 0.956)], current UTI [(AOR = 0.113, 95% CI = 0.041, 0.309)], and history of hospitalization [(AOR = 0.163, 95% CI = 0.041, 0.640)] were predictive factors of UTI.