Using conditional knock out mice lacking STIM1 and its homologue STIM2, we find that SOCE in CD8+ T cells is required to prevent the engraftment of melanoma and colon carcinoma cells and to control tumour growth. The gene discussed is CD8A; the disease is melanoma.