Urinary tract infection (UTI) is a common disease in urology and often occurs in patients with urolithiasis. This study aimed to identify the risk factors for UTI in patients with ureterolithiasis complicated with hydronephrosis, and to construct a simple and practical nomogram to predict the incidence of UTI for patients.