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. Here, CD274 is linked to pancreatic neoplasm.