8 Plants That Repel Snakes Naturally

Several plants are widely recommended as natural snake deterrents, and planting them around your yard can be part of a broader strategy to make your property less inviting to snakes. However, there’s an important caveat worth knowing upfront: no plant has been scientifically proven to reliably repel snakes on its own. Mississippi State University Extension tested numerous repellent methods against black rat snakes, including plant-based approaches, and none were effective in isolation. That said, many of these plants produce strong scents or oils that snakes appear to find unpleasant, and combining them with smart landscaping habits gives you the best shot at a snake-free yard.

Lemongrass

Lemongrass produces a strong citrus scent from the oils concentrated in its leaves and stems. Snakes rely heavily on chemical sensing through their tongues and a specialized organ in the roof of their mouth, and potent citrus compounds can overwhelm that system. Lemongrass grows in thick clumps that reach 3 to 5 feet tall, making it useful as a fragrant border plant along fences, garden edges, or entry points to your yard. It thrives in warm climates (USDA zones 9 through 11) and needs full sun. In cooler areas, you can grow it in pots and bring it indoors over winter.

Garlic and Onions

Garlic and onions belong to the allium family, and their deterrent effect comes from sulfonic acid, the same compound that makes your eyes water when you chop onions. This chemical irritates a snake’s sensory system, which is far more sensitive to airborne chemicals than ours. Planting garlic or onion bulbs in dense clusters around garden beds, walkways, or the perimeter of your home creates zones of strong scent at ground level, right where snakes travel. Both are easy to grow in most climates, do double duty as kitchen staples, and are inexpensive to plant in large quantities.

Society Garlic

Society garlic is not true garlic but a South African perennial with a similar pungent smell. It produces clusters of purple flowers on tall stems above grass-like foliage, making it more ornamental than regular garlic while still releasing that characteristic garlic scent. It’s a hardy perennial that works well in flower beds and borders, tolerates drought once established, and grows in zones 7 through 10. The continuous garlic-like odor from the leaves and roots makes it a popular choice for gardeners who want something that looks attractive while serving as a deterrent.

Marigolds

Marigolds are one of the most commonly recommended snake-deterring plants, largely because of the sharp, musky scent produced by their roots and foliage. That same scent also repels many insects and rodents. Since snakes follow their prey, reducing the rodent population around your home indirectly reduces your snake problem too. Marigolds are annuals in most climates, cheap to buy in bulk, and easy to grow in borders, raised beds, or containers. French marigolds tend to have the strongest scent. Plant them densely for the best effect.

Wormwood

Wormwood is the same plant used historically to make absinthe and vermouth. Its silvery-green leaves release a strong, bitter, musky scent that snakes reportedly avoid. Some gardeners brew wormwood leaves into a tea, mix it with salt and garlic, and spray it around their yard’s perimeter for a more concentrated effect. As a plant, wormwood is a tough perennial that handles poor soil and drought well, growing in zones 4 through 8. Be aware that it can spread aggressively and may inhibit the growth of nearby plants through chemicals it releases into the soil, so give it its own dedicated space.

Mugwort

Mugwort is a close relative of wormwood with a similarly pungent aroma. Its leaves contain aromatic oils that produce a strong herbal smell when brushed or crushed, which is why it’s often planted along pathways and garden borders where foot traffic activates the scent. Like wormwood, mugwort spreads readily and can become invasive if not managed. It’s best planted in contained areas or pots sunk into the ground to control its roots. It grows in zones 3 through 9, making it one of the more cold-hardy options on this list.

Indian Snakeroot

Indian snakeroot has a long history in traditional medicine across South and Southeast Asia and gets its common name from its traditional use in snake-related remedies. The plant produces compounds in its roots and leaves with a distinctive bitter odor. It grows as a small evergreen shrub, reaching about 2 feet tall, and prefers shaded, humid environments. It’s suited to tropical and subtropical climates and won’t survive frost. This is a harder plant to find at nurseries in North America, but it’s worth mentioning because it’s one of the most frequently cited snake-repelling plants in traditional practice.

Mother-in-Law’s Tongue (Snake Plant)

Ironically named “snake plant,” this common houseplant is often listed as a snake deterrent. Its stiff, upright, sword-shaped leaves create a visual and physical barrier that snakes tend to avoid, and the plant produces saponins, soapy compounds that may irritate a snake’s skin on contact. Mother-in-law’s tongue is extremely low-maintenance, tolerating low light, irregular watering, and neglect. It grows well outdoors in zones 9 through 12 and as a potted plant anywhere else. One important note: this plant is toxic to dogs and cats, according to the ASPCA. Pets that chew on the leaves can experience nausea, vomiting, and diarrhea.

Why Plants Alone Aren’t Enough

Here’s the honest reality: when Mississippi State University Extension researchers tested a wide range of repellent methods against snakes, including sulfur, lime, mothballs, cayenne pepper spray, and various plant-derived approaches, none of them reliably kept snakes away. No snake repellent of any kind is currently registered for snake control in the United States. That doesn’t mean these plants are useless, but it does mean you shouldn’t rely on them as your sole strategy.

The approaches that actually reduce snake encounters are habitat-based. Snakes come to your yard for two reasons: shelter and food. Eliminating both is far more effective than any plant or chemical repellent.

  • Keep grass short. Snakes avoid crossing open, exposed ground where predators like hawks can spot them. Mowing regularly removes their cover.
  • Remove debris and clutter. Woodpiles, rock piles, sheets of plywood, old tarps, and dense brush all create ideal hiding spots. Move these away from your home or eliminate them.
  • Control rodents. Mice and rats are a primary food source for many common snakes. If you reduce the rodent population, snakes lose their reason to visit.
  • Seal entry points. Gaps under doors, cracks in foundations, and openings around pipes let snakes enter structures. Hardware cloth or caulk can close these off.
  • Trim vegetation away from your foundation. Overgrown shrubs and ground cover right against your house walls give snakes a sheltered highway directly to potential entry points.

Planting marigolds, garlic, lemongrass, and other aromatic plants along your borders can complement these strategies by adding one more layer of deterrence. Think of them as part of a system, not a solution on their own. A well-maintained yard with short grass, no debris, controlled rodents, and a perimeter of strong-scented plants is the combination most likely to keep snakes elsewhere.