how to get rid of small flies

Introduction

Small flies in the home are more than just annoying. They can indicate moisture problems, rotting food, dirty drains, or overwatered plants. The good news is that you can usually eliminate them quickly with a systematic approach: identify the source, remove breeding sites, and use targeted traps or treatments.

This guide explains why small flies appear, shows you proven methods to get rid of them, lists effective natural remedies, and finishes with clear prevention tips and answers to common questions.

Why Flies Appear

“Small flies” is a broad term. The most common indoor types are:

  • Fruit flies – Tiny brown or tan flies often hovering around fruit bowls, trash, or recycling. They breed in fermenting fruits, vegetables, juice residue, beer bottles, and sticky spills.
  • Drain flies (moth flies) – Fuzzy, moth-like flies that hang around sinks, showers, and floor drains. They breed in the slimy organic buildup inside drain pipes or under drain covers.
  • Fungus gnats – Small black flies found around houseplants. They lay eggs in moist potting soil rich in decaying organic matter.
  • House flies and phorid flies – Slightly larger, may come from garbage, decomposing food, or plumbing leaks.

In almost every case, small flies appear because they have:

  • Food – Rotting or fermenting organic matter, sugary residues, garbage, or pet waste.
  • Moisture – Damp drains, standing water, overwatered plants, or leaks.
  • Shelter – Cracks, drains, cluttered corners, and the safety of indoor spaces.

If you only kill the adult flies but do not remove their breeding sites, they will keep coming back. The key step is to find and eliminate what they are breeding in.

5 Proven Methods to Get Rid of Small Flies

1. Identify the Type of Fly and the Source

You will get faster, longer-lasting results if you identify what type of fly you are dealing with:

  • Around fruit/garbage: Likely fruit flies.
  • Around sinks/showers/drains: Likely drain flies.
  • Around houseplants/potting soil: Likely fungus gnats.
  • Near a specific damp area or odor: Could be phorid flies or flies breeding in hidden rot or leaks.

Once you know the likely type, look systematically:

  • Check trash cans, recycling bins, and compost pails for residue and odors.
  • Inspect under sink strainers, around drain edges, and in overflow holes.
  • Examine potting soil, saucers, and any containers holding water.
  • Look for hidden food: under appliances, in cupboards, behind furniture.

2. Remove Breeding Sites (Clean-Up and Sanitation)

This is the most important step. Fly populations collapse quickly when their breeding sites are removed.

For fruit flies:

  • Throw away overripe fruit or damaged produce. Bag it and take it outside immediately.
  • Rinse beer bottles, cans, juice containers, and recycling items before storing them.
  • Wipe down counters, shelves, and sticky spots with hot soapy water or a kitchen cleaner.
  • Clean inside trash cans and compost pails with hot soapy water; let them dry before reuse.

For drain flies:

  • Remove and scrub drain covers with a stiff brush.
  • Use a long brush or pipe brush to scrub inside the drain pipe as far down as you can reach.
  • Pour boiling water slowly into the drain once or twice a day for a few days to help remove organic slime.
  • Use an enzyme-based drain cleaner (not just a deodorizer) to break down organic buildup if needed.

For fungus gnats:

  • Let the top 2–3 cm (about 1 inch) of soil dry out before watering again.
  • Remove decaying leaves or plant matter from the soil surface.
  • Empty water that sits in plant saucers; do not let pots stand in water.
  • Consider repotting heavily infested plants with fresh, sterile potting mix.

General sanitation tips:

  • Wash dishes promptly; do not leave food-soaked dishes overnight.
  • Keep food in sealed containers or the refrigerator.
  • Take out kitchen trash regularly—daily if you have fresh food scraps.
  • Clean under appliances and in hard-to-reach areas where crumbs accumulate.

3. Use Targeted Traps to Reduce Adult Flies

After removing breeding sites, traps help knock down the remaining adult population quickly.

Fruit fly traps

  • Apple cider vinegar trap: Pour 1–2 cm (½ inch) of apple cider vinegar into a small bowl or jar. Add a few drops of dish soap. Leave it uncovered near problem areas. Flies are attracted, land on the surface, and sink because the soap breaks the surface tension.
  • Plastic wrap trap: Put vinegar or a piece of overripe fruit in a jar, stretch plastic wrap over the top, and poke a few small holes. Flies enter but struggle to find their way out.
  • Store-bought traps: Sticky traps or pre-baited fruit fly traps can be placed near fruit bowls, trash cans, or recycling.

Fungus gnat traps

  • Yellow sticky traps: Place small yellow sticky cards in plant pots. Gnats are attracted to the color and get stuck.
  • Soil-level traps: Shallow dishes with soapy water placed near plants can catch adults hovering low.

General small fly traps

  • Plug-in UV traps: Small UV light traps designed for indoor use can reduce flying insects in kitchens and bathrooms.
  • Sticky strips: Hang fly paper in areas with high fly traffic, away from cooking surfaces.

Use traps alongside sanitation; traps alone will not stop flies if breeding continues.

4. Treat Drains and Hidden Moisture Areas

If flies persist around drains, moisture is likely still present.

  • Deep drain cleaning: Alternate pouring boiling water and using a drain brush over several days to remove all slime layers.
  • Enzyme drain cleaners: Use as directed over several nights. These break down organic matter safely without harsh chemicals.
  • Check overflow holes: Sinks and bathtubs with overflow holes can collect grime. Pour hot, soapy water directly into these openings and scrub if accessible.
  • Fix leaks: Inspect under sinks, around toilets, and behind appliances. Any persistent leak or slow drip can support fly breeding.

5. Use Insecticides Carefully (When Necessary)

Most small fly problems can be solved without chemicals, but in stubborn or severe cases, targeted insecticides can help.

  • Aerosol sprays: A flying insect spray can quickly kill adults you see, but it will not affect eggs or larvae. Use only as a supplement to cleaning, and follow label directions.
  • Soil treatments for fungus gnats: Some products contain Bacillus thuringiensis israelensis (Bti), a biological control that kills larvae in soil. Follow directions carefully and use only on plants where it is safe.
  • Professional treatment: If flies seem to be coming from within walls, under slabs, or from sewage lines, a pest control professional may be needed to locate and treat the source.

Never overuse insecticides to compensate for poor sanitation. Removing breeding sites is always the priority.

Natural Remedies

If you prefer non-chemical approaches, several natural methods work well when used correctly.

1. Vinegar and Soap Traps

  • Use apple cider vinegar for fruit flies; white vinegar can work but is usually less attractive.
  • Add a few drops of dish soap to break surface tension.
  • Place traps close to where flies are active and refresh them daily until numbers drop.

2. Essential Oils as Repellents

Some essential oils repel flies. They do not kill them but can help keep areas less attractive.

  • Common options: peppermint, eucalyptus, lemongrass, lavender, citronella.
  • Mix 10–15 drops of oil in a spray bottle with water and a teaspoon of vodka or rubbing alcohol to help dispersion.
  • Lightly spray around window frames, doorways, and trash areas (avoid direct contact with food or surfaces used for food prep).

Always test in a small area first to ensure oils do not damage surfaces and keep away from pets that may be sensitive.

3. Natural Soil Management for Fungus Gnats

  • Drying the soil: Most fungus gnat larvae die when the top layer of soil is allowed to dry between waterings.
  • Top-dressing: Add a 1–2 cm (½–¾ inch) layer of coarse sand or small aquarium gravel on top of the soil. This creates a barrier that makes it harder for adults to lay eggs.
  • Cinnamon drizzle: Some people sprinkle ground cinnamon lightly on the soil surface as a mild antifungal; it may help by reducing fungus the larvae feed on. Use sparingly.

4. Boiling Water for Drains

  • Pour a kettle of boiling water down problem drains once or twice a day for several days.
  • This helps dislodge organic matter and kill larvae near the surface.
  • Combine with brushing and enzyme cleaners for best results.

Prevention Tips

Once you have eliminated small flies, focus on prevention so they do not return.

Kitchen and Food Storage

  • Store fruit in the refrigerator or in covered containers, especially in warm months.
  • Wipe up spills (juice, soda, wine, beer, vinegar) immediately.
  • Rinse bottles, cans, and jars before placing them in recycling.
  • Use a trash can with a tight-fitting lid and empty it regularly.
  • Clean trash cans occasionally with hot, soapy water and let them dry thoroughly.

Drains and Plumbing

  • Once a week, run hot water down rarely used sinks, showers, and floor drains.
  • Use a mild enzyme cleaner monthly in problem drains as a preventive measure.
  • Fix leaks promptly and dry any standing water under sinks or around pipes.
  • Keep drain covers and strainers cleaned of hair, food debris, and soap scum.

Houseplants and Indoor Moisture

  • Water plants only when needed; avoid constantly wet soil.
  • Ensure pots have drainage holes and do not sit in standing water.
  • Remove dead leaves and decaying plant material from soil surfaces.
  • Avoid using heavy, poorly draining soil indoors; choose well-draining potting mixes.

Home Maintenance and Entry Points

  • Install or repair window and door screens to reduce outdoor flies entering.
  • Seal gaps around doors, windows, and utility lines where insects can enter.
  • Keep outdoor trash cans closed and as clean as possible.
  • Do not leave doors open without screens, especially near kitchens.

FAQ

How long does it take to get rid of small flies?

If you eliminate breeding sources and use traps, most small fly problems improve significantly within 3–7 days. Complete elimination may take 1–2 weeks as remaining adults die off and no new ones emerge. Drain fly and fungus gnat infestations can take slightly longer because larvae may already be developing in hidden areas or soil.

Why do I still see flies even after cleaning?

There are several possibilities:

  • You may have missed a breeding source (for example, a hidden spill, a clogged drain, or a forgotten bag of potatoes).
  • Eggs and larvae laid before cleaning can still develop into adults for several days.
  • Flies may be entering from outside through open windows or gaps.

Inspect again carefully, especially drains, garbage, and plant soil, and continue using traps for at least a week.

Are small flies harmful?

Most small flies are more of a nuisance than a direct health threat, but they can be unsanitary:

  • Fruit flies and house flies can carry bacteria from garbage and drains to food surfaces.
  • Drain flies can indicate dirty drains or moisture issues that could support other pests and mold.

Getting rid of them improves hygiene and reduces the risk of contamination.

Can I use bleach in drains to kill drain flies?

Pouring bleach down a drain may kill some larvae near the surface, but it often does not penetrate or remove the deeper organic slime where flies breed. Bleach alone is usually a temporary fix. A better strategy is to:

  • Physically scrub the drain walls.
  • Use hot water and an enzyme-based cleaner to break down buildup.
  • Repeat for several days until the slime layer is gone.

What is the fastest way to kill fruit flies?

The fastest approach combines steps:

  • Immediately remove and discard overripe fruit and food waste.
  • Thoroughly clean counters, trash cans, and recycling bins.
  • Set multiple vinegar-and-soap traps near problem areas.

This combination usually reduces visible fruit flies dramatically within 24–48 hours.

Why are flies coming from my sink?

If you see small fuzzy flies around sinks or showers, they are likely drain flies. They lay eggs in the organic sludge coating drain pipes. To stop them:

  • Scrub inside the drain and remove any slime on walls and under the lip.
  • Use boiling water and enzyme cleaners over several days.
  • Keep drains clean and flowing freely.

Do natural remedies really work?

Yes, natural remedies can be effective when used correctly and consistently. Vinegar traps, soil drying, boiling water, and essential oil repellents all help. However, no remedy—natural or chemical—will work well if you do not remove the breeding sites. That is always the critical step.

When should I call a professional?

Consider professional help if:

  • Flies persist for more than 2–3 weeks despite thorough cleaning and trapping.
  • You suspect they are breeding in wall voids, crawlspaces, or sewage lines.
  • You notice strong odors or see signs of moisture damage or leaks you cannot locate.

A pest control professional can identify the exact species, locate hidden breeding sources, and suggest repairs or treatments.

By identifying the type of small fly, eliminating what they are breeding in, and using simple traps and preventive measures, you can clear your home of small flies and keep them from returning.

Want a plan tailored to your home?

Based on your fly type, home situation, and preferences. Get a Personalized Fly Removal Plan to remove flies fast and safely.

Get My Custom Plan