In summary, this study revealed distinct serum lipidomic changes between NAFLD patients and CHB without NAFLD patients, and the notable increase in serum TAG_1 showed good diagnostic performance in patients with NAFLD and even superior accuracy to that of serum CK-18 and ALT in diagnosis of NASH in CHB patients. Here, KRT18 is linked to metabolic dysfunction-associated steatohepatitis.