Here the authors show that STIM1 and STIM2, which activate the Ca2+ channel ORAI1, are essential for the differentiation of peripheral Treg cells into tissue-resident and follicular Treg cells and their ability to limit autoimmunity in mice. The gene discussed is STIM1; the disease is Autoimmunity.