The aim of this study was to explore whether MAF bZIP transcription factor B (MAFB) might alleviate ulcerative colitis (UC) in dextran sulfate sodium (DSS)‐induced mice and LPS‐induced IEC‐6 cells. This evidence concerns the gene MAF and ulcerative colitis.