Using a machine-learning approach, we found that elevated levels of serum CRP as well as positive nitrite and leukocytes esterase on urinary dipstick analysis can accurately identify patients at risk of developing UTI. Here, CRP is linked to bacterial urinary tract infection.