Yes, cayenne pepper can help keep wildlife out of your garden.

Gardening and pest control experts say products that contain capsaicin, a chemical that makes cayenne peppers hot, can work as an animal and insect repellent.