Snakes tend to avoid strong-smelling plants like garlic, wormwood, and marigold. Lemongrass is also an effective natural snake repellent as it releases pungent citronella oil. Although widely considered a weed, mugwort can do a good job of keeping snakes away.