The Wild

What to Put Around a Garden to Keep Animals Out

· 6 min read · Mammals

In this article
  1. Why Animals Enter Gardens in the First Place
  2. Fencing: The Most Reliable Barrier
  3. Netting and Row Covers for Smaller Pests
  4. Repellents: Scents, Tastes, and Sounds
  5. How to Choose the Right Method
  6. Common Mistakes and Misconceptions
  7. Costs and Safety Considerations
  8. Alternatives: Habitat Modification and Companion Planting
  9. Frequently Asked Questions

The most effective things to put around a garden to keep animals out are physical barriers: a fence buried at least 6 inches deep, or a row cover and netting for smaller pests. No single repellent or scare tactic works reliably for all animals, so the best approach combines a sturdy fence with species-specific deterrents like motion-activated sprinklers or taste repellents.

Why Animals Enter Gardens in the First Place

Animals enter gardens for three basic reasons: food, water, and shelter. A well-watered vegetable bed is an obvious food source for deer, rabbits, groundhogs, and squirrels. The dense foliage of a flower border offers cover for nesting and hiding from predators. Understanding what attracts animals to your specific yard helps you choose the right barrier. For example, a rabbit will squeeze through a 3-inch gap, while a deer can jump a 4-foot fence if it sees a clear landing spot. Removing fallen fruit, sealing compost bins, and keeping bird feeders away from garden edges reduces the initial draw before you even install a barrier.

Fencing: The Most Reliable Barrier

A fence is the only method that physically stops animals, but the design must match the pest. For deer, you need a fence at least 8 feet tall, or a shorter fence angled outward at 45 degrees to confuse their depth perception. For rabbits and groundhogs, a 3-foot fence of welded wire or chicken wire works, but it must be buried 6 to 12 inches deep and bent outward in an L-shape at the bottom. This prevents digging underneath. For climbing animals like squirrels and raccoons, add a single electric wire at the top of a smooth metal pole, or use a roller bar that spins when they try to grip. A simple picket fence may look nice but offers almost no protection against determined animals.

Netting and Row Covers for Smaller Pests

For birds, insects, and small mammals like mice, lightweight netting and row covers are practical. Bird netting draped over fruit trees or berry bushes stops birds from eating your harvest. Row covers made of spun polyester or polyethylene let in sunlight and water while blocking insects and small animals. When using netting, secure the edges with soil or staples so animals cannot crawl underneath. Remove netting before it becomes a tangle hazard for birds and small wildlife. For ground-level crops like lettuce and carrots, floating row covers are the simplest solution—just lay them directly over the plants and weigh down the edges.

Repellents: Scents, Tastes, and Sounds

Repellents work by making the garden smell, taste, or feel unpleasant. Scent-based repellents (e.g., predator urine, garlic, or putrescent egg solids) are common for deer and rabbits. Taste repellents (e.g., capsaicin sprays) deter chewing but need reapplication after rain. Motion-activated sprinklers startle animals with a sudden burst of water, which is effective for deer, raccoons, and stray cats, but they must be repositioned regularly as animals learn their range. Ultrasonic devices emit high-frequency sounds that some animals find irritating, but their effectiveness varies by species and they do not work through solid objects. Scarecrows, reflective tape, and wind chimes rarely work long-term because animals quickly habituate to them.

How to Choose the Right Method

Start by identifying the animal causing the damage. Look for tracks, droppings, and the type of damage: deer leave ragged torn edges on plants, rabbits cut stems cleanly at a 45-degree angle, groundhogs eat entire plants and dig burrows, and squirrels dig up bulbs or eat fruit. Once you know the pest, match the barrier to its size and behavior. A small raised bed with a wire cage on top may be enough for rabbits and birds. A large open garden with deer pressure needs a tall fence. Consider the cost and effort: fencing is a one-time investment, while repellents require ongoing maintenance. If you are unsure, start with the least invasive method (netting or a motion-activated sprinkler) and escalate to fencing if damage continues.

Common Mistakes and Misconceptions

One common mistake is installing a fence that is too low or not buried deep enough. A 4-foot fence will not stop a deer, and a fence that ends at the soil line will let rabbits and groundhogs dig under. Another mistake is using a single repellent and expecting it to work all season; animals adapt, and weather degrades the product. A widespread misconception is that human hair or soap shavings repel deer reliably—these are anecdotal and rarely effective in practice. Also, be careful with mothballs: they are toxic to pets and children, and using them outdoors is illegal in many areas. Finally, do not rely on a single method; combining a fence with a motion-activated sprinkler and removing food sources gives the best result.

Costs and Safety Considerations

Costs vary widely: a 50-foot roll of 4-foot welded wire fencing costs roughly $30–$50, while an 8-foot deer fence can be $200 or more for the same length. Row covers are around $10–$20 per 50-foot roll. Motion-activated sprinklers run $30–$60 each. When installing any barrier, follow manufacturer instructions and local building codes. For electric fences, use a low-impedance charger and clear signage to warn people. Never use poisons or traps that could harm pets, children, or non-target wildlife. If you choose repellents, check the label for safety around edible plants and reapply as directed.

Alternatives: Habitat Modification and Companion Planting

Before resorting to barriers, modify the habitat. Keep grass mowed short near the garden to remove cover. Remove brush piles, rock piles, and tall weeds where rabbits and rodents hide. Install a gravel or stone border around the garden—many animals dislike walking on unstable surfaces. Some gardeners plant strong-smelling herbs like lavender, rosemary, or marigolds around the edge, but this is not a proven deterrent and should not be your only defense. For groundhogs, you can also try a one-way exit door at their burrow entrance, but this requires careful timing and may be illegal in some jurisdictions. Always check local wildlife regulations before attempting any exclusion method.

Frequently Asked Questions

Will a fence keep out all animals?

No fence is 100% animal-proof. A properly installed fence will stop most deer, rabbits, and groundhogs, but determined animals like raccoons and squirrels can climb or dig. Combine fencing with netting or repellents for full coverage.

What is the best cheap way to keep rabbits out?

Bury a 3-foot-high chicken wire fence 6 inches deep and bend the bottom outward. This costs under $30 for a small garden and is highly effective against rabbits.

Do motion-activated sprinklers work on deer?

Yes, they work temporarily. Deer are startled by the sudden water spray, but they may learn to avoid the sensor range or approach from a different angle. Move the sprinkler every few weeks.

Are there plants that repel animals?

Some plants like marigolds, garlic, and daffodils are said to repel certain animals, but there is no strong scientific evidence. They may help slightly, but they are not a reliable barrier on their own.

Can I use human hair or soap to keep animals away?

These are folk remedies with little proof of effectiveness. They may work for a few days until the scent fades, but they are not a dependable solution.

How do I keep squirrels from digging up my bulbs?

Cover the soil with a layer of chicken wire or hardware cloth after planting bulbs, then mulch over it. The wire allows shoots to grow through but prevents digging. Remove the wire after the shoots emerge.