You should be worried about how to get rid of fruit flies if you have the infestation in your home. Fruit flies are small flies or gnats that you might occasionally see flying around in your kitchen.
These pesky flies are annoying and can be a problem all year round. However, they are especially common during late summer and fall.
They are usually attracted to ripened or fermenting vegetables and fruits. You develop an infestation indoors primarily when you bring in grapes, melons, tomatoes, squash, and other perishable items. These items come from your garden or the grocery stores into your home.
Fruit flies are also attracted to rotting onions, potatoes, and bananas. They are also drawn to other unrefrigerated produce that you left on your kitchen counter or in your pantry. The flies are also attracted to anything that has vinegar or alcohol in it, including beer and wine.
Generally, you’ll find these flies anywhere food is allowed to rot and ferment. This includes homes, grocery stores, and restaurants.
How do they live?
Fruit flies are primarily nuisance pests, but they can also contaminate your food with bacteria and other disease-producing organisms. The adult flies are about 1/8 inch long and they usually have red eyes.
It has a front portion of the body that is tan, and the rear portion is black. They deposit their eggs in proximity to the surface of decomposing foods or other damp organic substances.
This post may contain affiliate links, as explained in our Disclosure Policy
When the eggs hatch and the tiny larvae emerge, they continue to feed near the surface of the fermenting food. The female fruit fly may lay about 500 eggs. The entire lifecycle of the fruit flies from egg to adult can be completed in about a week.
- How to Prevent Keloids After Piercings and Tattoos
- How to Relieve Chronic Pain with Essential Oils
- How to Naturally Alleviate Gout Pain with Home Remedies
- How to Effectively Care for Someone After a Stroke
Although fruit flies are especially attracted to ripened fruits and vegetables, they can also breed in other places, such as:
- empty bottles
- cans
- trash containers
- garbage disposals
- drains
- cleaning rags
- mops
They’re drawn to any type of fermenting food. The flies only need a moist film of fermenting material to develop. Sometimes, an infestation starts in your home when you bring home over-ripened fruits or vegetables.
If any of the fruits or vegetables had previously been infested at the grocery store, the infestation will continue. It will persist when you take the produce home.
The fruit flies can also invade your home. They enter by flying into your house from outside through improperly screened windows and doors.
How to get rid of fruit flies in your home
When you have a fruit fly infestation, you should plan to get rid of them as soon as you can.
- Locate all the potential breeding areas of the fruit flies. Remove them and clean the identified areas. If you fail to do this, the problem will continue. Merely killing the adult flies is not enough to eradicate the infestation. You have to eliminate the breeding areas as well.
- After eliminating the source of attraction and breeding, use a pyrethrum-based, aerosol insecticide. This will kill any remaining adult flies in the area. They may be seen flying around there.
- Make a vinegar fly trap by constructing one. To do this, roll a sheet of notebook paper into a funnel. Place the paper funnel into a jar filled with a few ounces of cider vinegar. The vinegar serves as a bait.
Place the jar trap wherever you’ve seen the fruit flies. The vinegar trap will catch the adult flies, which you can then kill or dispose of outside.
- You can also make a fruit fly trap. Place a few ounces of cider vinegar at the bottom of a bowl or cup. Cover the top of the bowl or cup tightly with plastic wrap.
Place a rubber band around the plastic wrap to make sure it stays in place. Poke some small holes in the plastic wrap. The flies will crawl in and they won’t be able to crawl out.
- Use a soap fly trap by mixing together in a small bowl or cup the following:
- water
- some drops of dishwashing soap
- a tablespoon or two of cider vinegar.
The vinegar will attract the fruit flies. The dish soap will make them fall in and drown in the water.
How to prevent fruit flies
Once you know how the fruit fly infestation originated in your home, you should be able to prevent them. This will stop them from being introduced into your home in the future. The best way to avoid having to deal with these annoying flies is to eliminate all sources that attract them.
- Wipe up spills as they occur and take out your trash often.
- If you have ripened produce in your house, you should eat, discard, or refrigerate them. As a fruit ripens and starts to ferment, fruit flies seem to appear from nowhere. Therefore, put ripe fruits in the refrigerator and ripening ones in paper bags on the counter.
- Cut off and discard cracked or damaged portions of fruits and vegetables. This is because the eggs or larvae may be present in the damaged area of the produce.
- If you forget a rotting onion or potato in your pantry, fruit flies will start breeding there. Do not leave fresh produce in your pantry. You should refrigerate them as soon as you bring them home from the stores or from your garden.
- Any recycling bin stored in your basement will be a convenient source of fruit fly infestation. Empty and rinse recycling cans and dispose of them as soon as possible.
- If you can your own fruits and vegetables, make sure that the containers you’re using are well sealed. The same applies if you make your own beer or wine. If they’re not, fruit flies will lay their eggs under the lid of the containers. The tiny larvae will enter the container when they hatch.
- Put tight-fitting screens on your windows and doors to prevent adult fruit flies from entering your house from outdoors.
- Remove or dry any damp cloths in the kitchen. Don’t keep dish rags or damp kitchen towels lying around after you’ve used them. They can be a breeding ground for fruit flies. Wash them every day and keep them dry.
- Don’t keep ripe fruit out on your kitchen counter
- Dirty dishes in the sink are a good breeding ground for fruit flies. Wash your dishes as you use them. This will cut down fruit fly breeding grounds tremendously. Also, don’t leave out cups of water or other liquids for a long period of time on your kitchen counter.
- Clean out the drain in your kitchen sink with ice or apple cider vinegar. This is very important. Fruit flies like to breed in the drain. Bits of rotting fruit and vegetables often linger there.
- If you have an overhead and oscillating electric fan in your kitchen, leave them on. This may help keep fruit flies away.
- Go through your pantry or any fruits on your kitchen counter and do a rotten produce check.
- Wash and dry incoming produce as soon as you bring them home. This will remove any eggs on the surface.
- You can unknowingly bring fruit flies home with you from your grocery store. Wash all fruits and vegetables as soon as you bring them home. You may even set up a clean bucket of water outside your house. Use it to wash your produce before you take them inside your house.
- If you generate compost, you should freeze them before using them. Some bugs are great for your compost pile. Fruit flies can cause problems as they move from your compost pile to your garden. They lay eggs in your growing produce.
Freezing vegetables and fruits before they become compost will kill the flies and their eggs. Churn your compost often. Also, consider hanging fruit fly traps near where you have your compost pile.
How to keep the fruit flies at bay
Although these little flies love beer and wine, there are certain scents and substances that they don’t like. They don’t like basil, bay leaves, and mint. You may consider growing such herbs in a sunny spot in your kitchen.
You can also make your own fly repellent spray at home. To do this, you’ll need essential oils. Mix peppermint, lavender, and witch hazel with water in a spray bottle. Spray lightly on furniture, linens, any fly-infested plants, and around all your exterior doors.
In conclusion, getting rid of fruit flies with cider vinegar is an effective, simple, and natural solution. With just a few household items, you can create a powerful trap to eliminate these pesky insects.
Maintain cleanliness in your kitchen. Seal fruit properly. Use cider vinegar traps as needed. You’ll keep your home free from fruit flies and enjoy a pest-free environment.
Give this easy method a try, and see how quickly it helps reduce fruit fly infestations!
Additional Reading:
12 Ways to Get Rid of Fruit Flies Naturally
Discover more from
Subscribe to get the latest posts sent to your email.
Hi you are posting best information, it’s very useful to everyone, keep updating this type of interesting articles.
very good content
It’s a good idea to use the trap as a kids project, I never thought about it that way.
Thanks so much for this feedback.
Although we usually just do a thorough cleaning of the area if we get fruit flies in a food item, I’ve made a note of the vinegar trap idea. The trap would be a great kids project, too.
Your feedback is greatly appreciated, thanks!
I’m usually to blogging and i really admire your content. The article has really peaks my interest. I am going to bookmark your web site and maintain checking for brand new information.
You’re lucky you never had them, they can be annoying.
Thanks for your feedback.
You’re lucky you never had them, they can be quite annoying.
Thanks for your feedback.
Thanks for your feedback!
You’re lucky if you’ve never had those little suckers in your home.
The tips will be of use if you ever do. Thanks for your feedback.
Thanks, I appreciate your feedback.
I’m glad you found the tips useful.
Hahaha, you’re very lucky not to have to deal with the flies!
Thanks for your feedback.
Yep, way to go!
Thanks for your feedback, I’m glad you found the information useful.
Thanks for your feedback, I’m glad you found the post helpful.
I’m glad you found the information valuable.
Thanks for your feedback.
These are excellent tips! I’m gonna start using them with my fruits!
I can no say that I know way more about fruit flies than I ever thought I wanted to know, haha.
I don’t think I’ve ever had them in my house because I always put my fresh produce in the fridge. But I’ll definitely try this if they ever manage to sneak in to my place.
I like using this trick to get rid of fruit flies!
natural ways are always the best way thanks for this amazing tip
luckily no fruits last long enough in my household to attract fruit flies! my 2 kids finish everything before they even get out of the grocery bags! lol
I am literally setting up a trap right now, those little buggers are taking over! Thanks for the tips!
Very helpful post and will remember the steps when next time I do this
Very very helpful and informative write up. Thanks a lot
Yes, it works.
Thanks, I appreciate your feedback.
Yes!! We do this and it works!!
Yes, please do. I’m certain it’ll work for you too.
It’s safer than harmful sprays in your kitchen.
Thanks for your feedback.
I haven’t had problems too since I discovered this little trick.
Thanks so much for your feedback, and for validating the efficacy of this “trapping” system.
Hahaha, yes they can be annoying indeed. Now I have a way to keep them off for good.
Thanks so much for your feedback.
Thank you for your feedback, Angela. I’m very glad you found some usefulness in the post.
Thank you so much for this info. I’m definitely going to try this…
This is my favorite way to get rid of fruit flies. I set “traps” in the kitchen every summer
These guys are so pesky in the summer with organics disposal bins. its good to have way to control fruit flies.
I love reading about an organic way to handle fruit flies. Thanks so much