Raccoons visit backyards at night for three reasons: food, water, and shelter. Removing those attractants is the single most effective way to stop them from coming back. Repellents, lights, and noise machines offer temporary relief at best, because a hungry raccoon will tolerate a lot of discomfort to reach a reliable food source. The real fix is making your yard a place that offers them nothing worth the trip.
Remove What’s Drawing Them In
Before you try to scare raccoons away, figure out what’s bringing them. The most common attractants are unsecured trash cans, pet food left outside, bird feeders, fallen fruit, and open compost bins. A raccoon that finds food in your yard even once will return night after night to check again.
Start with your garbage. Adjustable trash can lid straps with metal claw clips are widely available, require no tools or drilling, and fit most standard outdoor bins from 28 to 96 gallons. These lock the lid in place so a raccoon can’t pry it open. If you don’t want to buy hardware, storing cans in the garage until collection morning works just as well.
Bring pet food and water bowls inside every evening before dusk. Take down bird feeders or switch to designs that close under weight. Pick up fallen fruit and vegetables from garden beds. If you compost, use a fully enclosed tumbler rather than an open pile. Raccoons are opportunistic and intelligent. If there’s nothing to eat, most will move on within a few nights.
Block Access Under Decks and Structures
Raccoons look for dark, sheltered spaces to rest during the day and raise young in spring. Open areas beneath porches, decks, sheds, and raised foundations are prime targets. The University of California’s Integrated Pest Management program recommends screening these gaps with 10-gauge galvanized hardware mesh (1/4- or 1/3-inch openings). Bury the bottom edge at least 6 inches deep, extend it outward 12 inches in an L-shape, and cover it back with soil. This prevents raccoons from digging underneath.
Before you seal any space, make sure no animals are already living inside. If you close off access while a raccoon is denning underneath, you’ll trap it, and a trapped raccoon will cause significant damage trying to escape. Check for signs of activity (droppings, matted-down areas, tracks) and wait until you’re confident the space is empty before installing mesh.
What Actually Works as a Deterrent
Most commercial raccoon repellents, including the granules and sprays sold at hardware stores, are largely ineffective. Raccoons are fighting to survive, and an unpleasant smell in an open outdoor space rarely changes their behavior when food is available.
There are two narrow exceptions. Raccoon eviction fluid, made from the urine and gland secretions of a dominant adult male raccoon, can intimidate a mother raccoon who has set up a den with babies in a confined space like an attic or chimney. She recognizes the scent as a threat to her young and may relocate them. This product does not work outdoors in an open yard. The second exception is extremely hot pepper oil, well above the 30,000 to 50,000 Scoville units of standard cayenne pepper. Police-grade pepper spray or concentrated hot pepper paste, mixed with a small amount of dish detergent to help it stick, can discourage raccoons from touching specific surfaces like fence tops, downspouts, or garden borders. It needs reapplication after rain.
Motion-activated sprinklers and lights can startle raccoons initially, but most animals habituate to them within days once they learn the stimulus isn’t actually dangerous. These tools work best as a short-term supplement while you address the underlying attractants.
Fencing That Raccoons Can’t Defeat
Standard fences do not keep raccoons out. They climb wood, chain link, and vinyl with ease, and they’ll dig under a fence that doesn’t extend below ground. However, you can make an ordinary fence raccoon-proof by adding a single electrified wire 8 inches above the ground, mounted about 8 inches out from the fence’s base on the exterior side.
For protecting a garden specifically, a low two-wire electric fence is highly effective. One wire sits 6 inches above the ground and the second at 12 inches, both fastened to evenly spaced wooden posts. This setup delivers a mild shock that raccoons avoid after one or two encounters. Electric fence chargers designed for small-animal exclusion are inexpensive and solar-powered models eliminate the need for an outlet.
Trapping: Legal Restrictions You Should Know
Live-trapping a raccoon and driving it to a park sounds simple, but it’s illegal in many states. Because raccoons are a primary carrier of rabies, some states prohibit trapping and relocating them under any circumstances. In North Carolina, for example, all trapped raccoons must either be released on the same property where they were caught or euthanized. Relocating them is never permitted. Other states require depredation permits if trapping season is closed, even when the animal is causing property damage.
Regulations vary widely by state and sometimes by county. Before setting any trap, check with your state wildlife agency. In many cases, hiring a licensed wildlife damage control agent is the only legal and practical path if non-lethal methods haven’t resolved the problem.
Spring and Summer: Watch for Babies
Raccoons typically mate between late January and March, with kits born by mid to late spring after a gestation period of about 63 days. Baby raccoons are completely dependent on their mother for warmth and food during the first several weeks, and they stay with her for three to five months.
If you’re dealing with a raccoon between roughly March and August, there’s a real possibility that babies are involved. Separating a nursing mother from her kits creates bigger problems: she will persistently try to reenter the property, often causing more damage than the original issue. If you suspect a mother raccoon has denned under your deck or in your attic, a wildlife removal professional can assess the situation and keep the family intact during removal. Raccoon eviction fluid applied liberally around the den area sometimes prompts the mother to move her young on her own within a few days.
Safety Around Raccoons
Never approach, corner, or attempt to handle a raccoon. Over 90 percent of rabies cases reported to the CDC each year occur in wildlife, and raccoons are one of the primary terrestrial carriers. Rabies transmits through saliva, most commonly via a bite, but also through contact with mucous membranes like the eyes, nose, or mouth.
Raccoon feces carry their own risk. Raccoon roundworm eggs can survive in soil for years and are dangerous to humans and pets if accidentally ingested. If you find a raccoon latrine site (they tend to use the same spot repeatedly), avoid touching the droppings with bare hands. Wear disposable gloves, bag the waste, and pour boiling water over the area, as the eggs are resistant to most chemical disinfectants. Keep children and pets away from known latrine spots in the yard.