The presence of T2D in MASLD was independently associated with high-risk tertiles of CD36 mRNA expression, TLR9 mRNA expression, and leptin levels, with approximately 4.2-fold, 3.9-fold, and 2.5-fold higher odds, respectively. This evidence concerns the gene CD36 and type 2 diabetes mellitus.