In the present invention ginkgo leaf, ginkgo epicarp and other parts as raw material are prepared to plant pesticide via drying, crushing, solvent extraction, effective component separation and other steps. The said pesticide is in oil emulsion, water emulsion, microemulsion, wettable powder and other forms. It can be used in killing various pests, including homoptera and lepidoptera pests, such as cotton leafworm, rice stem borer, cabbage moth, plant hopper, etc. and has obvious pesticidal effect, high selectivity, low toxicity, low residue, less drug resistance, etc.