Yes, in general, cayenne pepper is safe to use in the garden. It will not cause harm to your plants, other wildlife or the soil.