The requirement to improve the efficiency of pesticide utilization has led to the development of sustainable and smart stimuli-responsive pesticide delivery systems. Herein, a novel avermectin nano/micro spheres (AVM@HPMC-Oxalate) with sensitive stimuli-response function target to the Lepidoptera pests midgut microenvironment (pH 8.0–9.5) was constructed using hydroxypropyl methylcellulose (HPMC) as the cost-effective and biodegradable material. The avermectin (AVM) loaded nano/micro sphere was achieved with high AVM loading capacity (up to 66.8 %). The simulated release experiment proved the rapid stimuli-responsive and pesticides release function in weak alkaline (pH 9) or cellulase environment, and the release kinetics were explained through release models and SEM characterization. Besides, the nano/micro sphere size made AVM@HPMC-Oxalate has higher foliar retention rate (1.6–2.1-fold higher than commercial formulation) which is beneficial for improving the utilization of pesticides. The in vivo bioassay proved that AVM@HPMC-Oxalate could achieve the long-term control of Plutella xylostella by extending UV shielding performance (9 fold higher than commercial formulation). After 3 h of irradiation, the mortality rate of P. xylostella treated by AVM@HPMC-Oxalate still up to 56.7 % ± 5.8 %. Moreover, AVM@HPMC-Oxalate was less toxic to non-target organisms, and the acute toxicity to zebrafish was reduced by 2-fold compared with AVM technical.