Our study demonstrates that higher FGF21 levels predict the incidence of DR and STDR among T2DM patients. Here, FGF21 is linked to type 2 diabetes mellitus.