The first thing to figure out is which tiny fly you actually have, because the three that San Diego homeowners confuse all need a different fix. Fruit flies breed in ripening fruit, spills, and recycling. Fungus gnats breed in the wet soil of overwatered houseplants. Drain flies breed in the organic gunk inside your drains. Spraying or swatting the adults does almost nothing, because for every one you kill, more are hatching at the source. Find and remove the breeding source and the swarm clears within a week or two.

A San Diego kitchen counter with fruit, a common source of fruit flies

Most people call all three of these “gnats.” They look similar at arm’s length, and they show up in the same warm months. But they live in different places, and that’s the whole game. Here’s how to tell them apart and clear each one.

The three tiny flies people mix up

Look at where the swarm hangs out before you do anything else. Fruit flies hover around the fruit bowl and the trash. Fungus gnats drift up out of plant pots when you water them. Drain flies sit on the wall near the sink and only appear from the drain.

Fly typeWhat it looks likeWhere it breedsThe fix
Fruit flyTan to reddish-brown, round body, often with red eyes, about 1/8 inchRipening or rotting fruit, spilled juice or beer, recycling bins, garbage disposalsToss or refrigerate overripe produce, clean spills, rinse recyclables, run and clean the disposal
Fungus gnatDark, slender, long legs, weak fluttery flier, mosquito-likeTop inch of wet, organic potting soil in over-watered plantsLet soil dry out between waterings, water from the bottom, top with sand or gravel
Drain flyFuzzy, moth-like, gray, sits still on walls, lands more than it fliesSlimy organic film inside sink, shower, and floor drainsScrub the drain and break down the biofilm, fix any slow or rarely used drains

If you can match your swarm to a row, you already know what to do. The hard part is just that swatting feels productive and source removal feels like a chore, so people keep swatting.

Fruit flies: find the fruit, find the fly

Fruit flies are the kitchen ones. They’re drawn to anything fermenting, which is why a single forgotten banana or a splash of wine behind the trash can keep a whole population going. A female lays up to 500 eggs, and they go from egg to adult in about a week, so a small problem snowballs fast.

To clear them, hunt down every food source. Refrigerate or throw out overripe fruit and vegetables. Wipe down counters and the inside of the trash and recycling bins. Rinse cans and bottles before they go in the recycling. Run your garbage disposal and pour a little boiling water or a cleaner down it, because rotting bits stuck in the disposal are a classic hidden breeding spot. Empty the trash often during a flare-up.

Fruit flies and cockroaches both thrive on the same kitchen mess, which is why our guide to cockroach control in San Diego overlaps with this one. Tighten up sanitation and you knock back both at once.

Fungus gnats: the houseplant problem

If the little flies come up out of your plant pots when you water, those are fungus gnats. They’re harmless to people, but annoying, and their larvae feed on fungus and roots in soggy soil. San Diego homeowners get them most on indoor plants and shaded patio pots that stay damp.

The fix is to dry them out. Fungus gnats need constantly wet soil to breed, so let the top inch or two of soil dry between waterings. Water from the bottom tray when you can, so the surface stays dry. Topping each pot with a half-inch of coarse sand, gravel, or decorative stone blocks the females from laying eggs in the soil. Yellow sticky cards near the plants catch the adults while the soil dries out. The single most common cause is simple overwatering, so easing off the water usually does most of the work.

Comparison reference for fruit flies, fungus gnats, and drain flies in San Diego homes

Drain flies: the ones that mean check your plumbing

Drain flies are fuzzy and moth-like, and they tend to sit dead still on the wall near a sink or shower. They breed in the gummy organic film that builds up inside drains, especially ones that rarely get used like a guest bathroom or a basement floor drain.

To find the source, tape a clear cup or piece of tape upside down over a suspect drain overnight. If flies are trapped under it in the morning, that’s the breeding drain. Clean it by scrubbing the inside walls with a long brush to break up the slime, then flush with hot water and a drain cleaner or an enzyme product made for organic buildup. Bleach mostly runs straight through without touching the film, so physical scrubbing matters more.

Recurring drain flies that come back after a good cleaning can point to something bigger, like a cracked pipe, a dry P-trap, or sewage seeping under a slab. If you’ve scrubbed the drains and they keep returning, that’s worth having a plumber look at, not just more pest spray.

Why San Diego homes get them year-round

Our mild weather is the reason these flies never really take a winter off. Cold snaps elsewhere knock back fly populations every year. San Diego’s warmth lets them keep breeding through most of the calendar, so a fruit bowl on the counter or a thirsty houseplant stays a target all year.

A few local habits feed the problem. Open fruit bowls and backyard citrus that drops and rots are reliable fruit-fly sources. Overwatered patio and indoor plants stay damp in the mild climate and breed fungus gnats. And marine-layer humidity along the coast keeps drains and soil from drying out the way they would in a desert climate. None of this means your home is dirty. It means the conditions are friendly to small flies most of the year.

The apple cider vinegar trap: what it does and doesn’t do

The classic DIY trap is real, and it works on fruit flies. Pour an inch of apple cider vinegar into a cup or jar, add a drop of dish soap, and cover it with plastic wrap with a few small holes poked in the top. The smell draws the flies in, the soap breaks the surface tension so they sink, and the wrap keeps them from leaving.

Here’s the honest part. The trap only catches adult fruit flies that are already flying around. It does nothing about the eggs and larvae breeding in your fruit or disposal. So it’s a useful way to measure and reduce the adult swarm, but it will not end the problem on its own. It works as a sidekick to source removal, not a replacement for it. The vinegar trap also doesn’t do much for fungus gnats or drain flies, which are drawn to soil and drains, not vinegar.

When it’s a sign of something bigger

Most tiny-fly problems are a one-time mess you can clear in a couple of weeks once you find the source. A few situations call for more.

Drain flies that keep coming back after thorough cleaning often mean a plumbing problem under the surface. Fruit flies that survive a deep kitchen clean may be breeding somewhere you haven’t found, like a recycling bin in the garage, a wet mop, or a drip under the fridge. And if you’re fighting tiny flies alongside other kitchen pests, that’s usually a sanitation and moisture issue worth a professional eye.

This is a general pest control situation when the swarm keeps returning no matter what you do, or when several pest types show up together. An experienced local pro can inspect, find the hidden source, and tell you whether it’s a pest fix or a plumbing fix. Pest Pros San Diego connects homeowners across the county with vetted local technicians who handle exactly this kind of recurring nuisance. You can always verify any company’s license at pestboard.ca.gov before they come out.

For full county coverage, see our pest control services in San Diego page or call (858) 925-5546 to get matched with a local pro.

Frequently asked questions

How do I get rid of fruit flies in San Diego?

Find and remove what they’re breeding in, which is almost always ripening fruit, spills, recycling, or gunk in the garbage disposal. Refrigerate or toss overripe produce, wipe down counters and bins, rinse recyclables, and clean the disposal. Set an apple cider vinegar trap to catch the adults while you clear the source. With the source gone, the swarm usually clears in one to two weeks.

What’s the difference between fruit flies and gnats?

Fruit flies are tan-to-reddish, round-bodied, and hover around fruit and trash in the kitchen. Fungus gnats are dark, slender, and long-legged, and they come up out of houseplant soil. People call both “gnats,” but they breed in different places, so the fix is different. Watch where the swarm lives and you’ll know which one you have.

Why do I have gnats in my houseplants?

Those are fungus gnats, and they breed in constantly wet potting soil, so overwatering is almost always the cause. Their larvae feed on fungus in the damp top layer of soil. Let the top inch or two dry out between waterings, water from the bottom tray, and top the soil with sand or gravel to block egg-laying. Easing off the water usually solves it.

What are the tiny flies in my drain?

Fuzzy, moth-like flies that sit on the wall near a sink or shower are drain flies. They breed in the slimy organic film inside drains, especially ones that rarely get used. Scrub the inside of the drain to break up the buildup, then flush with hot water and an enzyme cleaner. If they keep coming back after cleaning, have a plumber check for a deeper issue.

Do fruit flies go away on their own?

Sometimes, if you happen to remove the food source by chance, like finishing the fruit or taking out the trash. But if anything is still fermenting in your kitchen, recycling, or disposal, they’ll keep breeding and the swarm holds steady. They don’t reliably disappear without you clearing the source. The fastest path is to hunt down and remove what they’re laying eggs in.

Are fruit flies a sign of a dirty house?

Not necessarily. A single overripe banana, a splash of juice behind the trash, or food stuck in the disposal is enough to start a population in an otherwise clean kitchen. San Diego’s year-round warmth makes it easier for them to take hold. It’s a sign of an available breeding spot, not poor housekeeping, and it clears once you find and remove that spot.