Abstract Orai1 is the pore subunit of the Calcium Release Activated Channels (CRAC) that activate downstream calcineurin-NFAT pathway. Loss of function mutation in Orai1 causes lethality due to severe defects in immune system, which can be rescued by bone marrow transplantation. Using a high throughput chemical library screening, we have identified a class of small molecule blockers that inhibit Orai1. One of the small molecules, compound 5D blocked the activity of a constitutively active mutant of Orai1, suggesting a direct block of ion permeation via Orai1. Primary murine Th17 cells showed highest sensitivity to block by this compound. Treatment with compound 5D not only suppressed cytokine production, but also inhibited differentiation of Th17 cells by suppression of the retinoic-acid-receptor-related orphan receptors RORα and RORγt. Exogenous expression of RORα, RORγt or a constitutive active mutant of NFAT (CA-NFAT) rescued the blocking effect, identifying the Orai1-NFAT- ROR signaling pathway to be important for Th17 differentiation. The defects in cytokine production and differentiation were recapitulated in Th17 cells from Orai1-deficient mice suggesting Orai1 as a specific target of the blockers. In vivo administration of Orai1 blockers effectively delayed the onset and reduced the severity of autoimmune disease in mice. These data indicate that derivatives of compound 5D can be used as chemical templates for development of therapeutic agents to alleviate autoimmune diseases.