Using a pooled shRNA screen to identify ion channels that regulate T cell responses to viral infection in vivo, we find that deletion of Cacnb1 impairs the clonal expansion of antigen specific T cells after viral infection in vivo by enhancing T cell apoptosis. Here, CACNB1 is linked to viral infectious disease.