Here we show that co-expression of two cytokine members of the common cytokine receptor γ-chain family, IL-21 and IL-7, in whole-cell cancer vaccines boosts antitumor immunity in a CD4+ and CD8+ T cell-dependent fashion. Here, IL7 is linked to cancer.