Urinary metabolic disorders are one of the most common causes of stone formation in children. The purpose of this study was to evaluate the effect of urinary tract infections in the urinary metabolic characteristics as a risk factor in the incidence of urolithiasis. This case-control study was conducted in 222 children with urolithiasis in the range of 6 months to 16 years old in Sanandaj, Kurdistan, Iran during 2012-14. Patients were divided into two groups based on those with urinary tract infection and without urinary tract infection. Then, urine samples were collected from both groups, and levels of calcium, oxalate, citrate, uric acid, creatinine, and cysteine were measured. The collected information was analyzed using software SPSS (version 16). The ratio Average levels of calcium, magnesium, oxalate, cysteine, uric acid to creatinine in urine showed no significant difference between two groups based on statistical analysis. However, the amount of citrate to creatinine in children with urinary tract infection and urolithiasis was clearly less P=0.01. The results of this study show that the urinary tract infection cannot change the urinary metabolic characteristics, but it can be considered as a risk factor in kidney stone formation due to the reduced amount of citrate in the urine.