Collectively, these findings highlight TIMP-2 as a promising marker of metabolic dysfunction, particularly in the setting of MAFLD and type 2 diabetes, further supporting its diagnostic value in clinical practice. Here, TIMP2 is linked to type 2 diabetes mellitus.