The LASSO algorithm and ROC curve identified Retinol Dehydrogenase 10 (RDH10) as the best diagnostic gene for MASLD and T2DM. This evidence concerns the gene RDH10 and type 2 diabetes mellitus.