Taken together, these results revealed that TRIM21 increased PD-L1 expression and significantly enhanced antitumor immunity to impede tumor progression via regulating METTL3 in pancreatic cancer. This evidence concerns the gene CD274 and neoplasm.