Short answer: There's no good evidence that any plant keeps snakes away. In a 2021 field study, geraniums, one of the plants most often recommended, did no better than plain water. Dense plantings near the house can even attract snakes by giving them shade and drawing in rodents.
The usual list
Marigolds, lemongrass, snake plant (mother-in-law's tongue), garlic, onions, wormwood and geraniums show up on most snake repellent plant lists. The claims usually rest on smell. They're rarely backed by testing.
What testing shows
A University of Pretoria field study tested geraniums alongside chemical repellents, using water as the comparison. Geraniums didn't keep snakes away any better than water. None of the five repellents tested did.
Why plants can backfire
- Dense ground cover gives snakes shade and shelter
- Thick plantings draw rodents, which draw snakes
- Plants along a wall or fence can help a snake get over it
What to plant instead
Keep plantings near the house and along fence lines low and open, with bare ground or gravel between them so you can see the ground. Leave a clear strip along walls and snake fencing.
What actually keeps snakes out
A physical barrier and fewer rodents. See how to keep snakes away and snake fencing.
Common questions
Does the snake plant repel snakes?
No. Its name comes from the shape of its leaves, not from keeping snakes away.
Do marigolds keep snakes away?
There's no good evidence they do. Use a barrier and rodent control instead.