Olsalazine significantly increased the contents of IL-2, IL-10, IL-22, TGF and EGF in ulcerative colitis rats, and significantly decreased the scores of DAI, CMDI, HS and the contents in IL-7, IL-17, TNF-α, IL-1β and IFN-γ when compared with the model group. This evidence concerns the gene IL7 and ulcerative colitis.