In conclusion, the rs641738 variant near MBOAT7 was found to promote inflammation and fibrosis, particularly in male patients, and decrease the risk of T2DM and metabolic traits in NAFLD patients. Here, MBOAT7 is linked to type 2 diabetes mellitus.