Participants with T1D and with T2D harbored an increased frequency of TNF‐ and IL‐2‐secreting S‐specific CD8+ T cells, while no differences were observed in the production of IFNγ or granzyme B compared with ND controls. This evidence concerns the gene TNF and type 2 diabetes mellitus.