Yes, Cayenne pepper is a natural repellent that can deter squirrels from bird feeders. The capsaicin in cayenne pepper is hot and spicy, and it can irritate the squirrels' noses and eyes. This will make them uncomfortable and less likely to approach the feeder.