Emerging insights into the mechanisms of activation and negative regulation of innate and adaptive immune cells are providing new opportunities for the development of safe and effective cancer vaccines.