In conclusion, the G6PD rs72554664 variant significantly influences T2DM risk among Taiwanese adults, with a heightened susceptibility in males. Here, G6PD is linked to type 2 diabetes mellitus.