Skip to content
Insects in the Home

How to Get Rid of Fruit Flies in Your Kitchen and Home

Fruit flies breed in ripe fruit, bins, drains and spills. How to find the source, trap the adults and stop them coming back, step by step.

By the Urgent Pest Control team

· 8 min read

Pest technician in grey workwear and blue gloves changing the glue board on a wall-mounted UV fly killer in a tiled bakery kitchen
Pest technician in grey workwear and blue gloves changing the glue board on a wall-mounted UV fly killer in a tiled bakery kitchen.

The short answer

To get rid of fruit flies, find and remove what they are breeding in: overripe fruit and vegetables, bin residue, empty bottles, spills under appliances and slime in drains. Then trap the remaining adults with a jar of cider vinegar under a paper funnel. Sprays alone fail because new flies keep emerging from the source.

  • Fruit flies are about 3mm long, usually with red eyes, according to the University of Kentucky's entomology department.
  • A female can lay about 500 eggs and development from egg to adult takes about a week, so numbers build fast.
  • Oxford City Council says fruit flies indoors are usually there because of fermenting fruit or old vegetables.
  • Every breeding site has to be found and removed; a cider vinegar jar trap then catches the remaining adults.
  • Bromley Council tells food businesses not to use fly sprays because of the risk of chemical contamination.
On this page
  1. What are fruit flies?
  2. Why do I have fruit flies?
  3. Where do fruit flies breed in a house?
  4. How do you get rid of fruit flies, step by step?
  5. How do you make a fruit fly trap?
  6. Do fly sprays work on fruit flies?
  7. Are they fruit flies or drain flies?
  8. How do you stop fruit flies coming back?
  9. What about fruit flies in pubs, cafes and kitchens?
  10. When to call a professional

To get rid of fruit flies, find and remove what they are breeding in, then trap the adults that are left. The source is nearly always something moist and fermenting: overripe fruit or vegetables, residue in a bin, empty bottles, a spill under the fridge or slime in a drain. A jar of cider vinegar with a paper funnel catches the stragglers. If they keep coming back, or you run a kitchen or bar, Urgent Pest Control's fly control service traces the breeding source for homes and businesses across Nottinghamshire, Derbyshire, Leicestershire and Lincolnshire.

Fly spray on its own doesn't work for long. It kills the adults you can see while the next generation is already developing in the source, so the steps below start with the source.

What are fruit flies?

Fruit flies are tiny flies of the genus Drosophila that breed in fermenting fruit, vegetables and sugary liquids. The University of Kentucky's entomology department describes the adults as about 1/8 inch long (roughly 3mm), usually with red eyes, a tan front half and a black rear half.

They breed quickly. According to the University of Kentucky, a female can lay about 500 eggs near the surface of fermenting or moist organic material, the larvae feed near the surface, and development from egg to adult takes about a week when conditions allow. That is why a few flies around the fruit bowl can become a cloud within a fortnight.

Why do I have fruit flies?

You have fruit flies because something in or near the room is fermenting. Oxford City Council says fruit flies usually appear indoors because of fermenting fruit or old vegetables attracting them. Bromley Council's guidance for food businesses adds that they breed very quickly in areas with rotting fruit and vegetables, beer, fruit juices, vinegar and milk that is going off.

They get in two ways, according to the University of Kentucky: as eggs or larvae on produce brought into the home, or as adults flying in through windows and doors. Once inside, they need only a small amount of moist, fermenting material to keep breeding.

Where do fruit flies breed in a house?

Fruit flies breed anywhere that stays moist and has fermenting residue, not only in the fruit bowl. The sites in this table come from the University of Kentucky's list.

Where to lookWhat they are breeding inWhat to do
Fruit bowl and vegetable rackRipe or damaged fruit, tomatoes, bananas, potatoes and onionsEat it, refrigerate it or bin it; cut away damaged parts
Kitchen bin and food caddyResidue on the bottom and under the linerEmpty daily, then wash and dry the bin itself
Recycling boxDregs in bottles and cansRinse before recycling and empty the box often
Under and behind appliancesSpilled juice or other liquids, for example under the fridgePull the appliance out and clean the floor
Sink and drainsOrganic film in the waste and trapClean the plughole, waste and trap thoroughly
Mops and clothsDamp, dirty mop heads and cleaning ragsWash and dry them, or replace them
Home brewing and preservingPoorly sealed wine, cider, beer or preserving jarsSeal containers properly

In practice the source is often something forgotten: a potato that has rolled to the back of a cupboard, a bag of onions going soft at the bottom, or the liquid under a bin liner. Check there first.

How do you get rid of fruit flies, step by step?

Remove every breeding site, clean, then trap the adults. The University of Kentucky is blunt about the order: all potential breeding areas must be located and eliminated, and only then is it worth dealing with the adult flies.

  1. Clear the produce. Eat, refrigerate or throw away ripe fruit and vegetables. Put anything you are binning straight into the outside bin, not the kitchen bin.
  2. Empty and wash the bins. Wash the kitchen bin, food caddy and recycling box, including the bottom and the lid.
  3. Check the hidden spots. Look in cupboards, under the fridge and cooker, and behind the bin for spills and forgotten produce.
  4. Test the drains. Tape a clear plastic bag over the plughole overnight, as the University of Kentucky suggests for drains you can't inspect. Flies in the bag in the morning mean that drain is a source, and the waste and trap need a thorough clean.
  5. Wash mops and cloths. Replace anything that smells sour.
  6. Trap the adults. Set jar traps (below) wherever you see flies.
  7. Keep it up for at least a week. Flies already developing will keep emerging for several days, so keep fruit covered or refrigerated and bins clean until the traps stay empty.

How do you make a fruit fly trap?

Put a little cider vinegar in a jar and fit a paper funnel in the top. The University of Kentucky's method is to roll a sheet of paper into a funnel, place it in a jar and bait the jar with a few ounces of cider vinegar; a slice of banana also works as bait. Flies follow the smell down the funnel and struggle to find their way out.

Place traps where the flies gather, such as near the fruit bowl, the bin and the sink, and renew the bait every few days. Remember what a trap is for: it removes adults and tells you whether numbers are falling. It doesn't touch the eggs and larvae in the source.

Do fly sprays work on fruit flies?

Sprays kill the adults they hit, but they don't solve a fruit fly problem on their own. The University of Kentucky suggests a pyrethrum-based aerosol only after the breeding sources have been removed, to kill the remaining adults. Oxford City Council lists flying insect sprays, traps and UV electric fly killers as options once the attracting food has gone.

If you use a household spray, follow the label and keep it away from food, worktops and fish tanks. For food businesses the advice is different: Bromley Council tells them not to use fly sprays because they can cause chemical contamination, and to rely on cleaning and electric fly killers placed away from food preparation surfaces.

Are they fruit flies or drain flies?

Fruit flies are tan with red eyes and hover around fruit, bins and drinks; drain flies are grey, fuzzy and moth-like and sit on walls near sinks and showers. The difference matters because the source is different.

Fruit flyDrain fly
LookAbout 3mm, tan front and black rear, usually red eyesSmall, dark and fuzzy, with scaly, moth-like wings
BehaviourHovers around fruit, bins, bottles and glassesRests on walls and ceilings, makes short hopping flights
Breeds inFermenting fruit, vegetables, spills, bins and drainsThe slime layer in drains, traps and standing water
First stepRemove fermenting materialClean the slime out of the pipes and traps

Our guide to drain flies covers that problem in full. Sluggish, larger flies gathering at upstairs windows in autumn are a different pest again; see cluster flies. If you aren't sure which fly you have, a photo and our pest identifier will narrow it down.

How do you stop fruit flies coming back?

Give them nothing to breed in. Most of this is routine:

  • keep ripe fruit in the fridge in warm weather, or eat it promptly;
  • check the vegetable rack weekly for anything going soft;
  • empty the kitchen bin and food caddy often, and wash them out;
  • rinse bottles, cans and cartons before they go in the recycling;
  • wipe up spills straight away, including under appliances;
  • keep sink wastes and traps clean, and wash mops and cloths;
  • seal home brew, cider and preserving jars properly.

The University of Kentucky also recommends tight-fitting insect screens on windows and doors, which is worth considering for a kitchen that is badly affected every summer.

What about fruit flies in pubs, cafes and kitchens?

Food businesses have to deal with fruit flies properly, because flies in a food area are a hygiene issue. Bromley Council's guidance says fruit flies are associated with poor kitchen or bar hygiene, and tells businesses to clean outside drains regularly, particularly those near kitchens, and not to use fly sprays.

On electric fly killers, the same guidance says they should not be fitted above a surface where food is prepared, should not be visible from outside (they may attract flies in), and should have their ultraviolet tubes replaced as the manufacturer instructs. In bars, the usual sources are drip trays, the floor under the bottle skip, soft drink nozzles, and the floor drains behind the bar. Our guide to pest control for food businesses explains what inspectors expect.

When to call a professional

Call a professional if fruit flies are still appearing two weeks after you have cleared the produce, cleaned the bins and tested the drains, if you can't find the source, or if you run a food business. A persistent problem usually means a breeding site nobody has found yet, such as a leak under a unit, a floor drain or residue beneath fixed equipment.

When we attend a fly problem we identify the fly first, because fruit flies, drain flies, house flies and bluebottles each point to a different source. We then trace and treat the breeding site rather than only the flies you can see, and we supply electric fly killers for kitchens and food businesses. We'll explain the likely cost before any work starts; the final price depends on the job (see our pest control prices).

We cover Nottingham, Derby, Leicester, Lincoln and the surrounding counties, 7 days a week from 6am to 8pm, with emergency call-outs 365 days a year. Book online or call 0330 822 7460.

Sources

Frequently Asked Questions

Remove what they are breeding in the same day: bin or refrigerate ripe fruit and vegetables, empty and wash the bins, rinse bottles and cans, and clean spills under appliances. Then set cider vinegar jar traps for the adults. Nothing is faster than taking the source away, because development from egg to adult takes only about a week.

Something nearby is fermenting. Oxford City Council says fruit flies usually appear because of fermenting fruit or old vegetables. The University of Kentucky notes they also arrive as eggs or larvae on produce brought home, or fly in through open windows and doors, then breed in anything moist and fermenting.

Cider vinegar attracts fruit flies into a trap rather than killing them on its own. The University of Kentucky describes a simple trap: a paper funnel in a jar baited with a little cider vinegar. Flies go in and struggle to get out. Traps reduce the adults but won't end the problem unless the breeding source is removed.

Yes. The University of Kentucky lists drains and waste disposal units among fruit fly breeding sites, alongside bins, bottles, mops and cleaning cloths. Tape a clear plastic bag over the plughole overnight; if flies are breeding in the drain, adults will be caught in the bag. Small fuzzy grey flies are more likely to be drain flies.

They are mainly a nuisance, but the University of Kentucky notes that fruit flies can contaminate food with bacteria and other disease-producing organisms. In a home that means throwing away fruit they have been breeding in. In a food business, flies in a kitchen or bar are a hygiene problem that needs dealing with quickly.

About the author

The Urgent Pest Control team

A family-run pest control company based in Southwell, treating homes and businesses across Nottinghamshire, Derbyshire, Leicestershire and Lincolnshire since 2020. Our guides are written from the jobs we do and checked against UK sources. More about us

Cite this guide: “How to Get Rid of Fruit Flies in Your Kitchen and Home”, Urgent Pest Control, 18 November 2026. https://urgentpestcontrol.uk/blog/how-to-get-rid-of-fruit-flies

Want us to deal with it?

Get a clear price today

A local technician calls you back, usually within the hour during opening times. 7 days, 6am–8pm.

Request A Callback

Tell us what you've found and where.

Property address (required)

We only use your details to reply and arrange the work. See our privacy policy. Protected by reCAPTCHA: the Google Privacy Policy and Terms apply.

Call NowWhatsAppBook Online