Here we identify tumor-cell-expressed otubain-2 (OTUB2) as a negative regulator of antitumor immunity, acting through the PD-1/PD-L1 axis in various human cancers. Here, OTUB2 is linked to cancer.