Our in vivo data showed that DUSP4 mice were more resistant to the induction of autoimmune encephalitis, while in vitro differentiations revealed enhanced iTreg and reduced Th17 polarization in DUSP4-deficient T cells. Here, DUSP4 is linked to autoimmune encephalitis.