In binary logistic regression analysis, we found a significant J-shaped association between serum PRL levels and the risk of MAFLD and hepatic fibrosis in females with T2DM but not in males. This evidence concerns the gene PRL and type 2 diabetes mellitus.