The invention relates to a method for extracting pleocidin from saccharopolyspora spinosa fermentation liquor. The method comprises the following steps: (1), pre-treating saccharopolyspora spinosa fermentation liquor and carrying out solid-liquid separation; (2), adsorbing centrifuged organic substances in a water phase by an adsorbent; (3), combining solids which are centrifuged and separated for the first time and the second time, and drying in vacuum; (4), extracting pleocidin from solids; and (5), recrystallizing by using a solvent to obtain a pleocidin product, decompressing and desolventizing. According to the method disclosed by the invention, a polar solvent is not needed to be added for extracting during pre-treatment, so that usage amount of an organic solvent is greatly reduced, pollution is reduced, cost is lowered, a centrifugal method can be adopted, operation is safe and separating effect is good; moreover, the adsorbent is added into the water phase for adsorbing organic substances in water, so that COD (chemical oxygen demand) in wastewater is greatly lowered, wastewater treating difficulty is reduced, the yield of the obtained product pleocidin is higher, and a total yield is 70%-95%; after the product is purified, the pleocidin content with mass content of 75%-93.2% is higher.