How to get rid of fungus gnats – the best ways to keep this destructive garden pest at bay
Keep fungus gnats (aka sciarid flies) away from your plants with these expert-approved tips...


If you've been anxiously trying to figure out how to get rid of fungus gnats, you're not alone: while many are considered to be harmless, there are some species that have been deemed garden plant pests, thanks to their unfortunate habit of breeding in damp compost.
Now, while there are some plants that repel pests, the pesky fungus gnat tends to be drawn to seedlings and cuttings – not to mention our most treasured house plants, too.
'In the open garden fungus gnats are not a problem and part of a well balanced biodiverse garden ecosystem,' say experts at the Royal Horticultural Society (RHS) reassuringly. '[They] are really only of concern if they are causing damage to seedlings or cuttings; established plants are not harmed.'
That caveat in place, then, let's dive on in...
Just as (metaphorically speaking) there's more than one way to skin a cat, so, too, is there more than one way to banish fungus gnats from your garden or greenhouse.
1. Remove excess water
It's a good idea to brush up on the biggest garden watering mistakes if you find yourself repeatedly plagued by fungus gnats, as overwatering is often the root cause of an infestation.
'Fungus gnats love damp conditions and wet soil so it's really important to let your soil dry before re-watering your plant, and to ensure your soil is well-draining,' says Morris Hankinson, director of Hopes Grove Nurseries.
Morris Hankinson is the founder and managing director of Hopes Grove Nurseries Ltd, the UK’s only specialist grower-retailer of hedging plants. He established the thriving business in 1992, shortly after graduating with a Commercial Horticulture Degree from Writtle College, Essex.
'Of course, you still need to be watering your plants enough to keep them healthy and thriving!' he adds.
2. Add grit
Not sure how to get rid of fungus gnats? Grit could prove the answer, promises Morris.
'If fungus gnats manage to get into your plant's soil, they lay eggs which can be tricky to get rid of (and they then turn into fungus gnats who lay eggs and it becomes a continuous cycle),' he says.
'By adding a layer of grit or mixing it into your compost/soil, you can effectively create a barrier that prevents the fungus gnats from infiltrating the soil and laying eggs.'
3. Set out bowls of vinegar
Forget learning how to get rid of fungus gnats; make an effort to keep them away from the get-go!
'Where possible, try and keep fungus gnats away from your plants so they don't get the chance to lay eggs in your soil,' says Morris. 'Try leaving a bowl of vinegar out near your plants, as fungus gnats are attracted to the scent so will fall into the bowl rather than your plant pot.'
4. Try yellow stickers
One of the most famous ways to get rid of fungus gnats is the yellow sticker trap. As small insects are attracted by bright yellow colours, they'll be drawn to something like Amazon's Blooven 60 PCS Fruit Fly Traps in no time.
Then, once they land, the sticky surface trap them and they won't be able to escape. However, the RHS warns that 'these traps can catch large numbers of non-target insects, including predators'. From the end of July 2024 glue traps for rodents have been banned, so do use this method for flies with caution.
5. Re-pot your plants
If none of the above has worked, it's time to set to work rehoming all of the plants in your container garden ideas.
'In worst case scenarios where your fungus gnat infestation is out of control, you may need to re-pot your plants,' says Morris.
'If you set to work doing so, be very careful that you remove all fungus gnats (and larvae) before re-potting as you will encounter the same issue again if not.'
FAQs
What kills fungus gnats in houseplants?
If you have fungus gnats in your houseplants, it's a good idea to learn how to use nematodes.
'Nematodes are an effective form of biological pest control and both professional and home gardeners have been applying them to safeguard their plants from pests and fungus gnats for decades. But many people don’t know that nematodes can be applied to houseplants, too,' says Matt Martin of Nemasys Beneficial Nematodes.
'To apply nematodes to your houseplants, add the required amount of product with water into a watering can and mix well, then water your houseplants as normal,' he continues.
'If the whole packet isn’t needed, it can be safely stored in the fridge and applied a few days later – just make sure they are covered with the protective film and sleeve to prevent spillage. Use the remaining nematodes as soon as possible, as they will lose their effectiveness after being opened for a few days.'
The RHS warns, however, that 'nematodes can potentially affect other insects and the predators can feed on invertebrates other than sciarid fly larvae'.
Do sticky traps work for fungus gnats?
You will have likely heard that sticky traps work for fungus traps, particularly these yellow stickers from Amazon. The rumours are true; the yellow colour attracts the pests, which are held securely by the odourless special glue, making them easy to dispose of.
'Adult fungus gnats can be controlled using sticky traps,' says Matt Martin of Nemasys Beneficial Nematodes. 'They do not live for very long but can reproduce very quickly, however, so controlling the larvae is the most efficient approach.'
And just like that, you know how to get rid of fungus gnats safely and efficiently. Just be sure to only do so if they really are causing a problem, as even these pesky flies can prove beneficial to your garden's ecosystem if given the chance.
Get the Ideal Home Newsletter
Sign up to our newsletter for style and decor inspiration, house makeovers, project advice and more.
Kayleigh Dray became Ideal Home’s Acting Content Editor in the spring of 2023, and is very excited to get to work. She joins the team after a decade-long career working as a journalist and editor across a number of leading lifestyle brands, both in-house and as a freelancer.
-
Are decorative cushions on a bed a must or a waste of time and money? Help us settle the debate
Let us know your thoughts in the comments
By Rebecca Knight
-
Fearne Cotton's colourful living room shelves are the perfect example of how to add this year's hottest shade of green to a home
We're obsessed with Fearne's expert use of pistachio
By Kezia Reynolds
-
How to keep pigeons away from bird feeders and help other garden birds enjoy their share
We've rounded up four simple tips
By Sophie King
-
Lidl garden range includes a genius hack to instantly make a patio look more expensive – and it's only £17
Is your patio decking looking a little tired? We suggest you head to your nearest Lidl right away
By Kezia Reynolds
-
Aldi's BBQ top pizza oven is back in time for summer – and it's even cheaper than last year
Any budding dough-spinners would be foolish to miss out on this bargain buy
By Kezia Reynolds
-
George Home's curved garden furniture collection has nailed this year’s hottest seating trend – these are our top picks from the collection
It's both comfortable and stylish
By Kezia Reynolds
-
IKEA's mini greenhouse has just launched in a stunning on-trend colourway – and it's only £15
The striking new blue colourway is perfect for seeing in the spring in style
By Kezia Reynolds
-
Habitat is selling the perfect lookalike for IKEA’s stylish garden furniture set – and it’s £870 cheaper!
IKEA's HAVSTEN outdoor furniture is sleek and stylish but not cheap by any means – but we've found an alternative
By Sara Hesikova
-
Social media can’t get enough of the striking Dunelm Santorini egg chair - but I’ve found a cheaper alternative at QVC that looks just as good
QVC seriously needs to be on your radar for some of the best stylish and comfortable garden furniture this summer
By Kezia Reynolds
-
George Home is bringing the disco trend to the garden with their stunning £16 planters - I'm seeing them all over social media
Not only is this a playful garden trend, but disco ball planters will add extra shine to your outdoor spaces
By Kezia Reynolds
-
This George Home garden furniture set sold out in days last year – it’s back in stock, but be quick before it’s gone again!
And it's the perfect lookalike for a designer cult favourite that's five times more expensive
By Sara Hesikova