These results show that imbalanced abundance of TREM1 and TREM2 may be involved in the pathological process of NAFLD, and QUE could improve the learning and memory impairment of NAFLD rats by reversing the abnormal expression of TREM1 and TREM2 in the hippocampus. Here, TREM2 is linked to metabolic dysfunction-associated steatotic liver disease.