Type 1 diabetes (T1D) is an autoimmune disease that is caused by the destruction of insulin-producing β cells. Viral infections induce immune responses that can damage β cells and promote T1D or on the other hand prevent the development of the disease. However, the opposing roles of viral infections in T1D are not understood mechanistically. We report here that viruses that do not inflict damage on β cells provided protection from T1D by triggering immunoregulatory mechanisms. Infection of prediabetic NOD mice with Coxsackie virus B3 or lymphocytic choriomeningitis virus (LCMV) delayed diabetes onset and reduced disease incidence. Delayed T1D onset was due to transient upregulation of programmed cell death–1 ligand 1 (PD-L1) on lymphoid cells, which prevented the expansion of diabetogenic CD8+ T cells expressing programmed cell death–1 (PD-1). Reduced T1D incidence was caused by increased numbers of invigorated CD4+CD25+ Tregs, which produced TGF-β and maintained long-term tolerance. Full protection from T1D resulted from synergy between PD-L1 and CD4+CD25+ Tregs. Our results provide what we believe to be novel mechanistic insight into the role of viruses in T1D and should be valuable for prospective studies in humans.