Haplotypes derived from rs2268188, rs6918969, rs28869187, and rs3510542 were associated with the risk of T2DM, implying the complexity of the NF-YA gene in T2DM development. Here, NFYA is linked to type 2 diabetes mellitus.