The top4 drugs predicted bound well to COX11. Our study revealed that the pathogenesis of T2DM-promoted CRC progression related to O-linked glycosylation. This evidence concerns the gene COX11 and type 2 diabetes mellitus.