Our results showed that P4HA1 was a hub gene in NAFLD. Here, P4HA1 is linked to metabolic dysfunction-associated steatotic liver disease.