Background. The topic of whether preoperative Th1/Th2 cells and their related factors have a predictive value for postoperative febrile urinary tract infection (UTI) in patients with ureteral calculi has not been explored. Objectives. The objective of this study was to investigate the role of preoperative Th1/Th2 cells and related cytokines in the prediction of postoperative febrile UTI after ureteroscopy in patients with ureteral calculi. Material and methods. One hundred sixty patients who underwent ureteroscopic pneumatic lithotripsy in the Affiliated Hospital of Hangzhou Normal University (China) were recruited and divided into febrile UTI group (n = 78) and non-UTI group (n = 82). Flow cytometry was used to detect the proportions of Th1 and Th2 cells (Th1% and Th2%). Detection of Th1/Th2 cell-related cytokines was conducted using enzyme-linked immunosorbent assay (ELISA). Quantitative real-time polymerase chain reaction (qRT-PCR) was applied to measure the expression of T-bet and GATA3. Results. Compared with patients in non-UTI group, those in febrile UTI group had significantly increased proportions of Th2 cells, levels of Th2 cytokines (interleukin (IL)-4, IL-10 and IL-5), and mRNA expression of Th2-associated transcription factor GATA3 (all p < 0.05). In addition, the Th1/Th2 ratio of febrile UTI group was significantly lower than that of non-UTI group (p < 0.001). Receiver operating characteristic (ROC) curve analysis showed that the accuracy rate of Th2%, Th1/Th2 ratio, and IL-4, IL-10 and IL-5 levels for the diagnosis of postoperative febrile UTI in patients with ureteral calculi was 90.63%, 85.00%, 72.50%, 87.50%, and 91.88%, respectively, and their combined diagnostic sensitivity was 97.4% with specificity as high as 100%. Conclusions. Perioperative Th2 dominance was correlated with the risk of postoperative febrile UTI after ureterscopy in patients with ureteral calculi, which can provide clinical guidance for the development of individualized treatment.