The first thing to sort out is which tiny fly you actually have, because the three that San Diego homeowners mix up point at three different rooms. The name people use for the kitchen ones is fruit flies, for the ones coming out of plant pots it’s fungus gnats, and for the ones by a sink or shower drain it’s drain flies. Swatting adults doesn’t change where they’re coming from. Removing the source does.

The San Diego bay waterfront path with the downtown skyline and sailboats across the water.

Most people call all three of these “gnats.” Size won’t separate them at arm’s length, and you don’t need it to. What separates them is where each one breeds: fruit flies in fermenting food and the residue around it, fungus gnats in potting soil that stays wet, and drain flies in the buildup inside a drain. So check three things tonight. Look at your fruit bowl, your trash, and your recycling. Press the top inch of every plant pot to see if it’s still damp. Then watch which drain the ones on the bathroom wall come out of. UC IPM publishes species pages worth comparing against what you’re seeing, and a licensed inspector can confirm an identification in person.

The three tiny flies people mix up

Watch where the swarm sits before you do anything else. That location is what sends you to the right job.

Where you see themWhat to checkWhat to change
Around the fruit bowl, the trash, or the recyclingOverripe produce, spills behind bins, unrinsed cans and bottles, the garbage disposalRefrigerate or throw out overripe produce, clean spills, rinse recyclables, run and clean the disposal
Coming up out of plant pots when you waterHow wet the potting soil stays between wateringsEase off the water, water from the bottom tray, use yellow sticky cards to catch adults
On the wall near a sink or shower, only near drainsWhich drain they come from, and whether it’s one that rarely gets usedScrub the inside of the drain, then flush it; a plumber if they keep returning

If you can match your swarm to a row, you already know which job you’re on. 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

These are the kitchen ones. A single forgotten banana or a splash of wine behind the trash can is enough of a source to keep a problem running, which is why the fix is a hunt rather than a spray.

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 clean it, because rotting bits stuck in the disposal are a classic hidden 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 what people call fungus gnats. San Diego homeowners find them most on indoor plants and shaded patio pots that stay damp.

The fix is to dry the pots out. Let the soil dry between waterings and water from the bottom tray when you can, so the surface stays dry. Yellow sticky cards near the plants catch adults while the soil dries. Overwatering is the habit to change first, and easing off the water usually does most of the work.

Drain flies: the ones that mean check your plumbing

These are the ones that only show up near a sink or shower, especially a drain that rarely gets used like a guest bathroom or a garage floor drain.

To find which drain, tape a clear cup or a piece of tape upside down over a suspect drain overnight. If flies are trapped under it in the morning, that’s your drain. Clean it by scrubbing the inside walls with a long brush, then flush with hot water. Read the label on anything you pour down a line, since products marketed for drains vary in what they contain and what their labels permit. Our guide to drain flies and how to find the source walks through the full search, room by room.

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

San Diego conditions that feed small flies

A few local habits keep sources available. Open fruit bowls and backyard citrus that drops and rots are reliable kitchen sources. Overwatered patio and indoor plants stay damp. And marine-layer humidity along the coast keeps drains and soil from drying the way they would inland. None of this means your home is dirty. It means the conditions are friendly to small flies.

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

The classic DIY trap is real, and it’s aimed at 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.

Here’s the honest part. The trap only catches adults that are already flying around your kitchen. It does nothing about the source. So it’s a useful way to measure and reduce the swarm while you hunt, but it will not end the problem on its own. It’s a sidekick to source removal, not a replacement for it, and it isn’t aimed at the plant-pot or drain versions.

When it’s a sign of something bigger

Most tiny-fly problems are a mess you can clear 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 coming from 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 a sanitation and moisture question 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. A licensed local company can inspect, find the hidden source, and tell you whether it’s a pest fix or a plumbing fix. In California, the Structural Pest Control Board defines Branch 2 as the practice relating to the control of household pests excluding fumigation with poisonous or lethal gases, which is the branch this work sits under. Pest Pros San Diego is a referral service: we match you with licensed local pest control companies, and the company you’re matched with inspects first and quotes in writing before any treatment begins. You can 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) 400-6561 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 coming from, 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. An apple cider vinegar trap catches adults while you clear the source.

What’s the difference between fruit flies and gnats?

People use “gnats” for both. The useful split is location: the kitchen ones around fruit and trash are what people call fruit flies, and the ones coming up out of houseplant soil are what people call fungus gnats. Watch where the swarm lives and you’ll know which job you’re on.

Why do I have gnats in my houseplants?

Those are what people call fungus gnats, and they turn up in pots that stay wet, so overwatering is the habit to change first. Let the soil dry between waterings, water from the bottom tray, and use yellow sticky cards to catch adults while it dries.

What are the tiny flies in my drain?

Small flies that only show up near a sink or shower are what people call drain flies. Scrub the inside of the drain, then flush with hot water, and read the label on anything else you pour down the line. 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 source by chance, like finishing the fruit or taking out the trash. But if anything is still fermenting in your kitchen, recycling, or disposal, the source is still there. The fastest path is to hunt it down and remove it.

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 problem in an otherwise clean kitchen. It’s a sign of an available source, not poor housekeeping, and it clears once you find and remove that source.