The invention discloses a formula and production method of a pesticide for preventing and controlling icerya purchasi. The pesticide is prepared by adding tobacco powder and artemisia annua powder to a certain amount of boiled water in a heating container in proportion to be sufficiently stirred and decocted, naturally cooling and filtering the decocted liquid, packaging and sealing clear liquid obtained after filtering, and adding water to dilute the stock solution for spraying when the stock solution is used. The formula and preparation method of the pesticide are unique, the pesticide is a biological pesticide, the prevention and control effect on icerya purchasi damage can reach 93%, and the pest killing effect is remarkable. The pesticide is free of toxin and harm to humans, animals and trees and is safe to use. The production raw materials of the pesticide are wide in source, tobacco powder is screen residue waste in tobacco production, artemisia annua is field weed, waste is used, and cost is low.