The invention relates to a carbonyl fluoride purifying method and belongs to the technical field of fluorine chemical industry and electronic industry gases. The purifying method comprises the following steps of: firstly, performing light component removal and heavy component removal treatment on the crude product gas of COF2, wherein during the light component removal treatment, the temperature at the bottom of a purifying device ranges from -112 to 48 DEG C, the pressure at the bottom ranges from 0.01 to 0.6 MPa, and the temperature of the top is 0.5-30 DEG C lower than that of the bottom, during the heavy component removal treatment, the temperature at the bottom of the purifying device ranges from minus 81 to 80 DEG C, the pressure at the bottom ranges from 0.01 to 0.6 MPa, and the temperature of the top is 0.5-30 DEG C lower than that of the bottom; then obtaining an initial refined mixed gas; performing secondary refining purification, wherein the temperature at the bottom of the purifying device ranges from minus 123 to 36 DEG C, the pressure at the bottom ranges from 0.01 to 1.03 MPa, and the temperature of the top is 0.2-45 DEG C lower than that of the bottom; then obtaining the purified gas. The purifying method is especially suitable for the crude product gas of COF2 high in CO2 content; the COF2 purity in the purified gas is greater than or equal to 99%, and the CO2 content therein is less than 1000 ppm.