How To Keep Rabbits And Squirrels Out Of Vegetable Garden | Field-Tested Tactics

Use tight-mesh fencing, buried edges, crop covers, and targeted repellents to protect a vegetable garden from rabbits and squirrels.

Small mammals can strip seedlings overnight and chew through ripening produce by noon. You don’t need a fortress, just a smart mix of barriers, layout tweaks, and low-risk deterrents. This guide shows what works, why it works, and how to set it up without wasting time or money.

Quick Wins You Can Do This Weekend

Start with the fixes that stop the most damage fast. Put a fence around beds that hold tender greens and beans. Add netting over strawberries and tomatoes. Seal gaps at ground level where animals slip under a gate or a bed frame. Then layer in odor or taste repellents on high-value crops as backup.

Barrier Choices And Specs At A Glance

Choose a barrier based on the animal and the crop. Use smaller mesh for rabbits, overhead cover for climbers, and buried wire where digging is common.

Target Best Barrier & Spec Where It Shines
Rabbits Woven wire or poultry netting with ≤1" openings, 24–36" tall; bottom bent outward and buried ~6" Seedlings, lettuces, beans, beets
Squirrels Bird or garden netting over frames; tight covers on berry rows and tomatoes; hardware cloth lids on raised beds Fruits, tomatoes, corn, sunflowers
Mixed Beds Hardware cloth (¼–½") skirts on beds; snug gate sweep; landscape staples along the base Raised beds with assorted crops
Entry Points Threshold strip at gates; buried edge where soil settles; pin netting to soil with staples Low spots and corners
High-Pressure Plots Two low electric strands (about 2" and 7") around outer perimeter Large gardens with frequent visits

Keeping Rabbits And Squirrels Away From Veggie Beds: Proven Steps

This section walks you through the core setup that stops most raids. The goal is a neat, low-maintenance system you install once and adjust as your crops rotate.

Build A Rabbit-Tight Fence

Rabbits push and squeeze at ground level. Stop that with small openings and a buried edge. Go with poultry netting or welded wire where the holes are an inch or less. Set posts 6–8 feet apart for a tidy line. Keep the bottom of the mesh tight to the soil so nothing slips under on soft ground.

Before backfilling, bend the bottom 6 inches of mesh outward at a right angle and bury it. That creates an “apron” that blocks digging. If your soil heaves, pin the apron with landscape staples. In deep-snow regions, add height so the top stays above the snow line.

Want a deeper perimeter on a problem bed? Wrap the inside face of a raised bed with ¼–½ inch hardware cloth from soil level down to the base, then fold it under the box before backfilling. It’s hidden but tough.

Cover What Climbers Want

Climbers are comfortable jumping, balancing, and squeezing through branches. Instead of tall fences, protect the prize. Use garden hoops and netting over strawberries and ripening tomatoes. On a small bed, make a light wooden frame, stretch netting, and add simple hinges so you can lift the lid to weed or harvest.

Pick netting with a mesh that blocks paws and snouts but still lets pollinators work when flowers are open. For fruit clusters that need access, uncover in the morning during bloom, then close when fruit starts to color.

Seal Gaps And Corners

Most breaches happen where the fence meets the ground or a gate. Add a sweep or a strip of rubber at the bottom of the gate. Where soil settles, tamp it firm and pin the mesh with staples every 8–12 inches. At corners, overlap fence ends and wire them together, then cap sharp cut ends.

Use Taste And Odor Repellents Where Hands-On Harvest Makes Sense

When fruit is about to ripen, a short-term repellent can buy time. Capsaicin sprays, garlic-based products, and predator scents can reduce bites on the edges of a patch. Rotate products and reapply after rain. Keep labels handy and follow food-crop directions to the letter.

On bird feeders at the garden’s edge, capsaicin-treated seed can cut squirrel feeding without affecting birds. If you feed birds near your plot, switch to hot-pepper blends during harvest season so feeders aren’t a magnet.

Step-By-Step Builds You Can Replicate

Weekend Rabbit Fence (One Bed)

  1. Measure the bed plus a 12" apron perimeter. Buy poultry netting with ≤1" openings.
  2. Set posts 6–8 feet apart and 18" deep.
  3. Attach mesh 24–36" high. Keep the bottom snug to soil.
  4. Bend the bottom 6" outward, bury it, then tamp soil firm.
  5. Add a small gate with a bottom sweep; pin any low spots with staples.

Net-Top Berry Row

  1. Install low hoops or a lightweight frame over the row.
  2. Stretch garden netting and clip it tight so there’s no sag.
  3. Add a hinged flap at one end for harvest access.
  4. Anchor edges with soil or pins to stop sneak-unders.

Hardware Cloth Bed Liner

  1. Before filling a raised bed, line the bottom and inner sides with ¼–½" hardware cloth.
  2. Staple to the frame, then fold the cloth under the base.
  3. Check corners for gaps; overlap by a few inches where sheets meet.

Smart Garden Design That Cuts Damage

Good layout reduces risk. Keep leafy greens and beans toward the center where fencing is solid and access is controlled. Plant root crops in beds with buried hardware cloth. Move snacks like sunflowers and corn away from fence lines or block them with netted hoops as tassels form. Clear brush piles and dense cover near the plot so animals feel less safe sprinting in and out.

Water And Motion As Gentle Deterrents

Motion-activated sprinklers can startle night visitors and teach them to avoid a protected zone. Aim them just beyond the fence so the water hits approach routes, not the crop. Pair a sprinkler with a low fence for a strong one-two punch on small plots.

When To Add Low Electric Strands

If you have repeating nighttime raids along the same path, two low strands on simple posts can block the approach. Run a wire about 2" off the ground and a second at 7". Keep vegetation from touching the wires, and use a timer so it runs when animals are active. This setup sits outside your main mesh fence and reduces pressure on it.

Repellents And Devices: Real-World Performance

Here’s a compact guide to common options, where they help, and what trade-offs to expect.

Method Best Use Watch-outs
Capsaicin sprays Edge plants, ornamentals, feeder areas Reapply after rain; follow food-crop labels
Predator scents Short-term pressure relief at plot edges Fade with time; rotate products
Motion sprinklers Patrol paths and fence lines Needs water and batteries; adjust aim
Netting over hoops Strawberries, tomatoes, corn, sunflowers Secure edges; open for pollination when needed
Two-strand electric Outer perimeter on large plots Keep grass off wires; post signage

Rules And Safe Practices You Should Know

Laws differ by state and province. In many places, moving trapped wildlife off-site is restricted or banned. Before using traps or transporting an animal, check local rules. When in doubt, call your wildlife agency or a licensed operator. Humane methods start with exclusion and habitat tweaks, not relocation.

Want official specs on fence mesh and buried edges? Review the rabbit fencing guidance from the University of California’s Integrated Pest Management program and the Minnesota Extension’s advice on netting for climbers. Those pages spell out mesh sizes, height, and when to choose netting over wire. Link them in your notes so you can pull them up while shopping.

For mesh and buried edge details, see
UC ANR rabbit fencing specs
and for netting and barrier strategy see
UMN Extension on garden protection.

Maintenance Calendar So Protection Keeps Working

Early Spring

  • Walk the fence line; tighten ties and patch chewed spots.
  • Set hoops and stash netting nearby before fruit sets.
  • Refresh gate sweeps and pin any lifted edges.

Peak Growth

  • Close net lids as tomatoes blush and berries color.
  • Reapply repellents after rain or irrigation.
  • Mow or clip grass away from electric strands and fence bases.

Late Season

  • Harvest promptly; don’t leave ripe fruit advertising the buffet.
  • Remove fallen fruit and dense cover near the plot.
  • Store netting clean and dry; coil and label pieces for next year.

Troubleshooting: What To Try Next

They’re Still Chewing Seedlings Inside The Fence

Scan for a low gap under the mesh or a loose gate corner. Add more staples along the base and overlap seams at corners. Add a short turf strip or paver under the gate to close the gap.

Squirrels Are Nipping Tomatoes From Above

Hoop and net a single bed of ripening plants. If vines are tall, add a mid-span support so netting doesn’t sag onto fruit. Keep a small flap for easy picking.

They’re Digging Around Raised Beds

Line the inner sides of the bed with hardware cloth and fold it under the box. Where digging happens outside the bed, lay a 12" strip of hardware cloth flat under mulch as a hidden apron.

Repellents Only Work For A Few Days

Rotate products and pair them with a physical barrier. Use sprays on the outer row and net the inner row so animals get the message before they reach the sweet stuff.

Shopping List You’ll Use Over And Over

  • Poultry netting or welded wire with ≤1" openings
  • ¼–½" hardware cloth for skirts and lids
  • Garden hoops or a light frame; garden netting
  • Landscape staples and wire ties
  • Gate sweep or rubber threshold strip
  • Repellent of choice; spare spray bottle for mixing
  • Motion sprinkler (optional) and extra batteries
  • Two-strand electric kit for outer perimeter (large plots)

Why This Combo Works

The mesh stops squeezing and digging. The netting shields fruit without blocking airflow. The apron at ground level closes the most common path. Taste and odor cues teach visitors that your patch isn’t worth the hassle. Together, these changes cut losses while keeping the garden easy to work and easy to harvest.

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.