The raccoon diet consists of a variety of insects, nuts, berries, plants, and fruits. You might find it surprising to learn that they will also eat small rodents, frogs, fish, squirrels, rabbits, and bird eggs. Raccoons eat both plants and animals! They are known as opportunistic eaters which simply means they will eat whatever they can get their tiny paws on including whatever leftover food stuff that has been thrown into the trash.
Pick up any trash that has fallen around your trashcan or dumpster that is easily seen or accessible. Smells and the sight of food will attract wildlife and provide them with a ready meal. Raccoons will continue to return to an area where food is readily accessible.
Also, check with neighbors to determine if anyone happens to be is feeding raccoons or other wildlife. There is a chance that they do not realize the impact this is having on others in the neighborhood.