Fruit flies can be a scourge in our homes, but to date no-one has known how they became our uninvited lodgers. For decades, researchers have searched for their origins and now a Swedish-American research team has succeeded. They have also discovered that fruit flies in the wild are far more picky than their domesticated counterparts, a factor that long ago probably prompted the flies to move in with people.