Yes, chili can be used as an insecticide. When crushed, the compound capsaicin found in chili peppers can be effective in repelling and killing insects. You can make your own chili-based insecticide by mixing one part crushed chili peppers with ten parts water. Let the mixture sit for a few hours before spraying it on your plants or garden area.