In This Guide
Start by finding and removing the material where the flies are breeding. Check produce, food residue, bins, and other likely sources. Clean the affected areas, then use traps as a supplement — not a replacement for source removal.
Fruit flies can complete their life cycle from egg to adult in 8–10 days at room temperature, according to the University of Maryland Extension. Catching adults with traps will not solve the problem if the breeding source remains.
Check Whether They Are Likely Fruit Flies
Fruit flies are small — about 1/8 inch long — with tan to brownish coloring and distinctive bright red eyes. They typically gather near ripening fruit, food residue, or fermenting liquids in kitchens.
Other small flies may look similar but breed in different places. Identifying the likely pest helps focus your efforts:
| Type | Appearance | Common Sources |
|---|---|---|
| Fruit flies | Tan/brown, red eyes, 1/8 inch, compact body | Ripening fruit, food residue, fermenting liquids, recycling |
| Drain flies | Gray/brown, fuzzy, moth-like wings, 1/16–1/4 inch | Organic buildup in drains, pipes, damp areas |
| Fungus gnats | Dark, long legs, long antennae, clear wings | Moist potting soil in houseplants |
Where the flies gather offers clues, but location alone does not confirm the species. If you are uncertain, a pest-management professional or local extension service can help with identification.
Find the Breeding Source
Treating the visible flying adults does not solve the problem. The Utah State University Extension advises locating and removing the breeding source as the primary control step.
Check these common sources:
- • Produce: Overripe, bruised, or decaying fruit and vegetables — including items in bowls, on counters, or in storage areas
- • Forgotten items: Potatoes, onions, or other produce stored in dark cabinets or pantries
- • Beverage residue: Empty bottles, cans, or containers in recycling bins
- • Food waste: Kitchen trash, compost containers, or garbage disposals
- • Spills and residue: Under appliances, beneath fruit bowls, or in crevices where liquids have collected
- • Cleaning tools: Mop heads, sponges, or broom bristles that stay damp with food residue
Females lay eggs directly on food surfaces or fermenting liquids. Larvae develop over 5–6 days before pupating. A single overlooked source can sustain the population.
Remove Affected Material and Clean the Area
Once you identify likely sources:
- 1. Remove or store implicated produce. Discard overripe or damaged items. Refrigerate ripening fruit if appropriate for the type.
- 2. Empty affected containers. Take out kitchen trash and recycling. Rinse containers before returning them.
- 3. Clean residue from surfaces. Wipe counters, shelves, and the areas beneath fruit bowls or storage containers.
- 4. Address cleaning tools. Wash or replace mop heads and sponges that may harbor food residue.
- 5. Clean accessible spills. Check beneath countertop appliances and in cabinet corners for sticky residue.
This is about removing the breeding material and food sources — not disinfecting every kitchen surface. Focus on areas where organic matter has accumulated.
Check Bins, Recycling, and Overlooked Areas
A small unresolved source can sustain fruit flies even after cleaning visible areas:
- • Kitchen bin: Residue at the bottom or under the liner. Rinse and dry the bin when emptying.
- • Recycling containers: Rinse bottles, cans, and jars before storing. Empty recycling regularly.
- • Compost: Indoor compost containers can attract fruit flies. Use a sealed container and empty frequently.
- • Pet food: Uneaten wet food or spilled dry food can provide a breeding site.
In apartments or shared households, coordinate with others. Flies can migrate from a neighbor's unaddressed source.
Address Suspected Drain Sources Carefully
Flies gathering near a sink are not necessarily breeding in the drain. Fruit flies are attracted to fermenting residue that may be on the counter, in the disposal, or in nearby recycling — not necessarily in the drain pipe itself.
If you suspect the drain after ruling out other sources:
- • Remove accessible debris from the drain opening
- • Clean the drain stopper and visible drain surfaces
- • Run the garbage disposal with cold water to clear residue
Avoid: Pouring boiling water, bleach, or drain cleaners as a routine treatment. Do not mix chemicals. Do not reach into a garbage disposal. If you suspect a plumbing issue or cannot resolve the problem, consult a plumber or pest professional.
If the flies have fuzzy, moth-like wings and appear mainly around drains, they may be drain flies, which require different treatment focused on removing organic buildup in pipes.
Use Traps as a Supporting Measure
Traps catch adult flies but do not eliminate the breeding source. Use them after addressing the source, not instead of it.
Simple vinegar trap (per University of Maryland Extension):
- 1. Pour apple cider vinegar into a glass jar (about 1 inch deep)
- 2. Add one drop of dish soap (breaks surface tension)
- 3. Cover with plastic wrap secured by a rubber band
- 4. Poke small holes in the plastic wrap
Place traps near where flies are active. Replace every few days or when catches decrease. Keep out of reach of children and pets.
Commercial fruit fly traps are also available and work on similar principles. Catching adults confirms their presence but does not mean the source has been eliminated.
Prevent the Problem from Returning
The University of Maryland Extension emphasizes that sanitation is the primary control for fruit flies. Ongoing prevention:
- • Check stored produce regularly — remove anything overripe or damaged
- • Refrigerate ripening fruit when practical
- • Rinse recyclables before storing, and empty containers regularly
- • Take out kitchen trash before it accumulates odors
- • Clean spills promptly — especially sticky liquids near produce or bins
- • Dry mops and cleaning tools thoroughly after use
Fruit flies are attracted to fermenting organic matter, not to dirty households in general. Even clean homes can have an outbreak if produce is left out or recycling accumulates.
Troubleshooting Persistent Flies
If flies persist after cleaning:
| What You Notice | Possible Explanation | Next Step |
|---|---|---|
| Traps catch flies but numbers stay high | Breeding source not yet found | Search overlooked areas: under appliances, in pantries, behind bins |
| Flies mainly near houseplants | May be fungus gnats, not fruit flies | Let soil dry between waterings; check for overwatering |
| Flies mainly around drains | May be drain flies or attracted to nearby residue | Clean drain area; if fuzzy-winged, address pipe buildup |
| Cannot find the source | Hidden or inaccessible location | Consider professional inspection |
| Problem returns after improvement | New produce or recurring conditions | Review prevention steps; check recent purchases |
If the issue persists despite thorough cleaning, or if you cannot identify the source, a pest-management professional can help with identification and targeted treatment.
When to Seek Professional Help
Consider contacting a pest professional or your local extension service if:
- — You cannot identify whether the flies are fruit flies, drain flies, or another pest
- — The breeding source is inaccessible (inside walls, beneath flooring, in plumbing)
- — The problem persists after you have addressed all likely sources
- — You suspect a plumbing issue or structural problem
Pest professionals can provide accurate identification and targeted treatment. This article focuses on sanitation and source removal — it is not a substitute for professional pest management when needed.
Summary: Identify the likely pest, find and remove the breeding source, clean affected areas, and use traps only as a supplement. Prevention depends on managing produce, food residue, and waste containers.
For a complete kitchen-cleaning routine, see our kitchen-cleaning guide. For everyday upkeep that helps prevent pest problems, see five easy cleaning habits.