Foxes can be beneficial in reducing rodent populations, and beautifying the landscape. In spite of this, foxes are often unwanted in yards because they may occasionally feed on chickens and other small pets or chew on cables and plants. You can repel the predators harmlessly and naturally with spicy plants and sprays that foxes find unpalatable.
Border your garden and yard with hot pepper, garlic and yellow onion plants.
Make a spicy spray: chop up a hot pepper with a head of garlic or an onion and boil the vegetables in 2 qt. of water. Blend the mixture and strain solids through a sieve. Spray the mixture on garden plants, cables and anything else you wish to protect. The spicier the pepper you use, the more unpalatable your spray will be.
Respray your yard twice a week and after heavy rainfalls.
Hot pepper spray is also effective against rabbits and small rodent pests.