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 centimeters 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.
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…