Squirrels can absolutely wreck bird feeders, dig up gardens, and sometimes even move into your attic. But you don’t have to just put up with the mess or give up on enjoying your yard.
Mix some smart prevention, a few well-chosen deterrents, and tweaks to your habits to keep squirrels away—without hurting them. Your best bet? Remove food and entry points, then add humane deterrents like squirrel-proof feeders, motion-activated sprinklers, or even ultrasonic devices.

Let’s look at what actually works for feeders, gardens, and homes. You’ll get some practical tips you can try today, so you can still enjoy wildlife—just not in your attic.
Most Effective Ways to Deter Squirrels
Try using barriers, removing food and nesting spots, and adding smells or gadgets that squirrels just can’t stand. Mix up your methods and keep an eye on things—squirrels are clever and will adapt if you let them.
Install Squirrel-Proof Bird Feeders
Pick feeders with weight-sensitive perches that shut when something heavy lands, or try metal cages that keep squirrels out but let smaller birds in for safflower seeds and nyjer. Hang feeders on a 6–8 foot wire or pole, at least 10 feet from trees or roofs, so squirrels can’t leap across.
Stick a cone-shaped metal baffle above or below the feeder—those work best for blocking climbers and jumpers. Keep feeders clean and patch up holes, since spilled seeds and hulls attract squirrels like crazy.
If you want to get picky about seeds, safflower is a solid choice—birds like it, squirrels usually don’t. Try moving feeders around every so often so squirrels don’t memorize a route.
Use Natural Squirrel Repellents
Spray plants and bare soil with a pepper-based or oil-based repellent you can buy or make at home. Mix water, dish soap, and cayenne or hot pepper spray, but always test on one plant first—just in case.
Peppermint oil and predator urine products can also keep squirrels from digging or nesting if you put them around your beds and baseboards. Reapply after rain and follow label directions for any commercial stuff.
Keep repellents away from pets. For bulbs, press a thin layer of crushed shells or hardware cloth into the soil for a non-toxic barrier that also smells bad to squirrels.
Limit Food Sources and Shelter
Get rid of easy food if you want squirrels to leave fast. Store pet food and birdseed in metal or heavy plastic bins with tight-fitting lids.
Clean up fallen fruit, acorns, and nut shells as soon as you spot them. If you compost, use a closed bin or cover it with wire mesh.
Trim tree branches so they’re at least 6–8 feet from your roof and chimney. Patch up gaps in eaves and vents with hardware cloth to keep squirrels out of your attic.
Remove brush piles and seal up ground-level holes to block off shelter and breeding spots.
Apply Scent-Based Deterrents
Sprinkle or spray scents that squirrels hate around plants, feeders, and garden borders. Cayenne pepper, black pepper, or strong peppermint oil can work—try applying to cloth strips or mixing with water for a spray.
Use predator urine or scent granules around your yard to scare them off. Change up the scents every few weeks and reapply after rain.
Put scented cotton balls in mesh bags near entry points, but keep them away from kids and pets. Combine scents with barriers and feeder changes to make your yard consistently unappealing.
Additional Squirrel Deterrent Strategies
Try barriers, tweak your yard, and remove food sources to make your place less attractive. If squirrels are really stubborn, combine physical fixes with humane removal.
Physical Barriers and Fencing Options
Put up a squirrel-proof fence around veggie beds and fruit trees. Use 1/4-inch galvanized hardware cloth or welded wire, and bury the bottom 6–10 inches so ground squirrels can’t dig under.
For raised beds, lay mesh flat on the soil before planting bulbs so squirrels can’t yank them up. Wrap tree trunks with smooth metal or plastic guards about 4–6 feet high to stop climbing.
For bigger areas, build a fence at least 3 feet tall and bend the top outward 6 inches to keep climbers out. Skip chicken wire—squirrels chew right through it.
Install chimney caps and soffit covers to block attic access. Seal gaps larger than 1/2 inch with metal flashing or hardware cloth so red squirrels and others can’t squeeze in.
Modify Landscaping and Remove Attractants
Plant bulbs like daffodils, alliums, or hyacinths around beds you want to protect—squirrels don’t like them. Scatter cayenne pepper or coffee grounds at planting time, and reapply after rain.
Use squirrel-resistant bird feeders or put feeders on poles with baffles, at least 5 feet off the ground and 10 feet from trees. Keep fallen fruit, nuts, and compost covered.
Pick up ripe fruit daily and use sealed compost bins. Remove brush piles and tidy up ground cover where squirrels might hide or nest.
Trim low branches so squirrels can’t jump onto roofs or into attics. Water sources attract all kinds of animals, so limit standing water.
If you feed pets outside, bring bowls in at night so you don’t invite squirrels to dinner.
Squirrel Traps and Humane Removal
Set live-catch traps sized for tree and ground squirrels—single-capture box traps work best. Bait them with peanut butter mixed with sunflower seeds or apple slices.
Place traps along runways, near burrow entrances, or right up against fences where you’ve seen squirrel activity. Check traps every few hours.
Release captured squirrels at least 5–10 miles away, but only if local laws allow it. Call local wildlife control if relocation isn’t permitted.
If you’d rather not deal with traps, hire a licensed wildlife removal service for humane eviction and exclusion. After trapping, seal up entry points and fix any damage to keep new squirrels from moving in.
Clean up scent and food traces to cut down on repeat visits.
Preventing Squirrel Entry to Structures
Take a close look at your roofline, vents, and eaves. Can you spot any holes as big as a silver dollar, or maybe even bigger? If so, grab some metal flashing, steel wool with a bit of caulk, or sturdy hardware cloth, and seal those gaps yourself.
Stick a spark arrestor-style chimney cap over your chimney. That’ll keep squirrels from sneaking in and building nests in your flues.
For attic vents, put up screens. Try louvered soffit covers too, and swap out any busted fascia for something solid that squirrels can’t chew through. If you notice teeth marks or holes around utility lines and roof vents, add metal collars there as well.
If you stumble upon nesting material in your attic, clear it out right away. Give the area a good cleaning to keep parasites at bay.
Think you’re still hearing squirrel activity? It might be time to call in a professional. They can set up one-way exclusion doors, so squirrels can exit but can’t get back in—super helpful if they’ve already moved inside.

