HOME REMEDY TO GET RID OF GNATS (FRUIT FLIES)
It seems gnats are attracted to vinegar. Fill a jar almost to the top with vinegar, poke several small holes in the lid and then set it out. The gnats will come to the jar, wiggle down into the hole, and will not be able to climb back out. Set several of these traps around your home and monitor them to determine where the highest concentration is and u
se that information to find the source. Understand that the gnats that pester you in your home require moist or wet organic material in which to breed – it could be anything from a grimy drain to the drip pan under your refrigerator. Check your door and window seals also – they could be breeding right outside and wandering in.
There are other home remedies that have met with success, but most of them use vinegar, and work pretty much like the vinegar trap above. Mixing a half cup of vinegar and a tablespoon of Dawn dish detergent attracts the gnats. They will feed on the mixture and die. Apple cider vinegar and baking soda works also. Be careful with this one. Vinegar and baking soda react and foam up, so make your mixture slowly. A cup of ammonia poured down the kitchen sink can also encourage the little pests to go elsewhere.