Short answer: No plant has been shown to keep snakes out of a yard. Some essential oils make snakes move when sprayed on them, but that isn't a yard barrier. Dense plantings can even give snakes cover.
The plants people try
Marigolds, lemongrass, mother-in-law's tongue (snake plant), garlic, onions, wormwood and West Indian lemongrass all show up on "snake repellent plant" lists. The lists are long. The evidence is not: there are no good field studies showing any of these keeps snakes out of a yard.
What the research actually found
The real research is on essential oils, not plants in the ground. USDA scientists studying invasive brown treesnakes on Guam found that oils like cinnamon, clove and cedarwood irritate snakes when sprayed straight onto them or into a closed space like cargo. The snakes move away. That's a long way from a ring of marigolds keeping a rattlesnake out of a backyard.
Why plantings can make things worse
Snakes look for cover. Thick beds of ground cover, tall grass and shrubs that touch the ground are exactly where they hide. Extension advice is to keep plants trimmed up off the ground, not to plant more.
Natural snake repellents: vinegar, garlic, cinnamon, sulfur
Homemade sprays fade quickly, wash off with rain or watering, and have no proof of keeping snakes away. Don't use mothballs outdoors. It's against the label and illegal, and they're toxic to kids and pets.
What works instead
- Remove cover and food. See how to keep snakes out of your yard.
- Seal gaps over 1/4 inch.
- Put a fine-mesh snake-proof fence around the yard, with gates and drains sealed.
Sources
- USDA APHIS Wildlife Services Tech Note: Snake Repellents (2023)
- Clark & Shivik (2002), Aerosolized essential oils as brown treesnake repellents, Pest Management Science
- UF/IFAS Extension: Mothball facts (PI289)
- Mississippi State University Extension: Reducing Snake Problems Around Homes
Common questions
What plant keeps snakes away?
None has been shown to. Lists of snake repellent plants aren't backed by field studies.
Do marigolds repel snakes?
There's no evidence they do.
Does lemongrass keep snakes away?
Not as a garden plant. Research on oils is about spraying snakes directly, not planting lemongrass.
Do essential oils repel snakes?
Cinnamon and clove oil make snakes move when sprayed on them, per USDA research. They don't create a lasting barrier around a yard.