Through RNA sequencing and subsequent validation with molecular experiments, the anti-inflammatory action of UTI was demonstrated to be mediated by SOCS1, which inhibited the JAK2/STAT3 pathways, therefore lessening the signaling of cytokines. Here, STAT3 is linked to bacterial urinary tract infection.