The fastest way to rid a yard or an attic of raccoons is to remove or block paths to food sources. The Old Farmer's Almanac recommends starting by keeping birdseed sealed away at night when raccoons, which are nocturnal, are apt to feed.
The Old Farmer's Almanac suggests placing a radio tuned to rock music in the area where raccoons have been seen, turning up the volume and leaving it out all night to scare away raccoons. Bright lights, pinwheels and streamers all tend to frighten away the animals, as does the presence of human or canine hair. Some people plant prickly squash vines to ward off raccoons, as the creatures do not like walking on them. Other homeowners set live traps baited with food of nearly any kind and then release any trapped raccoons at least three miles away.
When all else fails, House Logic recommends calling a pest removal professional. Some areas have animal control officials who trap and relocate raccoons free of charge. Pest management companies not only remove raccoons for a fee but also inspect a yard or a home for possible points of entry. It is not safe to try to corner or touch a raccoon, as they have sharp claws and teeth.