How to Deter Raccoons From Your Yard | Stop Them at the Source

Raccoons visit yards because food, water, or shelter is available; removing those attractants and blocking access is the only reliable deterrent.

Raccoons aren’t in your yard because they dislike your landscaping. They’re there because something invites them: an unsecured trash can, a bowl of pet food, a bird feeder, or a gap under the porch. State wildlife agencies across the country agree on the approach, and it’s simpler than most repellent bottles suggest. Start by removing what draws them in, then block the ways in, and only then consider scare tactics.

Remove Food, Water, and Shelter First

The single most effective step is eliminating the resources raccoons came for. Minnesota’s Department of Natural Resources and Manitoba’s wildlife officials both emphasize that food, water, and den sites drive raccoon activity more than anything else.

Walk your yard with fresh eyes and remove these attractants:

  • Pet food: never leave bowls outside overnight. Feed pets indoors, or take leftovers up immediately after they finish.
  • Trash: use stout metal or tough plastic cans with tight lids. Secure lids with straps, bungee cords, or wire, and keep cans in a garage or shed if raccoons still tip them. Fastening cans to a post also prevents tipping.
  • Bird feeders: raccoons will climb for seed. Keep feeders away from trees and structures they can climb, and use a predator guard on the pole if needed.
  • Fallen fruit: pick up dropped fruit daily in summer and fall. Fermenting fruit attracts raccoons from a surprising distance.
  • Standing water: empty birdbaths, pet dishes, and any container that collects rainwater.
  • Den sites: seal crawlspaces, porches, sheds, and attics after confirming no animals are inside. Cap chimneys and trim tree branches that overhang roofs or fences.

Scare Tactics and Repellents That Actually Work

Once attractants are gone, harassment tools can push a persistent raccoon along. These work best as short-term measures, not permanent solutions.

Motion-activated lights and sprinklers are the most reliable scare devices. Loud noise works too, and both Minnesota and Manitoba guidance mention a radio tuned to talk programming as a harassment tool, since human voices signal danger.

Repellents get mixed reviews from wildlife agencies. Cayenne pepper and ammonia-soaked rags appear in some local guidance, but effectiveness varies widely by individual raccoon and by jurisdiction. Treat these as a supplement to exclusion and sanitation, never as the main line of defense.

Protect Gardens and Lawns With Fencing

If raccoons are digging up grubs in your lawn or raiding a vegetable garden, fencing is the proven fix. Electric fencing works best, and the specifications are specific.

Minnesota’s DNR recommends a single wire 6 inches above the ground, or a double wire at 5 and 12 inches. Manitoba’s guidance calls for a double-strand “both hot” fence with wires at 15 cm and 30 cm (about 6 and 12 inches) above ground, turned on before dusk and off after daybreak.

For lawn digging specifically, treat the grub problem underneath. Raccoons dig for grubs, so eliminating the grubs reduces the digging. A healthy lawn-care routine that addresses grubs will often end the nighttime excavation on its own.

What Not to Do

The most common mistake is relying on a single repellent while leaving food, access points, or shelter in place. A motion light won’t matter if the trash lid is loose and the porch gap is open. Wildlife agencies consistently say the root attractants must be removed first.

Attractant Fix Notes
Pet food outside Feed indoors or remove leftovers Easiest fix, often the whole problem
Unsecured trash Tight lids, straps, garage storage Metal or tough plastic cans only
Bird seed Remove feeders or add predator guards Keep away from climbable structures
Fallen fruit Pick up daily in season Fermenting fruit is a strong draw
Garden raids Electric fence, double wire at 5-12 inches Turn on at dusk, off at daybreak
Lawn digging Treat grubs underneath Digging stops when the food source does
Den access Seal openings, cap chimneys, trim branches Confirm animals are out before sealing

One more thing to skip: approaching or handling raccoons. Even if one seems tame or sick, keep your distance. Raccoons can carry diseases, and their droppings may contain roundworm eggs that are dangerous to humans. For removal, use licensed wildlife control where required, and never permanently seal an opening until you’re certain all animals have left.

If you’ve removed the attractants and you’re still facing a determined raccoon, you might be ready for a purpose-built solution. Our tested roundup of the best deterrents for raccoons covers which products hold up in real yards.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.