After adjusted with various conventional and unconventional risk factors related to mortality, decreased absolute count of T cells, decreased absolute count of naïve T cells, decreased absolute count of CD4+ naïve T cells, decreased percentage of T cells and increased percentage of CD8+ central-memory T cells along with older age, history of diabetes, history of CVD, decreased albumin level and elevated NT-proBNP level were independently associated with all-cause mortality. Here, CD8A is linked to diabetes mellitus.