Here, we reveal that deletion of RNA 5-methylcytosine (m5C) methyltransferase Nsun2 in mouse CD4+ T cells specifically inhibits Th17 cell differentiation and alleviates Th17 cell-induced colitis pathogenesis. The gene discussed is CD4; the disease is colitis.