Immunity imbalance of T helper 17 (Th17)/regulatory T (Treg) cells is involved in the pathogenesis of Crohn's disease (CD). Complanatuside A (CA), a flavonol glycoside, exerts anti‐inflammatory activities and our study aimed to identify its effect on TNBS‐induced colitis and the possible mechanisms. We found that CA alleviated the symptoms of colitis in TNBS mice, as demonstrated by prevented weight loss and colon length shortening, as well as decreased disease activity index scores, inflammatory scores, and levels of proinflammatory factors. Flow cytometry analysis showed that CA markedly reduced the percentage of Th17 cells while increasing the percentage of Treg cells in TNBS mice. Under Th17 cell polarizing conditions, CA inhibited the differentiation of Th17 cells while the Treg cell differentiation was elevated under Treg cell polarizing conditions. Furthermore, it was observed that JAK2 interacted with CA through six hydrogen bonds via molecular docking. The phosphorylation of JAK2/STAT3 was reduced by CA, which might be correlated with the protective effect of CA on colitis. In conclusion, CA reduced the imbalance of Th17/Treg cells by inhibiting the JAK2/STAT3 signaling pathway in TNBS‐induced colitis, which may provide novel strategies for CD treatment.