Our results demonstrated that WMW can enhance OGT activity and suppress OGA activity, thereby increasing RIPK3 O-GlcNAcylation, and then inhibiting necroptosis, eventually alleviating TNBS-induced colitis. Here, OGT is linked to colitis.