How to Keep Plant-Eating Animals Out of Your Garden
In this article
This guide shows you how to protect your garden from deer, rabbits, groundhogs, and other plant-eating animals using physical barriers, repellents, and smart planting. You’ll learn practical, humane methods that work for most suburban and rural yards. Before you start, identify which animals are visiting—look for tracks, droppings, or distinctive damage (e.g., clean-cut stems from rabbits, ragged tearing from deer). This determines the best strategy.
What You'll Need
- Fencing materials (wire mesh, chicken wire, or deer netting)
- Fence posts (metal or wooden)
- Stakes or U-pins
- Scissors or wire cutters
- Gloves
- Repellent sprays (commercial or homemade)
- Motion-activated sprinkler (optional)
- Plants that animals dislike (e.g., marigolds, lavender, daffodils)
Step-by-Step
- Identify the culprit. Look for signs: deer leave hoof prints and browse at heights up to 6 feet; rabbits leave small round droppings and clean 45-degree cuts on stems; groundhogs dig burrows near garden edges. This tells you which fence height and mesh size you need.
- Install a physical barrier first. For rabbits and groundhogs, use 1-inch mesh chicken wire or hardware cloth, buried 6–12 inches deep and bent outward at the base (an L-shape) to prevent digging. The fence should be at least 3 feet tall for rabbits, 4–5 feet for groundhogs. For deer, use 8-foot tall deer netting or a solid fence (deer can jump lower fences). Secure posts every 6–8 feet.
- Make the fence visible. Deer may not see thin netting and can get tangled. Attach white cloth strips or flagging tape every few feet along the top and middle of the fence. This also helps birds avoid collisions.
- Apply repellents early and often. Use commercial repellents containing putrescent egg solids, garlic, or capsaicin. Spray on plants before damage occurs, and reapply after rain or every 2–4 weeks. For homemade repellent, mix 1 egg with 1 cup water and 1 teaspoon dish soap, let it sit for a day, then spray. Always test on a small leaf first.
- Rotate repellents. Animals can get used to one scent. Switch between two or three different repellents every few weeks to keep them effective.
- Plant deterrent species. Interplant your garden with strong-smelling herbs and flowers that many animals avoid: lavender, rosemary, sage, marigolds, daffodils, and alliums. These are not foolproof but reduce browsing pressure.
- Use motion-activated sprinklers. Place them at garden entry points. The sudden burst of water startles animals without harming them. Move the sprinklers every few days so animals don’t learn to avoid them.
- Remove shelter and food sources. Keep grass short, clear brush piles, and remove fallen fruit or birdseed that might attract animals. Groundhogs like to hide under sheds or decks—block access with wire mesh.
- Consider a sacrificial crop. Plant a small patch of clover or lettuce away from your main garden. Some gardeners find this distracts rabbits and deer, though it’s not guaranteed.
- Monitor and adjust. Check fences and repellents weekly, especially after storms. Look for new tracks or damage. If one method stops working, combine it with another (e.g., fence plus repellent).
Common Mistakes
- Fence too low or not buried. Rabbits can squeeze under a 1-inch gap; groundhogs dig under. Always bury the fence at least 6 inches deep.
- Using only repellents. Repellents wash off and wear off. They work best as a supplement to fencing, not a replacement.
- Applying repellent after damage. Once animals have tasted your plants, they may keep coming back. Apply before the growing season starts.
- Ignoring the gate. A fence is useless if the gate is left open or has gaps. Make sure gates close tightly and have the same mesh.
- Using flimsy netting for deer. Thin plastic netting can tear or entangle animals. Use sturdy deer netting or a solid fence.
Tips
- For deer, a double fence (two 4-foot fences spaced 3–4 feet apart) is often more effective than a single 6-foot fence, because deer don’t feel they can clear both.
- Plant garlic and onions around the perimeter—many animals avoid the smell.
- Use human hair or soap bars (like Irish Spring) in mesh bags hung near plants. The scent deters some animals, but reapply after rain.
- If you have a dog, letting it patrol the yard (supervised) can be a strong deterrent. Do not rely on this alone, as animals may return when the dog is inside.
- Check local regulations before installing tall fences—some areas have height restrictions.
Troubleshooting
- Animals are digging under the fence. Extend the buried section deeper (at least 12 inches) and add an outward L-shaped apron of wire at the base.
- Repellent stops working. Switch to a different active ingredient. Also, reapply more frequently—some repellents need weekly application during rapid plant growth.
- Deer jump the fence. Raise the fence to 8 feet, or add an angled extension at the top (a 45-degree overhang) to make jumping harder.
- Birds get caught in netting. Use netting with larger mesh (2-inch) and add flagging tape. If you find an entangled bird, carefully cut the netting away—do not pull.
- Groundhogs still get in. Locate and block their burrows with gravel or wire mesh. You may need to hire a professional for removal, as they can be persistent.
- Repellent damages plants. Some homemade sprays (e.g., with hot pepper) can burn leaves in full sun. Spray in the evening, and dilute further if needed.
Frequently Asked Questions
Will coffee grounds keep animals away?
Coffee grounds have a strong smell that may deter some animals temporarily, but they are not reliable. They also add nitrogen to the soil, so they won’t hurt your plants. Use them as a supplement, not a primary method.
Do ultrasonic repellent devices work?
Some people report success, but results vary widely. Animals may become accustomed to the sound, and the devices don’t work through walls or dense vegetation. They are not a substitute for fencing.
Is it safe to use mothballs in the garden?
No. Mothballs are pesticides and are not approved for outdoor garden use. They can harm pets, children, and beneficial insects, and they may contaminate soil. Avoid them.
What is the best fence for rabbits?
A 3-foot tall chicken wire fence with 1-inch mesh, buried 6 inches deep, is effective. Make sure the bottom is secured to the ground so rabbits can’t squeeze under.
Will planting marigolds really keep deer away?
Marigolds have a strong scent that deer often avoid, but hungry deer will eat them. They work best as part of a diverse strategy, not as a standalone solution.
How do I keep animals out without harming them?
Use physical barriers, motion-activated sprinklers, and scent-based repellents. These methods are humane and do not injure animals. Avoid poisons, traps, or sticky substances that can cause suffering.