How to Keep Raccoons Away From Trash and Your Yard (5 Methods)
TL;DR: Secure trash can lids with heavy-duty bungee cords or locking straps, remove outdoor pet food by 7 PM, trim tree branches within 8 feet of rooflines, install motion-activated lights near bins, and block crawl spaces with ΒΌ-inch hardware cloth. Raccoons return where food and shelter are easy β eliminate both and they move on in two weeks.
_Last reviewed: July 2026 Β· 6 min read_
Raccoons can tip a 60-pound trash can, pry open latched lids, and remember your garbage schedule for months. One opened bag brings them back every week. The solution isn't poison or trapping β it's making your property less rewarding than the neighbor's.
Okoniq Property Hub logs every pest-control step, contractor visit, and repair so you can show tenants (or future buyers) a documented history of property care.
What makes a yard attractive to raccoons?
Raccoons need three things: food, water, and a den site within a quarter-mile radius. Your property delivers all three if trash cans are accessible, pet bowls stay out overnight, gutters hold standing water, and crawl spaces or sheds are open underneath. A lactating female will travel 18 miles in a night, but she prefers a 200-yard loop if she finds reliable food. Remove one element and she'll test other yards first.
Food sources include garbage, compost, fallen fruit, bird feeders below four feet, pet food, and fish ponds without netting. Raccoons eat 40% of their body weight in late summer to prepare for winter β August through October is peak scavenging season. If your trash goes out Sunday night for Monday pickup, they learn that schedule within two cycles.
Den sites include attics (entry through rotted fascia or uncapped chimneys), crawl spaces with torn vent screens, tree hollows, and sheds with gaps under the foundation. A raccoon can squeeze through a 4-inch opening. If you hear scratching in the attic from March to June, it's likely a mother with kits β do not trap or seal until babies are mobile at 8-10 weeks. For severe infestations that overlap with structural access points, see our guide on bat removal, which covers the same exclusion principles.
How do I secure trash cans so raccoons can't open them?
Use two 24-inch heavy-duty bungee cords in an X-pattern across the lid, hooking both to the can's side handles. Cheaper bungees snap in cold weather β buy the type with coated steel hooks rated for 50 pounds of tension. Alternatively, install a locking trash can strap (Rubbermaid and Toter both make models under $15) that clicks shut and requires thumb pressure to release.
If you use a 96-gallon wheeled cart, bungees alone may not hold against a determined raccoon. Add a 6-foot length of Β½-inch rebar or a 2Γ4 laid across the top, then bungee the board down. Raccoons can't lift both the lid and the weight simultaneously. Some landlords store cans in a locked shed or garage until pickup morning β this works if your city allows it and you have the space.
Double-bagging messy items (chicken bones, used diapers, fish scraps) in knotted grocery bags before tossing them reduces scent broadcast by 60%, according to a 2019 Cornell Cooperative Extension study. Rinse cans monthly with a bleach-water solution (1 cup bleach per 5 gallons) to eliminate residue odor. Raccoons mark successful food sites with scent glands in their paws β cleaning disrupts that signal.
What outdoor changes make raccoons leave?
Trim tree branches so no limb comes within 8 feet of your roof, gutters, or second-story windows. Raccoons are excellent climbers and use overhanging branches as highways to attics and chimneys. Cap your chimney with a stainless-steel mesh cap (about $150 installed) β the mesh should be β -inch or smaller so raccoons can't push through.
Install motion-activated LED flood lights (1,200+ lumens) at trash can locations, back porches, and near sheds. Raccoons are nocturnal and prefer to work in shadow β a sudden bright light sends them elsewhere. Solar models cost $25-40 and need no wiring. Position lights so the sensor covers a 180-degree arc starting 3 feet off the ground.
Remove pet food and water bowls by 7 PM every night. If you feed outdoor cats, use a timed feeder that dispenses at dawn, not dusk. Birdseed scattered on the ground is raccoon bait β switch to tube feeders hung at least 5 feet high on a pole with a baffle cone underneath. If you have fruit trees, pick up fallen apples, pears, or berries daily during harvest season. Composting is fine if your bin has a locking lid and no meat or dairy inside β vegetable scraps alone are low-reward for raccoons.
Block crawl space vents and foundation gaps with ΒΌ-inch galvanized hardware cloth, not chicken wire (raccoons tear through chicken wire). Bury the bottom edge 12 inches deep in an L-shape facing outward so they can't dig under. Check for existing dens before sealing β sprinkle flour at suspected entry points at dusk, then check for tracks at dawn. If you see fresh tracks going in but none coming out, wait until all animals leave (usually within 24-48 hours), then seal immediately.
Do repellents or deterrents actually work?
Most commercial raccoon repellents β granules, sprays, ultrasonic devices, predator urine β deliver inconsistent results. Ammonia-soaked rags, cayenne pepper, and peppermint oil lose potency after rain or within 48 hours. Ultrasonic emitters work for 3-5 days until raccoons habituate to the sound. A 2021 study by the University of NebraskaβLincoln found that only physical exclusion and food removal produced lasting results; chemical deterrents reduced activity by 20-30% for one week, then raccoons returned.
That said, a radio left on talk-station volume near the problem area can work short-term. Raccoons avoid human voices. Rotate the location every three nights so they don't learn it's harmless.
Motion-activated sprinklers (like the Orbit Yard Enforcer, around $50) deliver better results than repellent sprays. The sudden water blast startles raccoons and they associate your yard with an unpleasant surprise. Position one unit to cover the trash can zone and another near garden beds or koi ponds. Adjust the sensitivity so neighborhood cats don't trigger it constantly.
If raccoons are digging in your lawn for grubs, treat the lawn with beneficial nematodes or milky spore to eliminate the food source. Once the grubs are gone, raccoons stop tearing up the turf. For persistent diggers around foundations, see our basement waterproofing guide β the same drainage fixes that stop water also fill the gaps animals exploit.
When should I call a wildlife removal professional?
Call a licensed nuisance wildlife operator if raccoons are inside your home (attic, walls, chimney), if you find a latrine site (a pile of droppings used repeatedly β raccoon feces can carry roundworm parasites dangerous to humans), or if you see a raccoon acting erratically during daylight (possible rabies). Do not attempt to trap or handle raccoons yourself β they bite when cornered and rabies exposure requires a series of shots.
In most states, relocating a trapped raccoon without a permit is illegal, and releasing it more than a half-mile away often results in its death (they don't know the new territory's food or den sites). Professional exclusion β sealing entry points after animals leave, installing one-way doors β is the humane and legal standard. Expect to pay $300-600 for inspection and exclusion, more if attic cleanup or chimney cap installation is needed.
A mother raccoon with kits (born March through June in most of the US) cannot be removed until the young are mobile. Trapping the mother before then leaves kits to starve in your attic, creating a worse odor and health problem. Wait 8-10 weeks, confirm all animals have left using the flour-track method, then seal entries immediately. Document all steps in Okoniq so future tenants or buyers know the issue was resolved properly.
FAQ
How long until raccoons stop coming back after I secure the trash?
Raccoons revisit known food sources every 3-5 nights for about two weeks. If they find nothing edible on three consecutive attempts, they shift their route to other yards. Consistency is critical β one open trash bag resets the clock.
Can raccoons climb a smooth metal pole or PVC pipe?
Raccoons can climb textured PVC or metal with rivets, but a smooth 4-inch diameter pole taller than 5 feet with a baffle cone defeats them. They can't grip slick surfaces at that diameter and the cone prevents them from shimmying up.
Is it safe to use mothballs or ammonia to repel raccoons?
Mothballs (naphthalene) are a pesticide regulated by the EPA β using them outdoors or in spaces not on the label is illegal in most states. Ammonia evaporates quickly and rarely lasts more than 24 hours. Neither is worth the health risk (both are toxic to pets and children) given the low success rate.
What time of night are raccoons most active?
Raccoons forage from dusk until about 2 AM, with a second smaller peak just before dawn. Most trash-tipping happens between 10 PM and midnight. Setting out garbage at 6 AM on pickup day instead of the night before eliminates the overnight window entirely.
Do raccoons come back to the same den every year?
Females often return to the same den site if it proved safe the previous year. Males are more transient. Sealing the entry permanently after exclusion prevents reoccupation β use ΒΌ-inch hardware cloth, not spray foam alone (they chew through foam).
This is educational information, not wildlife management or legal advice. Check your state and local ordinances regarding trapping and exclusion β some jurisdictions require licensed operators for all wildlife removal. For structural entry points or attic damage, consult a licensed contractor and document all repairs in your maintenance log.
Keep reading
Get seasonal maintenance tips by email
Gutter-cleaning, filter-changing, before-it's-a-$3,000-problem guides. No schedule, no spam β unsubscribe anytime.
Prefer to dive in? Get started free β