The Feast

Home cooking recipes for everyday dinners and easy entertaining

How to Get Rid of Fruit Flies Fast

· 6 min read · Dinners

Fruit flies are tiny, persistent pests that seem to appear out of nowhere, especially around ripe produce, trash bins, and drains. They breed quickly, so a small problem can become an infestation within days. This guide shows you how to eliminate them using simple household items, and how to prevent them from coming back.

What You'll Need

  • Apple cider vinegar (or red wine vinegar)
  • Dish soap (liquid)
  • A small bowl or jar
  • Plastic wrap (optional)
  • A rubber band (optional)
  • A toothpick (optional)
  • A spray bottle with water
  • Rubbing alcohol or a commercial fruit fly spray (optional)
  • A drain brush or pipe cleaner
  • Baking soda and vinegar (for drain cleaning)

Step-by-Step

  1. Find the source. Fruit flies breed in moist, fermenting organic material. Check for overripe fruits or vegetables on counters, in bowls, or in the back of the fridge. Also inspect trash cans, recycling bins, compost containers, and dirty drains. Look for any spilled juice, soda, or alcohol that may have dried but still attracts them.
  2. Remove and clean the source. Throw away any overripe or damaged produce. Empty trash cans and recycling bins, and wipe them out with soapy water. Clean counters, shelves, and any spills with a mild detergent. Pay special attention to the areas under appliances and around the sink.
  3. Clean your drains. Fruit flies often breed in the slimy film that builds up in sink drains. Pour a pot of boiling water down each drain, followed by a mixture of 1/2 cup baking soda and 1/2 cup vinegar. Let it fizz for 15 minutes, then flush with more hot water. Use a drain brush to scrub the inside of the drain if possible.
  4. Set a vinegar trap. Fill a small bowl or jar with about 1/4 inch of apple cider vinegar. Add a drop of liquid dish soap and stir gently. The soap breaks the surface tension, so flies that land to drink will sink and drown. Place the trap wherever you see the most fruit flies. For a more effective trap, cover the top with plastic wrap and poke a few small holes with a toothpick—flies can get in but have a harder time escaping.
  5. Make a cone trap (optional). If you don't have plastic wrap, roll a piece of paper into a cone shape with a small opening at the tip. Place the cone in the jar, tip down, so flies can enter but struggle to find their way out.
  6. Spray adult flies. Fill a spray bottle with water and a few drops of dish soap (or a 50/50 mix of water and rubbing alcohol). Spray directly at any visible fruit flies—the solution kills them on contact. This helps reduce the population immediately while the traps work on the rest.
  7. Repeat and refresh traps. Fruit flies have a short life cycle (about 8–10 days from egg to adult), but new adults can emerge for up to a week after you remove the breeding source. Replace the vinegar traps every 2–3 days, and keep cleaning any new spills or produce immediately.
  8. Prevent future infestations. Store fruits and vegetables in the refrigerator or in sealed containers. Keep countertops free of crumbs and sticky spots. Take out trash regularly, and keep compost bins sealed. Clean drains weekly with boiling water. Consider placing a small dish of vinegar near a fruit bowl as a continuous attractant, but make sure it's out of reach of children and pets.

Common Mistakes

  • Only using traps without removing the source. Traps catch adults, but if you don't remove the breeding site, new flies will keep emerging.
  • Using honey or sugar water in traps. These attract fruit flies but are less effective than vinegar because they don't mimic the fermenting fruit smell as strongly.
  • Forgetting to clean drains. Many people focus on produce but miss the drain, which can be a major breeding ground.
  • Leaving trash or compost uncovered. Even a small opening can let flies in and out.
  • Using bleach to clean drains. Bleach doesn't break down the organic film that flies feed on; it's less effective than physical scrubbing and hot water.

Tips

  • Place traps near windows or under lights—fruit flies are attracted to light and will gather there.
  • If you have houseplants, check the soil. Fruit flies can breed in damp potting soil if there's decaying plant matter. Let the soil dry out between waterings, and remove any fallen leaves.
  • Use a vacuum cleaner with a hose attachment to suck up flies resting on ceilings or walls. This is quick and effective.
  • Keep a small, covered container for compost scraps on the counter instead of an open bowl.
  • If you buy fruit and bring it home, wash it and dry it before storing—this removes any eggs that might be on the surface.

Troubleshooting

If you've followed all the steps and still see fruit flies after a week, consider these possibilities:

  • The source is hidden. Check under appliances, in garbage disposals, behind cabinets, or in a bag of potatoes or onions that you may have forgotten. Look for any damp, decaying organic material.
  • You might be dealing with fungus gnats, not fruit flies. Fungus gnats are small, dark flies that come from overwatered houseplants. They look similar but are slower and weaker fliers. If you see them hovering around plant soil, reduce watering and use sticky traps designed for gnats.
  • Your trap isn't working. Ensure the vinegar is fresh and not diluted. Add more soap if the flies seem to be landing but not sinking. If you're using plastic wrap, make sure the holes are small enough—about the size of a pencil tip.
  • New flies are coming from outside. If you have open windows or doors without screens, flies can enter from outside. Seal gaps, or place a fan near the entrance to deter them.
  • You need to be more patient. It can take up to two weeks to fully eliminate an infestation, especially if you missed a breeding site. Keep the traps out and continue cleaning daily.

Frequently Asked Questions

How long does it take to get rid of fruit flies?

With consistent cleaning and traps, you can usually eliminate an infestation within 1–2 weeks. The key is removing all breeding sources, as new adults will continue to emerge for several days.

Do fruit flies bite?

No, fruit flies do not bite humans. They are only attracted to fermenting fruit and other organic matter. They are more of a nuisance than a health threat, though they can carry bacteria from one surface to another.

Can fruit flies live in the drain?

Yes, fruit flies can breed in the slimy film that accumulates in sink drains. This is why cleaning drains is an essential step in getting rid of them.

What's the difference between fruit flies and gnats?

Fruit flies are typically tan or brown with red eyes, and they hover around produce. Fungus gnats are darker, have long legs, and are usually found around houseplant soil. The treatment is different: fruit flies need removal of food sources, while gnats need drier soil.

Will fruit flies go away on their own?

If you remove all their food sources and breeding sites, they will eventually die off. However, without intervention, they can keep breeding as long as there's a food source. It's best to actively clean and trap them.

Is apple cider vinegar better than white vinegar?

Yes, apple cider vinegar is more attractive to fruit flies because it smells like fermenting fruit. White vinegar works in a pinch, but apple cider vinegar is more effective.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions