Here, we studied the magnitude and functional characteristics of vaccine‐specific CD4+ and CD8+ T cell responses to vaccination in people with type 1 and type 2 diabetes and compared them to those of people living without diabetes, using the severe acute respiratory syndrome coronavirus 2 (SARS‐CoV‐2) vaccine as a model. This evidence concerns the gene CD8A and type 2 diabetes mellitus.