Contrary to popular myth, mothballs do not help keep snakes away. In fact, none of the commonly available snake repellent solutions sold in home improvement stores work, according to wildlife removal experts.
The only way to keep snakes away is to ensure that the property is not enticing to them in the first place. This involves maintaining a properly mowed lawn and making sure that there are no places for snakes to hide. Piles of wood and other debris, as well as crawl spaces under buildings, are common places that snakes like to hide. These spaces should be either removed or covered.