How to avoid fruit flies with bananas? (13 ways how)

In this article, we will answer the question “How to avoid fruit flies with bananas?”, and how do fruit flies get into the kitchen?

How to avoid fruit flies with bananas?

Using apple cider vinegar

This is a very effective method to get rid of flies. Simply fill a bowl halfway through with apple cider vinegar. Add a few drops of dishwashing soap. Cover the bowl with plastic wrap. Secure the wrap with a rubber band and poke holes in it.

Fruit flies will be attracted to the bowl, move down into the apple cider vinegar through the holes but won’t be able to come out due to the surface tension created by dish soap.

The paper funnel method

Add apple cider vinegar into a jar. Make a funnel using paper. Adjust the funnel on the jar with a tap such that the pointy end of the funnel is halfway through the jar and the broadside is on the surface of the jar.

The fruit flies will move in through the hole at the bottom but won’t be able to escape because of the surface tension created by the dishwasher soap.

Wash the bananas

You might have introduced the fruit fly in your kitchen unintentionally because these little troublemakers like to stick to the fruit. So it is better to always wash your fruit once you get home after grocery shopping.

Using a fruit fly trap

If you frequently encounter the problem of fruit flies, invest in a fruit fly trap. It is an inexpensive and effective method to get rid of the flies. The trap has a sticky trap on both of its sides.

Using herbs 

Use basil to repel fruit flies. The pungent aroma of basil and similar herbs deters the fruit flies and bugs. Place a few leaves near the fruit or use a basil plant and let it do its job. Alternatively, you can use cotton balls soaked in lavender oil or cedar balls to deter fruit flies.

Keeping in cold environments

Colder temperatures of the fridge and freezer do not allow the growth of fruit flies. After the bananas have ripened, transfer them to the fridge or freezer if they are not to be used anytime soon. Ripened bananas attract fruit flies. 

Keeping the bananas covered

Keeping the bananas covered will deter fruit flies. However, it will make the fruit rot faster.

Keeping the kitchen dry and clean

It is better to adopt a proactive approach. Moisture, rotting fruits, and warm temperatures favor the growth of fruit flies. To avoid fruit flies in the first place, thoroughly clean your counters, wash the dishes, don’t leave wet and dirty paper towels in the sink, and empty your trash bin regularly.

Contact an Exterminator

If nothing works, call an exterminator because they are the expert. They use a multistep procedure using different chemicals to eliminate flies.

Keep the drain clean

The small pieces of fruit that linger in the sink can attract fruit flies. The flies can breed on these bits. Therefore, it is important to clean your drain.

Discard the rotten food

A rotting onion, potato, banana, or spilled fruit juice attracts fruit flies. Remove the rotten food from your pantry as soon as possible. 

Make an alcohol spray

Fill a spray bottle with 91% isopropyl alcohol. Spraying it on the flies will kill them. This spray is less toxic and very effective.

Use a sticky tape

Use sticky tape around the fruit bowls, on the counter or table, etc. The fruit flies will stick to the tape and won’t be able to escape. The tape can be discarded and replaced with a new tape.

How do fruit flies get into the kitchen?

Fruits that have ripened or fermenting are the meals for fruit flies. They are attracted to bananas, tomatoes, squash, grapes, potato, onion, melon, and many more. A single female fly can lay 500 eggs at a time. These eggs will mature within a period of one week. 

Fruit flies spread as rapidly as cockroaches and cluster flies. Fruit flies can find a way to your kitchen through many ways like cracks and crevices, windows, doors, pet doors, patio doors, garages, and window screens. Their senses are very vigilant and the prime target is overripe or rotting bananas.

Do fruit flies make the fruit rot faster?

Yes, the fruit flies will speed up the rotting of the fruit. They lay eggs on the fruit that become larvae. In this case, the infested fruit must be discarded immediately, or else it will contaminate other produce.


In this article, we answered the question “How to avoid fruit flies with bananas?”, and how do fruit flies get into the kitchen?


Sana Ameer

Hello, I'm Sana Ameer. I'm a student of Food Science and Technology at UVAS. I like to bake and I aspire to become a Food blogger.

Leave a Reply

Your email address will not be published. Required fields are marked *