The HIV + T2D+ and HIV + T2D- groups had comparable CD4+, CD8+ and nadir CD4+ cell counts, HIV RNA, treatment duration, and time since HIV diagnosis. Here, CD8A is linked to type 2 diabetes mellitus.