Th1 and Th17 are important in the pathogenesis of autoimmune diseases and they depend on glycolysis as a source of energy. T cell antigen receptor signaling phosphorylates a serine/threonine kinase, calcium/calmodulin-dependent protein kinase IV (CaMK4), and promotes glycolysis. Based on these findings we hypothesized that CaMK4 promotes glycolysis. Camk4-deficient CD4+ T cells and cells treated with a CaMK4 inhibitor had less glycolysis compared with their counterparts. Pull-down of CaMK4 and mass spectrometry identified pyruvate kinase muscle isozyme (PKM), the final rate-limiting enzyme in glycolysis, as a binding partner. Coimmunoprecipitation and Western blotting showed that CaMK4 interacts directly with PKM2. Camk4-deficient CD4+ T cells displayed decreased pyruvate kinase activity. Silencing or pharmacological inhibition of PKM2 reduced glycolysis and in vitro differentiation to Th1 and Th17 cells, while PKM2 overexpression restored Th17 cell differentiation. Treatment with a PKM2 inhibitor ameliorated experimental autoimmune encephalomyelitis and CD4+ T cells treated with PKM2 inhibitor or Pkm2-shRNA caused limited disease activity in an adoptive cell transfer model of experimental autoimmune encephalomyelitis. Our data demonstrate that CaMK4 binds to PKM2 and promotes its activity, which is requisite for Th1 and Th17 differentiation in vitro and in vivo. PKM2 represents a therapeutic target for T cell-dependent autoimmune diseases.