Foxes are born opportunists, and they will visit yards that they perceive to contain a possible food supply. Most often, this includes gardens where fruit or veggies are grown or where there is an abundance of small prey like insects, mice, birds, or voles.