The patomechanism of type 1 diabetes mellitus development in anti-PD-1 treatment is not yet fully understood. Here, PDCD1 is linked to diabetes mellitus.