A trash bin is an enticing object for flies. A bin attracts flies if food items, such as meat products or sugary drinks, are placed inside it. Getting rid of the problem involves killing the pests you see and taking steps to ensure that no more flies are attracted to the bin. You can use a few household products to accomplish these tasks.
Remove all items from the trash bin.
Fill a spray bottle with an equal amount of tap water and white vinegar.
Spray the inside, outside, rim and lid of the trash bin thoroughly with the cleaning solution. Also spray any flies that you see in and around the trash bin.
Leave the cleaning solution on the trash bin for about 15 minutes.
Wipe the entire trash bin with cloths.
Sprinkle approximately one cup of baking soda on the inside of the trash bin. Place a lid over the bin and leave the bin covered overnight. The baking soda absorbs any leftover odors that attracted the flies.