Through in vivo and in vitro studies, we found that hyperglycemia induces Pin1 to promote the expression of BRD4, which prompts NAP1L1 to downregulate P21, resulting in the dysregulation of GC cell cycle, which leads to aberrant GC cell proliferation and migration, thereby enhancing GC progression in diabetics. Here, PIN1 is linked to diabetes mellitus.