Photo: How to prevent fruit flies

Fruit flies are attracted to organic matter. (Credit: mschmidt62 via Flickr)

Fruit flies are attracted to organic matter.

The obvious culprits are fresh fruits and vegetables stored on countertops and rotting kitchen scraps or "greens" headed for the compost pile, as well as organic debris in garbage cans or kitchen drains.

I hope that besides the annoying fruit flies you've also noticed the upside of composting—a 40 per cent decrease in your weekly garbage.

Control fruit flies in the kitchen

  1. Use a glass or metal container for collecting kitchen waste. These won't hang onto odours (like plastics do) and a tight-fitting lid will keep fruit flies out.
  2. Store your kitchen food scraps in a sealed container in the fridge or freezer.

Control fruit flies outdoors

  1. Flies are attracted to exposed food scraps, so each time you add greens, top them off with brown material like dry grass and leaves. Collect dry leaves and grass in a separate container to use year-round.
  2. Put kitchen scraps in the centre of your compost pile, and then cover with browns.

Sign up for Queen of Green tips by email

Composting is easier than most people think, whether you have a backyard bin, municipal curbside pick-up or indoor worm bin. Check my Composting Dos and Don'ts (PDF file) or search your city's website for more troubleshooting tips and advice, especially if you have curbside pick-up.

Read more