Your guide for trapping and killing fruit flies, plus how to stop them from coming back

Have you noticed some small pesky flies circling around your fruit bowl? Even though fruit flies are harmless to humans, they can still be a real nuisance when they start showing up in your home. When fruit flies get to your produce before you can, there are some easy things you can do to get rid of them fast using some common household products. We’ll walk you through the best ways to trap and spray fruit flies so they’re gone for good from your home.

This article is based on an interview with our pest control specialist, Joshua Bloom. Check out the full interview here.

Things You Should Know

  • Catch fruit flies in a bowl filled with apple cider vinegar and a few drops of dish soap. Cover the bowl with plastic wrap so flies can get in but not escape.
  • Roll a piece of paper into a cone and stick it inside of a glass jar with ripe fruit. Empty the trap and replace the bait every 2–3 days to get rid of the flies.
  • Spray fruit flies directly with rubbing alcohol or an aerosol insecticide to kill them on contact.
  • ​​Get rid of any overripe fruit where fruit flies might lay eggs to keep them from coming back.
Method 1
Method 1 of 3:

Catching Fruit Flies in Traps

  1. 1
    Use a bowl with apple cider vinegar and dish soap to catch the flies. Pour enough apple cider vinegar into a bowl so it’s two-thirds full. Add a drop or two of liquid dish soap to the bowl, and then cover it with a sheet of plastic wrap. Poke about 10–15 holes in the wrap with a toothpick and set it out to attract the fruit flies.[1]
  2. 2
    Trap flies with a paper funnel and jar baited with fruit. Roll a regular piece of paper into a cone so the opening at the point is less than 14 inch (0.64 cm). Tape the paper so it holds its shape. Set a ripe piece of banana, peach, or tomato inside a jar. Set the point of the cone in the jar so it’s just above the bait. After a few days, toss out the trap and replace it with fresh bait.[2]
    Advertisement
  3. 3
    Turn a plastic bottle into a funnel trap for a cheap and effective fix. Cut the top of a plastic soda bottle off just above the label. Put ripe fruit, apple cider vinegar, old beer, or wine in the bottom section of the bottle. Take the cap off the top section of the bottle, and place it upside-down inside the lower section. Leave your trap out in your kitchen for 2–3 days to capture the flies.[3]
  4. 4
    Try hanging up strips of flypaper in problem areas. Place the adhesive flypaper where you’ve seen the most fruit flies, which will normally be in your kitchen near the trash or by the sink. Leave the flypaper up as long as you see fruit flies in your home. If the strips fill up with flies, take them down and throw them away.[4]
    • Flypaper may not be as effective against fruit flies as standard house flies, but it can still catch the ones that didn’t get stuck in a trap.
  5. Advertisement
Method 2
Method 2 of 3:

Spraying Fruit Flies

  1. 1
    Spray rubbing alcohol directly on flies to kill them instantly. Fill a spray bottle with any rubbing alcohol that you have around your home. When you see any fruit flies hovering around in your home, apply the spray directly to the insects so they die on the spot.[5]
    • Avoid spraying the rubbing alcohol onto any fruit since it could cause it to spoil and attract even more flies.
  2. 2
    Use an indoor aerosol insecticide to get rid of large swarms. Point the spray nozzle at the fruit flies and press the button down to spray them with the insecticide. Since the instructions may vary depending on the brand you’re using, always read the label and instructions on the insecticide to ensure you’re applying it properly.[6]
    • Avoid spraying insecticide on any food or cooking surfaces so you don’t contaminate anything you’re going to eat.
  3. 3
    Try applying to Spinosad insecticide for fruit flies outside. If you notice any fruit flies outside of your home, load the insecticide into a garden sprayer and apply it around the base of your home. If you’re growing any fruits or vegetables in a garden, be sure to treat them directly with Spinosad as well to kill any fruit flies that stop by for a meal.[7]
    • Spinosad impacts a fruit fly’s nervous system to kill it, but it doesn’t pose any serious threats to pets or other animals. You can safely use it around pets and children.
    • Rinse off any fruits and veggies that you applied Spinosad to before you eat them.
    • Try to limit your exposure to Spinosad since it could cause slight eye irritation or allergic reactions.
  4. Advertisement
Method 3
Method 3 of 3:

Preventing Fruit Flies

  1. 1
    Wash fruits and veggies when you bring them in your kitchen. As soon as you bring fresh produce in from the grocery store or garden, rinse it under clean water. Check the fruit and vegetables for damage, bruises, and soft spots, which could all be signs that fruit flies have gotten to them. Get rid of any damaged fruit to keep the flies away from your other fresh produce.[8]
    EXPERT TIP
    Kevin Carrillo

    Kevin Carrillo

    MMPC, Pest Control Specialist
    Kevin Carrillo is a Pest Control Specialist and the Senior Project Manager for MMPC, a pest control service and certified Minority-owned Business Enterprise (MBE) based in the New York City area. MMPC is certified by the industry’s leading codes and practices, including the National Pest Management Association (NPMA), QualityPro, GreenPro, and The New York Pest Management Association (NYPMA). MMPC's work has been featured in CNN, NPR, and ABC News.
    Kevin Carrillo
    Kevin Carrillo
    MMPC, Pest Control Specialist

    How do fruit flies enter my home? Fruit flies typically enter your house on the produce you buy. The fruit you bring inside, especially tropical fruit, usually has fruit fly eggs already on it. To prevent the eggs from hatching, scrub your fruit under running water with a brush to destroy the eggs. Or, you can keep the fruit in your fridge.

  2. 2
    Store produce in your fridge or a covered container. Rather than keeping fruit out in the open, place it in a bowl that has a lid or cover it with plastic wrap to prevent flies from getting to it. Alternatively, just put your produce in the fridge where fruit flies can’t survive the cold temperatures.[9]
    • As soon as your fruit starts softening or going bad, throw it away so fruit flies don’t lay eggs on it.
  3. 3
    Keep your home cool to deter flies. Fruit flies thrive in warmer climates and during the summer months, but they’re less likely to hang around your kitchen when it’s colder. Run a fan or air conditioner to keep your kitchen at a consistent temperature to keep the flies away.[10]
  4. 4
    Clean up food spills right away. As soon as you spill anything sweet or syrupy on your counters or floors, wipe it up with soapy water to get rid of all the residue. Focus especially on cracks and seams where food particles could get caught since fruit flies will be able to reach them. For stubborn spills, apply a multipurpose cleaner and scrub the residue away with a clean cloth.[11]
  5. 5
    Rinse out empty cans and bottles before tossing them. Since fruit flies are attracted to the liquid residue that’s left from soda, juice, beer, and wine, avoid tossing out the containers as soon as they’re empty. Swish a little clean water inside of the container and dump it out in your sink before putting it in your recycling bin.
    • Store empty cans and bottles outside of your kitchen if you’re able to so you reduce the risk of fruit flies getting inside.
  6. 6
    Take out your kitchen garbage regularly. Keep your trash in a can with a closed lid to help keep fruit flies out. When your garbage is full or after you throw away food scraps, tie up the bag and take it to an outdoor receptacle or dumpster so flies don’t lay their eggs in the trash.[12]
    • Clean out the bottom of your trash can with soapy water if you notice any liquid or spills inside.
  7. 7
    Clean and sterilize your sink drains. Try to clean your sink drains at least once a week to prevent any food buildup from forming inside where fruit flies could lay eggs. When you finish cleaning your drain, boil a pot of water and pour it down the drain to sterilize it and kill any eggs that might have been laid.[13]
  8. Advertisement

Expert Q&A

  • Question
    I have fruit flies in my fridge. What is the safest way to clean my fridge to get rid of them?
    Mark Spelman
    Mark Spelman
    Construction Professional
    Mark Spelman is a General Contractor based in Austin, Texas. With over 30 years of construction experience, Mark specializes in constructing interiors, project management, and project estimation. He has been a construction professional since 1987.
    Mark Spelman
    Construction Professional
    Expert Answer
    Grab a little ramekin and put some vinegar in it. Then cover with plastic wrap and poke some pin holes in the plastic. The fruit flies enter the ramekin and can't escape.
Advertisement

See What You Learned

Warnings

  • Avoid using bleach to kill fruit flies since it won’t be as effective and it could be harmful if you get it on anything else.[15]
    ⧼thumbs_response⧽
Advertisement

About This Article

Joshua Bloom
Written by:
Pest Control Specialist
This article was written by Joshua Bloom and by wikiHow staff writer, Hunter Rising. Joshua Bloom is a Pest Control Specialist and the Vice President of Operations of Standard Pest Management, a pest control company based in New York City. He has over 20 years of experience in the pest control industry and specializes in commercial and large facility pest control management. Standard Pest Control also specializes in ant, bed bug, cockroach, fly, and rodent control. Joshua is licensed by the NYSDEC (New York State Department of Environmental Conservation) for termite control. This article has been viewed 12,746,704 times.
How helpful is this?
Co-authors: 202
Updated: March 3, 2023
Views: 12,746,704
Article SummaryX

The easiest way to get rid of fruit flies is with a trap made from a jar and a paper funnel. Fill your jar about halfway full with something sweet like fruit, honey, or juice. Then, roll a piece of paper into a funnel, making sure that the narrow end of the funnel is small enough to fit into the mouth of the bottle or jar. Use tape to secure the funnel. Place the funnel into the opening of the bottle or jar, and leave your fruit fly trap out overnight. The fruit flies will be attracted to the smell of the sweet bait and will fly into the jar. The narrow opening of the funnel will trap them. Leave the trap out overnight. Each morning, pour some soapy water into your jar to kill the fruit flies, and discard the solution into the trash. Refill the trap, and place it out again. Continue to use your trap until you stop seeing fruit flies getting caught inside of it. If you want to learn other methods to prevent fruit flies, such as killing their eggs, keep reading below!

Did this summary help you?
If you buy through links on our site, we may earn a commission.
Advertisement