MVK and TM7SF2 were protective factors, HMGCS1 and FDPS were risk factors for NAFLD. Here, HMGCS1 is linked to metabolic dysfunction-associated steatotic liver disease.