# How to Get Rid of Fruit Flies in the Kitchen

Source: https://firsthomefixes.com/guides/how-to-get-rid-of-fruit-flies/
Summary: Learn how to get rid of fruit flies: find the breeding source, trap the adults, clean the drains and stop them coming back for good.
Difficulty: Easy. Time: 30 minutes, plus a few days of trapping.

Fruit flies breed fast, and a few today means a swarm next week. Traps catch the adults, but only removing the breeding source ends the problem. Here is how to get rid of fruit flies for good.

## 1. Find the breeding source

1. Check fruit bowls for soft, spotted or fermenting fruit. One bad piece breeds hundreds.
2. Look behind and under appliances for spilled juice, wine or soda.
3. Check the trash can, the recycling bin and under the liner.
4. Inspect potatoes and onions stored in the pantry for rot.
5. Check the sink drain and the garbage disposal. The slime inside breeds flies too.

## 2. Remove every source

1. Throw out overripe produce and take the bag straight outside.
2. Rinse cans and bottles before recycling.
3. Wash the trash can with hot soapy water and dry it before relining.
4. Move fresh fruit into the refrigerator until the infestation is gone.
5. Wipe counters and mop under appliances.

## 3. Clean the drains

1. Pour a kettle of hot, not boiling, water down the drain to loosen slime.
2. Scrub the drain opening and the stopper with a brush.
3. Pour about half a cup of baking soda down the drain, follow it with a cup of white vinegar, and leave it to fizz for around ten minutes.
4. Flush with hot water.
5. If you have a disposal, grind ice cubes and citrus peels, then flush. Our guide on [garbage disposal smells](/guides/garbage-disposal-smells-how-to-clean/) covers this in detail.

## 4. Build a simple trap

1. Pour an inch of apple cider vinegar into a small bowl or jar.
2. Add two drops of dish soap and stir gently. The soap breaks the surface so flies sink.
3. Cover with plastic wrap and poke a few small holes with a toothpick.
4. Set the trap where the flies gather.
5. Empty and refresh it every day or two.

## 5. Trap for at least a week

- Fruit flies live about two weeks, and eggs keep hatching.
- Keep traps out even after the numbers drop.
- Place one near the sink and one near the fruit storage area.
- If a trap catches nothing after two days, move it to where flies still appear.

## 6. Check the sneaky spots

1. Lift the drain cover and check the floor drain in a basement or laundry room.
2. Look inside seldom used appliance drip trays.
3. Check houseplant soil. Overwatered soil breeds similar gnats.
4. Inspect window screens. Torn screens let new flies in from outside.

## 7. Keep them from coming back

- Refrigerate ripe fruit or keep it covered.
- Rinse dishes the same day instead of leaving them in the sink.
- Empty the kitchen trash before it overflows, and use a lid.
- Wipe spills quickly, especially wine, juice and beer.
- Flush the drain with hot water weekly.

## 8. Know when it is not fruit flies

- Small dark flies hovering at drains that ignore vinegar traps are usually drain flies. Clean the drain slime thoroughly to remove them.
- Tiny flies around houseplants are fungus gnats. Let the soil dry between waterings.
- If the source stays hidden after a thorough hunt, a professional can find it.

## Common mistakes

- Trapping adults while the breeding source stays in place.
- Skipping the drain because the flies gather at the fruit bowl.
- Leaving one forgotten potato rotting in the pantry.
- Mixing bleach and vinegar while cleaning.
- Declaring victory after two quiet days, then watching eggs hatch the next week.

## FAQ

**How long does it take to get rid of fruit flies?**
With the source removed and traps out, most infestations fade within a week, though eggs can hatch for up to two weeks.

**Does apple cider vinegar really work?**
Yes. The vinegar draws them and the dish soap sinks them. Wine or overripe fruit in a jar works too.

**Where do fruit flies come from if my kitchen is clean?**
They arrive on produce from the store or through screens, then breed in any moist organic film, including drains and sponge holders.

**Are fruit flies harmful?**
They do not bite, but they spread bacteria from rotting food to clean surfaces, so remove them quickly.

When to call a pro: Flies keep appearing after two weeks of trapping and cleaning, or you find them breeding in a wall void or under flooring, since a hidden source needs professional treatment.
Safety: Keep traps and cleaning products away from children and pets. Never mix bleach with vinegar or ammonia; the fumes are dangerous. Wash your hands after handling traps and throw trap liquid down the drain with running water.

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