Bombarding a cesium heat pipe with high energy particles causes a spallation reaction which produces vapors of Xe-123 and contaminants. The contaminants are removed in a dry ice cold trap while the Xe-123 condenses in a liquid nitrogen trap where it decays.