The present invention provides for a method for purifying carbon dioxide. Moisture, sulfur species and other impurities are removed from the carbon dioxide by a series of steps which include adsorption means and reaction means. All the steps are preferably carried out in a single vessel.