The thymus gland is a primary lymphoid organ for T-cell development. Various viral infections can result in disturbance of thymic functions. Medullary thymic epithelial cells (mTECs) are important for the negative selection of self-reactive T-cells to ensure central tolerance. Insulin-like growth factor 2 (IGF2) is the dominant self-peptide of the insulin family expressed in mTECs and plays a crucial role in the intra-thymic programing of central tolerance to insulin-secreting islet β-cells. Coxsackievirus B4 (CVB4) can infect and persist in the thymus of humans and mice, thus hampering the T-cell maturation and differentiation process. The modulation of IGF2 expression and protein synthesis during a CVB4 infection has been observed in vitro and in vivo in mouse models. The effect of CVB4 infections on human and mouse fetal thymus has been studied in vitro. Moreover, following the inoculation of CVB4 in pregnant mice, the thymic function in the fetus and offspring was disturbed. A defect in the intra-thymic expression of self-peptides by mTECs may be triggered by CVB4. The effects of viral infections, especially CVB4 infection, on thymic cells and functions and their possible role in the pathogenesis of type 1 diabetes (T1D) are presented.