After multivariate logistic regression analysis, TNF-α (OR, 1.957; 95% CI, 1.670–2.378; p < 0.001), NLR (OR, 1.357; 95% CI, 1.162–1.899; p = 0.036), age ≥ 65 years (OR, 2.531; 95% CI, 1.765–3.625; p = 0.043), and D-dimer (OR, 3.050; 95% CI, 1.925–4.856; p = 0.023) were identified as independent predictors for the occurrence of UTI in patients following ICH, as shown in Table 3. This evidence concerns the gene TNF and bacterial urinary tract infection.