This study aimed to investigate the beneficial effects of myricetin in a diet-induced nonalcoholic steatohepatitis (NASH) model and the underlying mechanism. C57BL/6J mice were fed a standard chow or the choline-deficient, L-amino acid-defined, high-fat diet (CDAHFD) for 8 weeks with the treatment of myricetin (100 mg/kg) or vehicle by daily gavage. Hepatic inflammation, steatosis, fibrosis, and hepatic stellate cells (HSC) activation were assessed. We also analyzed M1 and M2 macrophages and its related markers in livers from NASH mice and in RAW264.7 macrophages stimulated by lipopolysaccharide (LPS) or interleukin 4 (IL-4) in vitro. Furthermore, we determined the effect of myricetin on the triggering receptor expressed on myeloid cells-1 (TREM-1), toll like receptor (TLR) 2 and 4, and myeloid differentiation factor 88 (MyD88) signaling both in livers from mice and in RAW264.7 cells stimulated by LPS. Our results revealed that myricetin remarkably ameliorated hepatic steatosis, inflammation, and inhibited hepatic macrophage infiltration in CDAHFD-fed mice. Myricetin-treated to CDAHFD-fed mice also inhibited liver fibrosis and HSC activation when compared with vehicle-treated to those mice. Moreover, myricetin inhibited M1 macrophage polarization and its relative markers in livers of NASH mice while induced M2 polarization. Similarly, in vitro study, myricetin inhibited the LPS-induced mRNA expression of M1 macrophages marker genes and induced IL-4-induced M2 macrophage marker genes in RAW264.7 macrophages. Mechanically, myricetin inhibited the expression of TREM-1 and TLR2/4-MyD88 signaling molecules in livers from NASH mice and in RAW264.7 macrophages stimulated by LPS in vitro. Additionally, myricetin inhibited the activation of nuclear factor (NF)-κB signaling and the phosphorylation of the signal transducer and activation of transcription 3 (STAT3) in LPS-stimulated RAW264.7 macrophages. Taken together, our data indicated that myricetin modulated the polarization of macrophages via inhibiting the TREM-1-TLR2/4-MyD88 signaling molecules in macrophages and therefore mitigated NASH and hepatic fibrosis in the CDAHFD-diet-induced NASH model in mice.