In this study, we first integrated ICI‐treated melanoma and NSCLC samples with whole‐exome sequencing to explore the link between PTPRT mutation and ICI survival. This evidence concerns the gene PTPRT and non-small cell lung carcinoma.