Necroptosis is a programmed form of necrotic cell death that serves as a host gatekeeper for defense against invasion by certain pathogens. Previous studies have uncovered the essential role of necroptosis in tumor progression and implied the potential for novel therapies targeting necroptosis. However, no comprehensive analysis of multi-omics data has been conducted to better understand the relationship between necroptosis and tumor. We developed the necroptosis index (NI) to uncover the effect of necroptosis in most cancers. NI not only correlated with clinical characteristics of multiple tumors, but also could influence drug sensitivity in glioma. Based on necroptosis-related differentially expressed genes, the consensus clustering was used to classify glioma patients into two NI subgroups. Then, we revealed NI subgroup I were more sensitive to immunotherapy, particularly anti-PD1 therapy. This new NI-based classification may have prospective predictive factors for prognosis and guide physicians in prioritizing immunotherapy for potential responders.