Cytokine production in vaccine cell lines was confirmed. IL-21 and IL-7 co-expressing cancer cell vaccine protected mice from tumor challenges in prophylactic and therapeutic models. Furthermore, the vaccine enhanced the infiltration of CD8+ and CD4+ T cells in the tumor region. Notably, long-term memory antitumor immunity was demonstrated after vaccine treatment in mice. This evidence concerns the gene IL21 and cancer.