You can keep most squirrels out of your yard with a mix of straightforward tricks: get rid of food sources, block off easy entry points, and add repellents or barriers where needed. Focus on removing what attracts them and putting up physical barriers first—those steps usually work best for the long haul.

You’ll pick up some practical ways to make your garden less tempting, protect bird feeders and plants, and figure out which repellents actually help. I’ll cover the main strategies, then share some easy deterrents you can try this weekend.
Fundamental Strategies to Keep Squirrels Out of Your Yard
Start by removing what brings squirrels in. Block their entry points and take away places they can use for shelter.
Focus on food, barriers, and trimming so your yard feels less like a squirrel playground.
Remove Food Sources and Yard Attractions
Pick up bird seed and fallen fruit as soon as you can. Use squirrel-proof bird feeders or put feeders on poles with baffles.
Bring in pet food, seal compost bins, and stash seed in metal or heavy plastic containers. Mulch bulbs with hardware cloth under the soil to stop digging—squirrels hate that.
Don’t feed wildlife, and make sure trash cans have tight lids or straps. If you grow nuts or fruit trees, harvest early and collect dropped fruit every day.
You can try cayenne or commercial repellent sprays for a short-term fix, but use them sparingly and follow directions.
Planting things like mint or marigolds might help in small spots, but honestly, determined squirrels aren’t fazed. For bird feeders, tube feeders with weight-sensitive perches that close for heavier animals can help.
Install Physical Barriers and Fencing
Wrap hardware cloth (1/4–1/2 inch mesh) around raised beds and under decking to block burrowing and chewing. Secure it at least a foot deep and up the sides a bit.
Chicken wire might work for a while, but squirrels chew through it—welded wire or stronger mesh lasts longer.
Add baffles on feeder poles and tree trunks. Street-style or cone baffles can stop climbing.
For small gardens, stretch black plastic netting a foot or so above plants to keep squirrels from jumping and digging. If you’ve got trees near your house, install a chimney cap and cover attic vents to keep squirrels out.
If you put up a fence, make it 3–4 feet tall with an overhang or a floppy top so squirrels can’t climb over. Check for gaps near gates and foundations—cover holes with metal flashing or wire mesh.
Trim Trees and Limit Nesting Spots
Trim tree limbs so the closest branch is at least 6–8 feet from your roof and sheds. Squirrels love to jump, so this distance cuts off their routes onto your house.
Get rid of ivy and thick vines—they give squirrels cover and easy paths.
Clear away wood piles and trim dense shrubs where squirrels could hide. If you spot a nest (dreys) in a tree, wait until the babies are gone before you remove it; otherwise, call local wildlife control for help.
Cap chimneys and cover soffits to keep them out of attics.
Check rooflines, vents, and eaves for teeth or claw marks now and then. Patch any holes with sturdy hardware cloth and seal with screws or metal flashing so squirrels can’t get back in.
Effective Squirrel Deterrents and Repellents
You can protect plants, bird feeders, and outdoor wiring with a few focused steps. Try using strong scents, physical barriers, and motion devices to change squirrel behavior and keep them away.
Use Natural Squirrel Repellents
Go for smells squirrels just can’t stand: cayenne pepper, peppermint oil, garlic, and even coffee grounds. Sprinkle cayenne or mix up a spray (water, hot pepper, and dish soap) for bulbs and plants.
Reapply after it rains—nature isn’t always on your side.
Peppermint oil works as a spray or in granules. Dab it around garden edges and places where squirrels like to nest.
Some folks use blood meal around bulbs for a scent of predator activity—just follow directions and keep pets away.
Switch up your scents now and then so squirrels don’t get used to them. Place cotton balls soaked in peppermint oil or predator urine in spots with lots of squirrel activity.
These tricks are cheap and safe for most gardens if you use them as directed.
Chemical and Commercial Repellent Options
You’ll find commercial repellents with plant oils or bitter tastes that stick around a bit longer. Pick products labeled for squirrels and follow the instructions on the label.
Predator urine products give the illusion of foxes or coyotes nearby. Sprinkle them around fences, tree bases, and the edge of your garden.
Rain washes them away, so you’ll need to reapply every few weeks.
Use granules for gardens and sprays for feeders or window sills. Always read the warnings if you’ve got pets or kids around.
Try a small area first to make sure your plants don’t react badly.
Motion-Activated Devices and Scare Tactics
Motion-activated sprinklers like the Orbit Yard Enforcer can startle squirrels with a quick burst of water. Place them where squirrels usually come in or near fruit trees.
Tweak the sensor range and spray angle so you don’t waste water.
Ultrasonic devices and flashing lights might help in smaller spots, but squirrels can get used to them. Combine them with motion sprinklers for a better shot at success.
Try visual scare items for a few days—reflective tape, predator decoys, or windmills. Move decoys every couple of days so squirrels don’t figure out they’re fake.
If you’ve got a real squirrel problem, pair scare tactics with barriers for the best chance at keeping them out.
Protecting Bird Feeders and Garden Beds
Go for a squirrel-proof bird feeder that uses weight-sensitive mechanisms, or try baffles above and below the feeder. I’d suggest mounting feeders on smooth metal poles and adding a baffle that’s at least 3 feet wide to block those determined climbers.
If you want to keep your garden beds safe, install 1/4-inch hardware cloth over any newly planted bulbs. You can also wrap tree trunks with tree collars to stop squirrels from climbing or chewing.
Bury the bottom of any fencing 6 to 10 inches outward—otherwise, squirrels might dig right under it.
Try mixing barriers with repellents too. Dust bulbs with cayenne, sprinkle peppermint granules around borders, and set up a motion sprinkler for that extra layer of protection.
Make it a habit to check on your setup regularly. If you spot any gaps or damage in the mesh or baffles, fix them quickly so squirrels don’t find a way in.

