The present analysis showed that rotating night shift work and MTNR1B gene rs1387153 locus were associated with increased risk of type 2 diabetes, and the association between rotating night shift work and risk of type 2 diabetes appeared to be modified by MTNR1B gene rs1387153 locus. Here, MTNR1B is linked to type 2 diabetes mellitus.