In this study, we generated T2DM cell models treated with excess glucose or glucosamine and found that TP53 expression increased in these cell models. Here, TP53 is linked to type 2 diabetes mellitus.