Keep snakes away naturally by removing their food and water sources, eliminating their potential dwelling spots and maintaining a yard that's inhospitable to them. Clean up clutter, and cut the grass, as snakes prefer cool, dark places, such as wood piles, compost piles and leaf piles, to sleep in.
Snakes eat slugs, rats, voles, moles, mice and a variety of insects. Address pest problems to remove the snakes' sources of food, and eliminate wet areas and water sources to make the yard less hospitable. Mulch with sharp materials, such as holly leaves and egg shells, as snakes avoid uncomfortable textures.