Here we explore the function of Regulatory factor X1 (RFX1) in macrophage polarization by constructing colitis and lupus-like mouse models. This evidence concerns the gene RFX1 and colitis.