Tiny flies buzzing around indoor plants can be a real pain, honestly. I had a few weeks of a fungus fly infestation last autumn and it was driving me up the wall.
These pests, like fungus gnats and fruit flies, are common in houseplant soil. This blog will show you how to prevent flies from indoor plants using simple and effective methods I’ve been testing over the last few months.

Identifying Common Houseplant Pests
Indoor plants can attract tiny bugs that cause big problems. Spotting these pests early helps stop them from spreading.
Fungus gnats
Fungus gnats are small black flies often found around moist soil and plant pots. They love damp conditions and lay their eggs in moist potting soil. Their larvae, which have shiny black heads, feed on organic matter and sometimes the roots of your plants. These can damage your house plants, leading to weaker growth.
These little insects thrive in wet soil or damp composts. Overwatering creates the perfect environment for fungus gnat larvae to grow. Adult fungus gnats fly around your plants, becoming annoying flies indoors.
Focusing on drying the top layer of soil is one effective way to reduce an infestation.
Fruit flies
Like fungus gnats, fruit flies are small insects that love damp conditions. These little flies often hover near the soil surface or around decaying plant matter. Overripe fruit and rotting debris in your home can make things worse. They have clear wings and breed quickly, creating large numbers if ignored.
A good way to manage these pests is by cleaning up plant material like dead leaves from the potting mix. You can also set apple cider vinegar traps near your houseplants to catch them.
A cup of water mixed with vinegar works wonders against tiny intruders. Use natural remedies like neem oil sprays or dish soap solutions in a spray bottle for stubborn adult flies nearby plants.

Causes of Fly Infestations in Houseplants
Flies love damp, messy spaces in your plants. Wet soil and decaying bits make the perfect spots for them to breed.
Overwatering and damp soil
Too much water creates damp soil, attracting small flies like fungus gnats. Excess moisture becomes a breeding ground for these pests and harms plant roots. Slime trails or root rot may appear as signs of overwatering.
Allow the top of the soil to dry out between watering to avoid excess water. Good drainage prevents the build-up of soggy conditions in the soil of your plants. Less water means fewer chances for adult gnats and larvae to thrive.
Decaying plant material
Decaying plant material acts like a buffet for pests. Dead leaves, broken stems, and old roots on the surface of the soil attract fungus gnat adults and other flies. These rotting pieces create humid conditions, making it easier for pests to complete their life cycle.
Clear away dead plant parts as part of regular pest control. Replace any heavily decomposing soil with fresh soil to eliminate hidden larval stage infestations.
Effective Methods to Eliminate Flies
Flies in your houseplants can be annoying, but there are simple ways to handle them. With the right steps, you can get rid of these pests quickly and keep your plants happy.
Allow soil to dry out
Dry soil helps stop fungus gnat infestations. These pests lay eggs in moist dirt. Let the soil of your houseplants dry between watering to break their life cycle. It’s one of the easiest ways to keep them away.
Check the top inch of soil before adding water. If it feels dry, then you can water again. Overwatering causes dampness, which attracts gnats and other plant flies. This simple step is a great way to protect beautiful houseplants from pests! I bottom water most of my plants, which means I put water in a tray and place the plant pot into it. This means the plant takes water up from the roots and the top of the soil remains dry, so the eggs cannot survive.
Use sticky traps
Use yellow sticky traps to catch adult fungus gnats and other tiny pests. These traps are bright and attract insects, making them stick on contact.
Place the sticky fly traps near your plants or in pots. Garden centres sell these ready-to-use, or you can make your own DIY gnat trap using plastic wrap with small holes. Replace the traps once they fill up for best results. I got a pack from Amazon, they were about £6 and I would change them once a week or so.
Apply natural insecticides
Spray natural insecticides like neem oil on the soil of plants to reduce flies. Mix it with water and spray directly where pests gather. I love neem oil as it’s not toxic and we have cats. It can also be used to prevent other pests, so is a good thing to spray on your plants regularly.
Use one part hydrogen peroxide and four parts water for fungus gnat problems. It kills larvae without harming your house plants.
For biological control, try mosquito dunks or products with Bacillus thuringiensis subspecies israelensis (Bti). These attack fly larvae effectively. Beneficial nematodes also help by killing pests in the soil naturally.
Stick to these solutions alongside other prevention methods!

Preventative Measures to Keep Plants Fly-Free
Keeping flies away starts with simple habits. Small changes can keep your indoor plants healthy and pest-free.
Proper watering techniques
Too much water creates damp soil, which attracts fungus gnats. Let the top layer dry out before watering again. Use pots with drainage holes to avoid pooling water at the bottom.
Stick to a schedule based on your plant’s type and needs. Feel the soil or use a moisture meter for accuracy. Overwatering often leads to rot and pests—avoiding this keeps them healthy.
Where possible, bottom water so you never need to get the top of the soil damp!
Maintain clean plant areas
Keep the space around your plants tidy. Clear away decaying leaves and dead flowers quickly. Rotting plant material can attract flies like fungus gnats and fruit flies. Use a small bin or compost bag to collect debris straight away.
Wipe pots, shelves, or trays often to remove dirt and bacteria. Dust off leaves gently with a damp cloth or fabric softener sheet if they’re sticky or dusty. Keeping things clean stops pests from finding hiding spots in the first place!
Conclusion
Flies can be a common problem, but they don’t have to take over your plants. Simple changes like better watering habits and clean spaces make a big difference. Use traps or natural pesticides if needed—garden centres often have great options for this.
In severe cases, try helpful solutions like carnivorous plants or beneficial insects. Healthy plants lead to happier homes!