How to Get Rid of Fruit Flies in Your Bathroom

If you see what looks like small fruit flies in your bathroom, they could be fruit flies, drain flies , or fungus gnats. How do you get rid of them ASAP? How can you tell them apart? Here are a few simple and all-natural steps to make your bathroom fly-free. 1
3 Ways to Get Rid of Fruit Flies and Other Small Flies in Your Bathroom
In general, fly control is about reducing potential feeding and breeding sources to keep the flies at bay. However, when it comes to keeping small flies like fruit flies out of your bathroom, you'll need to determine which fly you're dealing with so you know what areas to target with your control efforts.
Here are some tips for reducing fruit flies, drain flies, and fungus gnats around your house to keep your bathroom peaceful and free of flies.
Start in the Kitchen to Tackle Fruit Flies
Fruit flies can wander into the bathroom but often originate in the kitchen, where they can find fermenting, rotting food. Getting rid of fruit flies in the kitchen stops them from entering the bathroom. Address these potential attractants to get rid of fruit flies:
- If you have a kitchen compost bin, ensure it's taken out regularly, and the compost container has a sealing lid.
- Keep your kitchen drains clean, including your garbage disposal.
- Wash, peel, and chop fruit and store in the refrigerator when possible.
- Keep vinegar and soy sauce in bottles with tight caps or seals.
- Be sure to clean up food scraps from the counters and sink.
Clean Your Drains Regularly
Clean drains are important when managing small flies like fruit flies and drain flies.
In your kitchen drains, fruit flies are attracted to food scum and rotting organic material. Drain flies feed on slime and scum, laying their eggs, reproducing quickly, and being generally annoying. They are common in bathrooms and laundry rooms but can also pop up in kitchens, especially if there's a leaky pipe under the sink or behind the dishwasher.
To clean your drains , use a stiff cleaning brush, such as a drain or toilet brush, combined with a drain cleaner and give them a good scrub. If you incorporate this into your regular cleaning routine, drain flies will think twice about hanging out in your home.
Top Your Houseplants With Sand
If fungus gnats are the guilty little party in your bathroom, your houseplants might be the source. Overwatering a houseplant's soil can lead to fungus gnat activity, so let the soil dry out a little between waterings. You can even overturn the top inch or so of soil and allow it to dry out, which will also dry out any fungus gnat eggs.
You can also add a layer of sand to your houseplant soil, which will allow the water to drain better and protect the soil underneath from pesky fungus gnats and their eggs.
How Do You Tell the Difference Between the Tiny Flies?
Fruit flies in the bathroom can cause frustration, especially if they won't go away. The main problem with fruit flies is they are so small they can be challenging to tell apart from other tiny flies, especially drain flies and fungus gnats. So the question is, what exactly do the fruit flies in your bathroom look like?
Fruit Flies
Fruit flies are small, tan, or gray insects with tiny wings and reddish eyes. Fruit flies do not sting or bite but are annoying, especially when getting into things. Fruit flies don't typically choose to hang out in bathrooms, so investigate the kitchen and the areas where you eat or drink. 1 Fruit flies are usually attracted to fermenting or overripe fruit, including:
- Rotting fruit and other food
- Fermented drinks like kombucha and wine
- Items containing vinegar (especially fruit vinegar)
- Other fermented items, such as soy sauce
- Empty beer or wine bottles
If fruit flies are showing up in your bathroom, this is a sign that an infestation could be brewing somewhere else. Check the following places for fruit fly feeding and breeding sites:
- The underside of the rubber garbage disposal flange
- The bottom of the garbage can
- Old food waste, including dirty dishes and cups
- The compost bin

- Fruit flies can pop up in even the cleanest kitchens because they are often brought in on produce from the grocery store.
- Fruit flies are especially prone to traveling on sweet fruits like pineapples and melons.
- If you look closely at the skin of these fruits, you might even be able to spot small clusters of tiny white fruit fly eggs.
Drain Flies
Drain flies are a widespread problem in bathrooms. Unfortunately, they are also tiny. Confusing them with fruit flies or gnats is easy unless you get an up-close look.
In terms of appearance, drain flies are small, moth-like insects. They have teensy, powdery, heart-shaped wings and fluffy, feathery antennae. They almost sound cute from their description until they appear and flutter around your bathroom by the dozen at all hours.
Drain flies love the drain scum—which is rotting organic matter—in our drains that they not only consume but also lay eggs in. The bathroom is the perfect place for soapy scum to build up in the drains, so cleaning the drains semi-regularly is vital to keep drain flies away.
Water leaks can also create drain fly issues, so check under the sink, behind the toilet, and in the crawlspace to ensure no standing water is keeping them around. 1

Fungus Gnats
Fungus gnats are not a fly, but they can fly and regularly infest the inside of homes, especially homes with houseplants.
Fungus gnats, fruit flies, and drain flies are easily confused for each other due to their small size, but close-up, fungus gnats look more like tiny mosquitoes. They do not bite but like moist areas and especially love houseplants.
The fungus gnat feeds on rotting organic material in the soil. While they're generally found in the dirt outside, they can become a year-round issue in homes with houseplants. If you don't have any plants in the bathroom but do in other areas of your home, you might occasionally find a few fungus gnats around the bathroom window. 1

What Causes Fruit Flies in the Bathroom?
Fruit flies in the bathroom point to something fermenting nearby. The bathroom doesn't provide fruit flies with what they need to survive, but if there's a severe fruit fly issue in the kitchen or something nearby attracts them, they could wander into the bathroom.
Even a leftover cup from your favorite fruit tea or the tops of the strawberries you ate for a snack are enough to attract fruit flies if left to sit out. Forget them for a few weeks; the fruit flies will feast and lay eggs. From there, it's only a matter of time before they enter the bathroom.
Drain flies are often confused with fruit flies. They are prevalent bathroom pests that feed on rotting organic matter, including drain slime or moist wood with unknown leaks. Cleaning the drains regularly and addressing moisture issues can help eliminate drain flies.
How to Keep Fruit Flies Out of the Bathroom
To keep fruit flies out of the bathroom, keep them out of the kitchen. Wash, cut, and store fruit as soon as possible after bringing it home so it doesn't sit out on the counter for too long, and make sure your sink and counters are clear of dishes and food scraps.
If the flies you see are drain flies, you must clean your drains and address any potential moisture issues, including leaky sink pipes and standing water in the crawlspace.
Also, ensure your houseplants aren't overwatered, and the soil drains well; otherwise, you could have fungus gnats inside.
Frequently Asked Questions
Where do fruit flies in the bathroom come from?
Fruit flies in the bathroom likely wandered in from the kitchen, but you may see drain flies, another tiny, pesky fly common in bathrooms. They feed on and lay eggs in the scum that builds up in your drains.
Will fruit flies in the bathroom go away on their own?
Whether you're dealing with fruit flies or some other small fly, they are not likely to go away on their own. The source of the fly issue will need to be found and addressed if you want the flies to go away. Traps can help reduce the visible population, but as long as the source remains, the flies will, too.
Why are there fruit flies in my bathroom?
There are flies in your bathroom because something attracts them to the space, usually food rot or fermentation nearby. If they're drain flies, they're likely coming from the drains, and if they are fungus gnats, they could be reproducing in your houseplant soil.
Source: https://www.thespruce.com/fruit-flies-in-bathroom-7152982