In our study, we screened out three genes PIK3CA, TP53, and ROS1, and we constructed an ICI-related gene prognostic index TP-PR, together with TMB, for r/m HNSCC. Here, TP53 is linked to head and neck squamous cell carcinoma.