Described herein is a reliable method for preparing a potent vaccine useful for immunotherapy comprising the step of cryopreserving a population of cells undergoing immunogenic cell death, and using such cells to activate dendritic cells for use in immunotherapy. In a specific embodiment, the method comprises cryopreserving cancer cells undergoing cell death, which can be used to prepare a pharmaceutical composition for immunotherapy against cancer.