We found potential genetic biomarkers for MCI in patients with type 2 diabetes using WGCNA combined with the LASSO algorithm and further screened four genes, COX7C, SNRPG, TOMM7, and RPS24, which are associated with the occurrence of type 2 diabetes. This evidence concerns the gene COX7C and type 2 diabetes mellitus.