Shop incredible Black Friday deals now! Hurry, event ends December 3.  Shop event.

How to Get Rid of Fruit Flies

Fruit flies sometimes seem like they come out of nowhere, one minute you have a nice, yellow banana on your counter, and the next you’ve got fruit flies zooming around your kitchen. It happens so quickly because fruit flies lay their eggs in overripe fruit and considering one fruit fly can lay hundreds of eggs, getting rid of them quickly is key to avoiding a full-on fruit fly fiasco. But fear not, we’ll show you some easy ways you can get rid of fruit flies in your home in this simple guide.

Skill Level: Beginner
  1. Step 1 Repair or Replace Door and Window Screens

    A person uses a tool to install a new screen in their window.

    Fruit flies can smell overripe fruit from miles away, so keeping them from easily getting inside your home is the first major step in preventing them from multiplying. Be sure to replace any torn or worn-out window or door screens to stop them from gaining access to your kitchen. If you don’t have window screens on your windows, you may want to add them for peace of mind.

  2. Step 2 Keep Sinks, Counter and Trash Cans Clean

    A person wearing cleaning gloves cleans a sink.

    To ensure that fruit flies don’t have a place to breed, you’ll need to make sure that there are no food scraps left over on your counters, sinks or in open trash cans or compost bins. Be sure to clean your countertops and sinks and take your food garbage out so that rotting food isn’t left sitting in your kitchen. Be sure to clean up any fruit juice spills immediately. If you compost in your kitchen, just make sure that the lid on your compost bin is tight and secure. You should also change your sponges, towels and cloths about once per week.

  3. Step 3 Wash Produce to Remove Any Larvae

    A person washes berries in a fruit spinner.

    As fruit flies can start as larvae on the outside of fruit, washing your fruit is a key step in preventing them. Gently rubbing your fruit under clean, cold water is usually enough to remove any harmful bacteria or larvae. You can use a vegetable brush to clean harder fruits such as melons and cucumbers as well.

  4. Step 4 Keep Fruits in a Lidded Container or Store Them in the Fridge

    Fruits and veggies are shown in a container in the fridge.

    Consider storing your fruit and veggies in the fridge. It is fine for most fruits and veggies, and provided you use a sealed container, and cover bowls with either cling wrap or a moist towel, you’ll have a sealed-off spot that fruit flies can’t get in to.

  5. Step 5 Use Fruit Fly Traps

    A fruit fly trap is placed on a table.

    If you’ve already got a fruit fly problem, your easiest solution is to invest in some fruit fly traps. They simply sit on the countertop and attract the flies, capturing them inside. You can get them in non-toxic solutions, so you don’t have to worry about harmful chemicals in your cooking space.

  6. Step 6 Use Home Remedies for Getting Rid of Fruit Flies

    Fruit flies are shown after being captured in a homemade trap.

    If you’d like a more natural way to trap and get rid of fruit flies, why not try a homemade fruit fly trap? Here are a few ideas:

    • Fill a jar with white wine vinegar and place it on your countertop. Once there are some fruit flies in it, just empty it and refill.
    • Fill a cup with apple cider vinegar and place cling wrap on top to seal it. Poke small holes in the cling wrap. The flies will crawl through the holes but will be unable to crawl back out. You can also use ripe fruit instead of vinegar as the attractant.
    • Fill a bowl with vinegar and some dish soap, leaving it uncovered on your countertop. The soap will help to capture the fruit flies.

    Hopefully with the help of this guide you’ve now gotten rid of your pesky fruit flies!

What You Need for This Project

Related Resources