Groundhogs (also called woodchucks) can devastate a vegetable garden in a single night. They dig under fences, climb over barriers, and eat plants down to the ground. If you’re wondering how to keep groundhogs out of your garden, you need a multi-layered approach. This guide covers fencing, repellents, trapping, and habitat changes that actually work for American homeowners.

1. Build a Groundhog-Proof Fence

A fence is the most reliable barrier, but groundhogs are excellent diggers and climbers. Here’s how to install one that stops them:

  • Use heavy-gauge wire mesh (1/2-inch or 1-inch openings) like hardware cloth or welded wire. Chicken wire is too weak.
  • Bury the bottom 12 inches underground, then bend it outward in an L-shape (6 inches away from the garden) to block digging.
  • Height: at least 4 feet above ground. Groundhogs can climb, so add a top wire that’s floppy or angled outward (like a 45-degree overhang) to prevent climbing.
  • Secure gates and corners with extra reinforcement. Check for gaps regularly.

Common mistake: Using a fence that’s too short or not buried. Groundhogs will simply dig under or climb over.

2. Use Natural Repellents (With Realistic Expectations)

Repellents can help, but they are not a standalone solution. They work best as a supplement to fencing.

  • Predator urine (coyote or fox): Available at garden centers. Apply around the garden perimeter every few weeks and after rain. The smell signals danger.
  • Garlic and pepper sprays: Mix minced garlic, cayenne pepper, and water with a little dish soap. Spray on plants and soil. Reapply after rain.
  • Motion-activated sprinklers: Groundhogs hate sudden water sprays. Place them near entry points. They work well in small gardens.
  • Ammonia-soaked rags: Place in shallow containers near burrows (but away from plants). The strong smell deters them temporarily.

What doesn’t work: Ultrasonic devices, mothballs (illegal for outdoor use), and human hair. These have little to no effect.

3. Modify the Habitat to Discourage Groundhogs

Groundhogs need shelter and food. Remove both to make your yard less attractive.

  • Clear brush piles, rock piles, and tall grass where they can hide or burrow. Keep your lawn mowed short.
  • Remove fallen fruit and vegetables from the ground. Don’t leave pet food outside.
  • Block access under decks, sheds, and porches with heavy mesh or concrete. Groundhogs love to burrow under structures.
  • Install a gravel border around the garden. Groundhogs dislike digging in sharp gravel.

Pro tip: Plant a small “sacrificial” patch of clover or alfalfa away from your garden. This can distract groundhogs from your prized vegetables, but it’s not guaranteed.

4. Live Trapping (When Necessary)

If groundhogs are persistent and other methods fail, live trapping is a legal option in most states. Check local regulations first.

  • Use a large trap (at least 32 inches long) with a sensitive trigger. Bait with fresh vegetables like cantaloupe, sweet corn, or green beans.
  • Place the trap near the burrow entrance or along their travel path. Camouflage it with leaves or branches.
  • Check the trap frequently (every few hours) to avoid stress or death. Release the groundhog at least 5 miles away in a suitable habitat (with landowner permission).
  • After removal, seal the burrow with rocks and dirt, then install a fence to prevent new groundhogs from moving in.

Common mistake: Trapping without addressing the attractants. New groundhogs will quickly take over the empty burrow.

5. Combine Methods for Best Results

No single method is 100% effective. Use a combination:

  • Install a proper fence (the foundation).
  • Apply repellents around the perimeter weekly.
  • Remove hiding spots and food sources.
  • Monitor for signs of digging or damage, and act quickly.

When to call a professional: If you have multiple groundhogs, large property, or are uncomfortable with trapping, hire a wildlife control expert. They can also help with exclusion and burrow fumigation if needed.

Frequently Asked Questions

Q: Will mothballs keep groundhogs away?
A: No. Mothballs are not registered for outdoor use and are ineffective against groundhogs. They can also harm pets and children.

Q: How deep do groundhogs dig?
A: Burrows can be 5–6 feet deep and 20–30 feet long. That’s why you need to bury your fence at least 12 inches deep with an L-footer.

Q: What plants do groundhogs hate?
A: They tend to avoid plants with strong scents like lavender, sage, and rosemary, but they will still eat them if hungry. No plant is 100% groundhog-proof.

Q: Can I use poison?
A: Poison is not recommended. It’s inhumane, illegal in many areas, and can kill pets or wildlife that eat the poisoned groundhog.

Final Thoughts

Keeping groundhogs out of your garden requires persistence and a combination of fencing, repellents, and habitat management. Start with the fence—it’s the most effective long-term solution. Then add repellents and remove attractants. If you have a severe problem, live trapping may be necessary, but always follow local laws. With consistent effort, you can protect your garden and enjoy your harvest without sharing it with woodchucks.