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 NFKB1 and type 2 diabetes mellitus.