The invention discloses a compound gelling pyrethrin for desert greening planting and a manufacturing method thereof. The pyrethrin is divided into two components, A and B. The component A is composed of ethylene glycol phenyl ether, pyridine, 10% Ammonium bicarbonate aqueous solution with mass concentration, nickel powder, deionized water, trans-perfluorochrysanthemum acid chloride, and perfluoropolyether oil are used as raw materials, with toluene, dilute hydrochloric acid with a mass concentration of 10%, and calcium hydroxide solution with a mass concentration of 0.05% As a process auxiliary material, it is finally obtained through two-stage polycondensation, extraction, alkali washing, pickling, neutralization, and dehydration; component B is made of corn starch and rice bran, and is fermented and filtered under the action of Bacillus licheniformis. Obtained after removing solid content; the pyrethrin is a pectin-based gel peptone finally obtained by mixing components A and B, grinding pseudophysalis seeds and reacting with calcium ions in component A. The invention has the technical effects of being specially suitable for desert environment, killing both adults and larvae, lasting drug effect, radically eradicating target pests, having water slow-release function and nutritional supplement function.