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.
-
How to be more organised at home in 2025 - three quick and easy fixes I'm using to keep on top of things
From decluttering to making life easier by setting up some handy subscriptions, here’s what I would recommend
By Ellis Cochrane
-
This IKEA hack turns the iconic KURA bed into the childhood den we all wanted - all you need is a sheet of MDF
The easy hack is perfect for the little one's in your life
By Kezia Reynolds
-
Little Greene's new wallpaper collection has raised the bar for decorating a kid's room — an interior stylist reveals the trick to styling it
Little Greene has collaborated with the National Trust on it's new 'Storybook Papers' wallpaper collection
By Amy Lockwood
-
What is boiler flow temperature? Heating experts urge you to check yours now as you could be overpaying on your energy bills
Turning this little-known number down just a few degrees can result in some serious savings
By Lauren Bradbury
-
Cult cleaning brand Scrub Daddy has just launched a brand new butterfly mop — could it be the ultimate solution for banishing stubborn marks on your floor?
We're obsessed with all things Scrub Daddy
By Kezia Reynolds
-
Electric heater vs electric blanket — heating experts weigh in on the effectiveness (and affordability) of these winter warmers
Constantly cold at night? Experts weigh in on whether an electric heater or electric blanket will suit you best
By Lauren Bradbury
-
What is sugar soap? The £5 DIY essential you need for perfectly prepped walls for painting
This DIY hero is the key to achieving a perfectly painted wall
By Kezia Reynolds
-
‘Purge Parties’ are taking social media by storm — and this new trend solves one of the biggest decluttering problems everyone faces
You’ll be happy to know that it has nothing to do with *that* horror film
By Lauren Bradbury
-
Do your cleaning products need a declutter? Experts weigh in on what you really need to clean your home
We promise you do not need four different surface sprays...
By Kezia Reynolds
-
I tried OXO's cleverly-designed mop and bucket — they worked wonders on my laminate floor
I've never thought about investing in a decent mop and bucket until now
By Kezia Reynolds
-
I tried the viral Coca-Cola hack to clean my loo — I was shocked at how easily it removed stubborn limescale and stains
My toilet bowl has never looked more spotless
By Kezia Reynolds