To fight infections, rare T cells must quickly home to appropriate lymph nodes (LNs), and reliably localize the antigen (Ag) within them. The first challenge calls for rapid trafficking between LNs, whereas the second may require extensive search within each LN. Here we combine simulations and experimental data to investigate which features of random T cell migration within and between LNs allow meeting these two conflicting demands. Our model indicates that integrating signals from multiple random encounters with Ag-presenting cells permits reliable detection of even low-dose Ag, and predicts a kinetic feature of cognate T cell arrest in LNs that we confirm using intravital two-photon data. Furthermore, we obtain the most reliable retention if T cells transit through LNs stochastically, which may explain the long and widely distributed LN dwell times observed in vivo. Finally, we demonstrate that random migration, both between and within LNs, allows recruiting the majority of cognate precursors within a few days for various realistic infection scenarios. Thus, the combination of two-scale stochastic migration and signal integration is an efficient and robust strategy for T cell immune surveillance.