The clinical drugs for ulcerative colitis mainly affect the inflammatory symposiums with limited outcomes and various side effects. Repairing the damaged intestinal mucosa is a promising and alternative strategy to treat ulcerative colitis. Trefoil factor family 2 (TFF2) could repair the intestinal mucosa, however, it has a short half-life in vivo. To improve the stability of TFF2, we have prepared a new fusion protein TFF2-Fc with much stability, investigated the therapeutic effect of TFF2-Fc on ulcerative colitis, and further illustrated the related mechanisms. We found that intrarectally administered TFF2-Fc alleviated the weight loss, the colon shortening, the disease activity index, the intestinal tissue injury, and the lymphocyte infiltration in dextran sulfate sodium (DSS)-induced colitis mice. In vitro, TFF2-Fc inhibited Caco2 cells injury and apoptosis, promoted cellular migration, and increased the expression of Occludin and ZO-1 by activating P-ERK in the presence of H
2
O
2
or inflammatory conditioned medium (LPS-RAW264.7/CM). Moreover, TFF2-Fc could reduce lipopolysaccharide (LPS)-induced production of inflammation cytokines and reactive oxygen species in RAW264.7 cells, and also inhibits the polarization of RAW264.7 cells to M1 phenotype by reducing glucose consumption and lactate production. Taken together, in this work, we have prepared a novel fusion protein TFF2-Fc, which could alleviate ulcerative colitis in vivo via promoting intestinal epithelial cells repair and inhibiting macrophage inflammation, and TFF2-Fc might serve as a promising ulcerative colitis therapeutic agent.