Practical guides, checked before publishing.Tech · Work & Career · Money · Home & Life

Home & Daily Life

How to Get Rid of Fruit Flies (Fast, and Keep Them Gone)

Fruit flies come for ripe fruit and damp drains, and they breed fast. Kill the adults with a trap, remove the breeding sites, and they are gone in days.

Why They Appear

Fruit flies are drawn to anything fermenting: ripe bananas, a forgotten peach, an open bin, a damp mop, or the slime inside a drain. A single female lays hundreds of eggs, and the whole life cycle — egg to adult — takes about a week in a warm kitchen. That is why a couple of flies on Monday becomes a cloud by Friday.

They are not coming in from outside in any great number. Almost always, they are already breeding in your kitchen, in a place you have not looked. That is good news, because it means the fix is in your kitchen too — find where they breed, remove it, and the flies stop.

One important note: what many people call fruit flies are actually drain flies or fungus gnats, which look similar but breed in different places. The steps below cover all three, because the approach is the same: trap the adults, clean the breeding sites, and remove the food.

Find the Source First

Before you set a single trap, find where they are breeding. Check the fruit bowl first — one soft banana or a bruised tomato is enough. Then check the bin, the recycling, and any bag of potatoes or onions. Then check the drains, the mop bucket, and the cloths by the sink.

A simple test: tape a piece of cling film over a drain overnight, with a few small holes. If flies are caught under it in the morning, the drain is a breeding site. Do the same test on any suspect drain, one at a time, so you know which one it is.

Also check the less obvious spots: the drip tray under the fridge, the bottom of the bin, a spill behind the bin, or a forgotten lunchbox in a bag. Fruit flies need very little — a thin film of juice or a damp cloth is enough for them to lay eggs.

The Vinegar Trap That Works

The classic trap works because fruit flies cannot resist the smell of vinegar. Take a small jar or glass, pour in about 2 cm of apple cider vinegar, and add one drop of washing-up liquid — the soap breaks the surface tension, so the flies sink instead of landing on the surface and flying off.

Cover the top with cling film, secure it with an elastic band, and poke five or six small holes in it with a toothpick. The flies go in through the holes and cannot find their way out. Place the trap near the source you found, not in the middle of the room.

Empty and refill the trap daily while the problem lasts — a trap full of dead flies stops working, and the vinegar loses its smell. You should see the numbers fall within two to three days. The trap kills adults; it does not stop eggs hatching, which is why the cleaning steps below matter just as much.

Clean the Drains Too

If your test showed flies in a drain, the drain needs cleaning, not just the trap. Pour a kettle of boiling water down the drain, then scrub the inside of the drain opening with a long brush — the slime that lines the pipe is where the eggs are.

Follow with baking soda and vinegar: half a cup of baking soda down the drain, then a cup of white vinegar, let it fizz for 15 minutes, then flush with another kettle of boiling water. Do this once a day for three days. Do not pour bleach down the drain as a first step — it does not remove the slime, and it can damage pipes and the seals around them.

Check the overflow hole in the bathroom sink too — it is a common hiding place that people forget. A bottle brush and hot water will clear it.

Remove Every Breeding Site

Take the bin out daily while the problem lasts, and wash the bin itself with hot soapy water — the bottom of a bin is a breeding site even when it looks empty. Rinse recycling before you put it in the recycling bin, because a single unwashed juice carton can feed a colony.

Move ripe fruit into the fridge, or eat it, or throw it away. Wash fruit when you bring it home, because eggs can arrive on the skin from the shop. Wipe down the worktops, especially around the fruit bowl and the bin, and wring out cloths and sponges so they dry fully between uses.

Empty the mop bucket, rinse the mop, and hang it to dry. A damp mop left in a bucket is one of the most common breeding sites in a home, and it is the one people check last.

Keep Them Gone

Once the flies are gone, three habits keep them away. First, fruit goes in the fridge once it is ripe, or in a sealed container — never loose in a bowl for a week. Second, bins get emptied regularly and washed out once a week. Third, drains get a kettle of boiling water once a week, which stops slime building up.

Add a two-minute evening tidy: worktops wiped, fruit checked, bin lid on, cloths wrung out. That is all it takes. Fruit flies need food, moisture, and time — take away any one of those three and they cannot settle.

If you buy a lot of fruit, a fruit fly trap by the bowl is a good permanent early warning: if it starts catching flies, you know to check the fruit before the problem grows.

Questions People Ask

How long until they are gone?

Usually three to seven days. The trap kills the adults in a day or two, but eggs already laid will keep hatching for a few days, so you will see stragglers. If you have removed the breeding sites, each new batch is smaller, and within a week there should be none left.

Do fruit flies bite?

No. Fruit flies do not bite people or pets. They are annoying, and they can carry bacteria from bins and drains onto food, which is why you should not let them settle — but they are not dangerous in the way a mosquito is.

Are they dangerous?

They are not venomous and do not spread disease the way houseflies can, but they do walk on rotting food and drains, so they can transfer bacteria to uncovered food. Keep food covered while you deal with them, and wash fruit before eating it.

Why do they keep coming back?

Because one breeding site was missed. The usual suspects are a drain, the bottom of the bin, a mop bucket, or a single piece of fruit behind something. If they return, repeat the drain test and check every spot again — there is almost always one source left.

Spotted a step that is out of date? Tell us through the Contact page — corrections are how guides stay accurate.

Keep reading

Related guides

← Back to Home & Daily Life