Phorid Flies vs Fungus Gnats: How to Tell Them Apart

Phorid flies and fungus gnats are both tiny, dark flies that show up uninvited in your home, but they come from completely different sources and require different strategies to eliminate. The fastest way to tell them apart: watch how they move. Phorid flies run erratically across surfaces in short, jerky bursts (earning them the nickname “scuttle flies”), while fungus gnats fly weakly and hover around houseplants and windows.

Getting the identification right matters because treating for the wrong fly wastes your time. Fungus gnats breed in damp potting soil. Phorid flies breed in decaying organic matter, often hidden in drains, broken pipe seals, or moisture problems you can’t immediately see. Here’s how to tell which one you’re dealing with and what to do about it.

How to Tell Them Apart by Sight

Both flies are roughly 1/8 inch long and brownish, which is why they’re so easily confused. But a few physical traits are reliable giveaways, even without a magnifying glass.

Phorid flies have a distinctive humped back. Viewed from the side, the area between the head and abdomen arches upward noticeably. They also have short, stubby antennae, spiky hairs on the head and face, and back legs that look disproportionately flat and long for their body. Their wings have heavy veins concentrated near the front edge, with three or four parallel veins running across.

Fungus gnats look more like tiny, delicate mosquitoes. Their most obvious feature is long, segmented antennae that sweep forward from the head. Their wings carry a distinct forked vein pattern, sometimes described as a “tuning fork” shape. Their bodies are slender and their legs are long and spindly, giving them a gangly appearance compared to the stockier phorid fly.

The Behavior Test

If you can’t get close enough to examine antennae or wing veins, behavior alone can identify your fly. Phorid flies prefer running to flying. When disturbed on a countertop or wall, they’ll sprint in quick, unpredictable zigzags rather than taking off. When they do fly, it’s in short, low hops. This scuttling movement is unique to phorid flies and is often the single easiest way to distinguish them.

Fungus gnats are weak, clumsy fliers. They tend to hover lazily around potted plants, windows, and light sources. You’ll often see them flying in slow, aimless patterns near soil level. They don’t run across surfaces the way phorid flies do.

Where Each One Breeds

This is the most important distinction for getting rid of them, because killing adults does nothing if the breeding source stays active.

Fungus Gnats: Damp Soil

Fungus gnat larvae live in the top couple inches of moist potting soil, where they feed on fungi, decaying plant material, and sometimes fine root hairs. If you have houseplants and you’re seeing small flies near the pots, fungus gnats are the most likely culprit. Overwatering is the single biggest factor. Soil that stays consistently wet creates ideal breeding conditions. At 75°F, a fungus gnat can go from egg to adult in about 17 days: eggs hatch in 3 days, larvae develop for roughly 10 days, and pupae emerge as adults after another 4 days. That fast cycle means a few gnats can become a swarm within weeks if soil stays moist.

Phorid Flies: Hidden Decay and Moisture

Phorid flies breed in decomposing organic material, and that source is often not obvious. Common culprits include the scummy buildup inside kitchen drains and garbage disposals, broken wax ring seals under toilets, sewage leaks in crawl spaces, clogged condensation pans under refrigerators, wet rags left in dark places, and even decaying food pushed deep into trash cans. Phorid flies don’t actually crawl through functional drain traps from the sewer. Instead, they exploit dried-out traps, broken pipe seals, or breed in the slime layer that builds up on the household side of the plumbing.

If you’re seeing small flies near your kitchen sink, bathroom, or any area with plumbing rather than near your plants, phorid flies are likely.

The Damage They Cause

Fungus gnats are primarily a plant problem. The larvae can damage fine roots, which is a real concern for seedlings, cuttings, and young plants that don’t have an established root system yet. Healthy, mature houseplants generally tolerate minor fungus gnat activity without visible harm. The adults are harmless but incredibly annoying.

Phorid flies are more of a sanitation concern. Their presence almost always signals decaying organic matter or a moisture problem somewhere in your home. They don’t bite or directly damage plants, but they can contaminate food surfaces, and a persistent infestation that won’t go away sometimes points to a plumbing issue that needs professional repair, like a cracked sewer line or a failed toilet seal.

Getting Rid of Fungus Gnats

Effective fungus gnat control targets both adults and larvae at the same time. Neither approach works well alone.

For larvae, the most reliable treatment is BTI, a naturally occurring soil bacterium that kills only fungus gnat, mosquito, and blackfly larvae. It’s harmless to people, pets, plants, pollinators, and beneficial insects. Soak a quarter of a BTI dunk or one tablespoon of BTI bits per gallon of water for 24 hours, then use that water for your regular watering. Top-water with the solution for the first couple of rounds so it penetrates the top two inches of soil where gnats breed. Replace the BTI in your watering vessel every 30 to 60 days. Don’t lay BTI bits directly on top of the soil, as they tend to grow mold and you’ll use far more than necessary. Also avoid soaking them in hot or boiling water, which destroys the bacteria.

For adults, place yellow sticky traps near your pots. One per pot is ideal, positioned upright to catch fliers. These won’t solve the problem on their own, but they reduce the breeding population and help you monitor whether the infestation is improving.

The cultural fix is straightforward: let your soil dry out between waterings. Most common houseplants prefer this anyway. Bottom-watering can help once you’ve treated the topsoil, since it keeps the surface layer drier. If you’re dealing with a severe infestation, a one-time soil drench with diluted 3% hydrogen peroxide (one part peroxide to four parts water) can kill off existing larvae quickly. Just do this before starting BTI treatments, not after, since peroxide kills bacteria indiscriminately.

Getting Rid of Phorid Flies

Phorid flies are harder to eliminate because the breeding source is often hidden and structural. Sticky traps and vinegar traps may catch a few adults, but they won’t make a dent in the population if the source remains active. Insecticides generally don’t work either.

Start by finding the source. Check under sinks for leaks, pull out the refrigerator and inspect the condensation pan, and look for any area where moisture and organic material might accumulate. One commonly overlooked spot is the underside of the rubber splash guard that leads into a kitchen garbage disposal. Pouring boiling water or bleach down the drain may kill some larvae, but it won’t remove the layer of organic scum where eggs are laid. Physically scrub the disposal opening and that rubber flap with a sponge to remove buildup.

For drain treatment, enzymatic or bio-gel drain cleaners are more effective than chemical ones. Products that use natural bacteria to digest grease and organic buildup remove the material phorid flies need to breed. Apply these to every drain in the house nightly for at least five days. Foam-based drain treatments can coat the inside of pipes more thoroughly than liquids, reaching areas where larvae cling to pipe walls.

If the infestation persists after thorough drain cleaning, the source is likely structural: a broken wax ring under a toilet, a cracked drain pipe in a wall or crawl space, or a dried-out P-trap in a floor drain you forgot existed. Run water in every drain in the house periodically to keep traps filled, and consider having a plumber inspect if the flies keep returning. Phorid flies that won’t go away are often the first visible sign of a plumbing problem that would otherwise go unnoticed for months.

Quick Comparison

  • Antennae: Phorid flies have short, stubby antennae. Fungus gnats have long, segmented antennae.
  • Body shape: Phorid flies have a humped back. Fungus gnats are slender and mosquito-like.
  • Movement: Phorid flies run in erratic zigzags across surfaces. Fungus gnats hover and fly weakly.
  • Found near: Phorid flies cluster around drains, trash, and plumbing. Fungus gnats stay near potted plants.
  • Breeding source: Phorid flies need decaying organic matter or moisture problems. Fungus gnats need consistently damp soil.
  • Primary fix: Phorid flies require finding and eliminating the moisture or decay source. Fungus gnats respond to BTI treatments and drier watering habits.