NOVELTY - Desulfurization of coke oven gas by pressure swing adsorption, comprises e.g. (a) compressing the coke oven gas by a compressor, (b) sending the compressed gas raw material into the ice machine, reducing the gas raw material , removing the heavy component impurities in gas raw material , (c) removing the tar oil, freezing and separating the gas raw material in the oil removing tower to remove the tar in the gas raw material , and (d) introducing the pre-processed gas present in the tower into first and second level TSA device, and carrying out twice purification.    USE - The method is useful for the desulfurization of coke oven gas by pressure swing adsorption.    ADVANTAGE - The method allows desulfurization of coke oven gas with high efficiency and less energy consumption in a simple manner.    DETAILED DESCRIPTION - Desulfurization of coke oven gas by pressure swing adsorption, comprises: (a) compressing the coke oven gas by a compressor, and compressing the pressure of 0.58 MPa; (b) sending the compressed gas raw material into the ice machine, reducing the gas raw material to 5 degrees C, and removing the heavy component impurities in gas raw material; (c) removing the tar oil, and freezing and separating the gas raw material in the oil removing tower to remove the tar oil in the gas raw material; (d) introducing the pre-processed gas present in the tower into first and second level temperature swing adsorption (TSA) device, carrying out twice purification, desulfurizing gas raw material in tar, benzene, naphthalene and other heavy component impurities, where the first level TSA device outlet of the gas raw material dew point temperature is -45 degrees C to -35 degrees C, and the second level TSA device outlet of the gas raw material dew point temperature is -60 degrees C to -50 degrees C, controlling the second TSA device of the gas raw material (less than 25 ppm); (e) introducing the gas raw material into the pressure swing adsorption-device to remove hydrogen cyanide in the gas raw material, carbon, carbon dioxide, hydrogen sulfide, ammonia, nitrous oxide, organic sulfur, methane, carbon monoxide and nitrogen to obtain the semi-finished product; (f) sending the semifinished product for compressing gas under the pressure of 1.30 MPa into dry fine desulfurization device, completely removing the micro hydrogen sulfide gas, and further removing the methane, carbon monoxide and nitrogen in the semifinished gas; and (g) sending the fine desulfurization obtained in semi-finished product gas into the pressure swing adsorption of hydrogen preparing device, and purifying the hydrogen, where the hydrogen purity reaches more than 99.99%.