The function of CD4+ T cells is dependent on Ca2+ influx through Ca2+ release-activated Ca2+ (CRAC) channels formed by ORAI proteins. To investigate the role of ORAI1 in pro-inflammatory Th1 and Th17 cells and autoimmune diseases, we genetically and pharmacologically modulated ORAI1 function. Immunization of mice lacking Orai1 in T cells with MOG peptide resulted in attenuated severity of experimental autoimmune encephalomyelitis (EAE). The numbers of T cells and innate immune cells in the CNS of ORAI1-deficient animals were strongly reduced along with almost completely abolished production of IL-17, IFN-γ and GM-CSF despite only partially reduced Ca2+ influx. In Th1 and Th17 cells differentiated in vitro, ORAI1 was required for cytokine production but not the expression of Th1- and Th17-specific transcription factors T-bet and RORγt. The differentiation and function of induced iTreg cells, by contrast, was independent of ORAI1. Importantly, induced genetic deletion of Orai1 in adoptively transferred, MOG-specific T cells was able to halt EAE progression after disease onset. Likewise, treatment of wild-type mice with a selective CRAC channel inhibitor after EAE onset ameliorated disease. Genetic deletion of Orai1 and pharmacological ORAI1 inhibition reduced the leukocyte numbers in the CNS and attenuated Th1/Th17 cell-mediated cytokine production. In human CD4+ T cells, CRAC channel inhibition reduced the expression of IL-17, IFN-γ and other cytokines in a dose-dependent manner. Taken together, these findings support the conclusion that Th1 and Th17 cell function is particularly dependent on CRAC channels, which could be exploited as a therapeutic approach to T cell-mediated autoimmune diseases.