What Are Ground Flies and How Do You Get Rid of Them?

“Ground flies” is a loose term for several types of small flies that live in or emerge from soil. The most common culprits are fungus gnats, March flies, and crane flies, all of which lay eggs in moist earth and spend their larval stage underground before emerging as adults. Most are harmless nuisances, though some can damage plant roots when populations grow large enough.

Common Types of Ground Flies

The flies you’re most likely seeing near the soil surface fall into a few categories, and telling them apart helps you figure out whether they’re a problem worth addressing.

Fungus gnats are the most frequent offenders, especially around houseplants and garden beds. They’re tiny, dark-bodied flies (about 1/8 inch long) with long legs and translucent wings. You’ll notice them hovering just above the soil or running across its surface. Adults don’t bite and don’t damage plants, but their larvae feed on fungi, decaying organic matter, and sometimes plant roots in the soil. In moist, organically rich potting mix, large larval populations can stunt seedlings and damage root systems. A wilting houseplant doesn’t always mean it needs more water; it can signal root damage from fungus gnat larvae feeding below the surface. When populations are especially high, larvae leave slime trails on the soil that resemble tiny snail tracks.

March flies (also called lovebugs in some regions) are stockier, dark-colored flies that emerge from soil in spring. Their larvae develop underground, feeding on decaying plant material. Adults are slow fliers and completely harmless.

Crane flies look like oversized mosquitoes with long, gangly legs, but they don’t bite. Their larvae, sometimes called leatherjackets, live in soil and feed on grass roots and organic matter. In lawns, heavy infestations can create brown patches where the turf thins out.

How to Tell Ground Flies From Ground Bees

If you’re seeing insects hovering near small holes in the ground, you might be looking at ground-nesting bees rather than flies. The differences are straightforward once you know what to look for.

  • Wings: Flies have one pair of wings. Bees and wasps have two pairs.
  • Eyes: Flies have noticeably large eyes that often meet at the top of the head. Bees have smaller, more separated eyes.
  • Antennae: Flies have short, stubby antennae that are hard to see. Bees have longer, more visible antennae.
  • Hovering: Flies hover very steadily in place, which bees generally can’t do.
  • Body hair: Bees tend to have fuzzy, hair-covered bodies for collecting pollen. Flies are smoother.

Many native bees nest in underground tunnels, including mining bees, small dark sweat bees, and metallic green bees. Bumble bees also nest below ground in colonies of 50 to 500 individuals. These ground-nesting bees are valuable pollinators and are rarely aggressive, so they’re generally best left alone.

Where Ground Flies Come From

All ground flies share one requirement: moisture. Fungus gnats thrive in consistently damp potting soil, especially mixes heavy in peat or compost. Outdoors, they’re drawn to mulched garden beds, compost piles, and any area where organic matter stays wet. Crane fly larvae prefer moist lawns, particularly those with thatch buildup. March flies gravitate toward decomposing leaf litter and rich garden soil.

The lifecycle is fast for fungus gnats in particular. Females lay eggs in the top layer of soil, and larvae hatch within days. They feed underground for one to two weeks before pupating and emerging as adults, meaning a single pot of overwatered soil can cycle through multiple generations in a month. This is why they seem to appear out of nowhere and multiply quickly indoors.

When Ground Flies Actually Cause Damage

Outdoors, ground fly larvae rarely cause serious problems. They feed primarily on decaying organic matter and fungi, and healthy established plants tolerate some root nibbling without issue. The real damage happens in contained environments: houseplants, greenhouse seedlings, nurseries, and sod farms, where larval populations can build up in the consistently moist conditions they prefer.

Seedlings and young transplants are most vulnerable because their root systems are small enough that even moderate feeding can stunt growth or kill the plant. In interior plantscapes and houseplants, significant root damage and plant death have been documented when high populations develop in organically rich, waterlogged soil. Crane fly larvae (leatherjackets) can thin out lawn turf when they’re present in large numbers, leaving irregular brown patches that pull up easily because the roots have been eaten away.

Why Ground Flies Are Ecologically Useful

Before you wage all-out war, it’s worth knowing that soil-dwelling flies play important roles. Their larvae are decomposers, breaking down dead plant material and returning nutrients to the soil. Flies as a group are critical to pollination, pest suppression, and decomposition. Without them, decaying organic waste would accumulate in both natural and urban environments. Many species of flies also pollinate crops and wildflowers. They’re less efficient at it than bees, but they contribute meaningfully, especially in cooler weather when bees are less active.

How to Reduce Ground Fly Populations

For Houseplants and Containers

The single most effective step is letting soil dry out between waterings. Fungus gnat larvae need consistently moist conditions to survive, and allowing the top inch or two of soil to dry kills young larvae and makes the surface unappealing for egg-laying adults. Switching to a less organic potting mix, or topping pots with a layer of sand or perlite, also discourages egg laying. Yellow sticky traps placed near the soil surface catch adults and help you monitor whether the population is shrinking.

For persistent infestations, beneficial nematodes are a biological control option. These microscopic organisms are mixed into water and applied to the soil, where they seek out and kill fly larvae without affecting plants, pets, or people. Another biological option is Bti, a naturally occurring soil bacterium. Larvae must ingest it for it to work: the bacterium produces proteins that break down the insect’s gut lining, killing it within hours. Bti is nontoxic to humans, mammals, birds, fish, and most other invertebrates. It’s available in granular or liquid form and can be mixed into watering routines.

For Lawns and Outdoor Areas

Improving drainage is the foundation. Aerating compacted lawns, reducing thatch buildup, and avoiding overwatering all make conditions less hospitable for ground fly larvae. If crane fly larvae are thinning your turf, beneficial nematodes applied in early fall (when larvae are young and near the surface) can reduce populations significantly. Avoid applying insecticides broadly to soil, as this kills the beneficial organisms that naturally keep fly populations in check.

Reducing organic debris like leaf piles and unturned compost near the house also cuts down on the adult flies you see near doorways and windows. Fungus gnats are attracted to light, which is why they often end up indoors once they’ve emerged from nearby garden soil.