Exclude foxes from garden or livestock areas by constructing wire mesh fence barriers. Use wire mesh fencing with openings 3 inches or smaller, and extend the fence below ground to a depth of 1 or 2 feet.
Employ electric wire fencing if wire mesh barriers prove ineffective. Space wires 6, 12 and 18 inches above the ground to deter foxes. This type of fencing can also be combined with wire mesh products for increased security.
Use overhead fencing in problem areas, in addition to vertical fences. Many foxes can climb non-electric barriers.
Keep garden or livestock areas clean and sanitary, and remove any rotting food, feces or decaying animal matter promptly. These produce odors that can attract hungry foxes.
Control populations of rabbits, mice, gophers, rats and other small rodents that serve as food sources for foxes. Traps, baits and feline predators are all effective at reducing rodent populations.
Ensure all doors, gates and other openings are securely shut at night. Foxes are nocturnal, and most predation takes place at night.
Use frightening devices to deter fox intrusion, placed at regular intervals around garden or livestock areas. Flashing lights and noise-making devices can be effective, although some foxes may become desensitized to their presence over long periods of time. A wide variety of acoustic and visual deterrents are commercially available.
Consider using a dog to deter unwanted foxes from garden areas. Although Great Pyrenees and Akbash breeds have successful histories as fox deterrents, any dog breed can serve as a viable deterrent if the right training is provided.