Here, based on analysis of bulk and single-cell RNA sequencing (scRNA-seq) data, we first show that the expression of the E3 ligase TRIM21 is inversely associated with radiation-induced antitumour immunity in nasopharyngeal carcinoma (NPC). This evidence concerns the gene TRIM21 and nasopharyngeal carcinoma.