Keep Animals Out of Raised Garden Beds
In this article
Raised garden beds are a magnet for rabbits, squirrels, deer, and even groundhogs because they offer easy access to tender plants. This guide gives you practical, humane ways to protect your beds—using barriers, repellents, and smart planting—so you can enjoy your harvest without sharing it with wildlife.
What You'll Need
- Hardware cloth (1/4-inch or 1/2-inch mesh) or chicken wire
- Staple gun and staples, or zip ties
- Wood stakes or metal posts (at least 3-4 feet tall)
- Bird netting or floating row cover
- Scissors or wire cutters
- Garden staples or landscape pins
- Repellent sprays (optional, e.g., garlic or hot pepper based)
- Motion-activated sprinkler (optional)
Step-by-Step
- Assess the culprits. Identify which animals are visiting. Rabbits and groundhogs dig under; deer jump over; squirrels climb and dig. Your strategy will depend on the main offender.
- Install a bottom barrier (for diggers). If you haven't built your bed yet, line the bottom with hardware cloth before adding soil. For existing beds, dig a trench 6-8 inches deep around the perimeter and bury the hardware cloth vertically, leaving 12-18 inches above ground. This stops burrowing animals.
- Build a fence around the bed. For most animals, a fence 3-4 feet high is sufficient. Use wood stakes or metal posts at each corner and every 4-6 feet along the sides. Attach hardware cloth or chicken wire with staples or zip ties. For deer, go at least 6 feet or use a double fence (two shorter fences 3 feet apart).
- Secure the top (for climbers and birds). Drape bird netting over the top of the bed and secure it with garden staples or clips. For squirrels, a rigid cover like a PVC pipe frame with netting works well. Leave enough slack so plants can grow.
- Add a motion-activated sprinkler. Place one near the bed, aimed at the entrance path. The sudden burst of water startles animals without harming them. Move it occasionally so they don't get used to it.
- Apply repellents (as a backup). Use a commercial repellent or make your own with garlic or hot pepper spray. Reapply after rain or every 1-2 weeks. Rotate between two different repellents to prevent habituation.
- Plant deterrents around the bed. Strong-smelling herbs like lavender, rosemary, or marigolds can mask the scent of your crops. Some gardeners find that planting a border of these helps, though it's not foolproof.
- Check and maintain. Inspect your barriers weekly for holes, loose staples, or gaps. Trim any vegetation that could give animals a leg up. Re-secure anything that has come loose.
Common Mistakes
- Using chicken wire for groundhogs. Chicken wire is too flimsy—groundhogs can chew through it. Use hardware cloth with 1/4-inch mesh for underground barriers.
- Leaving gaps at corners. Animals are experts at finding tiny openings. Make sure all seams overlap by at least 2 inches and are securely fastened.
- Fence too short. A 2-foot fence might keep out rabbits but not deer or determined dogs. Measure the jump height of your local wildlife.
- Not burying the fence. If you only attach fence to the sides, rabbits and groundhogs will simply dig under. Always bury at least 6 inches.
- Forgetting to secure the top. Squirrels can climb over a fence easily. If they're your main problem, a top netting is essential.
- Using repellents only. Repellents wash off and lose potency—they should be a supplement, not your only defense.
Tips
- Use a double fence for deer. Deer are less likely to jump a fence if they can't see a clear landing spot. Two 3-foot fences spaced 3 feet apart work better than one 6-foot fence.
- Make the fence slant outward. For climbing animals, an angled top section (45 degrees) makes it harder to climb over.
- Install a simple gate. If you need regular access, build a wooden frame with hardware cloth and attach it with hinges.
- Use row covers. Floating row covers are lightweight and can be placed directly on plants to protect from insects and small animals, but they won't stop deer or groundhogs.
- Keep the area around the bed clear. Tall grass and brush give animals cover. Mow or trim a 2-3 foot clear zone around the bed.
- Try ultrasonic devices. Some gardeners report success with ultrasonic emitters, but results vary. They're worth a try if you're dealing with persistent squirrels.
Troubleshooting
- Animals are digging under the fence. This means your buried barrier is too shallow or has a gap. Dig down and add more hardware cloth, bending the bottom outward in an L-shape (about 6 inches horizontally) to make digging more difficult.
- Animals are jumping over. Your fence is too low. Add another foot or two of height, or install an angled top section. For deer, consider a taller fence or double fence.
- Animals are squeezing through gaps. Check all corners and seams. Overlap mesh by at least 2 inches and use zip ties or staples every 4-6 inches.
- Repellents aren't working. Switch to a different type (e.g., from garlic to hot pepper). Apply more frequently, especially after rain. Also, ensure you're covering the entire plant, including undersides of leaves.
- Birds are getting under the netting. Secure the netting tightly to the ground with landscape pins or heavy stones. Make sure there are no loose edges.
- Squirrels are chewing through netting. Use a sturdier mesh like hardware cloth for the top, or use a motion-activated sprinkler aimed at the bed.
Frequently Asked Questions
Will coffee grounds keep animals away?
Some gardeners report that coffee grounds deter squirrels and cats due to the smell, but it's not guaranteed and needs frequent reapplication. It's a low-cost option to try, but don't rely solely on it.
How high should a fence be to keep deer out?
Deer can jump 6 feet easily, so a single fence should be at least 6-8 feet tall. Alternatively, two 3-foot fences spaced 3 feet apart are also effective because deer are hesitant to jump into a narrow area.
What is the best material for a raised bed barrier?
Hardware cloth with 1/4-inch mesh is the most durable and versatile. It keeps out small diggers like voles and groundhogs, and can be used for both underground and above-ground fencing.
Can I use human hair or soap to repel animals?
Some people swear by hanging bars of soap or scattering human hair around the bed to repel deer and rabbits. The effectiveness varies, and it needs replacing after rain. It's worth trying if you're looking for a cheap, non-toxic option.
Will a motion-activated sprinkler harm my pets?
No, the sprinkler just sprays water and is harmless to pets. However, some pets might be startled. You can adjust the sensitivity and direction to avoid spraying your pets when they're near.
How do I keep animals out without a fence?
If a fence isn't possible, use a combination of repellents, motion-activated sprinklers, and netting. You can also try planting strong-smelling herbs around the perimeter, but these methods are less reliable than a physical barrier.