We identified four hub genes (MVK, HMGCS1, TM7SF2, and FDPS) linked to NAFLD risk. This evidence concerns the gene TM7SF2 and metabolic dysfunction-associated steatotic liver disease.