As a researcher who works on fruit flies, I often get asked how to get them out of someone’s kitchen. This happens to fly researchers often enough that we sit around fly conferences (these actually exist) and complain about getting asked this question.
Meanwhile, we watch the same fruit flies buzz around our beers instead of discussing pithy and insightful questions about the research that we’re pursuing.
But I get it: Fruit flies are annoying. So, fine, here’s how we get rid of them in my lab: We build a trap. It’s not perfect, but it’s OK.
1. Take a small jar (we use small canning jars) and pour in cider vinegar to about two centimetres deep.
2. “Cap” the jar with a funnel. You can use a plastic funnel if you have one, but a makeshift paper one works well.
3. Tape the funnel in place so there are no gaps for the flies to crawl out.
Thomas Merritt, who researches fruit flies, shows you how to kill them. (Thomas Merritt), Author provided
Flies fly in and can’t find their way out. Every day or two, replace the vinegar.
Instead of vinegar, you can also use beer or wine, but I prefer to drink one of these while making the traps.
There is actually a little science behind the trap. Fruit flies — at least Drosophila melanogaster, the most common fly buzzing around your bananas — are attracted to aging fruit, rotting fruit in particular. They lay their eggs there and the larvae hatch and feed on the soft, overripe flesh.
To find that fruit, flies use their sense of smell, what we call their olfactory system. What they are sensing, smelling, are things like acetic acid — the molecule that gives vinegar its pungent punch. So, you could bait your trap with fruit, but vinegar jumps right to the chase and lures them in.
The flies flying around your kitchen likely came from outside. Drosophila melanogaster are originally an African species, but they’ve spread across the globe. We call them a “cosmopolitan” species — they’re found wherever people are.
Where flies come from and why we research them
The story of how they’ve adapted to so many different environments (like, for example, the tip of Florida or even northern Ontario, where I live) is an interesting one and a hot topic of current research. The flies that buzz around my fruit bowl, at least in the summer and fall, likely came from a local population. I’ve actually done work on flies we collected from the composter in my backyard.
Interestingly, the combination of a tropical species, a cool day and a warm house is likely why there seem to be more flies in the fall. As the temperature outside goes down (and even on cool summer nights where I live), the flies come inside where it’s warm. Where do the flies go in the winter? We actually don’t know. We know they can’t freeze and live, so our best guess is they hide away in basements waiting for warm weather. There’s actually a name for this idea. We call it the “Root Cellar Hypothesis.”