The invention relates to an insect-repellent fertilizer for flowers. The insect-repellent fertilizer is prepared from the following raw materials in parts by weight: 14 parts of cornstalk powder, 12 parts of cow dung, 6 parts of dog droppings, 8 parts of weathered coal, 13 parts of cassava residues, 6 parts of phosphate rock powder, 4 parts of potassium mineral powder, 2 parts of rice washing water, 13 parts of banana skin, 20 parts of urea, 4 parts of sweet wormwood, 3 parts of lavender, 2 parts of nepenthes mirabilis, 3 parts of coptis chinensis, 5 parts of radix sophorae flavescentis and 2 parts of folium artemisiae argyi. Compared with the prior art, the insect-repellent fertilizer is prepared from the following raw materials in parts by weight: 14 parts of cornstalk powder, 12 parts of cow dung, 6 parts of dog droppings, 8 parts of weathered coal, 13 parts of cassava residues, 6 parts of phosphate rock powder, 4 parts of potassium mineral powder, 2 parts of rice washing water, 13 parts of banana skin, 20 parts of urea, so that multiple fertilizers can be provided for the flowers, the quality of the flowers is ensured, and meanwhile, the soil can be improved. The insect-repellent ability of the flowers can be improved through 4 parts of sweet wormwood, 3 parts of lavender, 2 parts of nepenthes mirabilis, 3 parts of coptis chinensis, 5 parts of radix sophorae flavescentis and 2 parts of folium artemisiae argyi.