The objective of this study was to assess the diagnosis value of urinary inflammatory index (UII) and systemic immune-inflammation index (SII) for UTI. Nine inflammatory indexes including neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, SII and six UIIs were calculated for Receiver operating characteristic curve analysis to select which one is suitable for the screening of UTIs or distinguishing the types of bacteria. UII3, which calculated from leucocyte esterase (LE), nitrite, white blood cells and bacteria, was preferentially used as an indicator for the diagnosis of UTI when the threshold was set at 0.53. UII2 was more suitable for the distinction between groups when the cutoff is set to 0.94. Appropriate urinary inflammation index calculated by rapid urinalysis of urine dipstick and urine sediment can help us to predict urinary tract infection and bacterial type, and reduce the workload and costs of urine culture.