The association between T2DM and IBD/UC may be related to the changes in multiple metabolic pathways and CTLA-4-mediated immune response. This evidence concerns the gene CTLA4 and type 2 diabetes mellitus.