I want to be straight with you up front: no plant is going to single-handedly keep a groundhog out of your garden. A hungry groundhog will walk right over a row of marigolds to get to your lettuce. What these plants do is make your garden a little less appealing, and stacked together with a fence, they help.
What actually puts a groundhog off
Groundhogs navigate mostly by smell. Strong, pungent plants can mask the smell of the food they want and make the area feel wrong to them. They also avoid plants that are bitter or toxic, and anything prickly or fuzzy that’s annoying to push through. That gives you three angles to work with: scent, taste, and texture.
Scent plants
- Lavender is a good border plant. It smells great to you and overwhelming to a groundhog.
- Marigolds have a musky scent groundhogs don’t like. Plant them dense, not one here and there.
- Garlic and onions give off a sulfur smell that groundhogs steer around. Bonus, you can eat them.
- Herbs like rosemary, thyme, sage, and oregano are cheap, hardy, and smell strong enough to help.
Bitter and toxic plants
Daffodils, foxglove, and castor bean are the ones groundhogs most reliably avoid, because they’re actually toxic. That’s also why I’d skip castor bean entirely if you have kids or pets, it’s genuinely dangerous. Daffodils and foxglove are poisonous too, so plant them where nothing you care about will nibble them.
Texture plants
Holly, barberry, and lamb’s ear are the physical barriers. Sharp or spiny leaves and fuzzy, unpleasant surfaces are things a groundhog won’t push through if it has a choice. Holly and barberry work as a hedge.
How to make it actually work
The mistake most people make is planting one lavender and expecting it to hold a perimeter. It won’t. You need a dense, continuous border of these plants, and even then it’s a deterrent, not a fence.
The fence is the part that works. A buried fence is the only thing that reliably keeps a groundhog out. Use the plants to reinforce it and make your garden less inviting, not as the whole plan.
Frequently Asked Questions
Their smell helps, but marigolds alone won’t save a garden. A hungry groundhog will cross them to reach food. Use them as part of a bigger plan.
Lavender, marigolds, garlic, onions, daffodils, and foxglove are the common ones, plus prickly things like holly and barberry. Combined, they help more than any single plant.
It helps, but it’s not a complete fix. Plant it as a border and pair it with a fence and some of the other plants above.
Groundhogs love tender garden food: beans, peas, lettuce, broccoli, carrots, and clover, plus sunflowers and dandelions. If you have a groundhog problem, don’t plant a buffet right next to its burrow.
Some aren’t. Daffodils, foxglove, and castor bean are toxic to pets and people. If you have dogs or cats, stick to lavender, marigolds, garlic, and herbs.




