West Indian Lemongrass
Botanical Name: Cymbopogon citratus
West Indian lemongrass is a perennial plant that can be maintained easily. The entire plant has a mild lemon-like flavor and releases a citrus fragrance from the leaves that put away snakes. The by-product of this plant, which is known as citronella, is effective in repelling mosquitoes and ticks from the garden as well.
Kaffir-Lime
Botanical Name: Citrus hystrix
Also known as makrut lime, it is generally grown for its use in Asian dishes. Snakes walk away from the places where the kaffir-limes are planted as the strong smell of this plant puts them off.
Cactus
Onion and Garlic
Botanical Name: Allium cepa and Allium sativum
Growing onion and garlic plants can be a good option to keep snakes away from your yard, as they hate the smell produced by both the plants. The onion plant creates sulphonic corrosive, which is unbearable for snakes. On the other hand, garlic emits a slick oil that irritates snakes when they crawl on the plant.
Marigold
Botanical Name: Tagetes
Marigold is an annual or perennial herbaceous plant from the sunflower family that produces beautiful orange, yellow, and burgundy flowers. The roots of the plant emit an obnoxious smell that is intolerable for snakes and other pests in your garden.