The invention discloses a method for preparing a drug for killing phytomyza peniculatae sasakawa. The method comprises the following steps: A, preparing the following materials: acetamiprid, triadimefon, sodium dihydrogen phosphate, saikoside, sophocarpidine, cyproconazole, trifloxysulfuron sodium and coumaphos; B, diluting acetamiprid and triadimefon to a solution, the amount of which is 50 times of those of the acetamiprid and triadimefon, through water, adding cyproconazole and coumaphos, and uniformly stirring; C, diluting sodium dihydrogen phosphate, saikoside and sophocarpidine to a solution, the amount of which is 10 times of those of the sodium dihydrogen phosphate, saikoside and sophocarpidine, through water,and uniformly stirring; D, mixing the substances prepared in the steps B and C, and disinfecting the mixture to obtain the drug for killing phytomyza peniculatae sasakawa. According to the invention, the preparation method is simple, the prepared drug is simple in ratio, and convenient to use, and has the excellent effect for preventing phytomyza peniculatae sasakawa; a traditional Chinese medicine intermediate and a pesticide intermediate are added on the basis of the traditional pesticide, then, the traditional Chinese medicine intermediate and the pesticide intermediate are mixed with the traditional pesticide to obtain a novel drug for killing phytomyza peniculatae sasakawa, and the novel drug is excellent in preventing effect, and the control effect of the novel drug is increased by 20-23% compared with that of the traditional pesticide.