So, the first thing you need to do is get rid of whatever attracts them to the yard or your home firstly. So, all the trash that you take out, bag and re-bag it. Tie it securely, and put it in a bin with a heavy lid, so that it does not smell and attract them and even if it does, they cannot remove the lid and take out the trash.
Many reviews will tell you that there is no such thing as a real raccoon repellent. If you've tried it all from sounds to other tactics, then you might as well try this one too.
All you need is some really spicy sauce (tabasco or chilly), a gallon of water, and some regular detergent soap. Mix all the ingredients to prepare a spray. Put it in a spray can and spray it all around your garden. They cannot stand the smell, so they won't even get past the plants.
Hot Pepper Repellent
Here is another natural repellent that you can try out. Get yourself a chopped Jalapeño pepper, a chopped onion (yellow), and a tbsp. of cayenne pepper. Add these three to 8 cups of water and bring it to a boil. Once it cools down, strain the liquid to remove the chunks of the peppers. Fill it in a spray can and spray away.
There are quite a few granular raccoon repellents available at pest-control outlets, which just have to be dusted around the area. They are made of ammonia or predator urine. Raccoons sense the presence of their predators through the scent of the urine. And so, when they smell the granules, they mistake it for the predator and steer clear of that area.
Trapping them is also another option, but you need to make sure that once you let them go, they do not return. Following the aforementioned ideas might prove beneficial for that. If you still can't seem to keep them away, then call in the experts for some professional help.