The results of mitophagy-related hub genes obtained using the dataset GSE166502 showed that the mitophagy-related hub gene NPLOC4 was significantly more effective than other factors in the diagnostic model for T2D. Here, NPLOC4 is linked to type 2 diabetes mellitus.