The invention discloses a method for recovering pyrite from coal gangue. The method is characterized by comprising the following steps that the coal gangue is subjected to two-stage closed-circuit crushing, grinding, roughing, primary scavenging, secondary scavenging, primary cleaning and secondary cleaning. In the roughing step, acidified water glass, xanthate and number two oil are sequentially added to fed ore pulp, so that rougher concentrates and rougher tailings are obtained. In the primary scavenging step, acidified water glass, xanthate and number two oil are sequentially added to the rougher tailings, so that primarily scavenged concentrates and primarily scavenged tailings are obtained. In the secondary scavenging step, acidified water glass, xanthate and number two oil are sequentially added to the primarily scavenged tailings, so that secondarily scavenged concentrates and kaolin tailings are obtained. In the primary cleaning step, acidified water glass is added to the rougher concentrates, so that primary cleaner concentrates and primary cleaner tailings are obtained. In the secondary cleaning step, acidified water glass is added to the primary cleaner concentrates, so that the pyrite and secondary cleaner tailings are obtained. The method for recovering the pyrite from the coal gangue is simple; the pyrite recovery rate is high; environmental pollution is reduced; the pyrite can be produced on a large scale.