Fruit flies tend to be more common in a house in the late summer and early fall; if you see them in the winter, they are more than likely gnats attracted to fungus. Whether you accidentally left an overripe piece of fruit on the counter, or simply need to clean your kitchen drain, getting rid of fruit flies and gnats can be done quickly. Once you get rid of these pests, it is vital to keep the area intact the best way you can.
Pour bleach down your drain to kill any fungus that may be stuck to the edges. Wait at least 10 to 15 minutes before allowing water, or any other liquids, to go down the drain.
Install an indoor insect lamp into your wall outlet. These lamps are designed specifically for fruit flies and gnats. The insects are attracted to the light and are trapped instantly to the adhesive board.
Remove the adhesive board from the insect lamp and discard. Replace as needed until your home is rid of the insects.
Wipe the countertops clean and ensure all the fruit and foods are put away.