Because the fruit fly’s life cycle can be as brief as eight days, this is ideal for genetic researchers. When flies hover around your kitchen, however, it’s not so much fun.
While the flies don’t sting or bite, they can cause foodborne illness by spreading bacteria from contaminated foods to other surfaces in the home. Research has shown that fruit flies are a significant vector in the spread of E. coli.1
Once you have a fruit fly infestation, you’ll want to eliminate them as quickly as possible (possibly with a homemade fruit fly trap). But, there are steps you can take to prevent an infestation of fruit flies from becoming a bigger problem.
Know What Fruit Flies Love
Fruit flies are drawn to anything containing sugar that ferments into alcohol—such as overly ripe fruit, beer, or wine, to name a few common items. If they can’t readily find their very favorite foods, they will search it out in sticky garbage cans, compost bins, sink drains, and recycling bins.
Wash and Inspect Produce
When you bring home produce from the market, carefully inspect it for any bruising or damage. Wash the produce well before using or storing it to remove fruit fly eggs or larvae that may have hitched a ride.
Store Fruit and Produce Properly
While a bowl of fruit on a counter is lovely and easy to access, it is best to store fruits in the refrigerator to slow the ripening process and prevent the attraction of fruit flies. Only place uncovered fruit that will be consumed within a few hours on the counter.
Dispose of Damaged Fruit Correctly
Once fruit and vegetables become overly ripe or damaged, tossing them in a kitchen waste bin will still attract fruit flies. Instead, place the rotten fruit or peelings in a covered compost bin, outdoor compost pile, or place in a sealed bag in an outdoor waste container.
Clean Food Preparation Areas Promptly
Fruit flies can find that tiny piece of fruit or drops of spilled wine very quickly. Prompt and thorough cleaning of counters, tables, small appliances, and dishes after any type of food preparation or service will help prevent an infestation.
One key area to clean well is the kitchen sink and garbage disposal. Bits of food can become trapped in the drains. Clean and flush out drains and disposals well after each use for food preparation.
Wash Sponges and Dishcloths Frequently
When you finish cleaning up the kitchen, there are probably bits of food trapped in the sponge, brush, dishcloth, or mop you used. Don’t leave a sticky cleaning tool lying around to attract fruit flies. Toss the items into the washer or dishwasher instead.
Keep windows and Doors Closed
Fruit flies are so tiny that they can slip through window and door screens. Keep doors and windows closed as a better deterrent.
Control Indoor Humidity
Keeping indoor humidity rates low slows the deterioration of fruit. Use a dehumidifier and air conditioner to help keep humidity as low as possible.
Blow Them Away
If you are working with lots of products during a marathon meal preparation or food preservation session, put an oscillating fan in the kitchen to keep the air moving. This will help prevent the flies from landing on the foods to lay eggs and shorten the cycle of the infestation.
Check the Pantry
There’s no fruit on the counter but you still have flies. Why? It could be something rotting in the pantry. Fruit flies like mushy potatoes and onions just as much as bananas.
Pay Attention to Your Trash Can
While you can have an outbreak of fruit flies during any season, summer is a key time, because of the abundance of produce and the added heat and humidity. If there’s lots of eating going on, it is worth your time to empty the trash can twice a day to an outdoor container. The trash can should also be washed out with an all-purpose cleaner or dishwashing liquid and water at least weekly to remove any seepage and stickiness in the bottom that can attract fruit flies.
Rinse out Recyclables
If you have a bin for recyclables, be sure to rinse out bottles and cans before you toss them in the bin. A few drops of beer, wine, or soft drink is ambrosia to a fruit fly. Use this tip even if the bin is outside. Fruit flies like to sneak into your kitchen every time a door is opened, so empty the bins often and give indoor and outdoor bins frequent cleanings to eliminate food sources for fruit flies.