Snakes can be found in homeowners' yard, especially if they live in urban areas. While many species of snake are harmless to humans, people might not desire to share their yards with the creatures. If you find snakes in your yard, the simply might find the environment attractive. To get rid of the snakes, remove snake-attracting components of that environment, forcing the snakes to move elsewhere.
Eliminate their food supply. Most snakes live on mice, rats, crickets, squirrels and chipmunks. Remove any feeding and breeding grounds for these animals, and snakes will leave your yard alone. Keep garbage under control and tidy. If you find dead animals around the yard, bury or dispose of them immediately; these will attract rodents and bugs, which in turn will attract snakes.
Trim shrubs and bushes as far back as possible. Remove any underbrush or low branches where snakes can hide. Keep the tops of shrubs unconnected; snakes can use the branches of close brush to move between them. Rake debris or leaves out from under bushes or brush to keep the undersides visible. Keep flowerbeds and gardens neat and clean.
Remove overgrown areas that allow snakes to travel from spot to spot undetected. Keep the base of fence lines visible and clear of vegetation. Mow the grass to a height of 2 inches; this will decrease hiding places and increase the potential for large birds to prey on snakes if they are found in short grass.
Eliminate any hiding places where snakes can find shade, warmth and shelter. Use concrete or plaster to repair holes in concrete foundations; snakes can use the holes to live in because they are warm areas and easily accessible. If you can fit a finger into the crack, a snake can get into the space. Remove rock piles or wood piles around the yard; snakes can make use of these for living spaces as well. Mix compost piles regularly. Keep the area around the piles clear of anything other than short grass. Snakes can use the heat from the compost pile to help digest food and hibernate.
Erect a snake fence. A snake fence, made of 2-foot-high fine wire mesh is installed around the perimeter of your yard. This will deter snakes from entering because the fence is too high to climb and the wire mesh is too fine for them to go through.