One of the only ways to make sure that your pest repellent is 100 percent safe for you and your plants is to make it yourself. Pest repellents may have an "organic" label, but they could still pose harm to you and your family if consumed over a long period of time. The best homemade pesticide for edible plants is one made of natural ingredients. Certain spices like garlic and cayenne pepper naturally repel bugs and they can be sprayed liberally on edible plants as they are perfectly safe to ingest.
Place the cayenne peppers, onion, garlic and 1/2 cup of water into a blender.
Pulse the blender until the ingredients blend into a uniform consistency.
Transfer the mixture to a large container.
Pour one gallon of water over the mixture and mix well.
Cover the container with saran wrap and leave it to sit for 24 hours.
Strain the mixture through a strainer. Set the solid matter aside for later.
Fill the sprayer with the liquid.
Spray your vegetable plants or flowers daily until the pests are gone. Spray all areas of the plant. Pay extra attention to the underside of the leaves and areas where you have noticed pest activity.
Spread a one-inch layer of the solid matter over the soil around the infested plants. Then carefully mix the solid matter into the soil to a depth of two inches. Take care not to disturb the roots of the plants.