Our results add new insight into the mechanisms of IL-21-mediated pathogenesis of autoimmune diseases and the development and maintenance of Vγ4+γδT17 cells. Here, IL21 is linked to autoimmune disease.