On multivariable logistic regression analysis, single marital status (OR: 2.6, 95% CI: 1.1–6.1, and p = 0.026), low CD4+ counts of <200/μL (OR: 2.9, 95% CI: 1.1–7.7, and p = 0.031), and having UTI symptoms (OR: 2.5, 95% CI: 1.1–6.0, and p = 0.03) were independent predictors of UTI. Escherichia coli predominated (57.7%) and exhibited a low prevalence of resistance to nitrofurantoin (16.7%), gentamicin (10.0%), and ceftriaxone (13.3%). The gene discussed is CD4; the disease is bacterial urinary tract infection.