We identified that YAP inhibits the colitis inflammatory response and promotes intestinal epithelial barrier repair through epigenetic silencing of JMJD3 by binding to EZH2. Here, KDM6B is linked to colitis.