Fruit flies are bad enough when encountered outside. When they show up in the home, however, it's out-and-out war. Although few people are as agile with the fly-swatter as they'd like to be, our brains are bigger, so it's absolutely possible to simply outsmart the average fruit fly. It's easy enough to learn how to get rid of fruit flies by using simple homemade hacks, but if you'd rather leave the dirty work to someone else, there's a product for that, too.
Before we get to that, however, do yourself a favor in the future and prevent fruit flies outright. Try not to leave doors and windows open any longer than necessary, as the little suckers are shockingly fast fliers.
Also, check your home for tiny cracks that could be letting them in and then, consult the apartment maintenance person for help fixing them. And for the love of everything holy, wash your produce thoroughly when you bring it home unless you want tiny hitchhiking eggs to erupt into a whole colony of ravenous fruit flies.
Fruit flies are naturally drawn to the fermented goodness of decomposing produce and garbage. So, it makes sense that the most effective DIY traps involve such materials, most of which are found lying around the average home. Ironically, as much as most people would like to make flies simply go away, you don't want to focus on fly repellant, so much as a fly attraction.
Experts swear by apple cider vinegar traps as the best way to get rid of fruit flies. White vinegar can also be used in a pinch.
This homemade fly trap is even easier. All you need is some vinegar, a bowl and a drop of dish soap.
The purpose of the dish soap is to change the consistency of the vinegar so that the fly becomes immediately trapped.
Another fermented substance that most people have handy is beer or wine.
They won't be able to resist the fermented goodness the alcohol promises, but will quickly get trapped in the bottle. You can also add a drop or two of dish soap to encourage faster trapping if you want.
This is a trick your great-grandparents probably used.
This is one of the most effective solutions, especially if you have extra fresh product.
If you don't want to DIY your fly repellent, consider picking up one of these online products:
All that said, don't get fruit flies confused with gnats. Gnats tend to travel in swarms and can bite, whereas fruit flies are loners. However, they're attracted to the same rotting foodstuffs. Fortunately, it's easy enough to learn how to get rid of gnats in a house.
One process is very similar to a fruit fly trap. Mix up some apple cider vinegar, water, dish soap and sugar. Then, leave it in a bowl on the counter and wait. Or, you can mix up some red wine and dish soap. If you notice gnats, which are about half the size of fruit flies, hanging around the sink just pour bleach down the drain.
Hopefully, you've learned how to get rid of fruit flies by using one of these DIY or commercial traps. Now, just keep the doors and windows closed and the produce put away so it doesn't happen again! But even if it does, next time, you'll already know how to get rid of fruit flies like a pro.