The results confirmed that MLF can inhibit liver inflammation in T2DM rats by regulating the TLR4/MyD88/NF-κB pathway. This evidence concerns the gene MYD88 and type 2 diabetes mellitus.