In conclusion, our study determined the prognostic and immunological roles of necroptosis‐related molecules such as TRAF2, PGAM5, ATG16L1, CADR9, PCYT1A, PARP2 and TLR2 in hepatocellular carcinoma. This evidence concerns the gene PARP2 and hepatocellular carcinoma.