Skip to main content
← All guides

How to Keep Deer, Rabbits & Squirrels Out of the Garden

GardenDraft Team · July 2, 2026 · 6 min read

Part of: Plant Problems & Pest Guides

You can do everything right (perfect soil, flawless timing, healthy plants) and still walk out one morning to find the lettuce sheared to stubs and the bean seedlings gone. Four-legged raiders are a different problem from bugs, and the plain fact is that only a real barrier reliably stops a determined animal. Repellents and tricks help, but a fence is the answer that lets you stop worrying.

Match the defense to the animal

Each critter calls for a different fence, so identify who's visiting (tracks, droppings, the height of the damage):

Repellents and deterrents — the second tier

Where a full fence isn't practical, these reduce pressure without eliminating it:

Plant choices and a decoy

Some plants are less appealing: animals tend to avoid strongly aromatic herbs and pungent alliums like onions and garlic, which is one reason a border of them, or of marigolds, can take a little pressure off (it overlaps with companion planting). No plant is truly "deer-proof" when animals are hungry enough, though. The dependable strategy is layered: a barrier sized to your worst offender, backed by repellents and a startle device for the rest. Protect the high-value crops first and you'll lose far less of the harvest you worked for.

Frequently asked questions

What's the best fence to keep animals out of a garden?
It depends on the animal. Rabbits need a 2-foot chicken-wire fence buried 6 inches down; deer need a 7–8 foot fence or a double fence; squirrels climb fences, so cover plants with netting or wire cages instead.
Do deer and rabbit repellents work?
Scent and taste repellents (egg, garlic, hot pepper) reduce browsing, but they must be reapplied after rain and as plants grow. A motion-activated sprinkler is one of the more effective non-fence deterrents.

Sources

Want sow, transplant, and harvest dates computed for your exact ZIP code?

Find your planting calendar →

Or get seasonal reminders by email:

Growing guides: lettuce · beans · strawberries