How Do You Prevent Fruit Flies?

prevent-fruit-flies Credit: John Tann/CC-BY-2.0

To prevent fruit flies, it is important to toss out any fruit that is starting to rot, empty and clean trash bins regularly, rinse dishes clear of food and clean out your garbage disposal regularly. You should also wipe the areas near bowls of fruit, the bottoms of trash cans and any cracks in the floorboards with an all-purpose cleaner to rid the area of organic matter that attracts fruit flies.

  1. Throw out any rotting fruit

    Check fruit that you leave out on the counter regularly for extra soft spots, discoloration, strong off-odors or mold. Toss out any fruit with these signs of spoilage immediately to prevent attracting fruit flies.

  2. Take out the trash, and clean the can

    Empty your kitchen trash to an outdoor garbage bin at least daily to avoid fruit flies from being attracted to the rotting food. Rinse out the trash can at least weekly to remove any sticky residue that flies may be attracted to.

  3. Rinse dishes left in sink thoroughly

    Rinse leftover food off any dishes you plan to leave in your sink to wash later, or wash the dishes immediately.

  4. Spray all-purpose cleaner regularly

    Use an all-purpose cleaner to spray areas around containers holding fruit, as well as the bottom of your trash can and any cracks in the floorboards where fruit flies like to lay eggs.

  5. Rinse out the garbage disposal

    Combine 1/8 cup ammonia and 1 gallon of water, and pour it down your garbage disposal periodically to remove any potential fruit fly eggs. Let it sit for a few minutes before flushing it with water.