Through combining WGCNA and LASSO Cox regression analyses, this study established a gene signature (comprising IFIT3, IFIT1, BST2, RTP4, and BTBD1) for diagnosing type 2 diabetes. Here, BTBD1 is linked to type 2 diabetes mellitus.