- Household
- Household
How to Get Rid of Fruit Flies for Good
Traps catch the flies you can see, but the swarm returns until you find where the next generation is growing. Here is how to clear both for good.
· 4 min
Fruit flies have a talent for arriving out of nowhere. One afternoon there is a bowl of bananas on the counter, the next there is a small, drifting cloud above it that scatters every time you reach for a plate. Swatting a few makes you feel better for a minute, but it rarely solves anything. To get rid of them for good, you need to do two things at once: catch the adults that are already flying and remove the places where the next generation is growing.
Why they keep coming back
Fruit flies are drawn to anything that ferments. Ripe fruit is the obvious culprit, but they are just as happy with a splash of juice under the fridge, the film inside a recycling bin, a damp dish sponge or the slime that lines a kitchen drain. The females lay eggs on these moist, sugary surfaces, and the larvae feed there until they are ready to fly. Because the whole cycle is quick, a handful of flies can turn into a noticeable swarm within days.
That is why traps alone often disappoint. You catch dozens, the numbers dip, and a week later they are back. A breeding site is still hiding somewhere.
Step one: find and clear the breeding spots
Search slowly and check these places in turn:
- Fruit bowls and vegetable baskets. Lift every item. One soft potato or onion at the bottom of a bag is enough to feed a colony.
- Bins and recycling. Look at the underside of lids and the bottom of the container, not only the bag.
- Drains. Sink, dishwasher and floor drains collect food residue in a film that larvae love.
- Cleaning tools. Mops, dish cloths and sponges that stay damp for days.
- Hidden spills. Under appliances, inside the pantry and around bottles waiting to go out.
- Houseplants. Overwatered soil can host similar small flies, which are often mistaken for fruit flies.
Throw out anything overripe or rotting, ideally straight into an outdoor bin. Rinse bottles and cans before they go into recycling, wash the bins themselves with hot soapy water and let them dry fully. Swap damp cloths for fresh ones and put the old ones through a hot wash.
Step two: clean the drains properly
Drains are the spot people most often miss. To test one, tape a clear plastic bag loosely over the opening overnight. If flies are trapped underneath in the morning, that drain is a source.
Cleaning it is mostly mechanical. Pour hot water down the drain (hot from the tap rather than boiling if your pipes are plastic), then scrub inside the opening with a long, narrow brush to remove the film. Repeat for a few days. Baking soda followed by white vinegar can help loosen grime, but the brush does the real work.
A safety note: never combine different drain products, and never mix bleach with vinegar, ammonia or other cleaners, because some combinations release harmful gases. If you use a commercial drain cleaner, follow the label exactly, wear gloves, keep the room ventilated and keep children and pets away.
Step three: trap the adults
Once the breeding sites are gone, a simple trap catches the stragglers. The most reliable home version uses things you already have:
- Pour a little apple cider vinegar into a small jar or glass.
- Add a drop of washing-up liquid so flies sink instead of landing and leaving.
- Cover the top with cling film, secure it with a rubber band and poke a few small holes with a toothpick.
- Place it where you see the most activity and refresh it every few days.
A splash of old wine or a piece of very ripe banana works as bait too. Several small traps around the kitchen tend to do better than one large one.
Step four: keep them from returning
Prevention is mostly habit. These are the changes that make the biggest difference over a warm season:
| Habit | Why it helps |
|---|---|
| Store ripe fruit in the fridge | Cold slows ripening and keeps the smell away from flies. |
| Take kitchen waste out daily in warm weather | Removes the most tempting food before eggs can hatch. |
| Rinse recycling before it goes in the bin | Leftover juice, beer and wine are favourite breeding spots. |
| Brush and flush drains weekly | Stops the organic film from building up again. |
| Let sponges and mops dry out | Damp tools give larvae a place to feed. |
| Check produce when you bring it home | Eggs sometimes arrive on fruit from the shop. |
Fine mesh screens on windows help in summer, and a quick wipe of the counters each evening removes the sticky traces that attract the first scouts. If you are also dealing with ants, mice or other unwelcome guests, our wider look at how pest control protects homes covers when it makes sense to call in a professional.
When nothing seems to work
If you have cleared the obvious spots and the flies keep appearing, widen the search. Check behind the dishwasher kick plate, inside cupboards where potatoes or onions are stored, and in rooms beyond the kitchen, such as a utility room or a bathroom with a slow drain. A persistent swarm around one drain can point to a leak or a damaged pipe where waste collects, and that is a job for a plumber.
A tidy kitchen also makes hidden problems easier to spot. If the counters are crowded, our guide to decluttering one room at a time is a sensible next step. Get the breeding spots, the traps and the daily habits working together, and the flies simply run out of places to start over.
Hand-picked reads
BusinessSmart, Clean, and Ready: How Container Service in Germany Keeps Cities Moving2 min
HealthWatching TV Before Bed: Is It Really Bad for Sleep?4 min
StreamingHow IPTV Makes Multilingual Entertainment Easier in Switzerland2 min
BeautyThe Rise of Refillable Vapes: A Smarter Choice for Modern Vapers3 min