Using T-cell-specific NRP1 knockout (KO) mice and genetic models of SEMA3A in cancer cells, we show that T cell expression of NRP1 and tumor cell expression of SEMA3A controls CD8+ T cell infiltration. The gene discussed is SEMA3A; the disease is cancer.