The protein tyrosine phosphatases PTPN2 and PTPN1 are central regulators of inflammation, and their genetic deletion in either tumour cells or immune cells promotes anti-tumour immunity3–6. Here, PTPN2 is linked to neoplasm.