The most reliable way to keep rabbits out of your yard is a properly installed fence with small mesh wire buried underground. Rabbits are persistent, though, and most people get the best results by combining a physical barrier with habitat changes that make your yard less inviting in the first place.
Fencing That Actually Stops Rabbits
A fence is the single most effective rabbit deterrent, but only if it’s built to rabbit specifications. Standard garden fencing with large gaps won’t work. You need wire mesh (often called hardware cloth or rabbit netting) with openings no larger than about 1 inch (30 mm) along the bottom portion. Young rabbits can squeeze through surprisingly small gaps, so tighter mesh matters more than height.
The fence itself doesn’t need to be tall. Rabbit netting should reach about 3 feet (roughly 960 mm) above ground level. Cottontails can jump, but they rarely clear anything above 2 feet, so 3 feet gives you a comfortable margin. The critical detail most people miss is burying the bottom of the fence at least 6 inches (150 mm) into the ground. Rabbits instinctively dig along fence lines, and a buried footer stops them from tunneling underneath. Bend the buried portion outward in an L-shape for even better protection, since rabbits dig right at the base.
For a vegetable garden, you can fence just the garden bed rather than your entire property. Use wooden or metal posts and attach the mesh tightly with no gaps at ground level. Check the bottom edge periodically, especially after heavy rain, since soil erosion can open gaps rabbits will find within days.
Make Your Yard Less Attractive to Rabbits
Rabbits choose yards that offer food and, more importantly, cover. They’re prey animals, so they stick close to hiding spots. Removing those hiding spots is one of the most overlooked and effective strategies, especially in suburban areas where alternative shelter is limited.
Start by clearing brush piles, wood stacks, dense weed patches, and debris near the areas you want to protect. Keep grass mowed short. Tall grass and overgrown borders give rabbits the cover they need to feel safe feeding in your yard. If you have old burrows dug by groundhogs or skunks, fill them in. Rabbits don’t typically dig their own burrows (cottontails nest in shallow depressions), but they’ll happily move into abandoned ones.
The goal isn’t to make your entire property barren. You just want to eliminate cover near your garden beds, flower borders, and other areas where rabbit damage bothers you most. A rabbit that has to cross 30 feet of open lawn with no nearby hiding spot is far less likely to stick around.
Repellents: What Works and What Doesn’t
Commercial rabbit repellents fall into two categories: fear-based and pain-based. Fear-based repellents contain sulfurous compounds like putrescent egg solids, predator urine (typically coyote), meat proteins, or garlic. These work because herbivores associate sulfur odors with predator activity, triggering an avoidance response. Pain-based repellents use ingredients like capsaicin (the compound that makes hot peppers burn) or bittering agents like denatonium benzoate, which irritate the mouth, nose, and eyes on contact.
Many commercial products combine both approaches. A typical formula might include egg solids for the fear response plus capsaicin for the taste deterrent. Products with putrescent whole egg solids as the primary active ingredient tend to perform well in field conditions because the sulfur smell is persistent and broadly repulsive to herbivores.
The catch with all repellents is that they need reapplication, especially after rain. They also lose effectiveness over time as rabbits habituate to the smell, particularly when food is scarce and the motivation to feed is high. Think of repellents as a supplement to fencing and habitat changes, not a standalone solution. Spraying your hostas every two weeks gets old fast, and one missed application is all it takes for rabbits to rediscover your garden.
DIY Repellent Options
You can make a basic repellent at home using ingredients that mirror what’s in commercial products. A spray made from blended garlic, hot pepper flakes, and water, strained and applied with a spray bottle, delivers both sulfur and capsaicin. Some people add a raw egg to boost the sulfur content. A small amount of dish soap helps the mixture stick to leaves. These homemade versions work on the same principles as store-bought repellents but wash off more quickly and need more frequent application.
Plants Rabbits Tend to Avoid
Rabbits have strong preferences, and planting things they dislike can reduce damage without any fencing at all. They generally avoid plants that are fuzzy, thorny, strongly aromatic, or contain bitter or toxic compounds. Bordering your garden with rabbit-resistant plants can create a natural buffer that discourages browsing.
Reliable rabbit-resistant perennials include lavender, lamb’s ears, thyme, yarrow, wormwood, butterfly weed, yucca, and blanket flower. For herbs, most of what you’d already grow qualifies: rosemary, sage, oregano, and mint are all low on the rabbit menu. Ornamental grasses, sea holly, and euphorbia also get left alone.
No plant is completely rabbit-proof. A starving rabbit in winter will eat almost anything. But under normal conditions, a garden heavy on aromatic herbs and fuzzy-leaved perennials gets significantly less attention than one full of lettuce, beans, and tulips.
Trapping and Removal Laws
If you’re thinking about trapping rabbits, check your state’s wildlife regulations first. In many states, cottontail rabbits are classified as game animals, which means specific rules govern when and how you can remove them. In New York, for example, you need a permit from the state Department of Environmental Conservation to take a cottontail as a nuisance animal outside of hunting season. If you do remove one during the closed season, the animal must be buried or cremated immediately.
Live trapping and relocating rabbits is illegal in many jurisdictions. You generally cannot trap a rabbit on your property and release it in a park or on public land. Wildlife agencies prohibit relocation because it spreads diseases, stresses the animal, and simply moves the problem to someone else’s neighborhood. If you want a rabbit physically removed, most states require you to hire a licensed nuisance wildlife control operator.
Given those restrictions, prevention is almost always more practical than removal. Even if you successfully trap and remove rabbits, new ones will move into the territory within weeks if the habitat still looks inviting.
Putting It All Together
The most effective rabbit control combines three layers. First, reduce cover and nesting habitat near the areas you care about: mow the grass, clear brush, fill old burrows. Second, install a proper fence with small mesh wire buried at least 6 inches deep around your garden or most vulnerable plantings. Third, use repellents and rabbit-resistant plants as supplementary deterrents in areas where fencing isn’t practical, like open flower beds or front landscaping.
Any single method can help, but rabbits are adaptable. They’ll dig under a fence that isn’t buried, ignore a repellent that’s washed off, and tolerate an open yard if there’s enough food. Layering your defenses is what turns occasional nibbling into rabbits deciding your yard isn’t worth the effort.