Type 1 diabetes mellitus (T1DM) is caused by progressive autoimmune-mediated loss of pancreatic β-cell mass via apoptosis. The onset of T1DM depends on environmental factors that interact with predisposing genes to induce an autoimmune assault against β cells. Epidemiological, clinical and pathology studies in humans support viral infection -particularly by enteroviruses (for example, coxsackievirus) -as an environmental trigger for the development of T1DM. Many candidate genes for T1DM, such as MDA5, PTPN2 and TYK2, regulate antiviral responses in both β cells and the immune system. Cellular permissiveness to viral infection is modulated by innate antiviral responses that vary among different tissues or cell types. Some data indicate that pancreatic islet α cells trigger a more efficient antiviral response to infection with diabetogenic viruses than do β cells, and so are able to eradicate viral infections without undergoing apoptosis. This difference could account for the varying ability of islet-cell subtypes to clear viral infections and explain why chronically infected pancreatic β cells, but not α cells, are targeted by an autoimmune response and killed during the development of T1DM. These issues and attempts to target viral infection as a preventive therapy for T1DM are discussed in the present Review.Type 1 diabetes mellitus (T1DM) arises when the pancreatic β cells undergo long-term autoimmune attack, killing the majority of the β-cell population while the neighbouring α cells and δ cells are spared 1 . Destruction of the β cells manifests as a failure to produce insulin; consequently, patients with T1DM remain insulin-dependent for their lifespan.In most cases, T1DM is characterized by pancreatic islet inflammation (insulitis) and progressive β-cell loss by apoptosis 1,2 . Histological analysis has demonstrated the presence of increased β-cell apoptosis among both patients with new-onset T1DM and those with