Easy Appetizers

Simple appetizers, snacks and home cooking answers

How to Get Rid of Fruit Flies and Stop Them Returning

· 7 min read · Kitchen Basics

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To get rid of fruit flies, remove the food and damp organic material where they breed, then trap the adults while you keep the area clean. Traps alone rarely solve the problem: eggs and larvae may be developing in overripe produce, recycling, drains, or forgotten spills. Set aside 30–60 minutes for a thorough first cleanup, then check traps and breeding spots daily for at least a week.

What You'll Need

  • Dish soap, a scrub brush or sponge, and hot water
  • Kitchen trash and compost bags, plus a covered container for food scraps
  • A vacuum with a hose or a small homemade trap: a jar, apple cider vinegar, dish soap, and plastic wrap or a paper funnel
  • A flashlight for inspecting dark corners and drains
  • Optional: airtight produce containers or a refrigerator shelf for ripe fruit

Step-by-Step

  1. Confirm what you are dealing with. Fruit flies are tiny, often tan or brown flies that hover around fruit, food waste, bottles, and sinks. They may have reddish eyes, though this can be hard to see. If flies mainly appear around houseplants, they may be fungus gnats; if they cluster around drains and look fuzzy or moth-like, they may be drain flies. Identifying the source prevents wasted effort.
  2. Remove exposed food and organic waste. Put ripe or damaged fruit in the refrigerator, or discard it in a tightly closed bag that goes outdoors. Check potatoes, onions, and other produce stored in cupboards. Empty indoor compost, food-scrap containers, and trash; rinse the containers and replace or wash any liners. Clear sticky spills, crumbs, and residue beneath appliances and inside recycling bins.
  3. Clean bottles, cans, and the recycling area. Rinse beverage containers and food packaging before storing them. Wash the recycling bin if it has sugary residue, then let it dry. Keep recyclables in a container with a lid and take them out regularly. A small amount of fermenting juice or wine can support a surprising number of flies.
  4. Inspect likely breeding sites. Look for forgotten fruit, damp food scraps, dirty mop heads, wet sponges, residue in garbage disposals, and grime around sink overflows. Clean these areas rather than relying on a trap nearby. Check under and behind appliances where a spill or piece of produce may have been missed. Use a flashlight to spot residue in dim areas.
  5. Clean the sink and drain safely. Scrub the drain opening, stopper, and accessible sides of the drain with a brush and dish soap to remove the organic film where flies can breed. Flush with hot tap water afterward. Do not mix bleach with vinegar, ammonia, or other cleaners, and do not pour boiling water into plumbing unless the fixture and pipes are known to tolerate it. If you use a commercial drain product, follow its label and never combine products.
  6. Set one or more traps for adult flies. For a simple vinegar trap, pour about 2–3 tablespoons of apple cider vinegar into a jar and add one or two drops of dish soap. Leave it uncovered, or cover the jar with plastic wrap secured by a rubber band and poke several small holes. Alternatively, make a paper funnel with a narrow opening and place it in the jar. Put traps near the suspected source, out of reach of children and pets. Replace the liquid every few days or when it becomes dirty. Traps reduce adults but do not remove eggs or larvae.
  7. Vacuum visible flies and keep the area dry. Use a hose attachment to remove flies resting on walls, windows, or around the bin; empty the vacuum outdoors promptly. Wash dishcloths and sponges regularly, wring them out, and let them dry. Fix leaks and wipe up standing water. Fruit flies are drawn to fermenting material more than clean water, but removing damp residue makes the kitchen less hospitable.
  8. Maintain the cleanup for at least 7–10 days. Check produce, trash, recycling, and traps every day. Remove any new food scraps promptly and keep surfaces clean. Continue until you have seen no flies for several consecutive days. Because newly emerged adults may appear after the first cleanup, a few stragglers during the first week do not necessarily mean the plan has failed.

Common Mistakes

  • Using only a trap. A trap catches adults but leaves the breeding source untouched. Find and remove the material the flies are feeding and reproducing in.
  • Leaving a small source behind. One forgotten onion, a sticky bottle, or residue beneath an appliance can keep the infestation going. Inspect more than the countertop.
  • Pouring chemicals into every drain. Pesticides or drain cleaners may be unnecessary, can damage plumbing, and can create dangerous fumes if mixed. Start with physical scrubbing and use products only as labeled.
  • Keeping fruit uncovered during the cleanup. Even a few ripe pieces can attract returning adults. Refrigerate ripe produce or use a covered container until the flies are gone.
  • Expecting instant results. Adults may continue to emerge from existing eggs or larvae for several days. Keep removing breeding material and refreshing traps rather than repeatedly changing methods.

Tips

  • Place traps beside the suspected source, not randomly throughout the room. Keep them away from fruit bowls so they do not draw flies toward food.
  • Use a small amount of vinegar and only a drop or two of soap; an overly soapy mixture may not attract flies as well.
  • Store ripe fruit in the refrigerator, or cover it with a tight-fitting food cover. Wash produce before eating, not as a substitute for cleaning the storage area.
  • Keep compost and trash covered, clean the bins routinely, and take food waste outside frequently during warm weather.
  • Store vinegar traps where children and pets cannot tip or drink from them. Avoid placing sticky traps where pets can reach them.

Troubleshooting

Flies remain after a week: Search again for a hidden source, especially beneath appliances, in a pantry, inside a recycling bin, or around a garbage disposal. Clean the drain opening and sink overflow, and check that traps are close to the activity. Repeatedly catching flies without finding a source usually means something is still breeding.

The traps catch none: The flies may not be fruit flies, or the trap may be too far from the source. Observe where they gather. Fungus gnats are usually associated with moist potting soil; let the soil surface dry between waterings and investigate plant care. Drain flies call for thorough drain cleaning. If identification is uncertain, compare appearance and behavior before choosing a treatment.

Flies are concentrated at a drain: Brush away the slimy film inside the drain and around the stopper; simply pouring water down may not remove it. Clean regularly for several days and check the garbage disposal and overflow. If flies persist despite careful cleaning, or a drain is slow or has a persistent odor, contact a plumber or pest professional.

They keep returning from another room: Check pet-food residue, recycling, houseplants, stored produce, and any damp organic material elsewhere in the home. Keep doors and window screens in good repair, but prioritize indoor breeding sources. If a large infestation persists or you cannot locate its source, consult a licensed pest-control professional.

Frequently Asked Questions

How long does it take to get rid of fruit flies?
Many small infestations improve within a few days after the source is removed, but allow 7–10 days of cleanup and monitoring. A hidden breeding site can extend the problem.

Does apple cider vinegar really work?
It can attract and trap adult fruit flies, especially with a drop of dish soap to break the surface tension. It is a supporting measure, not a replacement for removing breeding material.

Can fruit flies come from the drain?
They can gather near sinks, but drain flies are more commonly associated with drain buildup. Scrub the drain and identify the insect rather than assuming every small fly is a fruit fly.

Are fruit flies harmful?
They are generally a nuisance rather than a biting pest, but they can contaminate food and food-preparation surfaces. Discard food that has been exposed to heavy fly activity and clean affected surfaces.

Should I throw away all my fruit?
No. Discard spoiled or damaged items, refrigerate ripe fruit, and cover produce. Wash fruit before eating and keep storage surfaces clean.

When should I call a professional?
Seek help if the infestation continues despite thorough cleanup, the source may be inside a wall or inaccessible drain, or you cannot identify the flies. A professional can identify the pest and locate less obvious breeding sites.