Oncogenic KRAS impairs anti-tumour immune responses, but effective strategies to combine KRAS inhibitors and immunotherapies have so far proven elusive. In vivo CRISPR-Cas9 screening in an immunogenic murine lung cancer model identifies mechanisms by which oncogenic KRAS promotes immune evasion, most notably expression of immunosuppressive cyclooxygenase-2 (COX-2) in cancer cells. Oncogenic KRAS was a potent inducer of COX-2 in both mouse and human lung cancer which was suppressed using KRAS inhibitors. COX-2 acting via prostaglandin E2 (PGE2) promotes resistance to immune checkpoint blockade (ICB) in both mouse and human lung adenocarcinoma. Targeting COX-2/PGE2 remodelled the tumour microenvironment by inducing pro-inflammatory polarisation of myeloid cells and influx of activated cytotoxic CD8+ T cells, which increased the efficacy of ICB. Restoration of COX-2 expression contributed to tumour relapse after prolonged KRAS inhibition. We propose testing COX-2/PGE2 pathway inhibitors in combination with KRAS G12C inhibition or ICB in patients with KRAS-mutant lung cancer.SIGNIFICANCEHere we identify cyclooxygenase 2 signalling via prostaglandin E2 as a major mediator of immune evasion that is driven by oncogenic KRAS in both mouse and human lung cancer. COX2/PGE2signalling contributes to immunotherapy and KRAS-targeted therapy resistance which can be overcome by COX2/PGE2pathway inhibitors. This work suggests novel combination therapies for the treatment of KRAS-mutant lung cancer.