# Fruit Flies in the Kitchen

Source: https://firsthomefixes.com/guides/how-to-get-rid-of-fruit-flies-in-the-kitchen/
Summary: Fruit flies in the kitchen breed in ripe produce and damp spots. Remove the source, set a simple trap and keep them from coming back.
Difficulty: Easy. Time: 30 minutes plus a few days.

Fruit flies in the kitchen show up out of nowhere. You bring home a few bananas, and two days later there is a small cloud around the fruit bowl. These tiny flies are drawn to the smell of fermenting fruit. They lay eggs on it, and a new generation hatches in about a week. So the goal is to remove what feeds them, not just swat the adults.

This guide is part of our wider guide to [tools, costs and first-home setup](/guides/tools-costs-and-first-home/).

## Find the source first

Look around the kitchen for anything that is ripe, damp or sour.

- Fruit and vegetables on the counter, especially overripe ones.
- Open trash or recycling with sticky bottles and cans.
- A sink with leftover food or a wet sponge.
- A drain with a film of gunk in it.
- Spills under the fridge or in the pantry.
- Wet mop heads or dirty cloths.

Throw away anything that is spoiled. Put the trash out of the house. Wipe the counters and wash fruit that you keep, or put it in the fridge.

## Trap the adults

A simple trap works well. Pour about half an inch of apple cider vinegar into a small bowl or jar. Add a drop or two of dish soap and stir gently. The soap breaks the surface tension, so flies sink. Cover the top with plastic wrap, poke a few small holes in it, and leave it near the fruit. Empty and refresh it every few days. A little overripe fruit works as bait too.

## Check the drains

Some small flies are drain flies, which look similar but are fuzzier and live in sink drains. To check, tape a piece of clear tape over the drain opening overnight. If flies stick to it, the drain is the breeding spot. Scrub the pipe with a drain brush and flush with hot water. Do not use chemical drain cleaners with other products. If the problem keeps up, a plumber can check for a deeper clog, and our guide to [unclogging a drain](/guides/how-to-unclog-a-drain/) can help.

## Clean for a week

For the next several days, wipe the counters every night, empty the trash often, and keep food covered. Rinse bottles and cans before you put them in recycling. Do not leave dishes with food overnight. Eggs and larvae need moisture, so dry the sink at night.

## Store produce smartly

Keep bananas, tomatoes and stone fruit in the fridge once they are ripe. Keep onions and potatoes in a cool, dry place and check them for soft spots. Do not leave cut fruit out.

## Seal the entry

Fruit flies can come in through window screens, or they hitchhike in on grocery produce. Repair torn screens. Our guide to [repairing a window screen](/guides/how-to-fix-a-torn-window-screen/) shows how. Rinse fresh produce when you get home.

## When to get help

If you have a large number of flies even after a week of cleaning, there may be a hidden source, such as a spill behind an appliance, a leak under the sink or a broken drain line. Look for the source before you call a pest professional.

## If you have a compost bin or a pet bowl

Compost pails, pet food bowls and recycling bins are favorite spots. Empty the kitchen compost pail every day or two and rinse it, and keep a tight lid on it. Wash pet bowls after each meal, and do not leave wet food out for hours. If your trash can has a sticky bottom, wash it with soap and hot water and let it dry in the sun. A few minutes on these spots often ends the problem faster than any trap.

## Related guides

- [How to Get Rid of Fruit Flies in the Kitchen](/guides/how-to-get-rid-of-fruit-flies/)

- [How to Replace a Kitchen Sink Strainer Basket and Stop the Drip](/guides/how-to-replace-a-kitchen-sink-strainer-basket/)
- [How to Pack a Kitchen for a Move (Dishes, Glasses and Appliances)](/guides/how-to-pack-a-kitchen-for-a-move/)
- [How to Get Rid of Silverfish in Bathrooms, Closets and Books](/guides/how-to-get-rid-of-silverfish/)
- [How to Check a New Home for Pests Before You Move In](/guides/how-to-check-a-new-home-for-pests/)
- [How to Line a Kitchen Shelf](/guides/how-to-line-a-kitchen-shelf/)

## FAQ

### Where do they come from?

Mostly from produce brought home, or tiny eggs that were already there.

### How long does it take to get rid of them?

Often several days to a couple of weeks, depending on the source.

### Do bug sprays work?

They kill adults for a moment, but not eggs or the source. Cleaning is better.

When to call a pro: Flies keep coming back after a thorough cleaning, you see them coming from a drain with a bad smell, or you find larvae in more than one area.
Safety: Do not use insect sprays near food or on counters. Keep traps away from small children and pets. Never mix cleaning chemicals to treat drains.

General information only, not professional advice. Rules vary by state and city. First Home Fixes, https://firsthomefixes.com
