Keep groundhogs out of your garden by using stout fencing, burrow blocking, scent-based repellents, and tidy harvest habits.
Groundhogs (woodchucks) don’t nibble politely. They can clip stems, strip beans, and tunnel under bed edges. If you’re searching “how to keep groundhogs from garden,” a simple truth helps: barriers beat gimmicks.
The most reliable setup is a wire fence that stops climbing and digging, paired with quick cleanup and a few low-effort deterrents. You don’t need every trick. You need the right few, done well.
A groundhog that gets shocked once or meets firm wire usually quits, so your goal is to make entry feel pointless.
| Method | Best For | What To Watch |
|---|---|---|
| Wire fence 3–4 ft tall | Daily feeding raids | Use 2″ mesh or smaller so juveniles can’t slip through |
| Buried trench 10–12″ | Digging under the fence | Backfill tight so there’s no soft tunnel line |
| L-shaped apron at base | Rocky or rooty soil | Pin it with ground staples and add mulch on top |
| Top bend 12–15″ outward | Climbers | Aim for a steady outward angle so paws slide off |
| Electric offset wire | Fence testing at the base | Keep grass off the wire so it stays hot |
| Hardware cloth under beds | Tunneling into raised beds | Overlap seams and staple tight to the frame |
| One-way door + seal | Burrows near sheds or banks | Wait for no activity before sealing the opening |
| Repellent rotation | Short-term pressure | Reapply after rain and switch scents every week or two |
How To Keep Groundhogs From Garden Step By Step
Work in this order. Each step builds on the last, and you’ll waste less time chasing random fixes.
Confirm it’s a groundhog
Look for clipped stems, missing leaves, and a smooth travel lane through grass leading to a burrow. The main entrance often has a fan of fresh soil. Rabbits leave cleaner bites and usually don’t make big holes.
Build a fence that stops digging and climbing
Start with strong wire mesh. Penn State Extension’s woodchuck guidance recommends a fence at least 3 feet high, plus digging protection at the bottom.
Use welded wire or heavy poultry wire with openings no larger than 2 inches. Set sturdy posts so the fence stays tight after rain and freeze-thaw.
Make the bottom dig-proof
- Trench method: Dig a narrow trench and bury the bottom 10–12 inches of wire.
- Apron method: Bend the bottom 12–18 inches outward, lay it flat, pin it down, then add a thin layer of mulch or soil over it.
The apron method is fast. When a groundhog tries to dig at the base, it hits wire right away and quits.
Stop climbing at the top edge
Groundhogs can climb. A simple top bend makes the fence frustrating to scale. Rutgers’ groundhog management bulletin describes using an outward-leaning top section so the animal can’t get a stable grip.
Bend the top 12–15 inches outward at about a 45-degree angle. If you can’t bend it, add a loose strip at the top that wobbles when weight hits it.
Fix the gate, since that’s the weak spot
Most “mystery” break-ins happen at the gate. Groundhogs will squeeze under a gap that looks too small to matter.
- Set the latch so the gate shuts tight every time.
- Add a board or rubber sweep at the bottom if the ground is uneven.
- Check the hinge side for gaps where wire pulls loose.
Add an electric wire only when you need it
If a groundhog keeps testing the base, add one electric wire a few inches above soil and a few inches outside the fence. That’s where its nose touches while it sniffs and pushes.
Use a listed charger, keep kids away from the hot line, and keep plants from touching the wire so the charge stays strong.
Block tunneling into raised beds
If you see soil pushed up under a bed or a hollow spot near the frame, add 1/2-inch hardware cloth under the bed. Empty one section at a time, staple the mesh to the inner walls, overlap seams, then refill and water to settle.
Keeping Groundhogs Out Of Your Garden With Everyday Habits
Once the barrier is up, make the garden less rewarding. This is the part that keeps the fence from being tested night after night.
Stay on harvest and cleanup
Groundhogs return to the easiest food. Don’t leave a buffet sitting out.
- Pick ripe produce daily during peak season.
- Pull old plants and bag them instead of leaving them in a heap.
- Use a closed compost bin for kitchen scraps.
- Rake up fallen fruit near beds.
Trim hiding spots along the outside edge
Groundhogs like a quick dash from brush to food. Keep weeds and tall grass trimmed along the outside of the fence. Move brush piles and wood stacks away from the garden so there’s less shelter right by the beds.
Use repellents as a bridge, not the main plan
Repellents can help while you fix a gap or finish a fence. Choose products labeled for garden use and follow the label exactly. Many use predator-scent ingredients, garlic, hot pepper, or bittering agents.
Reapply after rain. Rotate between two scent styles every week or two so the smell stays unfamiliar.
Rotate scare tactics if you use them
Spinners, reflectors, and motion devices can work for a short stretch, then get ignored. If you use them, move them every few days and place them on the travel lane, near the entry route.
A dog that patrols the fence line can help. Keep pets safe and avoid any direct contact with wildlife.
Handle Burrows Near Beds Before They Turn Into A Routine
A den close to the garden keeps a groundhog nearby. If the burrow sits under a shed, in a bank, or beside a rock wall, deal with it early.
Check if a burrow is active
Loosely stuff the entrance with dry leaves or crumpled paper at dusk. Check at dawn. If it gets pushed out, the hole is in use.
Use a one-way door, then seal
If the hole is active, don’t seal it shut right away. Install a one-way door so the animal can leave but can’t get back in. Leave it in place for several days, then look for fresh digging.
When activity stops, remove the door and seal the opening with packed soil and rock. Add wire mesh at the surface and pin it down so a new hole can’t be started in the same spot.
Skirt structures with wire
For decks and sheds, block access along the whole edge. Extend hardware cloth below grade, or run an apron outward and secure it with staples, then add gravel or soil over the wire. Pay attention to corners and spots where rain washes soil away.
Trapping Rules And Safety Basics
Sometimes you need removal. Live trapping can work, yet rules vary by place and relocation may be restricted. Check your state wildlife agency rules before you set a trap.
If trapping is allowed, set a sturdy live trap on the travel lane, bait it with apple slices or melon rind, and wire the bait to the trigger so the animal has to step in. Set the trap in shade and check it often.
Wear thick gloves, keep kids away, and handle the trap calmly. If you don’t want to manage trapping, a licensed wildlife control operator can do the work.
Seasonal Timing That Helps You Win
Groundhog pressure rises and falls through the year. Match your work to the season for fewer surprises.
Early spring
Build or repair fencing before you transplant. Bed edges are open, and burrow entrances are easier to spot.
Mid-summer
Feeding peaks when gardens are lush. Walk the fence after storms. A single washout can create a low gap that gets used the same night.
Fall
Clean beds and store materials. Pull dead plants, remove fallen produce, and mark weak fence spots so spring repairs go fast.
| Routine | How Often | What To Do |
|---|---|---|
| Fence walk | 2–3 times a week | Check for new digs, low spots, and loose ties |
| Gate check | Daily | Shut gaps at the latch and hinge side |
| Harvest pass | Daily in season | Pick ripe produce and remove fallen fruit |
| Repellent refresh | After rain | Reapply per label and rotate scent style |
| Edge trim | Weekly | Mow and trim weeds along the outside route |
| Burrow scan | Weekly | Watch for fresh soil piles and new holes |
| Electric wire test | Weekly | Use a tester and clear plants from the hot line |
Quick Checklist For Fast Results
If you want a tight plan, follow this list in order. It’s the same path many gardeners use after searching “how to keep groundhogs from garden” and getting tired of half-fixes.
- Install a 3–4 foot wire fence with 2-inch mesh.
- Add a buried trench or an L-shaped apron at the bottom edge.
- Bend the top section outward or add a loose top strip.
- Seal gate gaps with a sweep or board.
- Add one electric offset wire if the base gets tested.
- Line raised beds with hardware cloth if tunneling shows up.
- Harvest daily and remove scraps and fallen fruit.
- Trim weeds and brush near the fence line.
- Exclude active burrows with a one-way door, then seal tight.
When the fence is built right and the edges stay tidy, most groundhogs shift to easier food elsewhere. Keep checking the gate and the base line, and you’ll spend more time planting than patching.
