How to Repel Groundhogs | Fencing, Repellents & Sanitation That Work

Repelling groundhogs requires a three-layer strategy: exclusion fencing buried 12 inches deep with an outward L-footer, removing food and shelter sources, and applying scent-based repellents like castor oil or blood meal to burrow entrances and garden perimeters.

The tunnels undermine walkways, the appetite strips a tomato patch overnight, and the animal itself is stubborn enough to shrug off half the remedies on the internet. The working approach splits into three actions you control: build a barrier they cannot dig under, remove what brings them in, and apply repellents on a schedule that stays ahead of their sense of smell. Here is the sequence that actually stops them.

Why Groundhogs Keep Showing Up

A groundhog does not wander into a yard by accident. It follows food (vegetables, fallen fruit, tender plants), shelter (brush piles, wood stacks, rock walls), and the promise of dry ground under a porch or shed. Sanitation alone can eliminate two of those three draws. Per the Farmers’ Almanac, cleaning up debris, harvesting crops early, and removing woodpiles removes the reasons to settle in. Skip this step and no repellent will hold long term. The creature is simply returning to a food source, not ignoring your spray.

Fencing: The Only Permanent Deterrent

Physical exclusion is the single method that works regardless of how hungry or determined the groundhog is. The specifications matter more than the material.

Use heavy poultry wire or 2-inch welded-woven mesh with openings no larger than 3-by-3 inches. The fence must stand a minimum of 3 feet above ground. Below ground, bury the bottom 12 inches; the lowest 6 inches must bend outward at a 90-degree angle to form an L-footer that blocks digging. According to guidelines from Scotts Miracle-Gro, the top 10–15 inches should angle outward at 45 degrees to stop climbing. For added security on rigid fences, one strand of electrified wire placed 4 inches off the ground and 6 inches in front of the fence provides a strong psychological barrier.

If fencing your whole yard is impractical, fence the garden or the specific area under a deck or shed. The same burial and angle rules apply to smaller perimeters.

Fence Element Specification Purpose
Mesh size 3 x 3 inches max Prevents squeezing through
Height above ground 3 feet minimum Blocks climbing and jumping
Burial depth 12 inches Stops digging under
Bottom bend Outward L-footer, 6 inches Blocks downward digging
Top angle Outward 45°, 10–15 inches Deters climbing over

Scent-Based Repellents That Change Behavior

Castor oil, blood meal, cayenne pepper, and ammonia each work by making the area smell threatening or unappealing. Havahart’s repellent guide recommends applying liquid sprays directly onto susceptible plants, allowing them to dry fully before watering. Granular repellents should be sprinkled inside and around all burrow holes at the rate printed on the back panel. Reapplication is the common failure point: sprays need refreshing every 2–3 days, and any product must be reapplied after heavy rain.

Ammonia-soaked rags placed near burrow openings create a vapor barrier that groundhogs avoid, but handle ammonia with gloves and keep it away from children and pets.

Motion-activated sprinklers (brands like Havahart and Scarecrow) add a startle element. Point the sensor toward the path groundhogs use to approach the garden. The water burst interrupts feeding patterns, making the area feel unsafe even when the sprinkler is silent.

The Harassment Protocol for Active Burrows

When a burrow is occupied, direct harassment can drive the animal out before sealing. The Humane Society’s protocol is straightforward:

  1. Test for activity. Loosely plug all entrances with grass or newspaper. Check after 3–5 days of clear summer weather. If the plug is pushed out, the burrow is active.
  2. Harass the occupant. Partially dig the entrance open. Clear vegetation around it. Place urine-saturated kitty litter or a capsaicin-based repellent just inside the opening. Loosely seal the entrance to trap the smell inside.
  3. Close permanently only when empty. Confirm the burrow is vacant by re-plugging and waiting another 2 days with no disturbance. Then bury a 3-foot square of welded wire centered over the hole, buried 1 foot deep, and pin it with landscape staples.

Never seal a burrow with the animal inside. That forces it to dig a new exit or die, and the smell attracts pests. For a complete overview of products that handle each stage of this process, check out this tested roundup of the best groundhog repellents on the market.

Common Mistakes That Sabotage Your Efforts

The three most common errors cost homeowners weeks of frustrated work. Spraying repellent while a groundhog is inside the burrow encourages it to stay underground until the smell fades. Apply only when the animal is foraging above ground. Burying fence less than 12 inches deep, or skipping the outward L-footer, leaves a digging path a groundhog will find. And inconsistent reapplication after rain turns a full-strength deterrent into a faint odor the animal ignores.

Closing an active burrow without the 3–5-day test traps the problem rather than solving it. The animal will reopen the entrance or break out through a new tunnel, often under a shed or walkway.

Repellent Application Checklist

Repellent Type When to Apply Key Rule
Liquid spray (castor oil) Dry weather, above 40°F Let dry before watering
Granular (blood meal) Dry ground, before rain forecast Use rate on back panel
Ammonia rags Active burrow entrance Keep away from pets
Motion sprinkler Garden perimeter Sensor faces approaching path

Each method works best when combined with the one above it. Fencing alone can be breached if food stays accessible. Repellents alone stop working after a rain. The reliable strategy is fence the vulnerable area, strip the food sources, and keep scent barriers fresh.

FAQs

Does Irish Spring soap keep groundhogs away?

Some gardeners report success with shaved Irish Spring soap scattered near burrows, but the evidence is anecdotal. The strong fragrance may deter groundhogs briefly, but rain washes the scent away quickly, and many groundhogs simply ignore it. Rely on castor oil or blood meal for consistent results.

Will a groundhog eventually leave on its own?

A groundhog will leave only if the food source disappears or the area becomes persistently threatening. Without intervention, they typically stay until winter hibernation and return in spring. Active removal via fencing, harassment, or professional trapping is required to stop damage in the current season.

Can I use mothballs as a groundhog repellent?

Mothballs are not registered for outdoor wildlife use and contain chemicals that contaminate soil and water. They pose risks to pets, children, and beneficial insects. Stick to EPA-registered repellents like capsaicin or castor oil that are labeled for garden application.

How deep do groundhogs dig their burrows?

Groundhog burrows typically extend 2 to 5 feet underground and can stretch 20 to 30 feet in length with multiple chambers and exits. This is why shallow fence burial fails and why a 12-inch deep barrier with an outward bend is necessary to block the main tunnel path.

Should I hire a professional for groundhog removal?

If the burrow is under a structure, the infestation is large, or you cannot safely handle traps and repellents, a wildlife removal service handles it quickly. Professionals use exclusion techniques, one-way doors, and relocation methods that comply with local laws. This is the safest route for homeowners unfamiliar with trapping.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.