Groundhogs hate strong smells, spicy tastes, and signs of predators. Their sensitive noses make them especially vulnerable to scent-based deterrents like castor oil, cayenne pepper, garlic, and certain herbs. If you’re dealing with a groundhog tearing up your garden or burrowing under your shed, you have a solid list of things they genuinely can’t stand.
Smells That Drive Groundhogs Away
Groundhogs rely heavily on their sense of smell, which makes strong-scented substances one of the most practical tools against them. Castor oil is a particularly effective option. Mixing half a cup of castor oil with two cups of water and spraying it around burrow entrances creates an odor groundhogs actively avoid. Garlic works similarly: crush cloves into a paste and spread it near the areas you want to protect.
Cayenne pepper pulls double duty. The smell alone is irritating to groundhogs, and the capsaicin (the compound that makes peppers hot) adds a burning sensation if they try to nibble nearby plants. Sprinkling cayenne in small piles near burrow holes or mixing two teaspoons into a quart of water to spray on vulnerable plants can keep them from feeding.
Blood meal fertilizer, which you can find at any garden center, produces a strong odor that groundhogs find repulsive. It has the added benefit of feeding nitrogen into your soil, so it does two jobs at once. Epsom salts are another option. Groundhogs hate the taste, and sprinkling them around your garden perimeter or placing a tin plate of Epsom salts near target plants can discourage browsing. Worth noting: Epsom salt is magnesium sulfate, not regular table salt, so it won’t harm your plants.
Essential oils like clove, lemongrass, rosemary, lavender, and thyme can also push groundhogs out of an area. Mix 5 to 10 drops in a spray bottle filled with water or apple cider vinegar (which they also dislike) and reapply every few days, especially after rain.
Predator Scents: Hit or Miss
The idea behind predator-scent products is simple: if a groundhog smells fox or coyote urine, its survival instincts should kick in and it will leave. In practice, results are inconsistent. These products work entirely on fear, and if a particular groundhog hasn’t encountered that predator or simply isn’t intimidated, the scent won’t do much.
A single groundhog near a house may respond to fox urine granules scattered around its burrow. But in a larger yard with multiple groundhogs, the approach is far less reliable. Used kitty litter poured near one entrance of a burrow (leave the other exit open so the animal can escape) mimics a predator’s presence and tends to work better in close quarters. Human hair clippings from a barbershop serve a similar purpose. Groundhogs associate the scent of humans with danger and will often relocate when the smell is persistent.
Plants Groundhogs Won’t Touch
One of the most lasting strategies is planting things groundhogs naturally avoid. Lavender is a standout: it smells pleasant to people but offensive to groundhogs. Planting it along your garden border creates a living barrier. Other herbs they dislike include basil, chives, lemon balm, mint, sage, thyme, rosemary, and oregano. If you already grow a kitchen herb garden, expanding it to the edges of your yard can serve as a deterrent.
Beyond herbs, Cornell Cooperative Extension recommends placing butterfly bush, peony, foxglove, and coreopsis around the perimeter of a yard or garden to deter browsing. Daffodils, iris, yarrow, blanket flower, snapdragons, wax begonias, lamb’s ears, and wormwood are also on the groundhog-resistant list. Many of these are attractive flowering plants, so you’re not sacrificing curb appeal. A border of resistant plants won’t create an invisible wall, but it makes your garden far less appealing compared to the neighbor’s unprotected lettuce patch.
Fencing That Actually Works
Groundhogs can both dig and climb, which means a standard garden fence often fails. An effective groundhog fence needs to be at least 3 to 4 feet tall above ground, with wire mesh openings no larger than 3 by 3 inches for adults and 2 by 2 inches if you want to keep juveniles out too.
The critical part is underground. Bury the bottom of the fence at least 12 inches deep, then bend the wire outward at a 90-degree angle to form an L-shape, with 12 inches of mesh extending horizontally underground on the exterior side. This L-shaped footer stops groundhogs from simply digging straight down and tunneling under. At the top of the fence, leave about 12 inches of mesh unanchored and angled outward. When a groundhog tries to climb over, the floppy section bends under its weight and it can’t get a grip.
Fencing requires more upfront effort than scent deterrents, but it’s the most reliable long-term solution, especially for a vegetable garden.
Combining Methods for Best Results
No single deterrent is foolproof. A hungry or established groundhog may push through a smell it dislikes if the food source is tempting enough. The most effective approach layers multiple things groundhogs hate. Plant lavender and herbs along your garden edge, spray castor oil or cayenne mixtures around burrow entrances, and install proper fencing around anything you really can’t afford to lose.
Reapplication matters for scent-based methods. Rain washes away sprays and granules, so plan on refreshing them every few days during wet weather. Epsom salts and cayenne near burrow holes need topping off regularly as well.
What to Know About Trapping
If deterrents aren’t enough, trapping may cross your mind, but the rules vary by state and are stricter than most people expect. In New York, for example, it is illegal to trap a groundhog on your property and release it somewhere else, whether that’s a park, state land, or down the road. Relocating animals can spread diseases like rabies, stress the animal, and create problems for whoever lives at the drop-off point. If you need a groundhog physically removed, you’ll typically need to contact a licensed nuisance wildlife control operator. Many states have similar restrictions, so checking your local wildlife agency’s regulations before setting a trap can save you a fine.