The blue bottle fly survives on decaying matter, such as dead animals, open wounds and fecal matter. It hatches its young within decaying animals so they'll have abundant food when they're born. The blue bottle fly helps with the decomposition of matter, which is beneficial to the environment. It becomes a nuisance, however, when it tries to feed on uncooked meat we're about to prepare. When this happens, it's time to eliminate the blue bottle fly from our homes.
Find the breeding ground. If you have a blue bottle fly infestation, a dead rodent or some other animal is likely the reason. (Spoiled meat in your refrigerator or in a garbage pail may also be the culprit.) Find the carcase and remove it. Use basic safety precautions, such as wearing rubber gloves, to avoid any disease the animal may be carrying.
Clean the area thoroughly. If you find a dead animal, clean the area with appropriate cleaning supplies. This will remove any residue from the animal and the flies will have to look elsewhere for their next meal.
Use insecticides to eliminate any stragglers. You'll find stragglers in sunny places during the day, or under the eaves of your house at night.
To prevent the problem from recurring, make sure your garbage cans have lids that fit tightly. A single garbage can has been known to generate more than 30,000 flies in a single week.