We conclude that hyperglycemia impairs CD8+ T cell function to influenza virus infection, which may be linked with the increased risk of severe influenza in patients with diabetes. This evidence concerns the gene CD8A and influenza.