The development of effective treatments against cancers is urgently needed, and the accumulation of CD8 T cells within tumors is especially important for cancer prognosis. Although their mechanisms are still largely unknown, growing evidence has indicated that innate immune cells have important effects on cancer progression through the production of various cytokines. Here, we found that () has an antitumor effect. An s.c. inoculated tumor model produced fewer IL-12 p40 macrophages and activated CD8 T cells within the tumors of mice compared with WT mice. In vitro studies also revealed that the IL-12 p40 expression was significantly lower in macrophages following their stimulation by toll-like receptor ligands, such as R848. Additionally, we found that BATF2 interacts with p50/p65 and promotes IL-12 p40 expression. In conclusion, has an antitumor effect through the up-regulation of IL-12 p40 in tumor-associated macrophages, which eventually induces CD8 T-cell activation and accumulation within the tumor.