The invention relates to a bacteriostatic mildew-resistant insecticidal sustained release agent prepared from a sol / gel also used as an insect attractant. The agent is prepared into a sol plastic and a sol forming preparation with a microemulsion technology, a sol technology and the like according to different use conditions. The agent which treats an insect growth regulator (IGR) as a main component and essential oil and / or a low-toxicity high-efficiency insecticide, a bactericide, a penetrant, a water-soluble solvent, a stabilizing agent, an insect attractant, a film forming sustained release agent and the like as assistant components to satisfy prevention and control demands of different places. The agent of the invention, which has the advantages of wide insecticidal spectrum, low toxicity and high efficiency, ovum killing, insect growth inhibition, long persistent period, difficult resistance generation, bacteriostasis and mildew resistance, and low residual, can eliminate the pollution caused by unbalanced drug application, and is in favor of the ecological environment. The agent which is used for killing, preventing and controlling pests, mites and mildews on storage objects of stored grains, tobaccos, medicines, leathers, clothes, books, archives, history relics and the like and plants can reduce the loss caused by the pests and the mildews of the stored objects, the grains and the plants.