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. This evidence concerns the gene STIM2 and colon carcinoma.