We constructed a necroptosis-related scoring model to predict OS in HCC patients, and NRS was associated with immune response, TP53 mutation, and poor clinical classification in HCC patients. This evidence concerns the gene TP53 and hepatocellular carcinoma.