Recent evidence indicates that the PD1/PD-L1 pathway is fundamental to prevent autoimmune diabetes so that, in some patients undergoing treatment with ICI, blocking this inhibitory pathway is sufficient to unleash islet-reactive T cells and trigger T1D. This evidence concerns the gene CD274 and type 1 diabetes mellitus.