We identified six necroptosis-related genes (CASP1, GLUL, PYCARD, IL33, SHARPIN, and IRF9), and they are potential diagnostic biomarkers for NASH. This evidence concerns the gene SHARPIN and metabolic dysfunction-associated steatohepatitis.