Get Rid of Fruit Flies

Do fruit flies tend to beat you to the fruit bowl? Once they settle in, these uninvited guests know how to overstay their welcome. Luckily, there several easy ways to rid your home of fruit flies and keep them from returning.


Trapping Fruit Flies with a Paper Funnel

  1. Choose a tall jar, wine bottle, old soda bottle or vase to serve as the base of the trap. Almost any jar will work in a pinch.
    • This method is probably the most effective, efficient way to trap a larger number of fruit flies. [1]
  2. Add fruit fly bait. Fruit flies feed on anything sugary, so you have a lot of options at your disposal. Any type of fruit, juice, soda, or other sweet item will provide a great incentive for fruit flies to fly into your trap.[2] Try one of these bait ideas ranked from most to least effective:
    • Chopped up pieces of over ripe or rotting fruit. For example, a few slices of bruised banana, a soft strawberry or squishy peach will work great.
    • Honey, maple syrup or corn syrup.
    • Any flavor of fruit juice or soda. Make sure to use the regular kind; diet soda won't work.
    • Apple cider vinegar or soy sauce.
    • The dregs from a wine or beer bottle can work in a pinch. Fruit flies are attracted to the sugars in alcoholic beverages.
  3. Roll a piece of paper to create a funnel and put it on the container. A funnel with a small hole will allow the flies to enter the jar, but they won't be smart enough to fly back out. Tape the funnel so that it keeps its shape. Rest the funnel inside the mouth of the container so that the narrow side is pointing down. The tip of the funnel should not touch the bait.
    • Any piece of scrap paper or a page ripped from a magazine can easily be made into a paper funnel.
    • You can also make a funnel by using a toothpick to poke a hole in the bottom of a coffee filter.
  4. Set the trap in a fruit fly-infested area. Put it near the kitchen sink, the garbage can, or the fruit bowl. If you're dealing with fruit flies in multiple parts of the kitchen, you might want to make more traps to set out.
    • Leave the traps out overnight. By the next day, you should see fruit flies happily eating the bait.[3]
    • If you didn't trap any flies, try new bait and make sure the hole is big enough to let the flies into the trap.
  5. Kill the trapped fruit flies. Pour a mixture of warm water and dish soap into the container. The soap works to reduce the surface tension of the water and cause the flies to drown.[4] Wait a minute or two, then discard the contents of the jar.
    • If the trap is still buzzing with fruit flies, take the trap outside before removing the funnel.
    • Rinse the jar thoroughly with hot water when you're finished. You can reuse it to make a new trap.
  6. Repeat until the trap remains empty. Fruit flies tend to multiply quickly. Their life cycle can be as short as eight days.[3] It's likely that you'll have to repeat the trapping process several times to fully rid your kitchen of adult fruit flies.
    • Fruit fly eggs hatch eight to ten days after they are laid, so you may need to use the trapping process every day for a week or two.[3] You can stop when you no longer see flies in your trap after leaving it out for several hours.
    • To fully rid your kitchen of fruit flies as fast as possible, take measures to Get-Rid-of-Fruit-Flies

Trapping Fruit Flies with Bowl Traps

  1. Start by getting a large or medium bowl. Although not quite as effective as the paper funnel method, this method utilizes the same approach: lure the fruit flies into the trap with a small opening and make it hard for them to exit.
  2. Add sweet bait to the bottom of a medium or large bowl. The type of bait doesn't matter as much as the quantity; you probably want at least an inch of sweet liquid covering the bottom of the bowl. Here are some suggestions for sweet concoctions that work well as bait:
    • Put a piece of old, skinless fruit, such as an orange or a banana, along with some balsamic vinegar in a bowl.
    • Experiment with a mix of white wine and coriander seeds. This mixture seems to work well. Add a bit of white wine vinegar to make the concoction even more pungent.
    • A mix of honey, sugar, and balsamic vinegar also works in a pinch.
  3. Cover the bowl tightly with plastic wrap. Use a large sheet of plastic wrap to completely cover the bowl. Try to get the plastic wrap as taught as possible.
  4. Poke numerous small holes in the plastic with a fork or another implement. Try to keep the holes as small as possible; large holes can let the flies escape back out again. The point is to lure the fruit flies into the bowl and make it extremely hard to get back out.
    • If using a fork makes the holes in the plastic wrap too big, try switching to a sharp toothpick in order to prick small holes in the plastic wrap.
  5. Set the trap in a fruit fly-infested area and leave the trap out overnight. Come the next day, you should see fruit flies caught inside the plastic wrap, happily feasting on the bait. If you haven't managed to trap any flies, check to make sure the holes in your plastic wrap aren't too big.
  6. Dispose of the trapped fruit flies. It's probably best to take the trap outside before killing the fruit flies so that any escapees don't reinfest your kitchen. Take off the plastic wrap and kill the fruit flies inside by pouring a mixture of warm water and dish soap into the container. The soap works to reduce the surface tension of the water and cause the flies to drown.[4] Wait a minute or two, then discard the contents of the jar.
    • When you're finished flushing the fruit flies, rinse the jar with hot water and reuse it to make a new trap.

Killing Them With Sprays and Other Products

  1. Make fruit fly spray. Fill a fine misting spray bottle with 70% rubbing alcohol. Spray it on the hovering fruit flies. They'll fall to the floor and you can sweep them up and dispose of them. You can also spray 91% rubbing alcohol in the air and to saturate any eggs. This stronger alcohol kills them immediately and serves as a very effective disinfectant. The stronger alcohol option can cost as much as .50-$1.00 more per container. It is much more powerful than traditional 70% rubbing alcohol . One should take precautionary measures such as ventilating the area and wearing gloves. 91% rubbing alcohol is far less poisonous, caustic, or dangerous than an insecticide or pesticide. [5]
    • Windex is another instant killer of most small bugs. If you find a patch of fruit flies in an area you are willing to get wet, give them a few quick sprays of Windex and watch them suffer.
    • Another spray method is to use Clorox cleaning spray. Wipe down surfaces and dead flies afterwards. However, you'll need to ventilate the room you're spraying because the smell can be somewhat overwhelming; not recommended if you're worried about toxic indoor air or you're spraying near food preparation surfaces.
    • You can even use a fine mist bottle to spray mobs of flies with plain water; they will drop to the surface below. Because their wings are damp, they will be momentarily unable to fly, so you can easily squash them and clean them up.
  2. Use pyrethrin spray. Pyrethrin is an insecticide that effectively kills adult fruit flies, but not their eggs. Be sure to use it according to the instructions. Avoid directly spraying it over fruit or in food preparation areas.[6]
    • This product comes in an aerosol can that can be used to spray fruit flies as you see them. It kills them on contact.
    • You can buy an automatic pyrethrin dispenser to deal with high volumes of fruit flies in one area.
  3. Treat your drain with gel. There are several drain gels on the market that are formulated to fruit flies and eggs infesting kitchen drains. If boiling water and soap don't do the trick, consider trying a gel. Follow the manufacturer's instructions for treating your drain. You may have to repeat more than once to completely get rid of the flies.[7]
  4. Try a professional-grade treatment. If you have a fruit fly infestation that you can't get under control, you can have your home treated with a residual insecticide that you spray where fruit flies tend to land and congregate. If you properly store produce and keep your kitchen clean, this measure is not usually necessary. Call a pest control company for further information if you want to have your home sprayed for fruit flies.

Getting Rid of the Eggs

  1. Figure out where they're breeding. Fruit flies lay their eggs places that provide food and moisture, such as rotting fruit and dank sinks or garbage cans. To get rid of the eggs, you'll need to figure out where the flies' food sources are in your kitchen.[3]
    • Bowls or bags of aging fruit are an obvious culprit. Even if your fruit is brand new, the container you're storing it in might have residue from old produce that's still attracting fruit flies.
    • If you keep compost in your kitchen, that may be a food source for fruit flies.
    • An open bag of recyclables can be attractive to fruit flies, especially if it contains un-rinsed beer or soda cans.
    • When did you last wash your garbage can? Even if you take out the trash frequently, the receptacle itself could be the source of the problem.
    • Kitchen sink drains often harbor fruit flies, since food bits can get trapped in there and start to rot.
    • Damp sponges and mops can also be breeding grounds for fruit flies.
  2. Store your produce carefully. When you have a fruit fly problem, don't leave fruit exposed at room temperature in your kitchen. Store it in a closed brown bag or keep it in the refrigerator until you've taken care of the fruit flies. One piece of overripe fruit can perpetuate the infestation by providing a great place for fruit flies to breed.[3]
    • Don't throw fruit scraps in the trash. Unless you take your trash out daily, avoid throwing peach pits, apple cores and other fruit scraps in the trash in your kitchen, since they'll end up as breeding grounds for fruit flies. Take scraps directly outside to a compost pile or outdoor bin.
  3. Wash your waste receptacles. Your trash can, recycling bin, and compost bin could be harboring fruit fly eggs. Any waste receptacle you keep indoors should be cleaned with hot, soapy water as soon as you notice the infestation. Take out your trash, recycling or compost often to prevent the problem from recurring.
    • Continue washing the containers every week or so, especially during the late summer months when fruit fly populations are high.
    • Rinse bottles and other containers with hot water before you throw them in the bin. Residue from these items can spill on your trash receptacles and make the fruit fly problem worse.
    • You should also make sure all of your waste receptacles have tight-fitting lids.
  4. Clean your drain. You can check to see if your drain is a fruit fly breeding ground by covering it with a piece of plastic wrap spread with a thin layer of honey. Place it over the drain honey-side down, then come back in an hour or so. If you see fruit flies stuck to the honey, your drain is part of the problem.
    • Make sure your drain is operating properly. If it's backed up, or if your garbage disposal isn't working, you might have bits of rotting fruit attracting flies down there.
    • To kill eggs, pour a pot of boiling soapy water down the drain. Use a brush to scrub around the sides of the drain.
    • Don't pour bleach down your drain. It doesn't work, and it's harmful to the environment.
  5. Throw out other potential breeding sources. Old sponges, damp mops, old rags, and any other items you use to wipe your counters and floors might contain fruit fly eggs.[8] Throw them away or wash them using the hot cycle on your washing machine.
  6. Wipe down the surfaces in your kitchen. Use hot, soapy water to clean your countertops. Make sure you get all the cracks and crevices where fruit flies might like to congregate. Clean your cabinets, pantry, and any other places where you've stored fruit, juices, or other sugary items.
    • Check the floor, too. If a drink got spilled under the refrigerator, for instance, that might be part of the problem. Clean any areas that feel sticky.
    • Keep kitchen surfaces clean every day. Make sure everything is wiped down as part of your cleanup after each meal.
    • Wash all dishes after use. Avoid leaving dishes just sitting around dirty (if you have a dishwasher, pop them in there and shut the door to await a wash).

Keeping Fruit Flies From Returning

  1. Inspect fruit that you bring into your kitchen. Pick through berries, cherries, and other fruits that you bring inside. Any damaged fruit should be discarded outdoors, since you could bring fruit fly eggs in from the grocery store or farmer's market. Wash your fresh fruit carefully with water and dry it completely before storing.
  2. Keep a maintenance trap near your fruit bowl. Any small container with a teaspoon of cider vinegar, 2 tablespoons of water, and a drop of two of dish soap will attract and drown fruit flies. This will help keep the population down. Rinse out the bowl and fill it with fresh mixture every day during fruit fly season.
  3. Use screens to cover your doors and windows. Fruit flies enjoy outdoor food sources as well. Covering entrances to your home with screens will help prevent them from coming into your kitchen. This is especially important if you have fruit trees in your yard.
  4. Deal with outdoor fruit fly attractants. If you have fruit trees, pick fruit when it's ready rather than leaving it to rot on the branch or beneath the tree. Pick up or rake away a glut of fruit that has fallen to the ground beneath the tree, to discourage fruit fly infestation.
    • You can also slip an exclusion bag over the branches of the tree that are fruiting. The bag should allow light to continue to reach the fruit and air to circulate without allowing the fruit flies access to the fruit. Such bags can usually be obtained from places that supply organic growers.
    • Purchase organic fruit fly sprays from a garden center or organic growing supplier. Such sprays will need to be reapplied regularly, due to their organic nature but this is the best non-toxic approach to growing healthy fruit.
  5. Deter fruit flies with essential oils. Fruit flies are deterred by the smell of certain essential oils that are pleasing to humans. The oils won't kill the flies, but they will keep flies from accumulating. Fill a spray bottle with a cup of water and five to ten drops of lemongrass, eucalyptus or peppermint essential oil. Spritz areas of the kitchen that tend to attract fruit flies, like near the sink and trash can.[9]

See What You Learned

Doc:Get Rid of Fruit Flies Quiz



  • A potted plant can be free of fruit flies by allowing the dirt to dry completely between waterings. This kills most of the larvae; the adults don't live long and will soon be gone. Take extra care to check soil for dryness and promptly re-water plants with stiff leaves because they will often become dry and die.
  • When using vinegar, make sure you choose the right type of vinegar. White vinegar does not work. Malt vinegar and red wine work, just not as well as cider. Beer sometimes works too, as does balsamic vinegar. Wine works extremely well, and a wine bottle with an inch or so left can be used without an additional funnel.
  • Cover liquor bottles that have a pour spout on them with a small sheet of cellophane. Clean bottles below the spout with an ammonia based cleaner, every other day.
  • Hang a few old flypaper rolls over the area of infestation. It's ugly, but effective. These can be poisonous though, depending on what kind you use. Use with caution and keep out of reach of children.
  • Fruit flies also lay eggs in pet fecal matter. Be sure to clean up any pet messes as soon as possible.


  • If spraying something toxic, such as Clorox, only do so when the room is well ventilated. Consider wearing a mask too. This method is not recommended if you wish to keep indoor air safe to breathe.
  • Never place your hands in a garbage disposal unit––push anything down with a wooden spoon or similar implement only. Follow the instructions of the manufacturer before all else.

Things You'll Need

  • Container
  • Bait
  • Funnel
  • Soapy water
  • Apple cider vinegar

Related Articles

Sources and Citations