We show that in the lung draining mediastinal LNs (mdLNs), IL-7 is important for early priming and accumulation of CD8 T cells specific for influenza NP366–374 and PA224–233 presented on H2Db in a cell intrinsic manner. The gene discussed is IL7; the disease is influenza.