If you can't put them in the fridge, store them in a sealed paper bag .
However, what you say is not true.
They will actually ripen less quickly in the fridge.
See this answer for more tips on how to decelerate the ripening of bananas.
If you still want to prevent fruit flies you have to, shortly said: clean more often.
Here are some tips:
Keep counters
clean Fruit flies really love spilled food or juices, crumbs, etc.
Wash bananas and melons Cover your fruit bowl Control things that smell bad these include but are not limited to: drains garbage cans pet bedding litter boxes
Source: Housewife
How-To's - How to kill fruit flies (and prevent them, too)
lifehacks.stackexchange.com/users/1238/Alex
IF you already are seeing fruit flies around your bananas, try this to get rid of them quickly: Get a glass, fill it about 1/4 - 1/2 full of RED wine.
Wrap the glass in saran (clear plastic wrap) and use a toothpick to poke about a dozen or so holes in the top of the wrap, which will allow access into the cup for fruit flies.
Put the glass with the punctured wrap right next to the bananas, or in any other place in the kitchen that you are seeing the flies.
You may want to use multiple cups.
The fruit flies will be VERY attracted to the scent of the red wine.
They will enter the cup through the holes you punched in the top, but will not be able to navigate back out.
I'm not sure why, but this is common for fruit flies.
They cannot get back out of the trap once they get in.
Chances are, the fruit flies will not be interested in getting out any way - they will be so attracted to the red wine that they will land in it, drink it, become intoxicated, and drown in the wine.
This is even better than the "Apple Cider Vinegar and Dish Detergent" method of controlling fruit flies.
In fact, I did this just last night, placing 3 cups in the kitchen (we have a HUGE swarm right now due to an undiscovered piece of food getting stuck to the sink drain).
In one cup, I counted about 11 dead fruit flies.
In the second cup, 7.
In the third cup I had 5 dead flies.
I have only seen one or two stragglers in the kitchen since then.
It really works well!
lifehacks.stackexchange.com/users/15872/Mike
I know this question is pretty old, but we used to have a ton of fruit flies in our house, and this year we had NONE.
Our fruit of choice is peaches, and we usually buy too many to put in the fridge.
What I did is fill my sink with cold water, add 1/4 cup of white, distilled vinegar and soak the peaches for 5 min.
Then you just put them on a towel on the counter, and no fruit flies.
Very easy.
lifehacks.stackexchange.com/users/4539/JGTaylor
Drape mosquito netting over them, or use some similar fine mesh.
That allows air to flow and (if the holes are small enough) will prevent fruit flies from landing on them.
Just make sure to "tent" the mesh/netting so that it's not directly touching the bananas; if it's touching the netting, I'd be worried about fruit flies somehow reaching through the holes in the netting and nibbling at the bananas' peels (or laying eggs or whatever they do).
lifehacks.stackexchange.com/users/4198/BrettFromLA
Peel the ripe bananas and store them in the freezer in a ziploc-type bag.
It's then really easy to use them as and when you need them, especially if using them in smoothies.
Ideally buy them ripe from the store so you can peel them immediately and don't have to leave them to ripen.
As Alex says, putting them in the fridge should slow down the ripening process, so I guess you can even store the peeled bananas in the fridge too.
lifehacks.stackexchange.com/users/7040/walbuc
Flair's contention that [putting bananas] in the fridge [...] causes them to ripen quickly is false, though a common misconception.
Actually, refrigerating bananas cause their peels (aka skins
--the terms are apparently interchangeable) to blacken (as explained here ), but the fruit itself keeps quite well (as explained here ).
Unless you plan on eating (or displaying :-)
banana peels, banana fruit ripens more slowly when refrigerated.
So if you're only eating the fruit, do what I do: allow unpeeled bananas to ripen at room temperature .
once ripened, refrigerate unpeeled bananas for up to 5 days.
if necessary to store ripe bananas for periods > 5 days: peel, cut, and freeze.
That being said, note also that banana peels/skins are edible!
though they require quite a bit of preparation.
Banana-peel cake is apparently popular in Brazil ; some English-language recipes are here and here .
lifehacks.stackexchange.com/users/9542/TomRoche
The thing that really attracts fruit flies is when the banana tears open and the pulp is exposed.
The best way to avoid this is to separate them when they are not yet ripened; that way you won't tear open by grabbing or clasping to tear one away. https://www.youtube.com/watch?v=kn4p6WnGOmg&t=1s
lifehacks.stackexchange.com/users/23320/jon
I leave bananas out on the counter, I find them surrounded by fruit flies. I can't put them in the fridge since that causes them to ripen quickly. What other options do I have?
How to store bananas and keep fruit flies away?
lifehacks.stackexchange.com
<food><pest-control>
lifehacks.stackexchange.com/questions/7508
lifehacks.stackexchange.com/users/1208/Flair
There are a few different ways to store bananas and keep fruit flies away, but one of the simplest will be to either store them in the fridge or peel them and store them in the freezer. You could also store them in a sealed paper bag or cover them with a mosquito net. Otherwise, you could set out a fruit fly trap consisting of a glass of wine covered with saran wrap with holes poked in it. The options are to use the fridge (it actually slows down ripening) or a sealed paper bag, make a fly trap with 1/4 glass of red wine, soak the fruit in diluted vinegar before putting out, peel and freeze the bananas, drape a mosquito net over them or store separately to avoid tearing the peel.
Try a sealed paper bag - but the fridge is ok and actually slows down ripening. To avoid flies clean more often Make a fruit fly trap with 1/4 glass of red wine covered in film with 12 holes in it. Soak the fruit in diluted vinegar for 5 minutes before putting out. Drape mosquito netting over the fruit. Peel the bananas and store in the freezer. Store the bananas individually to avoid tearing the peel and exposing the flesh.