How to Get Rid of Plant Flies and Fungus Gnats

Fungus Gnats, also known as Sciarid flies, are small, dark insects that swarm around potted plants. While the adult flies are mostly a nuisance, their presence signals an underlying issue in the soil that can be harmful to plant health. These pests thrive indoors where conditions are favorable for their reproduction. The larvae of these flies feed on the fine root hairs of houseplants, which can lead to stunted growth, yellowing leaves, and a general decline in vigor. Managing an infestation requires a comprehensive strategy that targets both the flying adults and the destructive larvae in the soil.

Identifying the Common Houseplant Pests

Accurate identification is the first step toward effective treatment. Fungus gnats (Sciaridae family) are slender, dark-bodied flies that look like tiny mosquitoes. They have long legs and antennae and are often seen walking or flying erratically near the soil surface or resting on foliage.

Fungus gnats are distinct from other common household pests like fruit flies, which are usually tan or light brown with characteristic red eyes and a stockier body. The gnat life cycle involves four stages: egg, larva, pupa, and adult. Females lay up to 200 eggs in moist soil, and the resulting larvae are translucent, legless maggots with a distinct black head capsule. These larvae live in the top two to three inches of the potting mix, where they consume decaying organic matter and tender root tissue, making them the primary cause of plant damage.

Addressing the Root Cause: Soil Moisture and Drainage

The single most significant factor in a fungus gnat infestation is consistently wet soil, which creates the perfect environment for their eggs and larvae to thrive. Overwatering encourages the growth of the fungi and algae that the larvae primarily feed on, allowing the population to explode rapidly.

A crucial habit is to allow the top inch or two of the potting mix to dry out completely between waterings, which desiccates the larvae and prevents adult females from laying new eggs. When watering, consider using a bottom-watering technique where the pot absorbs water from a saucer, which keeps the soil surface dry and uninviting.

Improving drainage by amending your potting mix with materials like perlite or coarse sand creates larger air pockets, allowing water to flow through more quickly. A ratio of up to 50% perlite mixed with standard potting soil can significantly reduce moisture retention in the upper layers, which is where the larvae reside. Creating a physical barrier by adding a half-inch layer of decorative gravel, coarse sand, or food-grade Diatomaceous Earth (DE) to the soil surface prevents the adults from accessing the soil to lay eggs.

Immediate Non-Toxic Eradication Techniques

While adjusting watering habits addresses the root cause, immediate steps are needed to capture existing adult flies and larvae to halt the breeding cycle. Yellow sticky traps are highly effective for monitoring and catching adult gnats, as the insects are strongly attracted to the bright color. Placing these traps horizontally on the soil surface or clipping them to the plant stem will rapidly reduce the number of flying adults, preventing further egg-laying.

A simple yet powerful tool for targeting the soil-dwelling larvae is the raw potato trap. Fungus gnat larvae are exceptionally attracted to the starch in potatoes, preferring it over plant roots. To use this method, slice a raw potato into one-inch thick pieces and place them cut-side down on the soil surface. After four to eight hours, flip the slices over to find the larvae that have migrated to the surface to feed, and then dispose of the potato pieces and the trapped larvae.

Another effective household remedy targets the adult flies using a simple liquid trap. A small, shallow dish containing apple cider vinegar mixed with a few drops of liquid dish soap acts as an irresistible lure. The vinegar’s fermented scent attracts the gnats, and the dish soap breaks the surface tension of the liquid, causing the flies to sink and drown upon landing. Placing these traps next to infested plants provides a visible and satisfying way to reduce the active flying population.

Advanced Biological and Targeted Chemical Controls

When non-toxic methods do not fully control a persistent infestation, advanced treatments are available to eliminate the larvae in the soil. One of the most effective biological controls is the bacterium Bacillus thuringiensis israelensis (BTI), which is often sold in granular form for mosquito control. BTI is applied as a soil drench and works by releasing a protein toxin that is only activated in the highly alkaline digestive systems of gnat and mosquito larvae. Once ingested, the toxin destroys the gut lining, resulting in death within a few days.

Another specialized biological control utilizes the beneficial nematode Steinernema feltiae. These nematodes are applied as a soil drench and actively seek out and infect fungus gnat larvae in the soil. They enter the larvae through natural body openings, releasing a symbiotic bacterium that multiplies and kills the pest. This method provides long-term suppression as the nematodes can reproduce within the dead larvae.

A targeted chemical approach involves the use of horticultural oils, such as Neem oil. When diluted and applied as a soil drench, the active compound, azadirachtin, disrupts the larvae’s hormonal balance, preventing them from maturing. Insecticidal soaps work differently, acting as a contact killer by dissolving the insect’s outer cuticle and cell membranes, leading to rapid dehydration. These treatments must be applied thoroughly to the top layer of soil to ensure they reach the larvae where they are feeding.