Keep Cats and Squirrels Out of Your Garden
In this article
This guide gives you practical, proven ways to keep both cats and squirrels out of your garden without harming them. You'll learn physical barriers, scent deterrents, and habitat changes that work together. Before starting, walk around your garden to identify entry points, favorite digging spots, and any existing damage—this helps you choose the most effective methods.
What You'll Need
- Chicken wire or hardware cloth (1/2-inch mesh or smaller)
- Wooden stakes or landscape pins
- Scissors or wire cutters
- Mulch (coarse, like pine bark or gravel)
- Motion-activated sprinkler
- Ultrasonic pest repeller (optional)
- Garlic or cayenne pepper (for homemade spray)
- Spray bottle
- Bird feeder with a squirrel baffle (if you feed birds)
- Netting or row covers
Step-by-Step
- Install a physical barrier around the garden perimeter. Bury chicken wire or hardware cloth at least 6 inches deep and bend the top outward at a 90-degree angle. This prevents squirrels from digging under and cats from climbing over. Use landscape pins to secure it firmly.
- Cover exposed soil with coarse mulch. Cats dislike walking on rough textures, and squirrels have trouble digging through large, uneven mulch. Apply a 2-3 inch layer of pine bark nuggets, gravel, or crushed stone over all bare soil.
- Set up a motion-activated sprinkler. Place it where cats and squirrels enter most often. The sudden burst of water startles them, and they learn to avoid the area. Move it every few days so they don't get used to its position.
- Apply scent deterrents. Mix 1 tablespoon of cayenne pepper or crushed garlic with 2 cups of water and a few drops of dish soap. Spray this around the garden edges and on plants (test a small area first). Reapply after rain or every 3-5 days. Avoid getting it on edible parts of vegetables.
- Install an ultrasonic repeller. These devices emit high-frequency sounds that are uncomfortable for cats and squirrels but inaudible to most humans. Place them at ground level, pointing toward the garden. Follow the manufacturer's range recommendations.
- Protect individual plants with netting or cloches. For young seedlings or prized flowers, use row covers or wire cloches. Secure them tightly so squirrels can't lift them.
- Modify bird feeders. If you feed birds, place feeders at least 10 feet away from the garden and use a squirrel-proof feeder with a weight-activated mechanism or a baffle. Clean up spilled seeds daily—squirrels are attracted to them.
- Remove hiding spots. Trim low branches that give cats easy access to fences or roofs. Clear brush piles, tall grass, and dense shrubs where cats might hide or squirrels might nest. Keep compost bins covered.
- Create a distraction area. If squirrels are a major problem, plant a small patch of sunflowers or corn at the edge of your property. This gives them an alternative food source, though it may attract more—so this step is optional and not always recommended.
- Maintain and rotate your tactics. Animals adapt quickly. Change the position of sprinklers, switch scents weekly, and check barriers monthly for gaps. Persistence is key.
Common Mistakes
- Using only scent deterrents. These wash off in rain and lose potency quickly. They work best as a supplement to physical barriers.
- Not burying the fence deep enough. Squirrels can dig under a fence that's only surface-level. Always bury at least 6 inches.
- Leaving gaps in netting. A small tear or loose edge becomes an easy entry point. Check netting weekly.
- Placing sprinklers too high. Sprinklers should be at ground level to catch animals at their height. Mounting them high on a post reduces effectiveness.
- Ignoring food sources. Fallen fruit, pet food, and birdseed attract animals. Remove these before they become a habit.
- Using toxic repellents. Never use poison or harmful chemicals. They can hurt pets, wildlife, and beneficial insects.
Tips
- Combine at least two methods (e.g., fence + sprinkler) for the best results.
- Plant marigolds, lavender, or rosemary around the border—their strong scents are mildly repellent to cats and squirrels.
- Use a motion-activated light at night if animals visit after dark.
- For raised beds, cover the bottom with hardware cloth before adding soil to prevent burrowing from below.
- Be consistent. It may take 2-3 weeks for animals to fully avoid the area.
Troubleshooting
Animals are still getting in despite the fence. Check for gaps under gates or where the fence meets corners. Squirrels can squeeze through holes as small as 1.5 inches. Reinforce with extra wire.
Sprinkler isn't triggering. Adjust the sensitivity and make sure it's aimed at the animal's path. Also check that the battery is fresh and the sensor isn't blocked by plants.
Cats are jumping over the fence. Add an angled extension on top of the fence, tilted outward at 45 degrees. This makes it impossible for cats to get a grip.
Squirrels are digging under the fence. Lay a flat piece of wire mesh horizontally on the ground just inside the fence, extending outward 12 inches. Cover it with soil—squirrels will hit the wire when they try to dig.
Repellent spray isn't working. Increase the concentration slightly (up to 2 tablespoons per cup) and apply more frequently. Also try alternating between garlic and cayenne—animals may get used to one scent.
Birds are also being deterred. If you want birds but not squirrels, use a feeder with a cage around it that allows small birds but blocks squirrels. Keep the feeder far from the garden.
Frequently Asked Questions
Will cayenne pepper harm my plants?
No, cayenne pepper is safe for plants in small amounts. It may cause slight leaf burn if applied heavily on a hot sunny day, so test on a small area first and avoid spraying during peak sun.
Do ultrasonic repellers work on all cats and squirrels?
Most animals are sensitive to high-frequency sounds, but some may get used to them over time. They work best when combined with other methods and moved regularly.
How deep should I bury the fence to stop squirrels?
At least 6 inches is recommended. Squirrels can dig surprisingly deep, so 8-12 inches is even better if you have persistent diggers.
Will coffee grounds keep cats and squirrels away?
Coffee grounds have a strong smell that some animals dislike, but they are not reliable on their own. They also add nitrogen to soil, so they're a safe, mild deterrent.
Is it okay to use mothballs as a deterrent?
No. Mothballs are toxic and not approved for outdoor use. They can harm pets, children, and wildlife. Avoid them entirely.
How often should I reapply scent sprays?
Reapply after rain or every 3-5 days. In hot, sunny weather, they may evaporate faster, so check weekly and refresh as needed.