For years, I battled garden invaders. Rabbits, groundhogs, and even neighborhood dogs seemed to view my vegetable patch as their personal buffet. I tried everything from scarecrows to repellent sprays, and honestly, most of it was a waste of time and money. What I found was that a physical barrier is usually the only thing that consistently works. It’s not always pretty, but it gets the job done.
Building a proper garden border or fence isn’t just about throwing up some wire. You have to think about what animals you’re trying to deter and how they operate. A rabbit won’t be stopped by the same fence that keeps out a deer, and a determined groundhog will just dig right under if you don’t plan for it. I learned this the hard way after one season where I thought a simple chicken wire fence would be enough. It wasn’t. The rabbits had a field day.
Understanding Your Garden Invaders
![]()
Before you start buying materials, it helps to know who you’re up against. Different animals require different strategies. This might sound obvious, but I’ve seen plenty of folks build a fence for rabbits only to have deer leap right over it, or vice versa.
Keeping Out Diggers: Rabbits, Groundhogs, and Voles
![]()
These are the trickiest ones, in my experience. Rabbits are notorious for squeezing through small gaps and digging under fences. Groundhogs are master excavators. Voles and moles tunnel underground, making them almost invisible threats. For these guys, your fence needs to go down as well as up.
What I found works best is burying your fence. For rabbits, a fence needs to be at least 2 feet tall with small openings, no more than 1 inch in diameter. But the real trick is burying the bottom 6 to 12 inches of that fence. I usually bend the bottom edge outward in an ‘L’ shape and bury it. This apron makes it much harder for them to dig directly at the fence line. For groundhogs, I’ve had to go even deeper, sometimes a full foot, especially in soft soil after a rain. Half-inch hardware mesh is much more effective than chicken wire for these smaller, more determined diggers.
Deterring Leapers: Deer
![]()
Deer are a different kind of challenge. They can jump surprisingly high. A standard 3-foot fence won’t even slow them down. I’ve tried various heights, and what I’ve learned is that for deer, you’re generally looking at something much taller – 8 to 10 feet. That’s a serious commitment, and it can change the look of your garden quite a bit.
One approach I’ve seen work, though I haven’t implemented it myself due to space, is a slightly shorter fence (around 5.5 feet) combined with a wide border of shrubs or flowers around the garden. The idea is that deer perceive the overall distance they have to clear as much wider, even if the fence itself isn’t the full 8 feet. It’s an interesting psychological deterrent. If you’re going for a full-height deer fence, sometimes angling the top 45 degrees outward can make it feel even more daunting for them to clear.
Managing Pets: Dogs and Cats
![]()
My own dogs, bless their hearts, are notorious for digging. They don’t mean any harm, but a fresh patch of turned earth is just too tempting. For dogs, a 3-foot tall fence is often enough to keep them out of specific areas. The main issue is digging, similar to rabbits.
Again, an L-shaped apron buried along the base of the fence is your best friend here. I usually bend the bottom foot of wire mesh outward, lay it flat on the ground, and then cover it with soil or mulch. This prevents them from digging right at the fence line. For cats, a standard fence can work, but they are agile climbers. If you have a cat that’s determined to get in, you might need an enclosure with a top, or something with an outward-sloping top section.
Choosing the Right Materials
Once you know who you’re trying to keep out, selecting the right materials is next. This is where I’ve wasted money in the past, buying chicken wire when hardware mesh was truly needed.
Wire Mesh vs. Chicken Wire
![]()
I used to think chicken wire was good enough for everything. It’s cheap, and it’s easy to work with. But its larger hexagonal holes (often 1 inch or more) are just too big for determined rabbits or groundhogs. They can squeeze through or chew through it more easily.
Hardware mesh (or hardware cloth) is what I recommend for the bottom section of any fence where digging is an issue. It’s a much sturdier, welded wire with square openings, typically 1/2 inch or 1/4 inch. It’s more expensive and harder to cut, but it’s far more effective against small animals. For the upper sections of a taller fence (where animals aren’t likely to dig or squeeze), you can often switch to a wider mesh or even chain link to save on cost.
Posts and Supports
Your fence is only as strong as its posts. I’ve used everything from wooden stakes to metal T-posts. For a permanent installation, sturdy wooden posts set in concrete are ideal, especially for taller deer fences. For smaller, temporary fences, metal T-posts or even rebar can work well. Just make sure they’re driven deep enough to provide stability.
Solid Fencing for Visual Deterrence
Sometimes, a solid fence can be surprisingly effective, not just because it’s a physical barrier, but because it prevents animals from seeing what’s inside. If they can’t see the tempting greens, they might not bother trying to get in. This can be a good option for specific raised beds or smaller garden areas, though it can block sunlight for some plants.
DIY Solutions and Enclosures
I’ve dabbled in a few DIY solutions over the years, from simple border fences to more elaborate enclosures.
Trenching and Burying Your Fence
![]()
This is a crucial step for preventing digging. I dig a trench about 6-12 inches deep along the perimeter where the fence will go. If the soil is dry and hard, waiting until after a good rain makes it significantly easier. Once the trench is dug, I set the fence in, ensuring that L-shaped apron is facing outward, and then backfill with soil, tamping it down firmly. This takes time, but it’s worth it.
Raised Bed Borders
For raised garden beds, you can integrate animal protection directly into the design. I’ve seen people extend hardware mesh up from the inside of the bed walls, or even create a full cage over the top. For something like a crop cage, which is a completely enclosed structure, it offers ultimate protection for specific veggies or berry bushes. It’s a bigger project, but it solves a lot of problems.
Protecting Individual Plants
![]()
Sometimes you just need to protect a few specific plants. I’ve used simple chicken wire cloches for this. They’re basically wire cages that you place over individual plants or small rows. You can make them yourself with some chicken wire and pliers. They’re great for young seedlings that are particularly vulnerable to rabbits.
Final Considerations
Before you commit to a large fence, it’s a good idea to check with your local municipality or county. Some areas have regulations regarding fence height or placement, especially for large, permanent structures. You don’t want to go through all that work only to find out you have to take it down.
Ultimately, a physical barrier is the most reliable way to keep animals out of your garden. It takes effort and planning, but the peace of mind knowing your hard work won’t be eaten overnight is worth it. For me, that means investing in good hardware mesh and taking the time to bury it properly. It’s what works.


