We identify cyclooxygenase 2/prostaglandin-endoperoxide synthase 2 (COX-2), a pathogen-induced enzyme involved in prostaglandin synthesis, as mediator of resistance to the effector phase of antigen-specific cancer immunity. Here, PTGS2 is linked to cancer.