The STAT5 deficiency induced a lack of γδT17 cells and led to a profound resistance to experimental autoimmune encephalomyelitis. Here, STAT5A is linked to experimental autoimmune encephalomyelitis.