In our patient cohort, the association between MMP7 and liver fibrosis was independent of T2D and impaired renal function (assessed by eGFR), common comorbidities in patients with NAFLD. Here, MMP7 is linked to type 2 diabetes mellitus.