How to get rid of drain flies - 5 ways to ensure that these pests (and their eggs) don’t come back
Drain flies can lay up to 200 eggs at a time, so you need to act quickly
Picture this: you go to wash your dirty plates or jump in the shower, and you’re greeted by tiny creatures flitting in and out of the drain. These pesky flies are enough to give anyone the heebie-jeebies, which is why everyone should know how to get rid of drain flies.
Although you might not pay attention to your household drains, we’re here to tell you that smelly drains are the least of your worries. As Alex Woods at Victorian Plumbing explains, ‘Drain flies, also known as gnats, thrive in moist environments, making kitchen and bathroom sinks prime targets.’ And as a single drain fly can also lay 200 eggs throughout its short lifespan, things can quickly get out of hand.
Of course, getting rid of pests as soon as possible is key, but you also need to do everything you can to keep them away for good. That’s why we’ve reached out to pest experts to help you understand how to get rid of drain flies… and stop them coming back.
1. Keep your drains clean
In most cases, pouring a jug of boiling hot water down the drain should be enough to eliminate drain flies. However, this doesn’t stop them from coming back - or any leftover eggs from hatching. That’s why you must focus on prevention instead of just the cure.
To do this, you need to keep your drains clean. Whether you want to clean a shower drain or give your kitchen sink a once-over, the good news is that you can use natural cleaning products for this.
Andy Ellis at Posh.co.uk explains, ‘One of the best ways to get rid of these pesky flies is to remove their food source. A simple solution of equal parts baking soda and vinegar. These natural ingredients will encourage the breakdown of organic matter that is sitting in your pipes. Let the baking soda and vinegar sit for a bit and then flush it away with boiling water once a day for a week to remove remaining flies.’
If your drain is clogged, this baking soda and vinegar remedy should free any sludge or blockages that could lead to further moisture or clogging. So, it’s a win-win.
Get the Ideal Home Newsletter
Sign up to our newsletter for style and decor inspiration, house makeovers, project advice and more.
This bundle comes with everything you could possibly need to get rid of drain flies, and it'll come in handy for the rest of your house, too.
2. Get rid of standing water
It’s easy to overlook standing water in your kitchen or bathroom. But after washing your plates or your hair, you should aim to dry off these areas as much as possible.
Doing this is less about the drain flies and more about their eggs, though. As Daniel Steward, Managing Director at Shield Pest Control, explains, ‘Drain flies are typically a temporary issue if hygiene standards are maintained as adults have a lifespan of only about two weeks.’ But these eggs can stick around much longer, creating a vicious reproductive cycle that’s made worse by standing water.
Alex warns, ‘Standing water provides the perfect breeding ground for drain flies to lay their eggs. To prevent an infestation, ensure no excess water is left in sinks or bathtubs, and dry these areas thoroughly after use.’
However, drain flies aren’t just attracted to your sink or bath; there are other areas of the home that offer standing water.
‘Overwatered houseplants can also be a hotspot. Moisture buildup inside your home from broken pipes or blocked sinks is another issue, so it's important to check for leaks and address any plumbing problems quickly to avoid water accumulation.’
Of course, this standing water can also lead to a buildup of condensation and damp, so you want to avoid this in your home anyway. So, wipe down your sink after washing up, dry your bath or shower when you’ve finished, and watch for the signs of damp in your home.
All you need to get rid of standing water is a good squeegee, and this one should do the trick. Simply use this to wipe down your sink or shower after use.
3. Reduce moisture levels
Although drain flies can make an irritating appearance throughout the year, you’re more likely to see them in the winter months as they thrive in wet and moist environments. Because of this, you should aim to reduce moisture levels to get rid of drain flies.
Alex says, ‘Drain flies prefer humid environments, so keeping your home dry can help to deter them. Use dehumidifiers in areas prone to moisture and ensure proper ventilation in bathrooms and kitchens by opening windows. Since gnats are most active during the day, especially around mid-morning and dusk, keeping windows closed during these times can also help.’
While we always suggest having a dehumidifier on hand to help with everyday life, we understand that this isn’t always possible. Thankfully, there are other ways to dry out a room without a dehumidifier.
In fact, you could use non-electric moisture absorbers instead, which are much more affordable and won’t affect your energy bills. The Ideal Home team’s favourite moisture absorber we've tried is the Absodry Duo Family, which also looks incredibly stylish.
4. Use natural repellents
If you regularly use essential oils for cleaning, you should also be equipped to get rid of drain flies. In fact, you can use these scented oils as natural drain fly repellents and keep them at bay for good.
‘Natural repellents can be highly effective in keeping drain flies at bay, and essential oils such as eucalyptus, lavender, and peppermint work well for repelling gnats. Citronella candles are also a great option for deterring various pests. Try placing cotton balls soaked in essential oils near areas where gnats tend to gather.’
Although these natural remedies are all non-toxic and safe to use in the home, you could go the extra eco-friendly mile and grow your own citronella plants instead. This way, you can use them to keep a myriad of pests away from your home.
You can never have too many candles, and this eucalyptus candle will help to get rid of drain flies. Plus, it lasts for up to 80 hours.
5. Clean, clean, and clean again
You probably don’t need us to tell you the importance of having a clean and tidy home, but cleaning regularly can also help to get rid of drain flies. So, keep your vacuum cleaner handy and stock up on cleaning supplies.
‘Drain flies are attracted to dirt, organic material, and moisture, so maintaining a clean home is key to keeping them away. Regular vacuuming removes food crumbs while dusting clears away dust and grime that can become breeding grounds for gnats.’
But cleaning isn’t the only thing that can help. Decluttering your home can also reduce the chances of a drain fly infestation, as they’ll be less inclined to lay their eggs in a clean and clear house.
FAQs
Why do I suddenly have drain flies?
Drain flies rarely enter your home without a reason. They’re attracted to moist, humid environments and could be the result of one of the following:
- Leaking pipes.
- Standing water.
- Clogged drains.
- Unused toilets.
- Inactive household (i.e. you’ve been away on holiday).
Does bleach kill drain flies?
Yes, bleach can kill drain flies, but most experts would advise against using this method to get rid of them. Bleach can be extremely corrosive, and while it may kill the flies it meets along the way, it may also affect your plumbing.
If mixed with other cleaning agents (such as vinegar and baking soda), bleach can also create dangerous fumes that should be avoided at all costs. So, it’s best to use baking soda, vinegar and other natural methods to kill drain flies instead.
Lauren Bradbury is a freelance writer and major homes enthusiast. She graduated with a Bachelor’s degree in English and Creative Writing from the University of Chichester in 2016, before dipping her toe into the world of content writing. After years of agency work, writing everything from real-life stories to holiday round-ups, she decided to take the plunge and become a full-time freelancer in the online magazine world. Since then, she has become a regular contributor for Real Homes and Ideal Home, and become even more obsessed with everything interior and garden related. As a result, she’s in the process of transforming her old Victorian terraced house into an eclectic and modern home that hits visitors with personality as soon as they walk through the door.
-
Philips' new air fryer uses steam to revolutionise cooking and cleaning – here's what happened when I tried it at home
This dual-basket steam air fryer does the job, but doesn’t knock it out of the park
By Ellen Manning
-
Plywood kitchens are the secret to a Scandi-inspired cooking space
5 ways to embrace the simple kitchen trend in 2025
By Holly Cockburn
-
Green kitchenware will be the ‘it’ trend for dining tables in 2025 - here’s how you can get the look
It can even make your next culinary feast look more enticing
By Kezia Reynolds
-
How to clean cat pee from carpet — 6 easy steps to banish the stain and odour for good
Act now and stop the smell of cat pee from lingering
By Katie Sims
-
Hosting this Christmas but don’t want to miss out on the festivities? Interval cleaning will help you work smarter and not harder to keep your home clean
This cleaning method will take the hassle out of hosting this Christmas
By Lauren Bradbury
-
These 3 common household pests hate this festive scent - how cinnamon can be used to prevent bedbugs, silverfish and spiders
It's time to say goodbye to unwelcome pests
By Kezia Reynolds
-
How to stop decluttering procrastination - 4 expert hacks that will get you to start, right now
Stop putting it off and start decluttering your home, with the help of these pro tips
By Katie Sims
-
Are oil filled radiators any good? The pros and cons you need to consider before investing in one
Could the heating device be the right choice for keeping you and your home warm this winter? The experts reveal all.
By Ellis Cochrane
-
7 things to declutter quickly from your home before Christmas Eve – the areas to blitz if you have 10 minutes spare
Create calm before the storm by clearing out the stress-causing excess
By Vanessa Richmond
-
How long should you wait between coats of paint? Experts say the exact time will depend on the type of paint you use
Here's how long the pros say you should wait before applying the second coat
By Katie Sims
-
Does the wattage of a vacuum cleaner matter? Experts reveal whether these numbers can affect its performance
This is what your vacuum cleaner’s wattage really means for its performance
By Lauren Bradbury