They're baaaaaaaaccccckkk! Fruit flies in the kitchen- or anywhere you keep fruit. Getting rid of them all together is near impossible unless you refrigerate all your fruit or don't eat fruit at all.
Here's a handy trap that works well at catching the little bugs.
1 mason jar. I use a 1/2 gallon one but a quart size would work too.
1 rubber band
Tear a piece of plastic large enough to cover the mouth of your jar. Place old fruit inside (a banana peel, cantaloupe seeds, apple cote, etc.) Place plastic over mouth of jar and pull tight. Place rubber band around seal of jar to hold plastic on. Cut small holes ( I just use a knife) into tight plastic.
Fruit flies will be able to get in but not out!Viola! Your own fruit fly trap! I keep ours on the kitchen counter and have to replace the fruit about one a week.