We identified 6 necroptosis-related hub genes in NASH, namely CASP1, GLUL, PYCARD, IL33, SHARPIN, and IRF9, and they can diagnose NASH reasonably. The gene discussed is SHARPIN; the disease is metabolic dysfunction-associated steatohepatitis.