Here, we identify the temporal window for type I interferon receptor (IFNAR) blockade to drive TSCM cell generation following viral infection and mRNA–lipid nanoparticle vaccination. The gene discussed is IFNAR1; the disease is viral infectious disease.