The NOS2 rs1137933C/T and rs2779248T/C gene polymorphisms were significantly associated with T2D risk. Here, NOS2 is linked to type 2 diabetes mellitus.