Guides

Fruit flies in your apartment: why they keep coming back, and what a renter can do

By Donny Hayati, biologist and founderFebruary 1, 20264 min read
Fruit flies in your apartment: why they keep coming back, and what a renter can do

You cleaned the whole apartment, took out the trash and put the fruit away, and the flies are still over the sink every morning. In a multi-unit building that is not a sign you missed a spot. It usually means the breeding site is somewhere you don't control, and the fix is to make your own unit the least attractive place in the building to land.

Why apartments get fruit flies that houses don't

Fruit flies breed in any moist film of fermenting material. University of Kentucky entomologists list drains, garbage disposals, empty bottles and cans, trash containers, and damp mops and rags alongside overripe produce as breeding sites (ENTFACT-621). A building multiplies those sites and shares them between units.

  • Shared drain stacks. Your kitchen drain joins a vertical line that serves the units above and below. A neighbor's drain film is on the same pipe as yours.
  • Trash rooms and chutes. A chute is a column of fermenting scraps running past every floor, and the room at the bottom is rarely dry.
  • Recycling. One unrinsed can or wine bottle in a shared bin is enough. Beer and wine residue are exactly the fermentation smells fruit flies hunt for.
  • Small, warm kitchens. A fruit fly goes from egg to adult in 8 to 10 days at room temperature and faster when it's warm (Purdue Extension, HN-66). A galley kitchen with the oven on is warm.

First, confirm it's a fruit fly

Three small flies get blamed for each other in apartments. Fruit flies are tan with red eyes and hover over fruit, drains and trash. Drain flies are fuzzy, moth-shaped and sit on bathroom walls. Fungus gnats are slender, black and come out of houseplant soil. The fixes are different, so look before you act. If they're coming from a plant, let the soil dry out between waterings. If they're fuzzy and in the bathroom, scrub the shower drain. Fruit flies are the kitchen ones. Full comparison: fruit fly, drain fly or fungus gnat.

Find your own sources in ten minutes

  1. Tape test the drain. At night, dry the drain opening and press clear tape over it, sticky side down, leaving a gap for air. If flies are stuck to it in the morning, they are coming up from the drain.
  2. Check the disposal. Pull the splash guard and look under it. Black film on the underside is a breeding site.
  3. Lift the trash bag. Liquid in the bottom of the can, not the bag, is where larvae live.
  4. Open the recycling. Rinse every can and bottle before it goes in.
  5. Look behind appliances. A rolled potato, a juice spill under the fridge, a sponge left wet in the cabinet.

The routine that works in a rental

You can't rebuild the plumbing, so the goal is to keep your side of the pipe clean and your counters unappealing.

  • Drains, three nights in a row, then twice a week. Scrub the drain throat with a stiff brush, run the hot tap for a minute, then add Sink Drops. Extension entomologists recommend the brush and hot flush because the film is what fruit flies lay eggs in; pouring something down a dirty drain without scrubbing leaves the film in place (Texas A&M AgriLife, ENTO-050).
  • Disposal. Pull the splash guard and scrub both sides weekly. Run it with cold water and a tray of ice to clear the grinding chamber.
  • Trash. Rinse the can when you change the bag. Keep compost in the fridge or freezer until it goes out.
  • Produce. Bananas and tomatoes on the counter are fine when nothing is breeding, but during an outbreak keep them in the fridge or in a covered bowl for a week.
  • Counters. Place a peppermint and clove disc beside the fruit bowl, one by the sink and one on the trash lid. Peppermint oil and its main compounds repelled the common fruit fly in a lab study (Wang et al., 2021), and eugenol from clove made a close relative avoid fruit (Baleba et al., 2026). Those studies tested the ingredients, not our discs, which is why we give you 30 days to judge it in your own kitchen.

What to say to your landlord

Fruit flies in a shared stack are a building issue, and most managers will act if you give them something specific. Send a short note with three things: the date your tape test came back positive, a photo of the flies on the tape, and a request to have the main line and the trash room cleaned. Ask whether the chute and the bins get washed on a schedule. If a neighbor's unit is the source, the manager can address it without you being the bad guy.

What doesn't help

  • Vinegar bowls by the sink. They catch some adults, but vinegar smell is the attractant fruit flies follow in the first place (Becher et al., 2010), and a trap does nothing about the eggs in the drain.
  • Bleach down the drain. It runs past the film rather than removing it, and it's hard on the pipe joints you don't own. Brush and hot water do the job.
  • Waiting for cold weather. A heated apartment is summer all year to a fruit fly. See our guide on where fruit flies go in winter.

Sources

  • University of Kentucky Entomology, Fruit Flies, ENTFACT-621. entomology.mgcafe.uky.edu/ef621
  • Purdue Extension Entomology, Fruit Flies, HN-66. extension.entm.purdue.edu
  • Texas A&M AgriLife Extension, Indoor Flies and Their Control, ENTO-050. agrilifeextension.tamu.edu
  • Becher PG et al. (2010). Flying the fly: long-range flight behavior of Drosophila melanogaster to attractive odors. Journal of Chemical Ecology 36:599-607. doi:10.1007/s10886-010-9794-2
  • Wang Q et al. (2021). Behavioral and physiological responses of Drosophila melanogaster and D. suzukii to volatiles from plant essential oils. Pest Management Science 77:3698-3705. doi:10.1002/ps.6282
  • Baleba SBS et al. (2026). Clove-derived eugenol induces strong avoidance behaviour in the invasive fruit fly, Drosophila suzukii. Journal of Pest Science 99. doi:10.1007/s10340-026-02028-y
Combo Pack
Combo Pack, $31

Discs for the counter plus Sink Drops that go in the drain, where fruit flies can breed and a trap never reaches. Free US shipping over $35 and a 30-day money-back guarantee.

Add to cart
Donny Hayati
Donny Hayati

Biologist (Miami University) and founder of Fruit Fly Defense in Greenville, SC. Every guide is written from the published research and our own kitchen. Questions? donny@fruitflydefense.com