Skip to main content
Planting

How to Get Rid of Flies in House Plants

By October 1, 2025October 20th, 2025No Comments

Houseplants bring life, greenery and a sense of calm into the home. They improve air quality, add colour and texture to rooms and provide a connection to nature indoors. Yet, as many plant lovers quickly discover, houseplants can sometimes attract unwanted guests. One of the most common problems faced by indoor gardeners is flies buzzing around pots and soil. These small insects can be frustrating, unsightly and, in some cases, damaging to the health of plants. Knowing how to get rid of flies in house plants involves understanding what kind of flies they are, why they appear and which methods are effective in removing them without harming your plants.

Identifying the problem
When people notice flies around their plants, they are usually dealing with fungus gnats. These tiny black insects resemble small mosquitoes and hover close to the soil surface. Fungus gnats lay their eggs in damp soil, and their larvae feed on organic matter and sometimes on plant roots. While adult gnats are more of a nuisance than a direct threat, their larvae can cause damage by weakening young roots, stunting growth and even killing seedlings if infestations are heavy. Less commonly, fruit flies may appear around plants if decaying fruit is nearby, but fungus gnats are by far the most frequent culprits indoors.

Why flies appear in houseplants
Fungus gnats thrive in moist environments rich in organic material. Overwatering is the number one cause of infestations. When soil remains constantly damp, it becomes an ideal breeding ground for gnats to lay eggs. Organic rich compost and decorative mulches can also contribute to the problem by giving larvae food to consume. Poor drainage and stagnant air encourage the issue further, while moving plants indoors for winter can sometimes bring gnats inside along with the soil. Understanding these causes is essential, because prevention is the most effective method of control.

The importance of water management
One of the simplest yet most powerful steps in controlling flies in house plants is adjusting watering habits. Allowing the top few centimetres of soil to dry out between waterings makes the environment less attractive for gnats. Their eggs and larvae need consistently moist soil to survive, and by reducing watering frequency, you interrupt their life cycle. Most houseplants, especially succulents and cacti, actually benefit from less frequent watering. Learning to check soil moisture by touch rather than sticking to a fixed schedule helps prevent both gnats and root rot.

Improving drainage
Closely linked to watering is the issue of drainage. Houseplants grown in pots without drainage holes are far more likely to develop problems with fungus gnats. Excess water accumulates at the bottom, creating a permanently damp environment that gnats love. Repotting plants into containers with proper drainage holes, and using well draining compost mixed with sand or perlite, can make a significant difference. A layer of gravel or clay pebbles at the bottom of pots also helps water escape rather than sitting stagnant. By improving drainage, you create a healthier root environment for the plant while reducing the chance of fly infestations.

Using physical barriers
Another method of controlling gnats is through physical barriers that prevent adults from laying eggs in the soil. A layer of sand, grit or fine gravel spread over the soil surface creates a dry environment that deters egg laying. Some people also use decorative stones or horticultural grit, which look attractive while providing practical benefits. Covering the soil reduces direct access for gnats, and since they prefer moist surfaces, the barrier interrupts their breeding cycle. Combined with careful watering, this method can be highly effective in breaking the problem.

Trapping adult flies
While preventing breeding is the long term solution, dealing with the adult flies already present can provide quicker relief. Sticky traps, often yellow in colour, attract fungus gnats and catch them when they land. These traps reduce the adult population and make the infestation more manageable. They are especially useful near seedlings and young plants, which are more vulnerable to larval damage. While traps do not address the larvae in the soil, they play an important role in controlling overall numbers and preventing further egg laying.

Soil treatments for larvae
Targeting the larvae in the soil is essential for permanent control. One natural method is using biological control agents such as nematodes. These microscopic worms are watered into the soil, where they seek out and kill fungus gnat larvae without harming plants. Another option is Bacillus thuringiensis israelensis, a naturally occurring bacterium that targets fly larvae. Both methods are safe, environmentally friendly and effective at breaking the cycle of infestation. For smaller issues, allowing soil to dry or replacing the top layer of compost may be enough to reduce larvae numbers.

Repotting as a solution
In cases of severe infestations, repotting the plant into fresh compost can reset the problem. The old soil should be discarded and the pot thoroughly cleaned before reusing. When repotting, trimming away damaged roots and ensuring good drainage with fresh, sterile compost provides a clean start. This method is especially useful for valuable plants that are struggling due to heavy gnat populations. Care should be taken to repot gently to avoid stressing the plant further.

Air circulation and environment
Flies thrive in stagnant, humid conditions. Improving air circulation around houseplants makes the environment less appealing for gnats. Opening windows, using small fans or spacing plants apart so that air can move between them all help reduce humidity. Not only does this discourage pests, but it also creates a healthier growing environment overall. Most houseplants benefit from fresh air, provided they are not exposed to draughts or sudden temperature drops.

Long term prevention strategies
Once an infestation has been dealt with, preventing recurrence is the final step. Consistent monitoring of soil moisture, proper drainage, and cautious watering habits are the foundation of prevention. Quarantining new plants before introducing them to your collection ensures that gnats are not brought in from outside sources. Regularly checking for signs of pests, such as flies hovering around soil or seedlings that suddenly decline, allows early intervention before populations explode. Prevention requires discipline, but it is far easier than dealing with a full scale infestation.

Are flies harmful to plants?
Many people wonder whether the presence of flies is harmful or merely annoying. The answer depends on the severity of the infestation. A few adult gnats buzzing around may not cause significant harm, but large populations can lead to serious root damage. Seedlings and delicate plants are most at risk, as their fine roots are easily destroyed by larvae feeding. Even mature plants may suffer from stunted growth if infestations persist. For this reason, addressing the problem quickly is important for the long-term health of houseplants.

The role of cleanliness
Maintaining a clean environment around houseplants helps reduce the chance of pests taking hold. Removing dead leaves, cleaning trays and pots regularly, and avoiding food waste or decaying matter near plants reduces breeding opportunities for flies. Cleanliness not only discourages pests but also promotes healthier plants by reducing fungal spores and bacteria in the growing area.

Conclusion
So, how do you get rid of flies in house plants? The key lies in breaking their life cycle by tackling both adults and larvae. Adjusting watering routines, improving drainage and using soil barriers reduce breeding opportunities. Sticky traps and biological controls deal with existing populations, while repotting can provide a fresh start for heavily infested plants. By combining these methods with good hygiene and environmental management, it is possible to eliminate flies and prevent their return. Caring for houseplants means not only providing water and light but also maintaining conditions that discourage pests. With knowledge and persistence, houseplants can thrive free from the annoyance of flies, bringing beauty and health to homes across the UK.

Sam

Author Sam

More posts by Sam